@opencode/core 0.0.0-dev-19298 → 0.0.0-dev-19300

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{wellknown-afdssyjb.js → repository-06x8he3q.js} +4 -4
  9. package/dist/chunks/{wellknown-1cxh2yq8.js → repository-0f776x05.js} +15 -15
  10. package/dist/chunks/{wellknown-qg0c46zd.js → repository-0ms83wsr.js} +9 -9
  11. package/dist/chunks/{wellknown-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{wellknown-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{wellknown-0fey9sjf.js → repository-0rvwym2w.js} +4 -4
  14. package/dist/chunks/{wellknown-f4xmay09.js → repository-0sb7r7z8.js} +168 -168
  15. package/dist/chunks/{wellknown-81a28jj9.js → repository-0y360m9h.js} +20 -20
  16. package/dist/chunks/{wellknown-ec8389mk.js → repository-1080qp6z.js} +4 -4
  17. package/dist/chunks/{wellknown-ebc7h8jh.js → repository-11tcp5y8.js} +4 -4
  18. package/dist/chunks/{wellknown-94sf61n7.js → repository-1235z6h5.js} +11 -11
  19. package/dist/chunks/{wellknown-jsf83ghp.js → repository-12gb8myc.js} +17 -17
  20. package/dist/chunks/{wellknown-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{wellknown-qfeftde1.js → repository-1d1r455x.js} +10 -10
  22. package/dist/chunks/{wellknown-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{wellknown-0hpxrkyb.js → repository-1dfhrqqs.js} +5 -5
  24. package/dist/chunks/{wellknown-j7hxrhe3.js → repository-1rw8y3qp.js} +25 -25
  25. package/dist/chunks/{wellknown-92sryvry.js → repository-1s7e6phh.js} +6 -6
  26. package/dist/chunks/{wellknown-dqyrj80g.js → repository-1xb5wcr4.js} +22 -22
  27. package/dist/chunks/{wellknown-h5nf0wwg.js → repository-20d5ynpz.js} +18 -18
  28. package/dist/chunks/{wellknown-hsbjamnz.js → repository-21505my7.js} +32 -32
  29. package/dist/chunks/{wellknown-21r38tys.js → repository-21r38tys.js} +1 -1
  30. package/dist/chunks/{wellknown-8cw9e3y8.js → repository-23ys1acm.js} +24 -24
  31. package/dist/chunks/{wellknown-t1gyex3t.js → repository-24jpa85g.js} +11 -11
  32. package/dist/chunks/{wellknown-kwvvtnkq.js → repository-25dt1yg9.js} +39 -39
  33. package/dist/chunks/{wellknown-rhvgj8e6.js → repository-28bdjpwd.js} +20 -20
  34. package/dist/chunks/{wellknown-z63w68vq.js → repository-29x78va6.js} +6 -6
  35. package/dist/chunks/{wellknown-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{wellknown-1vf609rd.js → repository-2gqxkbxa.js} +20 -20
  37. package/dist/chunks/{wellknown-844ef7ks.js → repository-2hyh68ab.js} +8 -8
  38. package/dist/chunks/{wellknown-vxyf8mmv.js → repository-2jd3nfvw.js} +26 -26
  39. package/dist/chunks/{wellknown-kby4yt7g.js → repository-2ke5dpvq.js} +16 -16
  40. package/dist/chunks/{wellknown-0rzpb8gt.js → repository-2nxb55e9.js} +11 -11
  41. package/dist/chunks/{wellknown-jc5jqykq.js → repository-2p2ash1s.js} +6 -6
  42. package/dist/chunks/{wellknown-yb0rz80c.js → repository-2qw4fg5j.js} +23 -23
  43. package/dist/chunks/{wellknown-5ba826g4.js → repository-2zm9r2mq.js} +33 -33
  44. package/dist/chunks/{wellknown-r47paza8.js → repository-3da9a2rq.js} +41 -41
  45. package/dist/chunks/{wellknown-m8vs919j.js → repository-3faemfqa.js} +20 -20
  46. package/dist/chunks/{wellknown-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{wellknown-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{wellknown-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{wellknown-arnmqd59.js → repository-3sy2qy7n.js} +1 -1
  50. package/dist/chunks/{wellknown-nbddwgy7.js → repository-3tey5e4w.js} +10 -10
  51. package/dist/chunks/{wellknown-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{wellknown-x4qbn06s.js → repository-42t63d0v.js} +9 -9
  53. package/dist/chunks/{wellknown-b0yc1cc1.js → repository-42x6g9em.js} +17 -17
  54. package/dist/chunks/{wellknown-1e8nxva5.js → repository-488yfy34.js} +14 -14
  55. package/dist/chunks/{wellknown-pwzt2dd6.js → repository-4ftw1z01.js} +23 -23
  56. package/dist/chunks/{wellknown-1a8afdf1.js → repository-4rq8jptq.js} +13 -13
  57. package/dist/chunks/{wellknown-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{wellknown-gtp0d19d.js → repository-5c74bejr.js} +13 -13
  59. package/dist/chunks/{wellknown-bbcn74nn.js → repository-5ck9wg8w.js} +8 -8
  60. package/dist/chunks/{wellknown-5daktx2q.js → repository-5daktx2q.js} +1 -1
  61. package/dist/chunks/{wellknown-g477egy3.js → repository-5hk4b2g6.js} +8 -8
  62. package/dist/chunks/{wellknown-zrnwyp6v.js → repository-5kh3zgw0.js} +15 -15
  63. package/dist/chunks/{wellknown-0gyadjkj.js → repository-5m82w98f.js} +36 -36
  64. package/dist/chunks/{wellknown-433mxpjr.js → repository-5ndbzdej.js} +41 -41
  65. package/dist/chunks/{wellknown-kdpy9gz7.js → repository-5p36ytzk.js} +30 -30
  66. package/dist/chunks/{wellknown-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{wellknown-yrntw0wa.js → repository-5ta6a5m3.js} +10 -10
  68. package/dist/chunks/{wellknown-1w8g4bq4.js → repository-5wz9f6t6.js} +16 -16
  69. package/dist/chunks/{wellknown-pcf161yc.js → repository-65k3vztb.js} +56 -56
  70. package/dist/chunks/{wellknown-gdcxaw8d.js → repository-65tew8e9.js} +30 -30
  71. package/dist/chunks/{wellknown-669tq793.js → repository-669tq793.js} +1 -1
  72. package/dist/chunks/{wellknown-2402vzrj.js → repository-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{wellknown-jw80jp6b.js → repository-6m42r3np.js} +21 -21
  74. package/dist/chunks/{wellknown-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{wellknown-k5nzfyaf.js → repository-6nyfbssk.js} +24 -24
  76. package/dist/chunks/{wellknown-cq37gk0t.js → repository-6s9eyz9r.js} +4 -4
  77. package/dist/chunks/{wellknown-71q4at8m.js → repository-71q4at8m.js} +1 -1
  78. package/dist/chunks/{wellknown-h9t3yg4c.js → repository-756ftpmv.js} +4 -4
  79. package/dist/chunks/{wellknown-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{wellknown-pshw0dya.js → repository-7fh28bch.js} +30 -30
  81. package/dist/chunks/{wellknown-fvanntqq.js → repository-7yqjxrmz.js} +4 -4
  82. package/dist/chunks/{wellknown-86hz29wt.js → repository-7yscfpph.js} +7 -7
  83. package/dist/chunks/{wellknown-ryr25ayn.js → repository-806j49yq.js} +4 -4
  84. package/dist/chunks/{wellknown-ebah8r6x.js → repository-81rrwt6s.js} +6 -6
  85. package/dist/chunks/{wellknown-qnxyes55.js → repository-83m7jv2c.js} +6 -6
  86. package/dist/chunks/{wellknown-5ekz0yty.js → repository-8brhm2ma.js} +35 -35
  87. package/dist/chunks/{wellknown-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{wellknown-wxgaszs1.js → repository-8g0ywzr5.js} +18 -18
  89. package/dist/chunks/{wellknown-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{wellknown-t0x5rdq8.js → repository-8w9tvb25.js} +9 -9
  91. package/dist/chunks/{wellknown-jy16bfac.js → repository-96yt6zt0.js} +1 -1
  92. package/dist/chunks/{wellknown-f1qeq853.js → repository-98h7z1dp.js} +5 -5
  93. package/dist/chunks/{wellknown-kvmv1fep.js → repository-99xeyytz.js} +22 -22
  94. package/dist/chunks/{wellknown-6h4qwayx.js → repository-9e0shq8y.js} +2 -2
  95. package/dist/chunks/{wellknown-dnwf0qct.js → repository-9nps6jxk.js} +81 -81
  96. package/dist/chunks/{wellknown-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{wellknown-4wdpjckx.js → repository-a3xfqne5.js} +19 -19
  98. package/dist/chunks/{wellknown-5wwtptpe.js → repository-a7ya2t55.js} +4 -4
  99. package/dist/chunks/{wellknown-aaet6srn.js → repository-aaet6srn.js} +2 -2
  100. package/dist/chunks/{wellknown-7s9yv6nr.js → repository-acr4esdf.js} +22 -22
  101. package/dist/chunks/{wellknown-0f9afca0.js → repository-af04s6ss.js} +5 -5
  102. package/dist/chunks/{wellknown-80e0yyk8.js → repository-b0q3gy5e.js} +14 -14
  103. package/dist/chunks/{wellknown-8zm39b8n.js → repository-b3mzkn50.js} +17 -17
  104. package/dist/chunks/{wellknown-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{wellknown-06dxphr1.js → repository-bccb6npm.js} +4 -4
  106. package/dist/chunks/{wellknown-301ntmw9.js → repository-bey7x3zt.js} +24 -24
  107. package/dist/chunks/{wellknown-f7na88a3.js → repository-bk1bf212.js} +33 -33
  108. package/dist/chunks/{wellknown-1t0hsb5v.js → repository-bksjv0kp.js} +11 -11
  109. package/dist/chunks/{wellknown-q8p9236r.js → repository-bn9sxrbg.js} +32 -32
  110. package/dist/chunks/{wellknown-w10k0mk6.js → repository-bs5pepmy.js} +24 -24
  111. package/dist/chunks/{wellknown-g8j92q4r.js → repository-byvwwxkk.js} +30 -30
  112. package/dist/chunks/{wellknown-th16xtyn.js → repository-bz3n39rt.js} +54 -54
  113. package/dist/chunks/{wellknown-vhzmfeej.js → repository-cfhyqxd5.js} +26 -26
  114. package/dist/chunks/{wellknown-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{wellknown-vy22dxga.js → repository-cqz2c9ze.js} +16 -16
  116. package/dist/chunks/{wellknown-xekzrwwc.js → repository-crptryd9.js} +9 -9
  117. package/dist/chunks/{wellknown-9pebw04q.js → repository-ct5ygdvv.js} +32 -32
  118. package/dist/chunks/{wellknown-4kftbr8z.js → repository-d3p1g0v9.js} +81 -81
  119. package/dist/chunks/{wellknown-6xzgjakr.js → repository-d971jd90.js} +24 -24
  120. package/dist/chunks/{wellknown-97648kyg.js → repository-dcmk5z6d.js} +11 -11
  121. package/dist/chunks/{wellknown-w6jjpet8.js → repository-drx0v7dc.js} +18 -18
  122. package/dist/chunks/repository-dxj72tfx.js +18 -0
  123. package/dist/chunks/{wellknown-qm7jrdpz.js → repository-e7710hd6.js} +5 -5
  124. package/dist/chunks/{wellknown-rhjbct0v.js → repository-eaj1djv9.js} +8 -8
  125. package/dist/chunks/{wellknown-y8t89g2h.js → repository-ec018mz5.js} +8 -8
  126. package/dist/chunks/{wellknown-2gc4ne5c.js → repository-eddb1hsm.js} +3 -3
  127. package/dist/chunks/{wellknown-92ceydex.js → repository-ee84hvhb.js} +19 -19
  128. package/dist/chunks/{wellknown-fpv6qd1b.js → repository-egdp0v7k.js} +5 -5
  129. package/dist/chunks/{wellknown-7kwy8a22.js → repository-ehg1nygq.js} +6 -6
  130. package/dist/chunks/{wellknown-gnwvvsrg.js → repository-eppyg65b.js} +19 -19
  131. package/dist/chunks/{wellknown-jwx4y25k.js → repository-esj243wz.js} +9 -9
  132. package/dist/chunks/{wellknown-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{wellknown-dhnpxtn3.js → repository-f19mrtp6.js} +24 -24
  134. package/dist/chunks/{wellknown-6wfwqt87.js → repository-f2wm6whm.js} +10 -10
  135. package/dist/chunks/{wellknown-f828m53h.js → repository-f828m53h.js} +2 -2
  136. package/dist/chunks/{wellknown-f9bavhm2.js → repository-f8q7mv7a.js} +1 -1
  137. package/dist/chunks/{wellknown-vxwzppst.js → repository-f9dnc6qb.js} +9 -9
  138. package/dist/chunks/{wellknown-rt56ea7r.js → repository-farzb5ty.js} +15 -15
  139. package/dist/chunks/{wellknown-2az4qg4k.js → repository-fcx00w1h.js} +9 -9
  140. package/dist/chunks/{wellknown-qmr73083.js → repository-fgh0kbhd.js} +1 -1
  141. package/dist/chunks/{wellknown-98b7kxpa.js → repository-fk4ccpbg.js} +9 -9
  142. package/dist/chunks/{wellknown-v69q3rne.js → repository-fvkyxybn.js} +21 -21
  143. package/dist/chunks/{wellknown-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{wellknown-83q352bh.js → repository-fy9dm37w.js} +44 -44
  145. package/dist/chunks/{wellknown-18cztcj7.js → repository-fygdb7h7.js} +3 -3
  146. package/dist/chunks/{wellknown-kb2g279d.js → repository-g1nak0bc.js} +15 -15
  147. package/dist/chunks/{wellknown-4w8b7heb.js → repository-g32rby1q.js} +21 -21
  148. package/dist/chunks/{wellknown-rh8sysy4.js → repository-g52x9ads.js} +10 -10
  149. package/dist/chunks/{wellknown-qha4sez1.js → repository-g5qy6dee.js} +10 -10
  150. package/dist/chunks/{wellknown-6cpxxfqb.js → repository-gasa05ya.js} +33 -33
  151. package/dist/chunks/{wellknown-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{wellknown-153kn5pz.js → repository-gg4p3dxp.js} +43 -43
  153. package/dist/chunks/{wellknown-zerdtc7d.js → repository-gj9xpvv3.js} +2 -2
  154. package/dist/chunks/repository-gjn7zjnk.js +247 -0
  155. package/dist/chunks/{wellknown-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{wellknown-cf5npnpn.js → repository-gw75b7xp.js} +39 -39
  157. package/dist/chunks/{wellknown-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  158. package/dist/chunks/repository-h47he10w.js +4 -0
  159. package/dist/chunks/{wellknown-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{wellknown-dy1s2zwt.js → repository-h77e4z6a.js} +7 -7
  161. package/dist/chunks/{wellknown-ag9w6e5n.js → repository-h9xzymfq.js} +4 -4
  162. package/dist/chunks/{wellknown-5hjhdcrb.js → repository-hbhp39pa.js} +25 -25
  163. package/dist/chunks/{wellknown-r5yb3bmp.js → repository-hc0r56wb.js} +35 -35
  164. package/dist/chunks/{wellknown-0r7yqxbf.js → repository-hcz3zddy.js} +5 -5
  165. package/dist/chunks/{wellknown-jj63jgrn.js → repository-hd29wc17.js} +8 -8
  166. package/dist/chunks/{wellknown-nf8nzb7g.js → repository-hhnggr0y.js} +9 -9
  167. package/dist/chunks/{wellknown-ajq9kf1a.js → repository-hj52cskm.js} +3 -3
  168. package/dist/chunks/{wellknown-9ppkv52n.js → repository-j0er744w.js} +8 -8
  169. package/dist/chunks/{wellknown-j56e64zr.js → repository-j56e64zr.js} +1 -1
  170. package/dist/chunks/{wellknown-1m53f3h1.js → repository-j7rmzkqc.js} +18 -18
  171. package/dist/chunks/{wellknown-paphc93g.js → repository-j935v87r.js} +2 -2
  172. package/dist/chunks/{wellknown-r5ba5pd1.js → repository-ja76sygq.js} +9 -9
  173. package/dist/chunks/{wellknown-s9cync3p.js → repository-jc87ns02.js} +26 -26
  174. package/dist/chunks/repository-jn0ab61b.js +22 -0
  175. package/dist/chunks/{wellknown-v8ch97zc.js → repository-k16ay38w.js} +1 -1
  176. package/dist/chunks/{wellknown-kg06axw8.js → repository-kg06axw8.js} +1 -1
  177. package/dist/chunks/{wellknown-5jtdmvnp.js → repository-ksz0h0wp.js} +1 -1
  178. package/dist/chunks/{wellknown-a4exdnt3.js → repository-m1jtpm13.js} +4 -4
  179. package/dist/chunks/{wellknown-2d6j2h4j.js → repository-m27pyyd3.js} +6 -6
  180. package/dist/chunks/{wellknown-e5xbyv4k.js → repository-m52vhm9w.js} +3 -3
  181. package/dist/chunks/{wellknown-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{wellknown-yesww6qn.js → repository-m9wjgnng.js} +9 -9
  183. package/dist/chunks/{wellknown-s9c35a17.js → repository-mhwnn3nh.js} +7 -7
  184. package/dist/chunks/{wellknown-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  185. package/dist/chunks/{wellknown-zc3bbtev.js → repository-mqypt7zj.js} +9 -9
  186. package/dist/chunks/{wellknown-eg418mx6.js → repository-mtgx628c.js} +16 -16
  187. package/dist/chunks/{wellknown-kbv6dgc6.js → repository-mvdnynp8.js} +4 -4
  188. package/dist/chunks/{wellknown-r5x6zcsm.js → repository-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{wellknown-1vsftg9k.js → repository-n6fqsy4a.js} +9 -9
  190. package/dist/chunks/{wellknown-sv9bpgvh.js → repository-n76fdqym.js} +5 -5
  191. package/dist/chunks/{wellknown-pchvxq4t.js → repository-n77pyy8y.js} +4 -4
  192. package/dist/chunks/{wellknown-n0zn403d.js → repository-n8gkpbkd.js} +22 -22
  193. package/dist/chunks/{wellknown-j15mxnwj.js → repository-nayt11ps.js} +3 -3
  194. package/dist/chunks/{wellknown-7wdjtyr9.js → repository-ndmv45hp.js} +3 -3
  195. package/dist/chunks/{wellknown-6erqqgaw.js → repository-nf52vkfc.js} +11 -11
  196. package/dist/chunks/{wellknown-1smgb78j.js → repository-ng1cxp70.js} +15 -15
  197. package/dist/chunks/{wellknown-hjt4xg1x.js → repository-nhy5jxhy.js} +4 -4
  198. package/dist/chunks/{wellknown-jn3vahqd.js → repository-njtrby3g.js} +11 -11
  199. package/dist/chunks/{wellknown-vwjrxgyb.js → repository-np2wt734.js} +60 -60
  200. package/dist/chunks/{wellknown-5g4j5yqq.js → repository-nw0w9xts.js} +18 -18
  201. package/dist/chunks/{wellknown-rkbmpfe2.js → repository-nxrh5nrb.js} +10 -10
  202. package/dist/chunks/{wellknown-ztc1je1k.js → repository-nyfsa3d4.js} +15 -15
  203. package/dist/chunks/{wellknown-frfc3m7z.js → repository-p3cr5m8k.js} +8 -8
  204. package/dist/chunks/{wellknown-jxak35yf.js → repository-p40ajvra.js} +46 -46
  205. package/dist/chunks/{wellknown-xtxsez35.js → repository-p5ym65ek.js} +12 -12
  206. package/dist/chunks/repository-pe1hnp5n.js +462 -0
  207. package/dist/chunks/{wellknown-rvyy05ds.js → repository-pgyxckf0.js} +11 -11
  208. package/dist/chunks/{wellknown-vyqn3nqs.js → repository-pjedbq3k.js} +4 -4
  209. package/dist/chunks/{wellknown-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{wellknown-2g4a82s9.js → repository-pjw4mgws.js} +17 -17
  211. package/dist/chunks/{wellknown-pknna89w.js → repository-pknna89w.js} +1 -1
  212. package/dist/chunks/{wellknown-5aveev3e.js → repository-pnean495.js} +5 -5
  213. package/dist/chunks/{wellknown-h1p5fdzw.js → repository-ppg2pkc4.js} +7 -7
  214. package/dist/chunks/{wellknown-cx9z24qy.js → repository-pt9hhbjv.js} +25 -25
  215. package/dist/chunks/{wellknown-vbt1q5qz.js → repository-pz6kvv0a.js} +7 -7
  216. package/dist/chunks/{wellknown-k7ezg90w.js → repository-pzqj8cz9.js} +11 -11
  217. package/dist/chunks/{wellknown-2wj8n25z.js → repository-q5zafh14.js} +6 -6
  218. package/dist/chunks/{wellknown-pcax7nge.js → repository-q7v1pqah.js} +10 -10
  219. package/dist/chunks/{wellknown-345aazev.js → repository-qe2326jn.js} +6 -6
  220. package/dist/chunks/{wellknown-6d5ab3w3.js → repository-qegb081p.js} +12 -12
  221. package/dist/chunks/{wellknown-7dqw4kz8.js → repository-qgn6gcr1.js} +5 -5
  222. package/dist/chunks/{wellknown-qsdy395h.js → repository-qsdy395h.js} +1 -1
  223. package/dist/chunks/{wellknown-h2r7bbkd.js → repository-qth74v4j.js} +11 -11
  224. package/dist/chunks/{wellknown-tsra1adq.js → repository-qxc8wz53.js} +20 -20
  225. package/dist/chunks/{wellknown-zfdfzxrp.js → repository-r034twb5.js} +18 -18
  226. package/dist/chunks/{wellknown-31dz7cp4.js → repository-r9babyk8.js} +1 -1
  227. package/dist/chunks/{wellknown-751bb1qn.js → repository-rad6g3ft.js} +6 -6
  228. package/dist/chunks/{wellknown-dhh9g715.js → repository-rpxwpx2g.js} +17 -17
  229. package/dist/chunks/{wellknown-htjw9qza.js → repository-rsvmvhbp.js} +6 -6
  230. package/dist/chunks/{wellknown-yrznvahk.js → repository-s4enseaf.js} +2 -2
  231. package/dist/chunks/{wellknown-kj3rejfq.js → repository-s702d5fa.js} +47 -47
  232. package/dist/chunks/{wellknown-vx52c60r.js → repository-s784my9g.js} +14 -14
  233. package/dist/chunks/{wellknown-hv7kxmpp.js → repository-s9teexy3.js} +13 -13
  234. package/dist/chunks/{wellknown-c8x8zcz1.js → repository-sf673xhe.js} +13 -13
  235. package/dist/chunks/{wellknown-k3htwn63.js → repository-sqc84shp.js} +30 -30
  236. package/dist/chunks/{wellknown-4f40xxt9.js → repository-svz4xhyh.js} +17 -17
  237. package/dist/chunks/{wellknown-q17z9dx8.js → repository-t0sqncza.js} +5 -5
  238. package/dist/chunks/{wellknown-d50f2zf5.js → repository-t23qze4t.js} +1 -1
  239. package/dist/chunks/{wellknown-13adgrn5.js → repository-t430gn4d.js} +24 -24
  240. package/dist/chunks/{wellknown-qek8dtx8.js → repository-t97t2t7r.js} +11 -11
  241. package/dist/chunks/{wellknown-3vt47zmq.js → repository-t9azvbfb.js} +17 -17
  242. package/dist/chunks/{wellknown-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{wellknown-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{wellknown-tdstcens.js → repository-tdstcens.js} +1 -1
  245. package/dist/chunks/{wellknown-0w219v1z.js → repository-tetdjcv5.js} +11 -11
  246. package/dist/chunks/{wellknown-x8epn3eh.js → repository-tf1axwb0.js} +27 -27
  247. package/dist/chunks/{wellknown-3w2b2yj4.js → repository-tn0aqsam.js} +5 -5
  248. package/dist/chunks/{wellknown-5b5zdayx.js → repository-trjbg8c1.js} +20 -20
  249. package/dist/chunks/{wellknown-tvtrv512.js → repository-tvtrv512.js} +1 -1
  250. package/dist/chunks/{wellknown-z9054wkr.js → repository-twcs75va.js} +20 -20
  251. package/dist/chunks/{wellknown-xczywpe1.js → repository-twkbfbpv.js} +23 -23
  252. package/dist/chunks/{wellknown-tjbnh4gx.js → repository-tysrnn2h.js} +11 -11
  253. package/dist/chunks/{wellknown-rsym84ch.js → repository-v33xfvcj.js} +9 -9
  254. package/dist/chunks/{wellknown-tregh9zc.js → repository-v4t0dn9g.js} +2 -2
  255. package/dist/chunks/{wellknown-gkzab4dd.js → repository-vc1a951d.js} +35 -35
  256. package/dist/chunks/{wellknown-0v53mg2y.js → repository-ve4pfa0n.js} +4 -4
  257. package/dist/chunks/{wellknown-veqvce7d.js → repository-veqvce7d.js} +1 -1
  258. package/dist/chunks/{wellknown-6d8w2zge.js → repository-vm3tqwqk.js} +4 -4
  259. package/dist/chunks/{wellknown-t3jrbyxp.js → repository-vxzf7v58.js} +3 -3
  260. package/dist/chunks/{wellknown-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{wellknown-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{wellknown-p8kqgwd3.js → repository-w86n12pv.js} +43 -43
  263. package/dist/chunks/{wellknown-wd87259q.js → repository-wd87259q.js} +1 -1
  264. package/dist/chunks/{wellknown-djyr913s.js → repository-wsax0zm4.js} +9 -9
  265. package/dist/chunks/{wellknown-kckbw66n.js → repository-wvp8ne5c.js} +14 -14
  266. package/dist/chunks/{wellknown-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{wellknown-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  268. package/dist/chunks/{wellknown-r0pa45k4.js → repository-x8pybnqb.js} +6 -6
  269. package/dist/chunks/{wellknown-qr27hz8v.js → repository-xn4600q8.js} +4 -4
  270. package/dist/chunks/{wellknown-ej8cxv4b.js → repository-xwdv5ax5.js} +9 -9
  271. package/dist/chunks/{wellknown-0jfqnnd8.js → repository-xxrmh4kw.js} +34 -34
  272. package/dist/chunks/{wellknown-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{wellknown-sg5j0v43.js → repository-y1p12sez.js} +34 -34
  274. package/dist/chunks/{wellknown-y71avatq.js → repository-y71avatq.js} +1 -1
  275. package/dist/chunks/{wellknown-7png34pd.js → repository-ygab95pb.js} +11 -11
  276. package/dist/chunks/{wellknown-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{wellknown-5gbkaz4t.js → repository-yyyn8rfv.js} +5 -5
  278. package/dist/chunks/{wellknown-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{wellknown-t5t85r32.js → repository-z4vx8zth.js} +28 -28
  280. package/dist/chunks/{wellknown-1ah30sey.js → repository-z69s9t6b.js} +5 -5
  281. package/dist/chunks/{wellknown-j7ashrwe.js → repository-z6dtt623.js} +41 -41
  282. package/dist/chunks/{wellknown-599k2402.js → repository-z9czcytr.js} +25 -25
  283. package/dist/chunks/{wellknown-d8ag70r5.js → repository-zapem284.js} +17 -17
  284. package/dist/chunks/{wellknown-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{wellknown-e0prvjnp.js → repository-zhxw6mnd.js} +2 -2
  286. package/dist/chunks/{wellknown-eg7325wb.js → repository-zqn7tw4w.js} +26 -26
  287. package/dist/chunks/{wellknown-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{wellknown-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +73 -73
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +67 -67
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +99 -99
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +72 -72
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +340 -340
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +80 -80
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +74 -74
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +145 -145
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +213 -213
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +103 -103
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +99 -99
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +115 -115
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/wellknown-0mesazry.js +0 -4
  687. package/dist/chunks/wellknown-b99r3qgs.js +0 -22
  688. package/dist/chunks/wellknown-qc068m1q.js +0 -18
  689. package/dist/chunks/wellknown-tn1q108x.js +0 -462
  690. package/dist/chunks/wellknown-vaf1ev04.js +0 -247
  691. /package/dist/chunks/{wellknown-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{wellknown-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{wellknown-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{wellknown-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{wellknown-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{wellknown-2710q6r3.js → repository-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{wellknown-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{wellknown-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{wellknown-359p4xyc.js → repository-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{wellknown-3asan66x.js → repository-3asan66x.js} +0 -0
  701. /package/dist/chunks/{wellknown-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{wellknown-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{wellknown-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{wellknown-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{wellknown-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{wellknown-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{wellknown-53557ph1.js → repository-53557ph1.js} +0 -0
  708. /package/dist/chunks/{wellknown-550bvhaj.js → repository-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{wellknown-6prwharc.js → repository-6prwharc.js} +0 -0
  710. /package/dist/chunks/{wellknown-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{wellknown-7m9af43g.js → repository-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{wellknown-822emrt2.js → repository-822emrt2.js} +0 -0
  713. /package/dist/chunks/{wellknown-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{wellknown-8n3pysct.js → repository-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{wellknown-922hggd3.js → repository-922hggd3.js} +0 -0
  716. /package/dist/chunks/{wellknown-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{wellknown-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{wellknown-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{wellknown-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{wellknown-af5trqkr.js → repository-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{wellknown-afrmfg78.js → repository-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{wellknown-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{wellknown-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{wellknown-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{wellknown-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{wellknown-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{wellknown-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{wellknown-d9fn303g.js → repository-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{wellknown-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{wellknown-dajrwvna.js → repository-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{wellknown-dap0rakb.js → repository-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{wellknown-df08tz66.js → repository-df08tz66.js} +0 -0
  733. /package/dist/chunks/{wellknown-dy18nga0.js → repository-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{wellknown-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{wellknown-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{wellknown-ec1grn59.js → repository-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{wellknown-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{wellknown-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{wellknown-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{wellknown-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{wellknown-faypxj3z.js → repository-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{wellknown-fd410y7t.js → repository-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{wellknown-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{wellknown-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{wellknown-g86h250q.js → repository-g86h250q.js} +0 -0
  746. /package/dist/chunks/{wellknown-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{wellknown-gftt206x.js → repository-gftt206x.js} +0 -0
  748. /package/dist/chunks/{wellknown-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{wellknown-hk9envan.js → repository-hk9envan.js} +0 -0
  750. /package/dist/chunks/{wellknown-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{wellknown-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{wellknown-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{wellknown-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{wellknown-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{wellknown-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{wellknown-mp448xyj.js → repository-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{wellknown-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{wellknown-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{wellknown-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{wellknown-njntx4h6.js → repository-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{wellknown-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{wellknown-q74kybfr.js → repository-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{wellknown-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{wellknown-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{wellknown-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{wellknown-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{wellknown-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{wellknown-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{wellknown-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{wellknown-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{wellknown-twg0f83k.js → repository-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{wellknown-w803qqfp.js → repository-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{wellknown-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{wellknown-wtztk69x.js → repository-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{wellknown-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{wellknown-x61499pn.js → repository-x61499pn.js} +0 -0
  777. /package/dist/chunks/{wellknown-y44na4kk.js → repository-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{wellknown-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{wellknown-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{wellknown-ym463w8f.js → repository-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{wellknown-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./wellknown-kbv6dgc6.js";
4
+ } from "./repository-mvdnynp8.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./wellknown-4f40xxt9.js";
6
+ Service69,
7
+ node74
8
+ } from "./repository-svz4xhyh.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./wellknown-kg06axw8.js";
12
+ } from "./repository-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./wellknown-tazgh4e4.js";
17
+ } from "./repository-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info9,
29
+ Info: () => Info25,
30
30
  Mode: () => Mode2,
31
- Service: () => Service45,
31
+ Service: () => Service68,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node50
33
+ node: () => node73
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info25, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service45 extends Context.Service()("@opencode/Vcs") {
48
+ class Service68 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service45, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service69;
53
53
  const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info25));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service45.of({
118
+ return Service68.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node50 = makeLocationNode({
165
- service: Service45,
164
+ var node73 = makeLocationNode({
165
+ service: Service68,
166
166
  layer,
167
- deps: [FSUtil.node, node80, node84]
167
+ deps: [FSUtil.node, node74, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service45, node50, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, Service68, node73, exports_vcs };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service9,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node12
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service9 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service5,
18
+ var node12 = makeLocationNode({
19
+ service: Service9,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node8, bound2, exports_instance2 };
32
+ export { Service9, node12, bound2, exports_instance2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./wellknown-ajq9kf1a.js";
4
+ } from "./repository-hj52cskm.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./wellknown-y71avatq.js";
7
+ } from "./repository-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node60
12
- } from "./wellknown-htjw9qza.js";
11
+ node69
12
+ } from "./repository-rsvmvhbp.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./wellknown-faypxj3z.js";
15
+ } from "./repository-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info20,
24
+ ID: () => ID10,
25
+ Info: () => Info23,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service54,
27
+ Service: () => Service64,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node59
29
+ configured: () => configured9,
30
+ node: () => node68
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID10 = Workspace.ID;
39
39
 
40
- class Info20 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info23 extends Schema.Class("Workspace.Info")({
41
+ id: ID10,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID10,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service54 extends Context.Service()("@opencode/Workspace") {
59
+ class Service64 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service54,
61
+ var configured9 = (options = {}) => makeGlobalNode({
62
+ service: Service64,
63
63
  layer: layer(options),
64
- deps: [node85, node60]
64
+ deps: [node85, node69]
65
65
  });
66
- var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info20({
83
+ const info = (row, binding) => new Info23({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service54.of({
157
+ return Service64.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID10.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node59 = configured11();
224
+ var node68 = configured9();
225
225
 
226
- export { ID7, Info20, NotFound3, CreateConflict2, Service54, configured11, node59, exports_workspace };
226
+ export { ID10, Info23, NotFound3, CreateConflict2, Service64, configured9, node68, exports_workspace };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service40
3
- } from "./wellknown-vxwzppst.js";
2
+ Service54
3
+ } from "./repository-f9dnc6qb.js";
4
4
  import {
5
- Service61
6
- } from "./wellknown-ebah8r6x.js";
5
+ Service42
6
+ } from "./repository-81rrwt6s.js";
7
7
  import {
8
8
  detect2
9
- } from "./wellknown-3smtnn6g.js";
9
+ } from "./repository-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./wellknown-qc068m1q.js";
12
+ } from "./repository-dxj72tfx.js";
13
13
  import {
14
- Service73
15
- } from "./wellknown-jj63jgrn.js";
14
+ Service67
15
+ } from "./repository-hd29wc17.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./wellknown-nf8nzb7g.js";
19
+ } from "./repository-hhnggr0y.js";
20
20
  import {
21
21
  prepare3,
22
- Service41
23
- } from "./wellknown-vy22dxga.js";
22
+ Service44
23
+ } from "./repository-cqz2c9ze.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./repository-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service61;
42
+ const instances = yield* Service42;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service73;
45
+ const hooks = yield* Service67;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service41;
64
+ const skillService = yield* Service44;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service40;
128
+ const image = yield* Service54;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./wellknown-gftt206x.js";
3
+ } from "./repository-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./wellknown-7wdjtyr9.js";
6
+ } from "./repository-ndmv45hp.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./wellknown-nf8nzb7g.js";
9
+ } from "./repository-hhnggr0y.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./wellknown-rhjbct0v.js";
13
+ } from "./repository-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./wellknown-a1bz86dw.js";
16
+ } from "./repository-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./wellknown-cq37gk0t.js";
20
+ } from "./repository-6s9eyz9r.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./wellknown-06dxphr1.js";
25
+ } from "./repository-bccb6npm.js";
26
26
  import {
27
27
  __export
28
- } from "./wellknown-9rqn6x4v.js";
28
+ } from "./repository-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load3,
38
+ load: () => load2,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-rvyy05ds.js";
3
+ } from "./repository-pgyxckf0.js";
4
4
  import {
5
- ID15
6
- } from "./wellknown-2d6j2h4j.js";
5
+ ID18
6
+ } from "./repository-m27pyyd3.js";
7
7
  import {
8
8
  iife2
9
- } from "./wellknown-1kg9ymc8.js";
9
+ } from "./repository-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./wellknown-s9c35a17.js";
12
+ } from "./repository-mhwnn3nh.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID15.make("cloudflare-ai-gateway");
19
+ var providerID = ID18.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./wellknown-ajq9kf1a.js";
4
+ } from "./repository-hj52cskm.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./wellknown-kbv6dgc6.js";
9
+ } from "./repository-mvdnynp8.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./wellknown-5t3nmthw.js";
12
+ } from "./repository-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./wellknown-ec1grn59.js";
15
+ } from "./repository-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./wellknown-0rzpb8gt.js";
18
+ } from "./repository-2nxb55e9.js";
19
19
  import {
20
- Service65,
21
- node70
22
- } from "./wellknown-eg418mx6.js";
20
+ Service48,
21
+ node51
22
+ } from "./repository-mtgx628c.js";
23
23
  import {
24
- Service26,
24
+ Service25,
25
25
  node30
26
- } from "./wellknown-dnwf0qct.js";
26
+ } from "./repository-9nps6jxk.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./wellknown-tdstcens.js";
30
+ } from "./repository-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./wellknown-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
62
  const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service26;
65
- const store = yield* Service65;
64
+ const context = yield* Service25;
65
+ const store = yield* Service48;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
152
  layer: layer3,
153
- deps: [node84, llmClient2, node30, node70, node85]
153
+ deps: [node84, llmClient2, node30, node51, node85]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };