@opencode-ai/core 0.0.0-dev-19173 → 0.0.0-dev-19174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +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 +82 -82
  8. package/dist/chunks/{pty-b7d3s2yt.js → shell-00aww1yf.js} +2 -2
  9. package/dist/chunks/{pty-0qpy8c3h.js → shell-02q19v1x.js} +6 -6
  10. package/dist/chunks/{pty-yt5m2mw4.js → shell-0b65z5fp.js} +10 -10
  11. package/dist/chunks/{pty-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{pty-27rbv8e3.js → shell-0h07sdbh.js} +23 -23
  13. package/dist/chunks/{pty-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{pty-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{pty-c7tgvdzj.js → shell-0sdspkc1.js} +30 -30
  16. package/dist/chunks/{pty-ak1pjm22.js → shell-12t3v3je.js} +20 -20
  17. package/dist/chunks/{pty-pdvxz7zn.js → shell-18e1e1p1.js} +46 -46
  18. package/dist/chunks/{pty-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{pty-czptf2ey.js → shell-1dh290mh.js} +11 -11
  20. package/dist/chunks/{pty-9yz748bb.js → shell-1h4a14by.js} +54 -54
  21. package/dist/chunks/{pty-xza2q296.js → shell-1nqpxsj1.js} +11 -11
  22. package/dist/chunks/{pty-kxpygcw9.js → shell-1tq060df.js} +6 -6
  23. package/dist/chunks/{pty-229n223y.js → shell-20k6nhm9.js} +28 -28
  24. package/dist/chunks/{pty-21r38tys.js → shell-21r38tys.js} +1 -1
  25. package/dist/chunks/{pty-5jh1sprz.js → shell-220n1ymv.js} +157 -157
  26. package/dist/chunks/{pty-3bk28qgk.js → shell-22jc9t4j.js} +10 -10
  27. package/dist/chunks/{pty-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  28. package/dist/chunks/{pty-q4mk538t.js → shell-292hg6qz.js} +7 -7
  29. package/dist/chunks/{pty-z63w68vq.js → shell-29x78va6.js} +6 -6
  30. package/dist/chunks/{pty-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{pty-k2rh24n9.js → shell-2cnxy6r2.js} +10 -10
  32. package/dist/chunks/{pty-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{pty-f2vpb3bg.js → shell-2nz939r2.js} +11 -11
  34. package/dist/chunks/{pty-2e2d6q87.js → shell-2pqs5rb6.js} +25 -25
  35. package/dist/chunks/{pty-0e772669.js → shell-2qrq5jg3.js} +3 -3
  36. package/dist/chunks/{pty-885bgk82.js → shell-2qzq6ga3.js} +8 -8
  37. package/dist/chunks/{pty-9yc3kf06.js → shell-2xs5s17b.js} +4 -4
  38. package/dist/chunks/{pty-2e5bqtpa.js → shell-2xx188mn.js} +37 -37
  39. package/dist/chunks/{pty-rhk22a8q.js → shell-2yzeteq7.js} +11 -11
  40. package/dist/chunks/{pty-agqvteqs.js → shell-301db2e0.js} +26 -26
  41. package/dist/chunks/{pty-4gnp7s9d.js → shell-31nvjq2v.js} +11 -11
  42. package/dist/chunks/{pty-27cy7znn.js → shell-344230wv.js} +4 -4
  43. package/dist/chunks/{pty-7zv350dg.js → shell-35r8yfzd.js} +19 -19
  44. package/dist/chunks/shell-3724gxzf.js +247 -0
  45. package/dist/chunks/{pty-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{pty-btc4hvws.js → shell-3jj6bjb6.js} +5 -5
  47. package/dist/chunks/{pty-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
  48. package/dist/chunks/{pty-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{pty-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{pty-qx4mzfcc.js → shell-3zzgc37f.js} +17 -17
  51. package/dist/chunks/{pty-8q711cp6.js → shell-41k9cz4z.js} +28 -28
  52. package/dist/chunks/{pty-454k5vzh.js → shell-454k5vzh.js} +1 -1
  53. package/dist/chunks/{pty-v86v6hh1.js → shell-45t9anda.js} +1 -1
  54. package/dist/chunks/{pty-q6affv31.js → shell-46e97tr7.js} +10 -10
  55. package/dist/chunks/{pty-rt7tws36.js → shell-4n9v30zw.js} +21 -21
  56. package/dist/chunks/{pty-3k79xy7t.js → shell-4pb24dhv.js} +15 -15
  57. package/dist/chunks/{pty-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
  58. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  59. package/dist/chunks/{pty-ghjew0fg.js → shell-4za3avwx.js} +9 -9
  60. package/dist/chunks/{pty-6dj4wchm.js → shell-58srr6fv.js} +31 -31
  61. package/dist/chunks/{pty-ngxtnptd.js → shell-5ctdmadx.js} +8 -8
  62. package/dist/chunks/{pty-5daktx2q.js → shell-5daktx2q.js} +1 -1
  63. package/dist/chunks/{pty-gw4mnhe1.js → shell-5fc6d9pe.js} +20 -20
  64. package/dist/chunks/{pty-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{pty-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{pty-mkyvm1mp.js → shell-5mm0tfy6.js} +4 -4
  67. package/dist/chunks/{pty-4bszfkn1.js → shell-5nzbd5n0.js} +5 -5
  68. package/dist/chunks/{pty-05rkf16m.js → shell-5pdbny0n.js} +13 -13
  69. package/dist/chunks/{pty-39hnsdnv.js → shell-5qea4ewy.js} +39 -39
  70. package/dist/chunks/{pty-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
  71. package/dist/chunks/{pty-3bdhpy4d.js → shell-6g84bqmx.js} +19 -19
  72. package/dist/chunks/{pty-rt5xed8c.js → shell-6hq5c2qk.js} +27 -27
  73. package/dist/chunks/{pty-s6ymxyzv.js → shell-6kgc56n8.js} +6 -6
  74. package/dist/chunks/{pty-qba7ejvk.js → shell-6rbe69zm.js} +13 -13
  75. package/dist/chunks/{pty-yc4s7c8p.js → shell-6smwwksd.js} +20 -20
  76. package/dist/chunks/{pty-d6kfye11.js → shell-6w7g5p5h.js} +12 -12
  77. package/dist/chunks/{pty-xahd2mgy.js → shell-6wf5mw7w.js} +29 -29
  78. package/dist/chunks/{pty-711hfp6y.js → shell-711hfp6y.js} +2 -2
  79. package/dist/chunks/{pty-72nftnjy.js → shell-72nftnjy.js} +2 -2
  80. package/dist/chunks/{pty-mhkvc446.js → shell-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{pty-vgtfkpzm.js → shell-74hfp9tv.js} +26 -26
  82. package/dist/chunks/{pty-0e01nj6k.js → shell-74jy76yg.js} +1 -1
  83. package/dist/chunks/{pty-m75mcjf9.js → shell-759pz1a2.js} +8 -8
  84. package/dist/chunks/{pty-r0f40ks0.js → shell-75p0zbr9.js} +22 -22
  85. package/dist/chunks/{pty-6wv9sdr8.js → shell-76scvvk8.js} +32 -32
  86. package/dist/chunks/{pty-n38qs1ar.js → shell-76wr4mq2.js} +5 -5
  87. package/dist/chunks/{pty-1f7ccf2p.js → shell-78h3c2ja.js} +6 -6
  88. package/dist/chunks/{pty-4cv9f4xd.js → shell-7bfdkh1t.js} +18 -18
  89. package/dist/chunks/{pty-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{pty-pgqf2fs8.js → shell-7haxhjsc.js} +1 -1
  91. package/dist/chunks/{pty-c0w37k4q.js → shell-7p203cgq.js} +24 -24
  92. package/dist/chunks/{pty-88nptzkr.js → shell-7w2wm759.js} +20 -20
  93. package/dist/chunks/{pty-qm0v3jhh.js → shell-806j49yq.js} +7 -7
  94. package/dist/chunks/{pty-e1yeq7kc.js → shell-8309kjat.js} +10 -10
  95. package/dist/chunks/{pty-ydjwxjd3.js → shell-83dvd1w2.js} +46 -46
  96. package/dist/chunks/{pty-h2g666ee.js → shell-863jw130.js} +11 -11
  97. package/dist/chunks/{pty-n09fkg1f.js → shell-8b1vkr5h.js} +295 -295
  98. package/dist/chunks/{pty-g3wwtpwc.js → shell-8g67dwbc.js} +8 -8
  99. package/dist/chunks/{pty-7ngn7mvv.js → shell-95z3gcrg.js} +4 -4
  100. package/dist/chunks/{pty-6vbgb2w8.js → shell-998dat6d.js} +9 -9
  101. package/dist/chunks/{pty-nez52ejm.js → shell-9kksqv7m.js} +9 -9
  102. package/dist/chunks/{pty-sp4bteyd.js → shell-9nb3r9db.js} +6 -6
  103. package/dist/chunks/{pty-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
  104. package/dist/chunks/{pty-50sdxj4q.js → shell-9t99dw5q.js} +1 -1
  105. package/dist/chunks/{pty-9tv260m8.js → shell-9yq0qydf.js} +9 -9
  106. package/dist/chunks/{pty-42fxgygn.js → shell-a12tcaaf.js} +6 -6
  107. package/dist/chunks/{pty-jrpapbxf.js → shell-a61ajdq9.js} +14 -14
  108. package/dist/chunks/{pty-anbsaymy.js → shell-a9c7wcwq.js} +12 -12
  109. package/dist/chunks/{pty-kfv3m3yk.js → shell-a9detkdy.js} +28 -28
  110. package/dist/chunks/{pty-aaet6srn.js → shell-aaet6srn.js} +2 -2
  111. package/dist/chunks/{pty-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
  112. package/dist/chunks/{pty-30jr7zz1.js → shell-avja4xez.js} +14 -14
  113. package/dist/chunks/{pty-q98e8ctt.js → shell-axh9mnjf.js} +18 -18
  114. package/dist/chunks/{pty-mjz8v7j0.js → shell-az9b9mm6.js} +4 -4
  115. package/dist/chunks/{pty-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{pty-qhpqdgv6.js → shell-b94fcmr9.js} +32 -32
  117. package/dist/chunks/{pty-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
  118. package/dist/chunks/{pty-bcezcar3.js → shell-bcezcar3.js} +2 -2
  119. package/dist/chunks/{pty-nbmnd9cx.js → shell-bdrwax0s.js} +21 -21
  120. package/dist/chunks/{pty-00z3vp5f.js → shell-bf0ztrs3.js} +4 -4
  121. package/dist/chunks/{pty-y8ztchkp.js → shell-bh35m6yh.js} +7 -7
  122. package/dist/chunks/{pty-d3mwe7xz.js → shell-bpcc17t3.js} +11 -11
  123. package/dist/chunks/{pty-b3qm0p9n.js → shell-bzsb4ygm.js} +24 -24
  124. package/dist/chunks/{pty-9p5wwx95.js → shell-c50658qd.js} +39 -39
  125. package/dist/chunks/{pty-mhk6k3g8.js → shell-c6trbygj.js} +4 -4
  126. package/dist/chunks/{pty-j18aeme6.js → shell-ca4j1r4e.js} +15 -15
  127. package/dist/chunks/{pty-42tkewwq.js → shell-cb182ger.js} +7 -7
  128. package/dist/chunks/{pty-v5v99x5c.js → shell-cmwx9h7j.js} +4 -4
  129. package/dist/chunks/{pty-d72308c8.js → shell-d72308c8.js} +2 -2
  130. package/dist/chunks/{pty-nnp2759g.js → shell-d8bdgt1m.js} +3 -3
  131. package/dist/chunks/{pty-e9dn8ye0.js → shell-ddcwh8jf.js} +6 -6
  132. package/dist/chunks/{pty-xd6am0g0.js → shell-dpc689ym.js} +4 -4
  133. package/dist/chunks/{pty-0g1jdj53.js → shell-drz01ptw.js} +28 -28
  134. package/dist/chunks/{pty-yjk1z796.js → shell-dsf572e0.js} +4 -4
  135. package/dist/chunks/{pty-v794b4ar.js → shell-dsfx0j74.js} +9 -9
  136. package/dist/chunks/{pty-n2hm0s76.js → shell-dvf4z69w.js} +27 -27
  137. package/dist/chunks/{pty-x227sajd.js → shell-e83y27r5.js} +7 -7
  138. package/dist/chunks/{pty-t54hfqtt.js → shell-ec2yajhv.js} +4 -4
  139. package/dist/chunks/{pty-e38w1s41.js → shell-ef5f9nen.js} +8 -8
  140. package/dist/chunks/{pty-9srbvtnp.js → shell-eg1n48gj.js} +16 -16
  141. package/dist/chunks/{pty-npy4s4aj.js → shell-ep81hxt4.js} +6 -6
  142. package/dist/chunks/{pty-twhbvx3p.js → shell-esp3dmb3.js} +3 -3
  143. package/dist/chunks/{pty-795x97jf.js → shell-et79eehw.js} +9 -9
  144. package/dist/chunks/{pty-br3wnqmy.js → shell-ewakhq0j.js} +16 -16
  145. package/dist/chunks/{pty-sx5qmy0w.js → shell-ex76qa1h.js} +15 -15
  146. package/dist/chunks/{pty-hc9rwb2s.js → shell-f77xc9wm.js} +16 -16
  147. package/dist/chunks/{pty-6pvvrh2h.js → shell-famd3pv6.js} +5 -5
  148. package/dist/chunks/{pty-sa79eh7w.js → shell-ff1h9ct4.js} +24 -24
  149. package/dist/chunks/{pty-csm7mmwy.js → shell-fg3wn8a9.js} +76 -76
  150. package/dist/chunks/{pty-qfs8az97.js → shell-fqt4fs5w.js} +11 -11
  151. package/dist/chunks/{pty-pcvxjvjj.js → shell-ftabj2dg.js} +14 -14
  152. package/dist/chunks/{pty-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{pty-fxypknc8.js → shell-fxypknc8.js} +1 -1
  154. package/dist/chunks/{pty-g2fgb7sn.js → shell-g2fgb7sn.js} +1 -1
  155. package/dist/chunks/{pty-g3m9axkp.js → shell-g7csxrs7.js} +4 -4
  156. package/dist/chunks/{pty-c2bqpta2.js → shell-gd25jggd.js} +29 -29
  157. package/dist/chunks/{pty-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{pty-3fc6dm20.js → shell-gdvy8fx6.js} +4 -4
  159. package/dist/chunks/{pty-t15q1rjz.js → shell-gfz2zenh.js} +16 -16
  160. package/dist/chunks/{pty-7ec5mhmx.js → shell-gfz9gwkx.js} +15 -15
  161. package/dist/chunks/{pty-j7ped6hz.js → shell-ggysapes.js} +20 -20
  162. package/dist/chunks/{pty-vbv643qx.js → shell-gp4zh27s.js} +9 -9
  163. package/dist/chunks/{pty-wftjy6b7.js → shell-gvphy7jk.js} +6 -6
  164. package/dist/chunks/{pty-5bhgc7xv.js → shell-h2sw8ea3.js} +15 -15
  165. package/dist/chunks/{pty-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{pty-4xah2tk6.js → shell-h8p6xf2n.js} +20 -20
  167. package/dist/chunks/{pty-6pa79em5.js → shell-h9ygsckj.js} +45 -45
  168. package/dist/chunks/{pty-adq4trrh.js → shell-hd4bzg4a.js} +17 -17
  169. package/dist/chunks/{pty-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
  170. package/dist/chunks/{pty-8ewp3a8x.js → shell-hjp2pbpf.js} +1 -1
  171. package/dist/chunks/{pty-snc6smv8.js → shell-hm2ca2ns.js} +11 -11
  172. package/dist/chunks/{pty-3gq0vy0h.js → shell-hn4sjpb5.js} +2 -2
  173. package/dist/chunks/{pty-yqr5arb9.js → shell-hpbyysca.js} +24 -24
  174. package/dist/chunks/{pty-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
  175. package/dist/chunks/{pty-w420m8em.js → shell-htbxhgrz.js} +14 -14
  176. package/dist/chunks/{pty-28f1y114.js → shell-j0h9s30t.js} +13 -13
  177. package/dist/chunks/{pty-paphc93g.js → shell-j935v87r.js} +2 -2
  178. package/dist/chunks/{pty-0s2shbjn.js → shell-jqrqy21d.js} +3 -3
  179. package/dist/chunks/{pty-920gn045.js → shell-jv6tbxxe.js} +8 -8
  180. package/dist/chunks/{pty-hy45d0wx.js → shell-jx283wc3.js} +11 -11
  181. package/dist/chunks/{pty-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
  182. package/dist/chunks/{pty-kxq1x6r5.js → shell-k6p8g4fk.js} +39 -39
  183. package/dist/chunks/{pty-kg06axw8.js → shell-kg06axw8.js} +1 -1
  184. package/dist/chunks/{pty-j7hcs84d.js → shell-kja6ea6z.js} +11 -11
  185. package/dist/chunks/{pty-0hvb2nf8.js → shell-kjrs54vr.js} +9 -9
  186. package/dist/chunks/{pty-qk456gnd.js → shell-kthrd1n2.js} +22 -22
  187. package/dist/chunks/{pty-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
  188. package/dist/chunks/{pty-6fvx7cth.js → shell-kyb951k0.js} +3 -3
  189. package/dist/chunks/{pty-n2dx2xaf.js → shell-m05jjnz9.js} +7 -7
  190. package/dist/chunks/{pty-c2s86k7e.js → shell-m4bpwynw.js} +6 -6
  191. package/dist/chunks/{pty-zfyvq2j7.js → shell-m9q8vvrp.js} +11 -11
  192. package/dist/chunks/{pty-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/shell-mb6dchx6.js +22 -0
  194. package/dist/chunks/shell-mf5kcrna.js +4 -0
  195. package/dist/chunks/{pty-j4v8sn08.js → shell-mjs0kabc.js} +22 -22
  196. package/dist/chunks/{pty-59fxchxt.js → shell-mn410wgw.js} +47 -47
  197. package/dist/chunks/{pty-hcj2ya9p.js → shell-mpcfbaan.js} +16 -16
  198. package/dist/chunks/{pty-mtcjf44p.js → shell-mtcjf44p.js} +1 -1
  199. package/dist/chunks/{pty-x2bc45f6.js → shell-mvhtz5js.js} +5 -5
  200. package/dist/chunks/{pty-584xbtr7.js → shell-n3m9wsvh.js} +19 -19
  201. package/dist/chunks/{pty-g75wm5bg.js → shell-n87qk14a.js} +26 -26
  202. package/dist/chunks/{pty-m686xbyy.js → shell-nag7dxjf.js} +5 -5
  203. package/dist/chunks/{pty-js4d4dxf.js → shell-ng39vjdn.js} +2 -2
  204. package/dist/chunks/{pty-7vtvr31n.js → shell-nghta7n5.js} +24 -24
  205. package/dist/chunks/{pty-pn7b7v58.js → shell-nxrz604p.js} +2 -2
  206. package/dist/chunks/{pty-kehgt38c.js → shell-nxz3kcv2.js} +32 -32
  207. package/dist/chunks/{pty-jp51vptf.js → shell-nzfzr9h0.js} +43 -43
  208. package/dist/chunks/{pty-1kqw4rdd.js → shell-p563rwwf.js} +41 -41
  209. package/dist/chunks/{pty-1n116cmy.js → shell-pbhkjpds.js} +9 -9
  210. package/dist/chunks/{pty-eekp03xz.js → shell-pjedbq3k.js} +9 -9
  211. package/dist/chunks/{pty-j4bwgw4b.js → shell-pjjtcy2p.js} +14 -14
  212. package/dist/chunks/{pty-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{pty-pknna89w.js → shell-pknna89w.js} +1 -1
  214. package/dist/chunks/{pty-034xe7ps.js → shell-pxednv00.js} +5 -5
  215. package/dist/chunks/{pty-hv1w3vyq.js → shell-pxz8xz7s.js} +9 -9
  216. package/dist/chunks/{pty-607tc6va.js → shell-qgn6gcr1.js} +5 -5
  217. package/dist/chunks/{pty-qsdy395h.js → shell-qsdy395h.js} +1 -1
  218. package/dist/chunks/{pty-xv6rm4x2.js → shell-qy387ach.js} +7 -7
  219. package/dist/chunks/{pty-tmr8q769.js → shell-r56wj6jx.js} +14 -14
  220. package/dist/chunks/{pty-jaxg81k6.js → shell-r7cz99r0.js} +14 -14
  221. package/dist/chunks/{pty-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
  222. package/dist/chunks/{pty-43nyxw14.js → shell-rd7fx9p1.js} +16 -16
  223. package/dist/chunks/{pty-60njtda4.js → shell-rdq9thdd.js} +20 -20
  224. package/dist/chunks/{pty-6k404gxp.js → shell-rh6rd7ag.js} +4 -4
  225. package/dist/chunks/{pty-95zhbw9r.js → shell-rh6wbg4w.js} +15 -15
  226. package/dist/chunks/{pty-dsa3zh6h.js → shell-rpqdjjqf.js} +12 -12
  227. package/dist/chunks/{pty-5fnfwqar.js → shell-rzejcw32.js} +5 -5
  228. package/dist/chunks/{pty-rktjfj3k.js → shell-rzq71d0k.js} +17 -17
  229. package/dist/chunks/{pty-9xvgy1m6.js → shell-rzyn4jtv.js} +1 -1
  230. package/dist/chunks/{pty-708tkjkz.js → shell-s09ja0ad.js} +25 -25
  231. package/dist/chunks/{pty-nx46162a.js → shell-s440spbv.js} +24 -24
  232. package/dist/chunks/{pty-vnhhhj0r.js → shell-s9fwkeje.js} +10 -10
  233. package/dist/chunks/{pty-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
  234. package/dist/chunks/{pty-njfgd6ze.js → shell-sq68wjyr.js} +9 -9
  235. package/dist/chunks/{pty-hc93tgr1.js → shell-t0z8h93t.js} +41 -41
  236. package/dist/chunks/{pty-at2ecxq3.js → shell-t2cat712.js} +11 -11
  237. package/dist/chunks/{pty-xtm2ympe.js → shell-tabs974f.js} +15 -15
  238. package/dist/chunks/{pty-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{pty-89znhe33.js → shell-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{pty-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{pty-tstrzs8j.js → shell-tmq14ezd.js} +36 -36
  242. package/dist/chunks/{pty-dx29x28q.js → shell-ttr1bger.js} +22 -22
  243. package/dist/chunks/{pty-44zne82a.js → shell-v623p3vn.js} +5 -5
  244. package/dist/chunks/{pty-n5e0mvgx.js → shell-vdxzp0s5.js} +23 -23
  245. package/dist/chunks/{pty-rb27xt0t.js → shell-vh6gf742.js} +10 -10
  246. package/dist/chunks/{pty-fa23b81s.js → shell-vkh6dqf1.js} +5 -5
  247. package/dist/chunks/{pty-k58vdtz8.js → shell-vnj6vh9c.js} +26 -26
  248. package/dist/chunks/{pty-2xwkyk0m.js → shell-vnwmzs4a.js} +5 -5
  249. package/dist/chunks/{pty-v79494tb.js → shell-vqe9fq18.js} +1 -1
  250. package/dist/chunks/{pty-bbpqbves.js → shell-w0nm8ced.js} +24 -24
  251. package/dist/chunks/{pty-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{pty-ccfsy1h3.js → shell-w6h9pbxs.js} +11 -11
  253. package/dist/chunks/{pty-qsbb4ejq.js → shell-w794bvtj.js} +37 -37
  254. package/dist/chunks/{pty-wd87259q.js → shell-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-p32d7zzt.js → shell-wdhc4zn8.js} +8 -8
  256. package/dist/chunks/{pty-mw3zcnx5.js → shell-wkjngxy5.js} +3 -3
  257. package/dist/chunks/{pty-afhjd4jv.js → shell-wkqpxhsk.js} +10 -10
  258. package/dist/chunks/{pty-m1q1d0y4.js → shell-wn5mwez2.js} +65 -65
  259. package/dist/chunks/{pty-zsky2and.js → shell-wsnh7t8r.js} +9 -9
  260. package/dist/chunks/{pty-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{pty-ckat2zwp.js → shell-xay8nyhx.js} +6 -6
  262. package/dist/chunks/{pty-3kv6khp1.js → shell-xe4jdaw3.js} +5 -5
  263. package/dist/chunks/{pty-45rge8j9.js → shell-xgbmxshw.js} +15 -15
  264. package/dist/chunks/{pty-e5w0frp6.js → shell-xnf7zpzd.js} +11 -11
  265. package/dist/chunks/{pty-jfbxega8.js → shell-xxtg5rsy.js} +27 -27
  266. package/dist/chunks/{pty-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{pty-93a8yfjt.js → shell-y2cqme3r.js} +5 -5
  268. package/dist/chunks/{pty-dpkg50ah.js → shell-y71avatq.js} +4 -4
  269. package/dist/chunks/{pty-zpgaey8y.js → shell-ycn3x014.js} +10 -10
  270. package/dist/chunks/{pty-b6xrda6h.js → shell-yew4gc92.js} +16 -16
  271. package/dist/chunks/{pty-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
  272. package/dist/chunks/{pty-ewr8avhk.js → shell-ygrnprnw.js} +19 -19
  273. package/dist/chunks/{pty-39zpmefd.js → shell-ygtbksd3.js} +26 -26
  274. package/dist/chunks/{pty-pa8g9c14.js → shell-ytpzjm8d.js} +35 -35
  275. package/dist/chunks/{pty-16r38w9g.js → shell-yw9364ag.js} +4 -4
  276. package/dist/chunks/{pty-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{pty-djtdz80w.js → shell-z3xgatyd.js} +4 -4
  278. package/dist/chunks/{pty-nsb2bjtz.js → shell-za9jakaj.js} +9 -9
  279. package/dist/chunks/{pty-hydvtqtc.js → shell-zg1tfnff.js} +34 -34
  280. package/dist/chunks/{pty-47k6q3bb.js → shell-zj4p2a1k.js} +8 -8
  281. package/dist/chunks/{pty-a92fabfr.js → shell-ztjnpbp4.js} +6 -6
  282. package/dist/chunks/{pty-pjzvknbe.js → shell-zvpejf85.js} +46 -46
  283. package/dist/chunks/{pty-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{pty-x5n4q9yc.js → shell-zzv1x10w.js} +26 -26
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +79 -79
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +115 -115
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +112 -112
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +88 -88
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +218 -218
  415. package/dist/filesystem/protected.js +3 -3
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +98 -98
  420. package/dist/form.js +80 -80
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +80 -80
  451. package/dist/instructions/index.js +1 -1
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +67 -67
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +98 -98
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +10 -10
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +76 -76
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +105 -105
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +5 -5
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -337
  533. package/dist/plugin/system-prompt.js +2 -2
  534. package/dist/plugin/update.js +2 -2
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +6 -6
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +214 -214
  546. package/dist/project/schema.js +4 -4
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +127 -127
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +208 -208
  569. package/dist/session/execution.js +114 -114
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +110 -110
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +120 -120
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +1 -1
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +83 -83
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +2 -2
  592. package/dist/session/runner/step.js +117 -117
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +165 -165
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +207 -207
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +205 -205
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +4 -4
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +100 -100
  617. package/dist/snapshot.js +82 -82
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +95 -95
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +208 -208
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +112 -112
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +7 -7
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +5 -5
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +72 -72
  668. package/dist/wellknown.js +79 -79
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +4 -4
  673. package/dist/worktree/git.js +5 -5
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -7
  678. package/dist/chunks/pty-06sgeqe0.js +0 -22
  679. package/dist/chunks/pty-6wpcenx3.js +0 -247
  680. package/dist/chunks/pty-9zwhrd2p.js +0 -4
  681. package/dist/chunks/pty-vnkjks7b.js +0 -18
  682. /package/dist/chunks/{pty-0fabt78z.js → shell-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{pty-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{pty-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{pty-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{pty-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{pty-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{pty-2710q6r3.js → shell-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{pty-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{pty-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{pty-359p4xyc.js → shell-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{pty-3asan66x.js → shell-3asan66x.js} +0 -0
  693. /package/dist/chunks/{pty-3t738kvx.js → shell-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{pty-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{pty-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{pty-41nvscxy.js → shell-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{pty-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{pty-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{pty-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{pty-53557ph1.js → shell-53557ph1.js} +0 -0
  701. /package/dist/chunks/{pty-550bvhaj.js → shell-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{pty-6prwharc.js → shell-6prwharc.js} +0 -0
  703. /package/dist/chunks/{pty-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{pty-7m9af43g.js → shell-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{pty-822emrt2.js → shell-822emrt2.js} +0 -0
  706. /package/dist/chunks/{pty-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{pty-8n3pysct.js → shell-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{pty-982e01ww.js → shell-982e01ww.js} +0 -0
  709. /package/dist/chunks/{pty-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{pty-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{pty-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{pty-af5trqkr.js → shell-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{pty-afrmfg78.js → shell-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{pty-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{pty-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{pty-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{pty-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{pty-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{pty-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{pty-d9fn303g.js → shell-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{pty-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{pty-dajrwvna.js → shell-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{pty-dap0rakb.js → shell-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{pty-df08tz66.js → shell-df08tz66.js} +0 -0
  725. /package/dist/chunks/{pty-dy18nga0.js → shell-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{pty-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{pty-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{pty-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{pty-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{pty-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{pty-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{pty-faypxj3z.js → shell-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{pty-fd410y7t.js → shell-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{pty-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{pty-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{pty-g86h250q.js → shell-g86h250q.js} +0 -0
  737. /package/dist/chunks/{pty-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{pty-hk9envan.js → shell-hk9envan.js} +0 -0
  739. /package/dist/chunks/{pty-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{pty-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{pty-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{pty-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{pty-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{pty-mntxs535.js → shell-mntxs535.js} +0 -0
  745. /package/dist/chunks/{pty-mp448xyj.js → shell-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{pty-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{pty-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{pty-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{pty-njntx4h6.js → shell-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{pty-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{pty-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{pty-q74kybfr.js → shell-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{pty-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{pty-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{pty-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{pty-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{pty-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{pty-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{pty-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{pty-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{pty-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{pty-twg0f83k.js → shell-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{pty-w803qqfp.js → shell-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{pty-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{pty-wtztk69x.js → shell-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{pty-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{pty-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{pty-x61499pn.js → shell-x61499pn.js} +0 -0
  769. /package/dist/chunks/{pty-y44na4kk.js → shell-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{pty-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{pty-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{pty-z9919s4g.js → shell-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{pty-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-xd6am0g0.js";
4
+ } from "./shell-dpc689ym.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./pty-jrpapbxf.js";
6
+ Service72,
7
+ node77
8
+ } from "./shell-a61ajdq9.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./pty-kg06axw8.js";
12
+ } from "./shell-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./pty-tazgh4e4.js";
17
+ } from "./shell-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./shell-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: () => Info29,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service72,
31
+ Service: () => Service33,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node77
33
+ node: () => node36
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-ai/schema/file-diff";
38
38
  import { FileSystem } from "@opencode-ai/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info29, Mode as Mode2 } from "@opencode-ai/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode-ai/schema/vcs";
40
40
  import { VcsEvent } from "@opencode-ai/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service72 extends Context.Service()("@opencode/Vcs") {
48
+ class Service33 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service72, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service74;
52
+ const location = yield* Service72;
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(Service72, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info29));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
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(Service72, 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 Service72.of({
118
+ return Service33.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(Service72, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node77 = makeLocationNode({
165
- service: Service72,
164
+ var node36 = makeLocationNode({
165
+ service: Service33,
166
166
  layer,
167
- deps: [FSUtil.node, node79, node84]
167
+ deps: [FSUtil.node, node77, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info29, Mode2, DiffError2, Service72, node77, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service33, node36, exports_vcs };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-xd6am0g0.js";
4
+ } from "./shell-dpc689ym.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./pty-jrpapbxf.js";
6
+ Service72,
7
+ node77
8
+ } from "./shell-a61ajdq9.js";
9
9
  import {
10
- Service62,
11
- node66
12
- } from "./pty-c0w37k4q.js";
10
+ Service68,
11
+ node72
12
+ } from "./shell-7p203cgq.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./pty-gd4qta3r.js";
15
+ } from "./shell-gd4qta3r.js";
16
16
  import {
17
- Service66,
17
+ Service76,
18
18
  args2,
19
- node71
20
- } from "./pty-sx5qmy0w.js";
19
+ node81
20
+ } from "./shell-ex76qa1h.js";
21
21
  import {
22
- Service68,
23
- node73
24
- } from "./pty-ngxtnptd.js";
22
+ Service64,
23
+ node68
24
+ } from "./shell-5ctdmadx.js";
25
25
  import {
26
- Service32,
27
- node35
28
- } from "./pty-920gn045.js";
26
+ Service61,
27
+ node65
28
+ } from "./shell-jv6tbxxe.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./pty-mw3zcnx5.js";
31
+ } from "./shell-wkjngxy5.js";
32
32
  import {
33
33
  latest2,
34
- Service35,
35
- node38
36
- } from "./pty-6pa79em5.js";
34
+ Service62,
35
+ node66
36
+ } from "./shell-h9ygsckj.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./pty-anbsaymy.js";
40
+ } from "./shell-a9c7wcwq.js";
41
41
  import {
42
42
  __export
43
- } from "./pty-9rqn6x4v.js";
43
+ } from "./shell-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError3,
49
+ NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service31,
51
+ Service: () => Service60,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node34
54
+ node: () => node64
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode-ai/util/fs-util";
64
64
  import { Global } from "@opencode-ai/util/global";
65
- class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service31 extends Context.Service()("@opencode/Shell") {
73
+ class Service60 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service31, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service74;
91
+ const location = yield* Service72;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service66;
94
- const environment = yield* Service62;
95
- const hooks = yield* Service68;
96
- const environments = yield* Service32;
97
- const config = yield* Service35;
93
+ const shell = yield* Service76;
94
+ const environment = yield* Service68;
95
+ const hooks = yield* Service64;
96
+ const environments = yield* Service61;
97
+ const config = yield* Service62;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError3({ id });
118
+ return yield* new NotFoundError8({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError3({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError8({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service31, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service31.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service60.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node34 = makeLocationNode({
320
- service: Service31,
319
+ var node64 = makeLocationNode({
320
+ service: Service60,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node79,
324
+ node77,
325
325
  Global.node,
326
- node71,
326
+ node81,
327
+ node72,
328
+ node68,
329
+ node65,
327
330
  node66,
328
- node73,
329
- node35,
330
- node38,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError3, RETENTION2, DIRECTORY2, Service31, cleanup2, node34, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service60, cleanup2, node64, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-se0s1eqw.js";
3
+ } from "./shell-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service35
4
- } from "./pty-6pa79em5.js";
3
+ Service62
4
+ } from "./shell-h9ygsckj.js";
5
5
  import {
6
- Service66
7
- } from "./pty-sx5qmy0w.js";
6
+ Service76
7
+ } from "./shell-ex76qa1h.js";
8
8
  import {
9
9
  observe2
10
- } from "./pty-qsdy395h.js";
10
+ } from "./shell-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin30 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service35;
27
- const shell = yield* Service66;
26
+ const config = yield* Service62;
27
+ const shell = yield* Service76;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin35 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin35, exports_shell2 };
37
+ export { Plugin30, exports_shell2 };
@@ -1,97 +1,97 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-0s2shbjn.js";
4
+ } from "./shell-jqrqy21d.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./pty-xd6am0g0.js";
8
+ } from "./shell-dpc689ym.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./pty-mntxs535.js";
11
+ } from "./shell-mntxs535.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./pty-hrvm11jt.js";
14
+ } from "./shell-hrvm11jt.js";
15
15
  import {
16
16
  prepare4
17
- } from "./pty-g3m9axkp.js";
17
+ } from "./shell-g7csxrs7.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./pty-0e0xafbb.js";
20
+ } from "./shell-0e0xafbb.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./pty-982e01ww.js";
23
+ } from "./shell-982e01ww.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./pty-v794b4ar.js";
26
+ } from "./shell-dsfx0j74.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./pty-afhjd4jv.js";
30
+ } from "./shell-wkqpxhsk.js";
31
31
  import {
32
- Service42,
33
- node45
34
- } from "./pty-jaxg81k6.js";
32
+ Service43,
33
+ node47
34
+ } from "./shell-r7cz99r0.js";
35
35
  import {
36
- Service29,
37
- node32
38
- } from "./pty-qfs8az97.js";
36
+ Service27,
37
+ node31
38
+ } from "./shell-fqt4fs5w.js";
39
39
  import {
40
40
  baseTranscript2
41
- } from "./pty-xahd2mgy.js";
41
+ } from "./shell-6wf5mw7w.js";
42
42
  import {
43
43
  make8
44
- } from "./pty-bcezcar3.js";
44
+ } from "./shell-bcezcar3.js";
45
45
  import {
46
- Service10,
47
- node13
48
- } from "./pty-nbmnd9cx.js";
46
+ Service12,
47
+ node15
48
+ } from "./shell-bdrwax0s.js";
49
49
  import {
50
- Service18,
51
- node22
52
- } from "./pty-csm7mmwy.js";
50
+ Service17,
51
+ node20
52
+ } from "./shell-fg3wn8a9.js";
53
53
  import {
54
54
  serialized2,
55
55
  nextPromotable2,
56
56
  promote2
57
- } from "./pty-j7ped6hz.js";
57
+ } from "./shell-ggysapes.js";
58
58
  import {
59
- Service5,
59
+ Service10,
60
60
  isUntitled2,
61
- node8
62
- } from "./pty-39zpmefd.js";
61
+ node13
62
+ } from "./shell-ygtbksd3.js";
63
63
  import {
64
64
  DrainResult2,
65
65
  Service16
66
- } from "./pty-g2fgb7sn.js";
66
+ } from "./shell-g2fgb7sn.js";
67
67
  import {
68
- node41
69
- } from "./pty-60njtda4.js";
68
+ node35
69
+ } from "./shell-rdq9thdd.js";
70
70
  import {
71
- node36
72
- } from "./pty-anbsaymy.js";
71
+ node70
72
+ } from "./shell-a9c7wcwq.js";
73
73
  import {
74
74
  Outcome2,
75
75
  make7
76
- } from "./pty-rktjfj3k.js";
76
+ } from "./shell-rzq71d0k.js";
77
77
  import {
78
- Service22
79
- } from "./pty-vnkjks7b.js";
78
+ Service29
79
+ } from "./shell-4v7qdvcn.js";
80
80
  import {
81
81
  node16
82
- } from "./pty-snc6smv8.js";
82
+ } from "./shell-hm2ca2ns.js";
83
83
  import {
84
84
  MAX_STEPS_PROMPT2
85
- } from "./pty-y44na4kk.js";
85
+ } from "./shell-y44na4kk.js";
86
86
  import {
87
87
  __export
88
- } from "./pty-9rqn6x4v.js";
88
+ } from "./shell-9rqn6x4v.js";
89
89
 
90
90
  // src/session/runner/llm.ts
91
91
  var exports_llm = {};
92
92
  __export(exports_llm, {
93
93
  SessionRunnerLLM: () => exports_llm,
94
- node: () => node7
94
+ node: () => node12
95
95
  });
96
96
  import { Message } from "@opencode-ai/ai";
97
97
  import { and, desc, eq, sql } from "drizzle-orm";
@@ -100,13 +100,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
100
100
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
101
101
  var layer = Layer.effect(Service16, Effect.gen(function* () {
102
102
  const bus = yield* Service79;
103
- const store = yield* Service42;
104
- const context = yield* Service18;
105
- const modelTransport = yield* Service29;
103
+ const store = yield* Service43;
104
+ const context = yield* Service17;
105
+ const modelTransport = yield* Service27;
106
106
  const db = (yield* Service80).db;
107
- const compaction = yield* Service10;
108
- const plugins = yield* Service22;
109
- const title = yield* Service5;
107
+ const compaction = yield* Service12;
108
+ const plugins = yield* Service29;
109
+ const title = yield* Service10;
110
110
  const steps = yield* make7;
111
111
  const titles = yield* FiberMap.make();
112
112
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -348,22 +348,22 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
348
348
  });
349
349
  return Service16.of({ drain });
350
350
  }));
351
- var node7 = makeLocationNode({
351
+ var node12 = makeLocationNode({
352
352
  service: Service16,
353
353
  layer,
354
354
  deps: [
355
355
  node84,
356
356
  llmClient2,
357
- node22,
358
- node32,
359
- node45,
360
- node13,
357
+ node20,
358
+ node31,
359
+ node47,
360
+ node15,
361
361
  node16,
362
- node8,
363
- node41,
364
- node36,
362
+ node13,
363
+ node35,
364
+ node70,
365
365
  node85
366
366
  ]
367
367
  });
368
368
 
369
- export { node7, exports_llm };
369
+ export { node12, exports_llm };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./pty-xd6am0g0.js";
3
+ } from "./shell-dpc689ym.js";
4
4
  import {
5
5
  OAuth3,
6
- Event15
7
- } from "./pty-jfbxega8.js";
6
+ Event17
7
+ } from "./shell-xxtg5rsy.js";
8
8
  import {
9
- ID11,
9
+ ID9,
10
10
  MethodID2
11
- } from "./pty-b3qm0p9n.js";
11
+ } from "./shell-bzsb4ygm.js";
12
12
  import {
13
- ID10,
13
+ ID13,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./pty-c2s86k7e.js";
17
+ } from "./shell-m4bpwynw.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID11.make("opencode"),
47
+ integrationID: ID9.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID11.make("opencode");
115
+ provider.integrationID = ID9.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
175
175
  });
176
176
  }
177
177
  }
178
- const item = catalog.provider.get(ID10.opencode);
178
+ const item = catalog.provider.get(ID13.opencode);
179
179
  if (!item)
180
180
  return;
181
181
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry3,
11
- Info: () => Info13,
10
+ Entry: () => Entry4,
11
+ Info: () => Info25,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry3 = Schema.Union([
19
+ var Entry4 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
82
+ var Info25 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info13, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info25, exports_lsp };