@opencode/core 0.0.0-dev-19299 → 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 +81 -81
  8. package/dist/chunks/{shell-e2hjzebn.js → repository-06x8he3q.js} +4 -4
  9. package/dist/chunks/{shell-8pmkjsch.js → repository-0f776x05.js} +15 -15
  10. package/dist/chunks/{shell-b0qfk3e8.js → repository-0ms83wsr.js} +15 -15
  11. package/dist/chunks/{shell-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{shell-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{shell-x6cmkhdm.js → repository-0rvwym2w.js} +4 -4
  14. package/dist/chunks/{shell-h6kmz9yd.js → repository-0sb7r7z8.js} +161 -161
  15. package/dist/chunks/{shell-v03gdzqm.js → repository-0y360m9h.js} +15 -15
  16. package/dist/chunks/{shell-18e56dsp.js → repository-1080qp6z.js} +4 -4
  17. package/dist/chunks/{shell-jygyrd66.js → repository-11tcp5y8.js} +4 -4
  18. package/dist/chunks/{shell-fad7jthp.js → repository-1235z6h5.js} +11 -11
  19. package/dist/chunks/{shell-6d22mmhm.js → repository-12gb8myc.js} +15 -15
  20. package/dist/chunks/{shell-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{shell-h9y0se6r.js → repository-1d1r455x.js} +10 -10
  22. package/dist/chunks/{shell-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{shell-0hpxrkyb.js → repository-1dfhrqqs.js} +5 -5
  24. package/dist/chunks/{shell-9rh7p80v.js → repository-1rw8y3qp.js} +27 -27
  25. package/dist/chunks/{shell-cpk6j284.js → repository-1s7e6phh.js} +9 -9
  26. package/dist/chunks/{shell-wqak0vb9.js → repository-1xb5wcr4.js} +27 -27
  27. package/dist/chunks/{shell-5f9fjpvd.js → repository-20d5ynpz.js} +20 -20
  28. package/dist/chunks/{shell-d21bwxkq.js → repository-21505my7.js} +33 -33
  29. package/dist/chunks/{shell-21r38tys.js → repository-21r38tys.js} +1 -1
  30. package/dist/chunks/{shell-706y5kzp.js → repository-23ys1acm.js} +24 -24
  31. package/dist/chunks/{shell-00xsej0j.js → repository-24jpa85g.js} +11 -11
  32. package/dist/chunks/{shell-va26gyj7.js → repository-25dt1yg9.js} +39 -39
  33. package/dist/chunks/{shell-9se2kd1x.js → repository-28bdjpwd.js} +20 -20
  34. package/dist/chunks/{shell-z63w68vq.js → repository-29x78va6.js} +6 -6
  35. package/dist/chunks/{shell-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{shell-b22s170t.js → repository-2gqxkbxa.js} +20 -20
  37. package/dist/chunks/{shell-cmwkp3r5.js → repository-2hyh68ab.js} +8 -8
  38. package/dist/chunks/{shell-7z6sde0c.js → repository-2jd3nfvw.js} +26 -26
  39. package/dist/chunks/{shell-fr8908f4.js → repository-2ke5dpvq.js} +16 -16
  40. package/dist/chunks/{shell-r19qme2h.js → repository-2nxb55e9.js} +11 -11
  41. package/dist/chunks/{shell-vvqxd921.js → repository-2p2ash1s.js} +4 -4
  42. package/dist/chunks/{shell-10d00zpt.js → repository-2qw4fg5j.js} +26 -26
  43. package/dist/chunks/{shell-18fyhaqr.js → repository-2zm9r2mq.js} +33 -33
  44. package/dist/chunks/{shell-xdpfkwez.js → repository-3da9a2rq.js} +41 -41
  45. package/dist/chunks/{shell-4b7zwk5x.js → repository-3faemfqa.js} +20 -20
  46. package/dist/chunks/{shell-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{shell-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{shell-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{shell-7y1qfq25.js → repository-3sy2qy7n.js} +1 -1
  50. package/dist/chunks/{shell-x940zq77.js → repository-3tey5e4w.js} +10 -10
  51. package/dist/chunks/{shell-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{shell-swc0pkqs.js → repository-42t63d0v.js} +9 -9
  53. package/dist/chunks/{shell-dkkztdya.js → repository-42x6g9em.js} +17 -17
  54. package/dist/chunks/{shell-x270dfa1.js → repository-488yfy34.js} +11 -11
  55. package/dist/chunks/{shell-q59nfae1.js → repository-4ftw1z01.js} +25 -25
  56. package/dist/chunks/{shell-hvy5aax6.js → repository-4rq8jptq.js} +13 -13
  57. package/dist/chunks/{shell-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{shell-sn3acatt.js → repository-5c74bejr.js} +9 -9
  59. package/dist/chunks/{shell-r0z2gdxb.js → repository-5ck9wg8w.js} +8 -8
  60. package/dist/chunks/{shell-5daktx2q.js → repository-5daktx2q.js} +1 -1
  61. package/dist/chunks/{shell-bc9tah8j.js → repository-5hk4b2g6.js} +8 -8
  62. package/dist/chunks/{shell-jh9n7czd.js → repository-5kh3zgw0.js} +15 -15
  63. package/dist/chunks/{shell-w4t3nk4h.js → repository-5m82w98f.js} +34 -34
  64. package/dist/chunks/{shell-p422xgpw.js → repository-5ndbzdej.js} +36 -36
  65. package/dist/chunks/{shell-5ayyaxsv.js → repository-5p36ytzk.js} +30 -30
  66. package/dist/chunks/{shell-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{shell-jap5vfbs.js → repository-5ta6a5m3.js} +8 -8
  68. package/dist/chunks/{shell-vsqc0n3y.js → repository-5wz9f6t6.js} +16 -16
  69. package/dist/chunks/{shell-pmmw8deh.js → repository-65k3vztb.js} +54 -54
  70. package/dist/chunks/{shell-9y2ew1rf.js → repository-65tew8e9.js} +30 -30
  71. package/dist/chunks/{shell-669tq793.js → repository-669tq793.js} +1 -1
  72. package/dist/chunks/{shell-2402vzrj.js → repository-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{shell-jw80jp6b.js → repository-6m42r3np.js} +21 -21
  74. package/dist/chunks/{shell-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{shell-r4am0p4d.js → repository-6nyfbssk.js} +24 -24
  76. package/dist/chunks/{shell-cq37gk0t.js → repository-6s9eyz9r.js} +4 -4
  77. package/dist/chunks/{shell-71q4at8m.js → repository-71q4at8m.js} +1 -1
  78. package/dist/chunks/{shell-amyzqp92.js → repository-756ftpmv.js} +4 -4
  79. package/dist/chunks/{shell-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{shell-g3nea3nn.js → repository-7fh28bch.js} +18 -18
  81. package/dist/chunks/{shell-6ersrjne.js → repository-7yqjxrmz.js} +4 -4
  82. package/dist/chunks/{shell-y03df9yv.js → repository-7yscfpph.js} +7 -7
  83. package/dist/chunks/{shell-qa3qhgw8.js → repository-806j49yq.js} +4 -4
  84. package/dist/chunks/{shell-fpq9acqp.js → repository-81rrwt6s.js} +6 -6
  85. package/dist/chunks/{shell-bcn7gkrj.js → repository-83m7jv2c.js} +6 -6
  86. package/dist/chunks/{shell-b57s6jwk.js → repository-8brhm2ma.js} +35 -35
  87. package/dist/chunks/{shell-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{shell-tcaz1bq6.js → repository-8g0ywzr5.js} +18 -18
  89. package/dist/chunks/{shell-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{shell-t0x5rdq8.js → repository-8w9tvb25.js} +9 -9
  91. package/dist/chunks/{shell-96yt6zt0.js → repository-96yt6zt0.js} +1 -1
  92. package/dist/chunks/{shell-ejnnja69.js → repository-98h7z1dp.js} +5 -5
  93. package/dist/chunks/{shell-994aemam.js → repository-99xeyytz.js} +11 -11
  94. package/dist/chunks/{shell-xn4a1s6b.js → repository-9e0shq8y.js} +2 -2
  95. package/dist/chunks/{shell-f0hazdnn.js → repository-9nps6jxk.js} +83 -83
  96. package/dist/chunks/{shell-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{shell-zr0pwyem.js → repository-a3xfqne5.js} +19 -19
  98. package/dist/chunks/{shell-hb21382w.js → repository-a7ya2t55.js} +4 -4
  99. package/dist/chunks/{shell-aaet6srn.js → repository-aaet6srn.js} +2 -2
  100. package/dist/chunks/{shell-c902c3h9.js → repository-acr4esdf.js} +24 -24
  101. package/dist/chunks/{shell-7gvwkz6m.js → repository-af04s6ss.js} +5 -5
  102. package/dist/chunks/{shell-1awm1f41.js → repository-b0q3gy5e.js} +12 -12
  103. package/dist/chunks/{shell-b4jn3br6.js → repository-b3mzkn50.js} +17 -17
  104. package/dist/chunks/{shell-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{shell-rsdf2nvv.js → repository-bccb6npm.js} +4 -4
  106. package/dist/chunks/{shell-jr1myxr3.js → repository-bey7x3zt.js} +24 -24
  107. package/dist/chunks/{shell-e42zg7c9.js → repository-bk1bf212.js} +33 -33
  108. package/dist/chunks/{shell-7yef7cvy.js → repository-bksjv0kp.js} +11 -11
  109. package/dist/chunks/{shell-desah413.js → repository-bn9sxrbg.js} +30 -30
  110. package/dist/chunks/{shell-20qr1f9s.js → repository-bs5pepmy.js} +24 -24
  111. package/dist/chunks/{shell-v4wpewe9.js → repository-byvwwxkk.js} +30 -30
  112. package/dist/chunks/{shell-aptkcqzk.js → repository-bz3n39rt.js} +54 -54
  113. package/dist/chunks/{shell-gccfn8rw.js → repository-cfhyqxd5.js} +28 -28
  114. package/dist/chunks/{shell-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{shell-7tc1bkdm.js → repository-cqz2c9ze.js} +24 -24
  116. package/dist/chunks/{shell-6hh53734.js → repository-crptryd9.js} +9 -9
  117. package/dist/chunks/{shell-y46htk8f.js → repository-ct5ygdvv.js} +30 -30
  118. package/dist/chunks/{shell-2a9rpc71.js → repository-d3p1g0v9.js} +83 -83
  119. package/dist/chunks/{shell-97wsckqb.js → repository-d971jd90.js} +24 -24
  120. package/dist/chunks/{shell-sd7yc29c.js → repository-dcmk5z6d.js} +9 -9
  121. package/dist/chunks/{shell-2ehqxkpw.js → repository-drx0v7dc.js} +10 -10
  122. package/dist/chunks/repository-dxj72tfx.js +18 -0
  123. package/dist/chunks/{shell-rtathh62.js → repository-e7710hd6.js} +8 -8
  124. package/dist/chunks/{shell-rhjbct0v.js → repository-eaj1djv9.js} +8 -8
  125. package/dist/chunks/{shell-0v877kr8.js → repository-ec018mz5.js} +8 -8
  126. package/dist/chunks/{shell-ygvd8b8c.js → repository-eddb1hsm.js} +3 -3
  127. package/dist/chunks/{shell-2qfg8d7s.js → repository-ee84hvhb.js} +19 -19
  128. package/dist/chunks/{shell-b97hqjkq.js → repository-egdp0v7k.js} +8 -8
  129. package/dist/chunks/{shell-rpsff8a5.js → repository-ehg1nygq.js} +3 -3
  130. package/dist/chunks/{shell-zxegzph2.js → repository-eppyg65b.js} +21 -21
  131. package/dist/chunks/{shell-fwwk8vbp.js → repository-esj243wz.js} +9 -9
  132. package/dist/chunks/{shell-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{shell-56v372ka.js → repository-f19mrtp6.js} +24 -24
  134. package/dist/chunks/{shell-6fpr2q13.js → repository-f2wm6whm.js} +10 -10
  135. package/dist/chunks/{shell-f828m53h.js → repository-f828m53h.js} +2 -2
  136. package/dist/chunks/{shell-f8q7mv7a.js → repository-f8q7mv7a.js} +1 -1
  137. package/dist/chunks/{shell-srpeewqc.js → repository-f9dnc6qb.js} +9 -9
  138. package/dist/chunks/{shell-dmvjrdjg.js → repository-farzb5ty.js} +15 -15
  139. package/dist/chunks/{shell-8ed5dapv.js → repository-fcx00w1h.js} +9 -9
  140. package/dist/chunks/{shell-fgh0kbhd.js → repository-fgh0kbhd.js} +1 -1
  141. package/dist/chunks/{shell-3a20re4p.js → repository-fk4ccpbg.js} +14 -14
  142. package/dist/chunks/{shell-rg4s5c95.js → repository-fvkyxybn.js} +21 -21
  143. package/dist/chunks/{shell-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{shell-bx7eg4z0.js → repository-fy9dm37w.js} +47 -47
  145. package/dist/chunks/{shell-fygdb7h7.js → repository-fygdb7h7.js} +1 -1
  146. package/dist/chunks/{shell-fkwrhsf7.js → repository-g1nak0bc.js} +15 -15
  147. package/dist/chunks/{shell-25m32m9c.js → repository-g32rby1q.js} +21 -21
  148. package/dist/chunks/{shell-ky97rf12.js → repository-g52x9ads.js} +10 -10
  149. package/dist/chunks/{shell-zkhy8a1w.js → repository-g5qy6dee.js} +10 -10
  150. package/dist/chunks/{shell-tx48azwr.js → repository-gasa05ya.js} +33 -33
  151. package/dist/chunks/{shell-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{shell-zw6cm767.js → repository-gg4p3dxp.js} +43 -43
  153. package/dist/chunks/{shell-gj9xpvv3.js → repository-gj9xpvv3.js} +2 -2
  154. package/dist/chunks/repository-gjn7zjnk.js +247 -0
  155. package/dist/chunks/{shell-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{shell-e9pvhpj1.js → repository-gw75b7xp.js} +41 -41
  157. package/dist/chunks/{shell-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  158. package/dist/chunks/repository-h47he10w.js +4 -0
  159. package/dist/chunks/{shell-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{shell-ek4n1jkk.js → repository-h77e4z6a.js} +7 -7
  161. package/dist/chunks/{shell-s79t7y84.js → repository-h9xzymfq.js} +6 -6
  162. package/dist/chunks/{shell-jw31rss3.js → repository-hbhp39pa.js} +29 -29
  163. package/dist/chunks/{shell-ke6544fm.js → repository-hc0r56wb.js} +37 -37
  164. package/dist/chunks/{shell-jv01nqvq.js → repository-hcz3zddy.js} +5 -5
  165. package/dist/chunks/{shell-js0rm7nb.js → repository-hd29wc17.js} +8 -8
  166. package/dist/chunks/{shell-m3ncy77r.js → repository-hhnggr0y.js} +9 -9
  167. package/dist/chunks/{shell-hx84msds.js → repository-hj52cskm.js} +3 -3
  168. package/dist/chunks/{shell-tvs8yzpc.js → repository-j0er744w.js} +8 -8
  169. package/dist/chunks/{shell-j56e64zr.js → repository-j56e64zr.js} +1 -1
  170. package/dist/chunks/{shell-qag0q529.js → repository-j7rmzkqc.js} +18 -18
  171. package/dist/chunks/{shell-paphc93g.js → repository-j935v87r.js} +2 -2
  172. package/dist/chunks/{shell-aqxxzgb1.js → repository-ja76sygq.js} +9 -9
  173. package/dist/chunks/{shell-hz8qtd9r.js → repository-jc87ns02.js} +26 -26
  174. package/dist/chunks/repository-jn0ab61b.js +22 -0
  175. package/dist/chunks/{shell-k16ay38w.js → repository-k16ay38w.js} +1 -1
  176. package/dist/chunks/{shell-kg06axw8.js → repository-kg06axw8.js} +1 -1
  177. package/dist/chunks/{shell-ksz0h0wp.js → repository-ksz0h0wp.js} +1 -1
  178. package/dist/chunks/{shell-43k15f45.js → repository-m1jtpm13.js} +4 -4
  179. package/dist/chunks/{shell-m27pyyd3.js → repository-m27pyyd3.js} +1 -1
  180. package/dist/chunks/{shell-05w1n024.js → repository-m52vhm9w.js} +3 -3
  181. package/dist/chunks/{shell-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{shell-qrgq40sn.js → repository-m9wjgnng.js} +9 -9
  183. package/dist/chunks/{shell-e7szzkhd.js → repository-mhwnn3nh.js} +7 -7
  184. package/dist/chunks/{shell-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  185. package/dist/chunks/{shell-a76t9a7s.js → repository-mqypt7zj.js} +10 -10
  186. package/dist/chunks/{shell-tettmk12.js → repository-mtgx628c.js} +14 -14
  187. package/dist/chunks/{shell-z0kp0xfc.js → repository-mvdnynp8.js} +4 -4
  188. package/dist/chunks/{shell-j028xdjb.js → repository-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{shell-618mw38d.js → repository-n6fqsy4a.js} +9 -9
  190. package/dist/chunks/{shell-n76fdqym.js → repository-n76fdqym.js} +1 -1
  191. package/dist/chunks/{shell-cxmnv656.js → repository-n77pyy8y.js} +4 -4
  192. package/dist/chunks/{shell-zj136r52.js → repository-n8gkpbkd.js} +24 -24
  193. package/dist/chunks/{shell-xdh3xy78.js → repository-nayt11ps.js} +6 -6
  194. package/dist/chunks/{shell-q19p4fn9.js → repository-ndmv45hp.js} +3 -3
  195. package/dist/chunks/{shell-hteb4sy5.js → repository-nf52vkfc.js} +9 -9
  196. package/dist/chunks/{shell-h9gpzc29.js → repository-ng1cxp70.js} +17 -17
  197. package/dist/chunks/{shell-nhy5jxhy.js → repository-nhy5jxhy.js} +1 -1
  198. package/dist/chunks/{shell-xmkt8jmy.js → repository-njtrby3g.js} +11 -11
  199. package/dist/chunks/{shell-emmyw7mw.js → repository-np2wt734.js} +62 -62
  200. package/dist/chunks/{shell-ve0vypz6.js → repository-nw0w9xts.js} +14 -14
  201. package/dist/chunks/{shell-fv6yey1z.js → repository-nxrh5nrb.js} +10 -10
  202. package/dist/chunks/{shell-bhct745e.js → repository-nyfsa3d4.js} +15 -15
  203. package/dist/chunks/{shell-89216gat.js → repository-p3cr5m8k.js} +8 -8
  204. package/dist/chunks/{shell-n2cfwsx3.js → repository-p40ajvra.js} +46 -46
  205. package/dist/chunks/{shell-54jgwn9b.js → repository-p5ym65ek.js} +12 -12
  206. package/dist/chunks/repository-pe1hnp5n.js +462 -0
  207. package/dist/chunks/{shell-t8jgb82e.js → repository-pgyxckf0.js} +11 -11
  208. package/dist/chunks/{shell-vyqn3nqs.js → repository-pjedbq3k.js} +4 -4
  209. package/dist/chunks/{shell-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{shell-a08t2777.js → repository-pjw4mgws.js} +9 -9
  211. package/dist/chunks/{shell-pknna89w.js → repository-pknna89w.js} +1 -1
  212. package/dist/chunks/{shell-jm9tsfw3.js → repository-pnean495.js} +5 -5
  213. package/dist/chunks/{shell-tmf5q148.js → repository-ppg2pkc4.js} +7 -7
  214. package/dist/chunks/{shell-fccy21eq.js → repository-pt9hhbjv.js} +20 -20
  215. package/dist/chunks/{shell-vmhtgab3.js → repository-pz6kvv0a.js} +14 -14
  216. package/dist/chunks/{shell-pqqxfvch.js → repository-pzqj8cz9.js} +11 -11
  217. package/dist/chunks/{shell-kzr6x06e.js → repository-q5zafh14.js} +6 -6
  218. package/dist/chunks/{shell-83nz3y93.js → repository-q7v1pqah.js} +10 -10
  219. package/dist/chunks/{shell-41kyjx1y.js → repository-qe2326jn.js} +6 -6
  220. package/dist/chunks/{shell-ktqk9wm9.js → repository-qegb081p.js} +9 -9
  221. package/dist/chunks/{shell-2k8khapm.js → repository-qgn6gcr1.js} +5 -5
  222. package/dist/chunks/{shell-qsdy395h.js → repository-qsdy395h.js} +1 -1
  223. package/dist/chunks/{shell-h2r7bbkd.js → repository-qth74v4j.js} +11 -11
  224. package/dist/chunks/{shell-5nkpcfwc.js → repository-qxc8wz53.js} +25 -25
  225. package/dist/chunks/{shell-2hhhp258.js → repository-r034twb5.js} +18 -18
  226. package/dist/chunks/{shell-r9babyk8.js → repository-r9babyk8.js} +1 -1
  227. package/dist/chunks/{shell-2vc21b52.js → repository-rad6g3ft.js} +4 -4
  228. package/dist/chunks/{shell-zjvxgrfz.js → repository-rpxwpx2g.js} +15 -15
  229. package/dist/chunks/{shell-dsst23xf.js → repository-rsvmvhbp.js} +8 -8
  230. package/dist/chunks/{shell-yrznvahk.js → repository-s4enseaf.js} +2 -2
  231. package/dist/chunks/{shell-63w78ebd.js → repository-s702d5fa.js} +47 -47
  232. package/dist/chunks/{shell-yxfce51e.js → repository-s784my9g.js} +14 -14
  233. package/dist/chunks/{shell-gq0a9pv7.js → repository-s9teexy3.js} +11 -11
  234. package/dist/chunks/{shell-zcp935tq.js → repository-sf673xhe.js} +13 -13
  235. package/dist/chunks/{shell-3m73xpkh.js → repository-sqc84shp.js} +28 -28
  236. package/dist/chunks/{shell-b6rw8h1c.js → repository-svz4xhyh.js} +16 -16
  237. package/dist/chunks/{shell-70y17xeh.js → repository-t0sqncza.js} +5 -5
  238. package/dist/chunks/{shell-wx9wy1qm.js → repository-t23qze4t.js} +1 -1
  239. package/dist/chunks/{shell-x7cz8gr1.js → repository-t430gn4d.js} +24 -24
  240. package/dist/chunks/{shell-ewxvpahx.js → repository-t97t2t7r.js} +14 -14
  241. package/dist/chunks/{shell-vzepkry7.js → repository-t9azvbfb.js} +15 -15
  242. package/dist/chunks/{shell-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{shell-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{shell-tdstcens.js → repository-tdstcens.js} +1 -1
  245. package/dist/chunks/{shell-t0gs96tb.js → repository-tetdjcv5.js} +11 -11
  246. package/dist/chunks/{shell-0pkbjn6r.js → repository-tf1axwb0.js} +27 -27
  247. package/dist/chunks/{shell-dj9sq318.js → repository-tn0aqsam.js} +5 -5
  248. package/dist/chunks/{shell-0rjzv2qt.js → repository-trjbg8c1.js} +18 -18
  249. package/dist/chunks/{shell-tvtrv512.js → repository-tvtrv512.js} +1 -1
  250. package/dist/chunks/{shell-zakbxfw5.js → repository-twcs75va.js} +20 -20
  251. package/dist/chunks/{shell-ptwhs400.js → repository-twkbfbpv.js} +25 -25
  252. package/dist/chunks/{shell-yy1a830f.js → repository-tysrnn2h.js} +11 -11
  253. package/dist/chunks/{shell-y5mrfvw4.js → repository-v33xfvcj.js} +9 -9
  254. package/dist/chunks/{shell-138zhwcg.js → repository-v4t0dn9g.js} +2 -2
  255. package/dist/chunks/{shell-2tjgwr1s.js → repository-vc1a951d.js} +35 -35
  256. package/dist/chunks/{shell-0v53mg2y.js → repository-ve4pfa0n.js} +4 -4
  257. package/dist/chunks/{shell-veqvce7d.js → repository-veqvce7d.js} +1 -1
  258. package/dist/chunks/{shell-x6n2md0c.js → repository-vm3tqwqk.js} +2 -2
  259. package/dist/chunks/{shell-qka0hr3t.js → repository-vxzf7v58.js} +5 -5
  260. package/dist/chunks/{shell-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{shell-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{shell-qw53xxyx.js → repository-w86n12pv.js} +43 -43
  263. package/dist/chunks/{shell-wd87259q.js → repository-wd87259q.js} +1 -1
  264. package/dist/chunks/{shell-6k2bypnf.js → repository-wsax0zm4.js} +20 -20
  265. package/dist/chunks/{shell-r80v4heq.js → repository-wvp8ne5c.js} +14 -14
  266. package/dist/chunks/{shell-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{shell-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  268. package/dist/chunks/{shell-mrd03y1j.js → repository-x8pybnqb.js} +9 -9
  269. package/dist/chunks/{shell-tfngb0ww.js → repository-xn4600q8.js} +4 -4
  270. package/dist/chunks/{shell-2qab6ga2.js → repository-xwdv5ax5.js} +8 -8
  271. package/dist/chunks/{shell-k1qcad96.js → repository-xxrmh4kw.js} +38 -38
  272. package/dist/chunks/{shell-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{shell-jzban73a.js → repository-y1p12sez.js} +34 -34
  274. package/dist/chunks/{shell-dpkg50ah.js → repository-y71avatq.js} +4 -4
  275. package/dist/chunks/{shell-9f3htfzg.js → repository-ygab95pb.js} +9 -9
  276. package/dist/chunks/{shell-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{shell-qc6f3j7a.js → repository-yyyn8rfv.js} +5 -5
  278. package/dist/chunks/{shell-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{shell-7jw46hp1.js → repository-z4vx8zth.js} +30 -30
  280. package/dist/chunks/{shell-z69s9t6b.js → repository-z69s9t6b.js} +2 -2
  281. package/dist/chunks/{shell-c8zh40b9.js → repository-z6dtt623.js} +43 -43
  282. package/dist/chunks/{shell-gv1gd9by.js → repository-z9czcytr.js} +23 -23
  283. package/dist/chunks/{shell-ftdj6rwn.js → repository-zapem284.js} +20 -20
  284. package/dist/chunks/{shell-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{shell-zhxw6mnd.js → repository-zhxw6mnd.js} +2 -2
  286. package/dist/chunks/{shell-c4tw6aft.js → repository-zqn7tw4w.js} +26 -26
  287. package/dist/chunks/{shell-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{shell-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  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 +117 -117
  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 +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +3 -3
  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 +87 -87
  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 +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +93 -93
  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 +3 -3
  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 +86 -86
  459. package/dist/job.js +77 -77
  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 +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  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 +3 -3
  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 +78 -78
  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 +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +95 -95
  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 +74 -74
  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 +342 -342
  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 +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  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 +8 -8
  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 +1 -1
  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 +76 -76
  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 +147 -147
  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 +216 -216
  575. package/dist/session/execution.js +124 -124
  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 +75 -75
  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 +108 -108
  599. package/dist/session/runner/step.js +121 -121
  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 +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  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 +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -100
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  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 +121 -121
  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 +100 -100
  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 +105 -105
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  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 +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  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 +7 -7
  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/shell-0mesazry.js +0 -4
  687. package/dist/chunks/shell-9cbfsecp.js +0 -247
  688. package/dist/chunks/shell-p2cyn4p5.js +0 -462
  689. package/dist/chunks/shell-rap9a73h.js +0 -18
  690. package/dist/chunks/shell-ya8xe20p.js +0 -22
  691. /package/dist/chunks/{shell-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{shell-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{shell-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{shell-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{shell-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{shell-2710q6r3.js → repository-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{shell-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{shell-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{shell-359p4xyc.js → repository-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{shell-3asan66x.js → repository-3asan66x.js} +0 -0
  701. /package/dist/chunks/{shell-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{shell-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{shell-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{shell-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{shell-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{shell-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{shell-53557ph1.js → repository-53557ph1.js} +0 -0
  708. /package/dist/chunks/{shell-550bvhaj.js → repository-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{shell-6prwharc.js → repository-6prwharc.js} +0 -0
  710. /package/dist/chunks/{shell-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{shell-7m9af43g.js → repository-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{shell-822emrt2.js → repository-822emrt2.js} +0 -0
  713. /package/dist/chunks/{shell-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{shell-8n3pysct.js → repository-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{shell-922hggd3.js → repository-922hggd3.js} +0 -0
  716. /package/dist/chunks/{shell-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{shell-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{shell-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{shell-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{shell-af5trqkr.js → repository-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{shell-afrmfg78.js → repository-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{shell-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{shell-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{shell-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{shell-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{shell-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{shell-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{shell-d9fn303g.js → repository-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{shell-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{shell-dajrwvna.js → repository-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{shell-dap0rakb.js → repository-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{shell-df08tz66.js → repository-df08tz66.js} +0 -0
  733. /package/dist/chunks/{shell-dy18nga0.js → repository-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{shell-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{shell-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{shell-ec1grn59.js → repository-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{shell-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{shell-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{shell-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{shell-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{shell-faypxj3z.js → repository-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{shell-fd410y7t.js → repository-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{shell-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{shell-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{shell-g86h250q.js → repository-g86h250q.js} +0 -0
  746. /package/dist/chunks/{shell-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{shell-gftt206x.js → repository-gftt206x.js} +0 -0
  748. /package/dist/chunks/{shell-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{shell-hk9envan.js → repository-hk9envan.js} +0 -0
  750. /package/dist/chunks/{shell-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{shell-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{shell-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{shell-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{shell-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{shell-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{shell-mp448xyj.js → repository-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{shell-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{shell-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{shell-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{shell-njntx4h6.js → repository-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{shell-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{shell-q74kybfr.js → repository-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{shell-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{shell-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{shell-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{shell-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{shell-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{shell-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{shell-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{shell-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{shell-twg0f83k.js → repository-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{shell-w803qqfp.js → repository-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{shell-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{shell-wtztk69x.js → repository-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{shell-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{shell-x61499pn.js → repository-x61499pn.js} +0 -0
  777. /package/dist/chunks/{shell-y44na4kk.js → repository-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{shell-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{shell-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{shell-ym463w8f.js → repository-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{shell-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID11,
3
- Info26,
2
+ ID14,
3
+ Info29,
4
4
  SessionSchema2
5
- } from "./shell-q19p4fn9.js";
5
+ } from "./repository-ndmv45hp.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./shell-922hggd3.js";
8
+ } from "./repository-922hggd3.js";
9
9
  import {
10
10
  Service80,
11
11
  node85
12
- } from "./shell-hx84msds.js";
12
+ } from "./repository-hj52cskm.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service79,
16
16
  node84
17
- } from "./shell-z0kp0xfc.js";
17
+ } from "./repository-mvdnynp8.js";
18
18
  import {
19
- Service75,
20
- node79
21
- } from "./shell-xdpfkwez.js";
19
+ Service70,
20
+ node75
21
+ } from "./repository-3da9a2rq.js";
22
22
  import {
23
- Service59,
24
- node63
25
- } from "./shell-fpq9acqp.js";
23
+ Service42,
24
+ node45
25
+ } from "./repository-81rrwt6s.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./shell-ec1grn59.js";
28
+ } from "./repository-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./shell-a1bz86dw.js";
31
+ } from "./repository-a1bz86dw.js";
32
32
  import {
33
- node61
34
- } from "./shell-97wsckqb.js";
33
+ node43
34
+ } from "./repository-d971jd90.js";
35
35
  import {
36
36
  current2
37
- } from "./shell-cq37gk0t.js";
37
+ } from "./repository-6s9eyz9r.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./shell-zjvxgrfz.js";
40
+ } from "./repository-rpxwpx2g.js";
41
41
  import {
42
42
  Slug2
43
- } from "./shell-gebd4c9n.js";
43
+ } from "./repository-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node35
47
- } from "./shell-qag0q529.js";
46
+ node29
47
+ } from "./repository-j7rmzkqc.js";
48
48
  import {
49
49
  Metadata2,
50
- node82
51
- } from "./shell-t8jgb82e.js";
50
+ node53
51
+ } from "./repository-pgyxckf0.js";
52
52
  import {
53
- NotFoundError8,
53
+ NotFoundError5,
54
54
  MessageNotFoundError2,
55
55
  MessageNotAssistantError2,
56
56
  MessageIncompleteError2,
@@ -64,50 +64,50 @@ import {
64
64
  BusyError2,
65
65
  InboxConflictError2,
66
66
  SkillNotFoundError2
67
- } from "./shell-m3ncy77r.js";
67
+ } from "./repository-hhnggr0y.js";
68
68
  import {
69
69
  ListInput5,
70
- Service67,
71
- node71
72
- } from "./shell-tettmk12.js";
70
+ Service48,
71
+ node51
72
+ } from "./repository-mtgx628c.js";
73
73
  import {
74
- Service61,
75
- node65
76
- } from "./shell-3a20re4p.js";
74
+ Service72,
75
+ node77
76
+ } from "./repository-fk4ccpbg.js";
77
77
  import {
78
- Service55,
79
- node60
80
- } from "./shell-k1qcad96.js";
78
+ Service38,
79
+ node42
80
+ } from "./repository-xxrmh4kw.js";
81
81
  import {
82
82
  llmClient2
83
- } from "./shell-5t3nmthw.js";
83
+ } from "./repository-5t3nmthw.js";
84
84
  import {
85
- Service32,
86
- node37
87
- } from "./shell-fad7jthp.js";
85
+ Service29,
86
+ node34
87
+ } from "./repository-1235z6h5.js";
88
88
  import {
89
89
  generate3
90
- } from "./shell-vsqc0n3y.js";
90
+ } from "./repository-5wz9f6t6.js";
91
91
  import {
92
92
  execute2
93
- } from "./shell-tvs8yzpc.js";
93
+ } from "./repository-j0er744w.js";
94
94
  import {
95
95
  DestinationNotFoundError2,
96
96
  DestinationNotDirectoryError2,
97
97
  DestinationUnavailableError2,
98
- Service30,
99
- node34
100
- } from "./shell-pmmw8deh.js";
98
+ Service24,
99
+ node28
100
+ } from "./repository-65k3vztb.js";
101
101
  import {
102
- Service46,
103
- node50
104
- } from "./shell-bc9tah8j.js";
102
+ Service60,
103
+ node64
104
+ } from "./repository-5hk4b2g6.js";
105
105
  import {
106
- make12
107
- } from "./shell-18fyhaqr.js";
106
+ make15
107
+ } from "./repository-2zm9r2mq.js";
108
108
  import {
109
109
  __export
110
- } from "./shell-9rqn6x4v.js";
110
+ } from "./repository-9rqn6x4v.js";
111
111
 
112
112
  // src/session.ts
113
113
  var exports_session = {};
@@ -118,9 +118,9 @@ __export(exports_session, {
118
118
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
119
119
  DestinationNotFoundError: () => DestinationNotFoundError2,
120
120
  DestinationUnavailableError: () => DestinationUnavailableError2,
121
- ID: () => ID11,
121
+ ID: () => ID14,
122
122
  InboxConflictError: () => InboxConflictError2,
123
- Info: () => Info26,
123
+ Info: () => Info29,
124
124
  ListAnchor: () => ListAnchor2,
125
125
  ListInput: () => ListInput3,
126
126
  MessageDecodeError: () => MessageDecodeError2,
@@ -128,14 +128,14 @@ __export(exports_session, {
128
128
  MessageNotAssistantError: () => MessageNotAssistantError2,
129
129
  MessageNotFoundError: () => MessageNotFoundError2,
130
130
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
131
- NotFoundError: () => NotFoundError8,
131
+ NotFoundError: () => NotFoundError5,
132
132
  PromptConflictError: () => PromptConflictError2,
133
- Service: () => Service22,
133
+ Service: () => Service23,
134
134
  Session: () => exports_session,
135
135
  SessionSchema: () => SessionSchema2,
136
136
  SkillNotFoundError: () => SkillNotFoundError2,
137
137
  SyntheticConflictError: () => SyntheticConflictError2,
138
- node: () => node26
138
+ node: () => node27
139
139
  });
140
140
  import { Effect, Layer, Schema, Context, Stream } from "effect";
141
141
  import { LLMClient } from "@opencode/ai";
@@ -146,25 +146,25 @@ import path from "path";
146
146
  import { Node } from "@opencode/util/effect/app-node";
147
147
  import { FSUtil } from "@opencode/util/fs-util";
148
148
  var ListInput3 = ListInput5;
149
- class Service22 extends Context.Service()("@opencode/Session") {
149
+ class Service23 extends Context.Service()("@opencode/Session") {
150
150
  }
151
- var layer = Layer.effect(Service22, Effect.gen(function* () {
151
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
152
152
  const app = yield* Metadata2;
153
153
  const database = yield* Service80;
154
154
  const db = database.db;
155
155
  const bus = yield* Service79;
156
- const projects = yield* Service75;
157
- const execution = yield* Service55;
156
+ const projects = yield* Service70;
157
+ const execution = yield* Service38;
158
158
  const llm = yield* LLMClient.Service;
159
- const transport = yield* Service32;
160
- const store = yield* Service67;
161
- const instances = yield* Service59;
162
- const moves = yield* Service30;
163
- const jobs = yield* Service61;
164
- const environments = yield* Service46;
165
- const sessions = yield* make12();
159
+ const transport = yield* Service29;
160
+ const store = yield* Service48;
161
+ const instances = yield* Service42;
162
+ const moves = yield* Service24;
163
+ const jobs = yield* Service72;
164
+ const environments = yield* Service60;
165
+ const sessions = yield* make15();
166
166
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
167
- const result = Service22.of({
167
+ const result = Service23.of({
168
168
  create: Effect.fn("Session.create")(function* (input) {
169
169
  const sessionID = input.id ?? SessionSchema2.ID.create();
170
170
  const recorded = yield* store.get(sessionID);
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
172
172
  return recorded;
173
173
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
174
174
  if (input.parentID && parent === undefined)
175
- return yield* new NotFoundError8({ sessionID: input.parentID });
175
+ return yield* new NotFoundError5({ sessionID: input.parentID });
176
176
  const location = parent?.location ?? input.location;
177
177
  if (location === undefined)
178
178
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
266
266
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
267
267
  generate: Effect.fn("Session.generate")(function* (input) {
268
268
  const session = yield* result.get(input.sessionID);
269
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
269
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
270
270
  }),
271
271
  command: Effect.fn("Session.command")(function* (input) {
272
272
  const session = yield* result.get(input.sessionID);
273
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service59, instances));
273
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
274
274
  }),
275
275
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
276
276
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
310
310
  });
311
311
  return result;
312
312
  }));
313
- var node26 = Node.makeGlobalNode({
314
- service: Service22,
313
+ var node27 = Node.makeGlobalNode({
314
+ service: Service23,
315
315
  layer,
316
316
  deps: [
317
- node65,
318
- node50,
317
+ node77,
318
+ node64,
319
319
  node85,
320
320
  node84,
321
- node79,
322
- node60,
323
- node37,
324
- llmClient2,
325
- node71,
326
- node63,
327
- node61,
321
+ node75,
322
+ node42,
328
323
  node34,
329
- node35,
324
+ llmClient2,
325
+ node51,
326
+ node45,
327
+ node43,
328
+ node28,
329
+ node29,
330
330
  FSUtil.node,
331
- node82
331
+ node53
332
332
  ]
333
333
  });
334
334
 
335
- export { ListAnchor2, ListInput3, Service22, node26, exports_session };
335
+ export { ListAnchor2, ListInput3, Service23, node27, exports_session };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./shell-hx84msds.js";
4
+ } from "./repository-hj52cskm.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-dpkg50ah.js";
7
+ } from "./repository-y71avatq.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./shell-z0kp0xfc.js";
11
+ } from "./repository-mvdnynp8.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./shell-ec1grn59.js";
14
+ } from "./repository-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./shell-gftt206x.js";
17
+ } from "./repository-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./shell-q19p4fn9.js";
20
+ } from "./repository-ndmv45hp.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./shell-a1bz86dw.js";
24
+ } from "./repository-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./shell-9rqn6x4v.js";
27
+ } from "./repository-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info21,
35
+ Info: () => Info6,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service57,
40
+ Service: () => Service40,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list4,
50
- make: () => make17,
48
+ layer: () => layer17,
49
+ list: () => list3,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node61,
53
+ node: () => node43,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info21,
68
+ Info as Info6,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service57 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service40 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
158
158
  const db = database.db;
159
159
  const bus = yield* Service79;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info21.make({
176
+ }).pipe(Effect.map((event) => Info6.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service57, make17());
231
- var node61 = makeGlobalNode({ service: Service57, layer: layer21, deps: [node85, node84] });
230
+ var layer17 = Layer.effect(Service40, make16());
231
+ var node43 = makeGlobalNode({ service: Service40, layer: layer17, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make17, layer21, node61, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make16, layer17, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-t8jgb82e.js";
3
+ } from "./repository-pgyxckf0.js";
4
4
  import {
5
5
  OAuth3,
6
- Service71
7
- } from "./shell-5ayyaxsv.js";
6
+ Service75
7
+ } from "./repository-5p36ytzk.js";
8
8
  import {
9
- ID7,
9
+ ID15,
10
10
  MethodID2
11
- } from "./shell-7jw46hp1.js";
11
+ } from "./repository-z4vx8zth.js";
12
12
  import {
13
13
  ID18
14
- } from "./shell-m27pyyd3.js";
14
+ } from "./repository-m27pyyd3.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID7.make("xai"),
46
+ integrationID: ID15.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service71;
72
- yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
71
+ const credentials = yield* Service75;
72
+ yield* Effect.forEach(yield* credentials.list(ID15.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -2,16 +2,16 @@ import {
2
2
  ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./shell-m27pyyd3.js";
5
+ } from "./repository-m27pyyd3.js";
6
6
  import {
7
- ID17,
7
+ ID11,
8
8
  VariantID2,
9
- Info32,
9
+ Info24,
10
10
  compatibility2
11
- } from "./shell-1awm1f41.js";
11
+ } from "./repository-b0q3gy5e.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
17
  var exports_models2 = {};
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID17.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID17.make(item.id);
72
+ const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID11.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info32.make({
92
- ...Info32.default(providerID, id),
91
+ return Info24.make({
92
+ ...Info24.default(providerID, id),
93
93
  id,
94
- modelID: ID17.make(remote.id),
94
+ modelID: ID11.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./repository-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service31,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service31 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service31, awaitActivation2, exports_service };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./shell-56gdpj1q.js";
3
+ } from "./repository-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin34,
11
+ Plugin: () => Plugin37,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin34 = define({
30
+ var Plugin37 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin34 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin34, exports_exa };
83
+ export { endpoint3, Plugin37, exports_exa };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key3,
13
+ Key: () => Key4,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make20,
21
+ make: () => make21,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key3 = Instruction.Key;
31
+ var Key4 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key3
46
+ key: Key4
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make20(source) {
53
+ function make21(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };