@opencode/core 0.0.0-dev-19858 → 0.0.0-dev-19861

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{vcs-9cze0bjq.js → app-03s1nxke.js} +11 -11
  8. package/dist/chunks/{vcs-ke3jsz6r.js → app-04rey2jp.js} +37 -37
  9. package/dist/chunks/{vcs-59gxncmk.js → app-0abjdy6r.js} +22 -22
  10. package/dist/chunks/{vcs-cpy6gm2a.js → app-0ft9cg2j.js} +6 -6
  11. package/dist/chunks/{vcs-zk9jfaqz.js → app-0g0hpnxh.js} +15 -15
  12. package/dist/chunks/{vcs-gyxn878h.js → app-0mdd29xx.js} +15 -15
  13. package/dist/chunks/app-0mesazry.js +4 -0
  14. package/dist/chunks/{vcs-ygrrhazr.js → app-0n8krxan.js} +25 -25
  15. package/dist/chunks/{vcs-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{vcs-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{vcs-repb58am.js → app-0w62qmxp.js} +6 -6
  18. package/dist/chunks/{vcs-7aqqp7sg.js → app-0yfh2cv4.js} +17 -17
  19. package/dist/chunks/{vcs-zg00w177.js → app-112vf93d.js} +90 -90
  20. package/dist/chunks/{vcs-g9zwg0je.js → app-15ghn61v.js} +11 -11
  21. package/dist/chunks/{vcs-g1sxm558.js → app-166kng33.js} +8 -8
  22. package/dist/chunks/{vcs-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{vcs-7m2tq7cp.js → app-1mr1eyme.js} +12 -12
  24. package/dist/chunks/{vcs-8jf52wdv.js → app-1n7xfp7c.js} +6 -6
  25. package/dist/chunks/{vcs-8vc35css.js → app-1s6r0m01.js} +23 -23
  26. package/dist/chunks/{vcs-72n6j39c.js → app-1yn5b54x.js} +15 -15
  27. package/dist/chunks/{vcs-21r38tys.js → app-21r38tys.js} +1 -1
  28. package/dist/chunks/{vcs-1c63232t.js → app-22ad72dw.js} +5 -5
  29. package/dist/chunks/{vcs-5c0f1prt.js → app-26k5bknw.js} +4 -4
  30. package/dist/chunks/{vcs-a20pgr88.js → app-28h5rqes.js} +29 -29
  31. package/dist/chunks/{vcs-13q063b0.js → app-29eh7px0.js} +10 -10
  32. package/dist/chunks/{vcs-jat0edw6.js → app-2a16gamj.js} +9 -9
  33. package/dist/chunks/{vcs-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{vcs-6226hgya.js → app-2ac6pq5r.js} +44 -44
  35. package/dist/chunks/{vcs-cfgw6j6z.js → app-2cvq1298.js} +11 -11
  36. package/dist/chunks/{vcs-1axrxgdc.js → app-2geg2a1k.js} +25 -25
  37. package/dist/chunks/{vcs-87ghn5kx.js → app-2js3mcp4.js} +5 -5
  38. package/dist/chunks/{vcs-nqyhrfcc.js → app-2q6kkxxq.js} +4 -4
  39. package/dist/chunks/{vcs-n2rc481p.js → app-2qamff3n.js} +32 -32
  40. package/dist/chunks/{vcs-bfwdkgar.js → app-2vfzc3td.js} +16 -16
  41. package/dist/chunks/{vcs-h9ynannw.js → app-2wxycwcj.js} +4 -4
  42. package/dist/chunks/{vcs-n5ej7v0r.js → app-35gwdmsd.js} +17 -17
  43. package/dist/chunks/{vcs-wqteacnb.js → app-389ykwvm.js} +96 -96
  44. package/dist/chunks/{vcs-w2jpnjzn.js → app-38wzhxwb.js} +4 -4
  45. package/dist/chunks/{vcs-fzspm7j1.js → app-3a3k705c.js} +6 -6
  46. package/dist/chunks/{vcs-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{vcs-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{vcs-ebym5fch.js → app-3m48w42r.js} +11 -11
  49. package/dist/chunks/{vcs-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{vcs-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{vcs-wjwsazx2.js → app-46jhmsf5.js} +23 -23
  52. package/dist/chunks/{vcs-2cdg16k9.js → app-4at0py5f.js} +3 -3
  53. package/dist/chunks/{vcs-kef0rm51.js → app-4fra59pm.js} +22 -22
  54. package/dist/chunks/{vcs-78ht92vq.js → app-4n86frb8.js} +18 -18
  55. package/dist/chunks/{vcs-j2zgkdb5.js → app-4rep1cc0.js} +27 -27
  56. package/dist/chunks/{vcs-rdmr8h45.js → app-4sms2kqp.js} +13 -13
  57. package/dist/chunks/{vcs-p70617b8.js → app-4zgg82rk.js} +32 -32
  58. package/dist/chunks/{vcs-a8bn8zg0.js → app-50mzsvk4.js} +4 -4
  59. package/dist/chunks/{vcs-dmxkarkb.js → app-5749a7rt.js} +22 -22
  60. package/dist/chunks/{vcs-qqeeq2t9.js → app-57b9ws8p.js} +4 -4
  61. package/dist/chunks/{vcs-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{vcs-bq6j9g1b.js → app-58g4rptp.js} +6 -6
  63. package/dist/chunks/{vcs-jexxy024.js → app-5cmxdwv8.js} +3 -3
  64. package/dist/chunks/{vcs-5daktx2q.js → app-5daktx2q.js} +1 -1
  65. package/dist/chunks/{vcs-379sbzbq.js → app-5g373dvk.js} +24 -24
  66. package/dist/chunks/{vcs-t9a3q6q8.js → app-5k0e0nr1.js} +3 -3
  67. package/dist/chunks/{vcs-whenjg63.js → app-5mcxd2xw.js} +18 -18
  68. package/dist/chunks/{vcs-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{vcs-sbrmgv3y.js → app-64cefnnt.js} +12 -12
  70. package/dist/chunks/{vcs-669tq793.js → app-669tq793.js} +1 -1
  71. package/dist/chunks/{vcs-bp9gkt27.js → app-66jergzr.js} +14 -14
  72. package/dist/chunks/{vcs-n22a5g2a.js → app-67d9h72z.js} +32 -32
  73. package/dist/chunks/{vcs-wprfv400.js → app-6cbv7e1m.js} +35 -35
  74. package/dist/chunks/{vcs-2402vzrj.js → app-6h73sxmp.js} +5 -5
  75. package/dist/chunks/{vcs-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{vcs-0w296mef.js → app-6zpck6fb.js} +19 -19
  77. package/dist/chunks/{vcs-kxphd5c7.js → app-738nz2x0.js} +6 -6
  78. package/dist/chunks/{vcs-r5x6zcsm.js → app-73tb2d7t.js} +3 -3
  79. package/dist/chunks/{vcs-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{vcs-e7710hd6.js → app-7f85ph34.js} +5 -5
  81. package/dist/chunks/{vcs-anq7mq7z.js → app-7r28xmed.js} +18 -18
  82. package/dist/chunks/{vcs-wepc9txd.js → app-7v4vhntb.js} +19 -19
  83. package/dist/chunks/{vcs-68hsc098.js → app-7v9wscx3.js} +30 -30
  84. package/dist/chunks/{vcs-erz15eev.js → app-7z8cwmc8.js} +9 -9
  85. package/dist/chunks/{vcs-apevh53r.js → app-853r27ye.js} +20 -20
  86. package/dist/chunks/{vcs-mdkr6fq5.js → app-85xe0f8m.js} +21 -21
  87. package/dist/chunks/{vcs-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{vcs-8p4f9s12.js → app-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{vcs-e34xd838.js → app-90dayy4w.js} +8 -8
  90. package/dist/chunks/{vcs-rcgznhtg.js → app-91dks806.js} +11 -11
  91. package/dist/chunks/{vcs-kgtte2k4.js → app-9c7b93gn.js} +24 -24
  92. package/dist/chunks/{vcs-j23gxyft.js → app-9e4kz7m2.js} +10 -10
  93. package/dist/chunks/{vcs-w4wvvbc4.js → app-9y617vrz.js} +5 -5
  94. package/dist/chunks/{vcs-dv3zezwm.js → app-9ywxax6f.js} +22 -22
  95. package/dist/chunks/app-9zdhvgqs.js +18 -0
  96. package/dist/chunks/{vcs-a1bz86dw.js → app-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{vcs-w5fm7hkw.js → app-a29a0jzg.js} +26 -26
  98. package/dist/chunks/{vcs-yz9726cp.js → app-a3kq1sqa.js} +11 -11
  99. package/dist/chunks/{vcs-pj7by5mk.js → app-a7bdh8gz.js} +71 -71
  100. package/dist/chunks/{vcs-aaet6srn.js → app-aaet6srn.js} +2 -2
  101. package/dist/chunks/{vcs-d7r05era.js → app-ahp8ypm5.js} +3 -3
  102. package/dist/chunks/{vcs-7yevm10q.js → app-av28j1w8.js} +13 -13
  103. package/dist/chunks/{vcs-8kwpxbq8.js → app-awyb8gv9.js} +11 -11
  104. package/dist/chunks/{vcs-q9t0j652.js → app-azgxc740.js} +19 -19
  105. package/dist/chunks/app-b2bj7c3q.js +26 -0
  106. package/dist/chunks/{vcs-v5zftknb.js → app-b33ezyym.js} +24 -24
  107. package/dist/chunks/{vcs-8ctj0vet.js → app-b589hzzy.js} +46 -46
  108. package/dist/chunks/{vcs-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{vcs-sme2kac2.js → app-b778p09a.js} +30 -30
  110. package/dist/chunks/{vcs-zhq6vg7a.js → app-b97cbvw3.js} +1 -1
  111. package/dist/chunks/{vcs-jknhfhr2.js → app-b9czjycg.js} +33 -33
  112. package/dist/chunks/{vcs-z2ghjjem.js → app-bfwz5rjc.js} +5 -5
  113. package/dist/chunks/{vcs-8ta8hfpz.js → app-bgewb51p.js} +15 -15
  114. package/dist/chunks/{vcs-cq37gk0t.js → app-bha4atvq.js} +4 -4
  115. package/dist/chunks/{vcs-2hkvphhc.js → app-bhkcwbjr.js} +5 -5
  116. package/dist/chunks/{vcs-06zrjgay.js → app-bvp4gths.js} +11 -11
  117. package/dist/chunks/{vcs-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{vcs-h1p741k4.js → app-chgm6g41.js} +9 -9
  119. package/dist/chunks/{vcs-h6r3nrb9.js → app-cpj0znwe.js} +4 -4
  120. package/dist/chunks/{vcs-6knq39fp.js → app-cq4zkgfg.js} +6 -6
  121. package/dist/chunks/{vcs-0f9afca0.js → app-cr07tj7n.js} +5 -5
  122. package/dist/chunks/{vcs-m6em83jz.js → app-ctezbzm4.js} +29 -29
  123. package/dist/chunks/{vcs-8662gdp4.js → app-cx4wm8ch.js} +25 -25
  124. package/dist/chunks/{vcs-nv09mq9g.js → app-cz0bpax2.js} +9 -9
  125. package/dist/chunks/{vcs-fdv30zvt.js → app-d216944b.js} +4 -4
  126. package/dist/chunks/{vcs-seeezy3s.js → app-dkhfw37f.js} +11 -11
  127. package/dist/chunks/{vcs-y71avatq.js → app-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{vcs-wy1aae89.js → app-dschqtcd.js} +29 -29
  129. package/dist/chunks/{vcs-173jzaqb.js → app-dz7gaz91.js} +44 -44
  130. package/dist/chunks/{vcs-hmgqkarr.js → app-e5p9gmcw.js} +52 -52
  131. package/dist/chunks/{vcs-4qacd19w.js → app-eag6ew45.js} +5 -5
  132. package/dist/chunks/{vcs-rhjbct0v.js → app-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{vcs-5xhftgj4.js → app-ee831jk2.js} +22 -22
  134. package/dist/chunks/{vcs-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{vcs-05ne224h.js → app-ekpey0w2.js} +35 -35
  136. package/dist/chunks/{vcs-bbp8a8gj.js → app-epkvv2f5.js} +24 -24
  137. package/dist/chunks/{vcs-wbkyxrgf.js → app-eq23s0y6.js} +5 -5
  138. package/dist/chunks/{vcs-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{vcs-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{vcs-tz2bjj40.js → app-evbgk2k8.js} +5 -5
  141. package/dist/chunks/{vcs-bgsd6ce6.js → app-eyq5w0tx.js} +321 -321
  142. package/dist/chunks/{vcs-ykmdpqna.js → app-f1nv3393.js} +1 -1
  143. package/dist/chunks/{vcs-wczd338b.js → app-f4cksbqy.js} +36 -36
  144. package/dist/chunks/{vcs-xar9seh6.js → app-f5sa8sd6.js} +14 -14
  145. package/dist/chunks/{vcs-f828m53h.js → app-f828m53h.js} +2 -2
  146. package/dist/chunks/{vcs-gar06bvm.js → app-f8m84gb8.js} +13 -13
  147. package/dist/chunks/{vcs-r9chjg2t.js → app-fd7vcark.js} +11 -11
  148. package/dist/chunks/{vcs-113z30mj.js → app-fmbxdm3g.js} +8 -8
  149. package/dist/chunks/{vcs-y15vpdnr.js → app-fmcqyzhx.js} +9 -9
  150. package/dist/chunks/{vcs-45xbaj3v.js → app-fqgzk7pv.js} +5 -5
  151. package/dist/chunks/{vcs-n8jyz0fj.js → app-fvfb3fd0.js} +28 -28
  152. package/dist/chunks/{vcs-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{vcs-c765mh8b.js → app-g6q9qykm.js} +9 -9
  154. package/dist/chunks/{vcs-ew7chs6w.js → app-ga3zpfks.js} +28 -28
  155. package/dist/chunks/{vcs-6r81f25e.js → app-gb4d8a14.js} +20 -20
  156. package/dist/chunks/{vcs-spr050er.js → app-gb5spw7h.js} +10 -10
  157. package/dist/chunks/{vcs-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{vcs-ww2ppt95.js → app-gehb6127.js} +13 -13
  159. package/dist/chunks/{vcs-z2fmrg3w.js → app-gv0f11kb.js} +24 -24
  160. package/dist/chunks/{vcs-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{vcs-hv00q5g0.js → app-gwsdqkfn.js} +28 -28
  162. package/dist/chunks/{vcs-dc8pdabb.js → app-gyv5e7s4.js} +10 -10
  163. package/dist/chunks/{vcs-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{vcs-mhg46e0p.js → app-hb9jrkjm.js} +35 -35
  165. package/dist/chunks/{vcs-j56e64zr.js → app-j56e64zr.js} +1 -1
  166. package/dist/chunks/{vcs-cvv1tyh9.js → app-j9ntjbjw.js} +7 -7
  167. package/dist/chunks/{vcs-3h1vqtm7.js → app-j9swzztf.js} +50 -50
  168. package/dist/chunks/{vcs-jz93xfa4.js → app-jent2as2.js} +24 -24
  169. package/dist/chunks/{vcs-mk3kndb3.js → app-jkwh4gcj.js} +32 -32
  170. package/dist/chunks/{vcs-hmkrxbsd.js → app-jnsj711q.js} +1 -1
  171. package/dist/chunks/{vcs-y346bt7s.js → app-jnt1kwnr.js} +3 -3
  172. package/dist/chunks/{vcs-05ema446.js → app-jqmhvstb.js} +20 -20
  173. package/dist/chunks/{vcs-x41dyxnd.js → app-jsze95va.js} +32 -32
  174. package/dist/chunks/{vcs-7k1t81qn.js → app-k3jwnc6w.js} +26 -26
  175. package/dist/chunks/{vcs-j7mpm1wr.js → app-k4bsvsx7.js} +12 -12
  176. package/dist/chunks/{vcs-h82njgbp.js → app-k94qrc8k.js} +35 -35
  177. package/dist/chunks/{vcs-9waxhxyt.js → app-k9av316b.js} +58 -58
  178. package/dist/chunks/{vcs-jw7qx2m6.js → app-ka94gqqd.js} +4 -4
  179. package/dist/chunks/{vcs-jhgqne7p.js → app-kdjmvqve.js} +10 -10
  180. package/dist/chunks/{vcs-zee1rnkq.js → app-kne8f3cn.js} +4 -4
  181. package/dist/chunks/{vcs-6kjxsdk9.js → app-ktcan3rf.js} +18 -18
  182. package/dist/chunks/{vcs-p841sg60.js → app-kwpbznt7.js} +30 -30
  183. package/dist/chunks/{vcs-wz7c3pjz.js → app-kyrzxw1k.js} +13 -13
  184. package/dist/chunks/{vcs-nq7qbqzc.js → app-m2d0j7c0.js} +9 -9
  185. package/dist/chunks/{vcs-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{vcs-ehpg0rej.js → app-m6r2z606.js} +4 -4
  187. package/dist/chunks/{vcs-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{vcs-fam871qv.js → app-mc6hyre0.js} +10 -10
  189. package/dist/chunks/{vcs-56gdpj1q.js → app-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{vcs-y5df08dr.js → app-mqt5419d.js} +5 -5
  191. package/dist/chunks/{vcs-vbsshj49.js → app-mtt68vmf.js} +25 -25
  192. package/dist/chunks/{vcs-4rrs1rky.js → app-mvtp2pry.js} +13 -13
  193. package/dist/chunks/{vcs-ycjb11n5.js → app-mx9vqzsb.js} +6 -6
  194. package/dist/chunks/{vcs-jphrr7s4.js → app-mxn8exwt.js} +19 -19
  195. package/dist/chunks/{vcs-ds81ph87.js → app-myefbstp.js} +18 -18
  196. package/dist/chunks/{vcs-2t103h6b.js → app-n010fk1p.js} +11 -11
  197. package/dist/chunks/{vcs-m42kpekn.js → app-n6d4p8nj.js} +44 -44
  198. package/dist/chunks/{vcs-wvyg63f2.js → app-ncjkz9z1.js} +29 -29
  199. package/dist/chunks/{vcs-rfm2565c.js → app-ndb5d06d.js} +60 -60
  200. package/dist/chunks/{vcs-d7r387ef.js → app-ns15zm60.js} +6 -6
  201. package/dist/chunks/{vcs-x4gr8kd6.js → app-nsjkyrtc.js} +6 -6
  202. package/dist/chunks/{vcs-amnjnv1s.js → app-nsvybq32.js} +40 -40
  203. package/dist/chunks/{vcs-nzks3jc8.js → app-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{vcs-p28j5sbe.js → app-p28j5sbe.js} +2 -2
  205. package/dist/chunks/{vcs-vpdthv1w.js → app-p68jy0p0.js} +47 -47
  206. package/dist/chunks/{vcs-k6bjvtpx.js → app-p7kkfgfy.js} +9 -9
  207. package/dist/chunks/{vcs-18e56dsp.js → app-p7nsp59h.js} +4 -4
  208. package/dist/chunks/{vcs-4qqvttyb.js → app-pdcy4k2y.js} +9 -9
  209. package/dist/chunks/{vcs-phstrbs2.js → app-phstrbs2.js} +1 -1
  210. package/dist/chunks/{vcs-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{vcs-pknna89w.js → app-pknna89w.js} +1 -1
  212. package/dist/chunks/{vcs-q2b1ymqp.js → app-q2b1ymqp.js} +1 -1
  213. package/dist/chunks/{vcs-98n6zb1h.js → app-q2xng7e1.js} +29 -29
  214. package/dist/chunks/{vcs-8xh6cseh.js → app-q80qg22r.js} +16 -16
  215. package/dist/chunks/{vcs-n6gjtqa4.js → app-qakm37pj.js} +30 -30
  216. package/dist/chunks/{vcs-4nenax5m.js → app-qaqrrstf.js} +9 -9
  217. package/dist/chunks/{vcs-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
  218. package/dist/chunks/{vcs-kvdph0hb.js → app-qjymz4e2.js} +3 -3
  219. package/dist/chunks/{vcs-kxhmg965.js → app-qnzzh3bs.js} +24 -24
  220. package/dist/chunks/{vcs-qsdy395h.js → app-qsdy395h.js} +1 -1
  221. package/dist/chunks/{vcs-yt3hy1g9.js → app-qvreyy9g.js} +5 -5
  222. package/dist/chunks/{vcs-snabfqxp.js → app-r8pm2v0t.js} +4 -4
  223. package/dist/chunks/{vcs-ry85pwrz.js → app-r9763r4t.js} +11 -11
  224. package/dist/chunks/{vcs-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{vcs-1vx51w1w.js → app-rf46get4.js} +18 -18
  226. package/dist/chunks/{vcs-gn9g1pwf.js → app-rp4sb7ft.js} +31 -31
  227. package/dist/chunks/{vcs-twnj3zvd.js → app-rp6k66e5.js} +20 -20
  228. package/dist/chunks/{vcs-py7tvzcg.js → app-ry3kwg5r.js} +35 -35
  229. package/dist/chunks/{vcs-9c3np669.js → app-rzs3gq0x.js} +8 -8
  230. package/dist/chunks/app-rzsdpbyf.js +252 -0
  231. package/dist/chunks/{vcs-rqk1njnt.js → app-rzter2vb.js} +17 -17
  232. package/dist/chunks/{vcs-fb101560.js → app-s9mmsqrc.js} +17 -17
  233. package/dist/chunks/{vcs-tyg3r6mh.js → app-sbxv4cwa.js} +4 -4
  234. package/dist/chunks/{vcs-deajjef3.js → app-sg8pmkre.js} +21 -21
  235. package/dist/chunks/{vcs-s1pxbdt0.js → app-szkxvq7w.js} +16 -16
  236. package/dist/chunks/{vcs-40j9bccr.js → app-t1h7jwac.js} +5 -5
  237. package/dist/chunks/{vcs-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{vcs-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{vcs-tdstcens.js → app-tdstcens.js} +1 -1
  240. package/dist/chunks/{vcs-71rwez9w.js → app-tgkpsbpf.js} +11 -11
  241. package/dist/chunks/{vcs-nhja5bmb.js → app-tv3z4kj6.js} +20 -20
  242. package/dist/chunks/{vcs-698nh4g1.js → app-tvc1wdcr.js} +12 -12
  243. package/dist/chunks/{vcs-tsvqgg8r.js → app-tvm0x603.js} +18 -18
  244. package/dist/chunks/{vcs-nw2p6qkx.js → app-tvshepj5.js} +26 -26
  245. package/dist/chunks/{vcs-tvtrv512.js → app-tvtrv512.js} +1 -1
  246. package/dist/chunks/{vcs-3664dkb2.js → app-v9a8k35b.js} +42 -42
  247. package/dist/chunks/{vcs-veqvce7d.js → app-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-a3r4dcrj.js → app-vmgq4x8b.js} +2 -2
  249. package/dist/chunks/{vcs-ybhbtxjg.js → app-vmwh049b.js} +6 -6
  250. package/dist/chunks/{vcs-2f5wythd.js → app-vvysgjv5.js} +5 -5
  251. package/dist/chunks/{vcs-tcsc0whj.js → app-vvzdbbdm.js} +10 -10
  252. package/dist/chunks/{vcs-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{vcs-etazx9r2.js → app-w34drh26.js} +20 -20
  254. package/dist/chunks/{vcs-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{vcs-762r0j46.js → app-w8xr7nv8.js} +5 -5
  256. package/dist/chunks/{vcs-wd87259q.js → app-wd87259q.js} +1 -1
  257. package/dist/chunks/{vcs-spe3g0hp.js → app-wes8p5ff.js} +180 -180
  258. package/dist/chunks/{vcs-2m1f7cy6.js → app-wkv4p1cn.js} +13 -13
  259. package/dist/chunks/{vcs-2djq4902.js → app-wte5xypw.js} +14 -14
  260. package/dist/chunks/{vcs-ve62qrz7.js → app-wxv7zk66.js} +5 -5
  261. package/dist/chunks/{vcs-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{vcs-5wdaxb8f.js → app-x2ksegs4.js} +32 -32
  263. package/dist/chunks/{vcs-12v7f4hg.js → app-x40kz2n8.js} +41 -41
  264. package/dist/chunks/{vcs-x8h0pz8m.js → app-x7hpp0cz.js} +9 -9
  265. package/dist/chunks/{vcs-01m6t6a9.js → app-xam4y82e.js} +25 -25
  266. package/dist/chunks/{vcs-a3ftg8j6.js → app-xf8yqmad.js} +9 -9
  267. package/dist/chunks/{vcs-z7z0ddsh.js → app-xfc78b52.js} +8 -8
  268. package/dist/chunks/{vcs-mmr7bq34.js → app-xfdrc2qg.js} +6 -6
  269. package/dist/chunks/{vcs-4we6rgn1.js → app-xtc9razg.js} +5 -5
  270. package/dist/chunks/{vcs-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{vcs-a8zr1srk.js → app-y3q03scc.js} +8 -8
  272. package/dist/chunks/{vcs-r8xr0va3.js → app-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{vcs-5qkxfyep.js → app-yq2cczkq.js} +9 -9
  274. package/dist/chunks/{vcs-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-yrznvahk.js → app-yrznvahk.js} +2 -2
  276. package/dist/chunks/{vcs-envqdpax.js → app-yz0qd2c9.js} +13 -13
  277. package/dist/chunks/{vcs-3ewed21c.js → app-z0aj456m.js} +4 -4
  278. package/dist/chunks/{vcs-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{vcs-gsjgh4hm.js → app-z1n384xa.js} +15 -15
  280. package/dist/chunks/{vcs-z63w68vq.js → app-z63w68vq.js} +2 -2
  281. package/dist/chunks/{vcs-mzr7febk.js → app-za4cqae4.js} +9 -9
  282. package/dist/chunks/{vcs-5gh21e1w.js → app-zcbk9ecm.js} +2 -2
  283. package/dist/chunks/{vcs-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{vcs-7md8yzhz.js → app-zk19rc5h.js} +22 -22
  285. package/dist/chunks/{vcs-9pqkkp2e.js → app-zpaje10v.js} +11 -11
  286. package/dist/chunks/{vcs-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{vcs-4xvd153e.js → app-zsby4d12.js} +7 -7
  288. package/dist/chunks/{vcs-dn92n4b8.js → app-zv0ss7ka.js} +30 -30
  289. package/dist/chunks/{vcs-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +123 -123
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +98 -98
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +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 +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +129 -129
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +222 -222
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +119 -119
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +122 -122
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +1 -1
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +1 -1
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/vcs-50hbbtx8.js +0 -26
  696. package/dist/chunks/vcs-619r8v3y.js +0 -18
  697. package/dist/chunks/vcs-qapv375x.js +0 -4
  698. package/dist/chunks/vcs-wcr4e3c6.js +0 -252
  699. /package/dist/chunks/{vcs-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{vcs-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{vcs-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{vcs-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{vcs-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{vcs-24dcb14g.js → app-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{vcs-2710q6r3.js → app-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{vcs-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{vcs-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{vcs-359p4xyc.js → app-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{vcs-3asan66x.js → app-3asan66x.js} +0 -0
  710. /package/dist/chunks/{vcs-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{vcs-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{vcs-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{vcs-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{vcs-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{vcs-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{vcs-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{vcs-53557ph1.js → app-53557ph1.js} +0 -0
  718. /package/dist/chunks/{vcs-550bvhaj.js → app-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{vcs-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{vcs-6prwharc.js → app-6prwharc.js} +0 -0
  721. /package/dist/chunks/{vcs-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{vcs-7m9af43g.js → app-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{vcs-822emrt2.js → app-822emrt2.js} +0 -0
  724. /package/dist/chunks/{vcs-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{vcs-8n3pysct.js → app-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{vcs-922hggd3.js → app-922hggd3.js} +0 -0
  727. /package/dist/chunks/{vcs-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{vcs-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{vcs-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{vcs-af5trqkr.js → app-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{vcs-afrmfg78.js → app-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{vcs-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{vcs-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{vcs-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{vcs-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{vcs-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{vcs-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{vcs-d9fn303g.js → app-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{vcs-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{vcs-dajrwvna.js → app-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{vcs-dap0rakb.js → app-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{vcs-df08tz66.js → app-df08tz66.js} +0 -0
  743. /package/dist/chunks/{vcs-dy18nga0.js → app-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{vcs-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{vcs-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{vcs-ec1grn59.js → app-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{vcs-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{vcs-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{vcs-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{vcs-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{vcs-faypxj3z.js → app-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{vcs-fd410y7t.js → app-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{vcs-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{vcs-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{vcs-g86h250q.js → app-g86h250q.js} +0 -0
  756. /package/dist/chunks/{vcs-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{vcs-gftt206x.js → app-gftt206x.js} +0 -0
  758. /package/dist/chunks/{vcs-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{vcs-hk9envan.js → app-hk9envan.js} +0 -0
  760. /package/dist/chunks/{vcs-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{vcs-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{vcs-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{vcs-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{vcs-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{vcs-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{vcs-mp448xyj.js → app-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{vcs-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{vcs-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{vcs-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{vcs-njntx4h6.js → app-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{vcs-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{vcs-q74kybfr.js → app-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{vcs-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{vcs-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{vcs-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{vcs-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{vcs-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{vcs-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{vcs-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{vcs-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{vcs-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{vcs-twg0f83k.js → app-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{vcs-w803qqfp.js → app-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{vcs-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{vcs-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{vcs-wtztk69x.js → app-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{vcs-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{vcs-x61499pn.js → app-x61499pn.js} +0 -0
  789. /package/dist/chunks/{vcs-y44na4kk.js → app-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{vcs-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{vcs-y8f7s663.js → app-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{vcs-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{vcs-ym463w8f.js → app-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{vcs-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID13,
2
+ ID7,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./vcs-py7tvzcg.js";
6
+ } from "./app-ry3kwg5r.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service72,
16
+ Service: () => Service57,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node76
18
+ node: () => node59
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
130
130
  }
131
131
 
132
132
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
133
- providerID: ID13,
133
+ providerID: ID7,
134
134
  cause: Schema.Defect()
135
135
  }) {
136
136
  }
@@ -138,9 +138,9 @@ function initError(providerID) {
138
138
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
139
139
  }
140
140
 
141
- class Service72 extends Context.Service()("@opencode/AISDK") {
141
+ class Service57 extends Context.Service()("@opencode/AISDK") {
142
142
  }
143
- var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
143
+ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
144
144
  let sdkHooks = [];
145
145
  let languageHooks = [];
146
146
  const languages = new Map;
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
178
178
  }
179
179
  return event;
180
180
  });
181
- const service = Service72.of({
181
+ const service = Service57.of({
182
182
  hook: {
183
183
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
184
184
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
819
819
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
820
820
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
821
821
  }
822
- var node76 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
822
+ var node59 = makeLocationNode({ service: Service57, layer: locationLayer2, deps: [] });
823
823
 
824
- export { InitError2, Service72, locationLayer2, node76, exports_aisdk };
824
+ export { InitError2, Service57, locationLayer2, node59, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
- Info6,
6
- ID6,
5
+ Info18,
6
+ ID5,
7
7
  Name2
8
- } from "./vcs-w5fm7hkw.js";
8
+ } from "./app-a29a0jzg.js";
9
9
  import {
10
- Service43
11
- } from "./vcs-m42kpekn.js";
10
+ Service39
11
+ } from "./app-n6d4p8nj.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin43,
21
+ Plugin: () => Plugin31,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin43 = define({
428
+ var Plugin31 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info6.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info18.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info6.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info18.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service43;
469
+ const config = yield* Service39;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./vcs-8xh6cseh.js";
2
+ Service78,
3
+ node82
4
+ } from "./app-q80qg22r.js";
5
5
  import {
6
6
  environment2
7
- } from "./vcs-s1pxbdt0.js";
7
+ } from "./app-szkxvq7w.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./vcs-sk3qaz4a.js";
10
+ } from "./app-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-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: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError8,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured4,
25
- layer: () => layer10,
26
- node: () => node19
22
+ Service: () => Service62,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured8,
25
+ layer: () => layer24,
26
+ node: () => node64
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ 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 Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options9 = 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 NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service62 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
53
- const bus = yield* Service82;
52
+ var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
53
+ const bus = yield* Service78;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, 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 NotFoundError8({ 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(Service16, 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(Service16, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service16.of({
242
+ return Service62.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service16,
261
- layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node86, Global.node]
258
+ var layer24 = makeLayer();
259
+ var configured8 = (options) => makeGlobalNode({
260
+ service: Service62,
261
+ layer: options === undefined ? layer24 : makeLayer(options),
262
+ deps: [node82, Global.node]
263
263
  });
264
- var node19 = configured4();
264
+ var node64 = configured8();
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 { Options4, UnavailableError2, NotFoundError3, Service16, layer10, configured4, node19, exports_persistent_pty, Handoff2 };
304
+ export { Options9, UnavailableError3, NotFoundError8, Service62, layer24, configured8, node64, exports_persistent_pty, Handoff2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./vcs-y5df08dr.js";
7
+ } from "./app-mqt5419d.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./vcs-2402vzrj.js";
13
+ } from "./app-6h73sxmp.js";
14
14
  import {
15
- Service77,
16
- node81
17
- } from "./vcs-4rrs1rky.js";
15
+ Service80,
16
+ node84
17
+ } from "./app-mvtp2pry.js";
18
18
  import {
19
19
  __export
20
- } from "./vcs-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service54,
33
+ Service: () => Service79,
34
34
  isError: () => isError2,
35
- node: () => node58,
35
+ node: () => node83,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service54 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service79 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service54, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service77;
110
- return Service54.of({
109
+ const kv = yield* Service80;
110
+ return Service79.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node58 = makeGlobalNode({
171
- service: Service54,
170
+ var node83 = makeGlobalNode({
171
+ service: Service79,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node81]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node84]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service54, isError2, validateBranch2, node58, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service79, isError2, validateBranch2, node83, exports_repository_cache };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./vcs-8xh6cseh.js";
2
+ Service78,
3
+ node82
4
+ } from "./app-q80qg22r.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./vcs-rdw6cm16.js";
8
+ } from "./app-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service74,
12
- node78,
13
- Event18
14
- } from "./vcs-mk3kndb3.js";
10
+ ID8,
11
+ Service59,
12
+ node61,
13
+ Event15
14
+ } from "./app-jkwh4gcj.js";
15
15
  import {
16
16
  key2
17
- } from "./vcs-h6r3nrb9.js";
17
+ } from "./app-cpj0znwe.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./vcs-2djq4902.js";
19
+ Service76,
20
+ node80
21
+ } from "./app-wte5xypw.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./app-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event17,
41
- ID: () => ID13,
42
- Info: () => Info27,
40
+ Event: () => Event14,
41
+ ID: () => ID7,
42
+ Info: () => Info21,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request3,
46
- Service: () => Service73,
45
+ Request: () => Request2,
46
+ Service: () => Service58,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node77,
56
+ node: () => node60,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event17 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
67
+ import { Event as Event14 } from "@opencode/schema/provider";
68
+ var ID7 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request3 = Provider.Request;
209
+ var Request2 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info27 = Provider.Info;
213
+ var Info21 = Provider.Info;
214
214
 
215
- class Service73 extends Context.Service()("@opencode/Provider") {
215
+ class Service58 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service73, Effect.gen(function* () {
229
- const bus = yield* Service82;
230
- const integrations = yield* Service74;
231
- const location = yield* Service79;
228
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
229
+ const bus = yield* Service78;
230
+ const integrations = yield* Service59;
231
+ const location = yield* Service76;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info27.empty(id), models: new Map };
242
+ const added = { provider: Info21.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service73.of({
349
+ yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service58.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node86, node78, node83] });
359
+ var node60 = makeLocationNode({ service: Service58, layer, deps: [node82, node61, node80] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service73, node77, exports_provider3, Event17 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service58, node60, exports_provider3, Event14 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service42,
8
+ Service: () => Service37,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node45
10
+ node: () => node40
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service42, () => {
17
+ var layer = Layer.sync(Service37, () => {
18
18
  const environments = new Map;
19
- return Service42.of({
19
+ return Service37.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
29
+ var node40 = makeGlobalNode({ service: Service37, layer, deps: [] });
30
30
 
31
- export { Service42, node45, exports_environment };
31
+ export { Service37, node40, exports_environment };