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

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{file-retention-bf0ztrs3.js → pty-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{file-retention-d1a1bt21.js → pty-034xe7ps.js} +5 -5
  10. package/dist/chunks/{file-retention-4w149egh.js → pty-05rkf16m.js} +10 -10
  11. package/dist/chunks/pty-06sgeqe0.js +22 -0
  12. package/dist/chunks/{file-retention-768z0hjh.js → pty-0e01nj6k.js} +1 -1
  13. package/dist/chunks/{file-retention-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{file-retention-1hy241bm.js → pty-0e772669.js} +3 -3
  15. package/dist/chunks/{file-retention-2sjnsy3c.js → pty-0g1jdj53.js} +28 -28
  16. package/dist/chunks/{file-retention-pz2n2jx2.js → pty-0hvb2nf8.js} +16 -16
  17. package/dist/chunks/{file-retention-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{file-retention-dm4jmc1z.js → pty-0qpy8c3h.js} +6 -6
  19. package/dist/chunks/{file-retention-48ev9q21.js → pty-0s2shbjn.js} +3 -3
  20. package/dist/chunks/{file-retention-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
  21. package/dist/chunks/{file-retention-09ywgxwg.js → pty-16r38w9g.js} +4 -4
  22. package/dist/chunks/{file-retention-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{file-retention-mcv9pgkp.js → pty-1f7ccf2p.js} +6 -6
  24. package/dist/chunks/{file-retention-yh7xbh7w.js → pty-1kqw4rdd.js} +31 -31
  25. package/dist/chunks/{file-retention-637qq8n2.js → pty-1n116cmy.js} +9 -9
  26. package/dist/chunks/{file-retention-21r38tys.js → pty-21r38tys.js} +1 -1
  27. package/dist/chunks/{file-retention-qm3e3s36.js → pty-229n223y.js} +28 -28
  28. package/dist/chunks/{file-retention-v5afwe7f.js → pty-27cy7znn.js} +6 -6
  29. package/dist/chunks/{file-retention-kq2xfdb5.js → pty-27rbv8e3.js} +25 -25
  30. package/dist/chunks/{file-retention-jk2f9dpk.js → pty-28f1y114.js} +13 -13
  31. package/dist/chunks/{file-retention-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{file-retention-549wn4nn.js → pty-2e2d6q87.js} +25 -25
  33. package/dist/chunks/{file-retention-vbdwr9gf.js → pty-2e5bqtpa.js} +34 -34
  34. package/dist/chunks/{file-retention-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
  35. package/dist/chunks/{file-retention-zw4pk1bw.js → pty-2xwkyk0m.js} +5 -5
  36. package/dist/chunks/{file-retention-0kahwk4p.js → pty-30jr7zz1.js} +16 -16
  37. package/dist/chunks/{file-retention-dyz4rdvp.js → pty-39hnsdnv.js} +39 -39
  38. package/dist/chunks/{file-retention-e1tm9aav.js → pty-39zpmefd.js} +26 -26
  39. package/dist/chunks/{file-retention-7aq2fs8e.js → pty-3bdhpy4d.js} +21 -21
  40. package/dist/chunks/{file-retention-tw0mb86q.js → pty-3bk28qgk.js} +10 -10
  41. package/dist/chunks/{file-retention-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
  42. package/dist/chunks/{file-retention-qwr8sv5a.js → pty-3gq0vy0h.js} +2 -2
  43. package/dist/chunks/{file-retention-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-retention-vg6xpb0x.js → pty-3k79xy7t.js} +9 -9
  45. package/dist/chunks/{file-retention-wfpv7nq4.js → pty-3kv6khp1.js} +5 -5
  46. package/dist/chunks/{file-retention-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{file-retention-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-retention-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-retention-vdgak15q.js → pty-42fxgygn.js} +6 -6
  50. package/dist/chunks/{file-retention-024e4rjz.js → pty-42tkewwq.js} +4 -4
  51. package/dist/chunks/{file-retention-tzmrq1hj.js → pty-43nyxw14.js} +16 -16
  52. package/dist/chunks/{file-retention-xb5d9ad8.js → pty-44zne82a.js} +8 -8
  53. package/dist/chunks/{file-retention-454k5vzh.js → pty-454k5vzh.js} +1 -1
  54. package/dist/chunks/{file-retention-mawa6aat.js → pty-45rge8j9.js} +15 -15
  55. package/dist/chunks/{file-retention-rntd5zhx.js → pty-47k6q3bb.js} +6 -6
  56. package/dist/chunks/{file-retention-zajwd6at.js → pty-4bszfkn1.js} +5 -5
  57. package/dist/chunks/{file-retention-qwr8y3n7.js → pty-4cv9f4xd.js} +18 -18
  58. package/dist/chunks/{file-retention-1c7r0953.js → pty-4gnp7s9d.js} +11 -11
  59. package/dist/chunks/{file-retention-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
  60. package/dist/chunks/{file-retention-yhyk0etm.js → pty-4xah2tk6.js} +19 -19
  61. package/dist/chunks/{file-retention-2w6bfmvf.js → pty-50sdxj4q.js} +1 -1
  62. package/dist/chunks/{file-retention-376701a1.js → pty-584xbtr7.js} +25 -25
  63. package/dist/chunks/{file-retention-5m3fjy3v.js → pty-59fxchxt.js} +52 -52
  64. package/dist/chunks/{file-retention-s4ph2d63.js → pty-5bhgc7xv.js} +15 -15
  65. package/dist/chunks/{file-retention-5daktx2q.js → pty-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-retention-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
  67. package/dist/chunks/{file-retention-0b89de78.js → pty-5fnfwqar.js} +5 -5
  68. package/dist/chunks/{file-retention-2h2vdh1n.js → pty-5jh1sprz.js} +159 -159
  69. package/dist/chunks/{file-retention-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
  70. package/dist/chunks/{file-retention-fcrkznn8.js → pty-607tc6va.js} +5 -5
  71. package/dist/chunks/{file-retention-6h5vvsan.js → pty-60njtda4.js} +31 -31
  72. package/dist/chunks/{file-retention-1epsx5vc.js → pty-6dj4wchm.js} +29 -29
  73. package/dist/chunks/{file-retention-y86ghdgz.js → pty-6fvx7cth.js} +3 -3
  74. package/dist/chunks/{file-retention-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  75. package/dist/chunks/{file-retention-pah7pk43.js → pty-6k404gxp.js} +4 -4
  76. package/dist/chunks/{file-retention-f4cf0bsx.js → pty-6pa79em5.js} +45 -45
  77. package/dist/chunks/{file-retention-1mrma768.js → pty-6pvvrh2h.js} +5 -5
  78. package/dist/chunks/{file-retention-hfwh170d.js → pty-6vbgb2w8.js} +8 -8
  79. package/dist/chunks/pty-6wpcenx3.js +247 -0
  80. package/dist/chunks/{file-retention-a8135xa2.js → pty-6wv9sdr8.js} +32 -32
  81. package/dist/chunks/{file-retention-6z5bwd8g.js → pty-6z5bwd8g.js} +2 -2
  82. package/dist/chunks/{file-retention-3m34twvx.js → pty-708tkjkz.js} +25 -25
  83. package/dist/chunks/{file-retention-711hfp6y.js → pty-711hfp6y.js} +2 -2
  84. package/dist/chunks/{file-retention-72nftnjy.js → pty-72nftnjy.js} +2 -2
  85. package/dist/chunks/{file-retention-2jp4bbqb.js → pty-795x97jf.js} +9 -9
  86. package/dist/chunks/{file-retention-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{file-retention-99vjr10t.js → pty-7ec5mhmx.js} +15 -15
  88. package/dist/chunks/{file-retention-wsddr4d2.js → pty-7ngn7mvv.js} +4 -4
  89. package/dist/chunks/{file-retention-ns4erenn.js → pty-7vtvr31n.js} +37 -37
  90. package/dist/chunks/{file-retention-qcdx5q9z.js → pty-7zv350dg.js} +19 -19
  91. package/dist/chunks/{file-retention-7b5mmf1f.js → pty-885bgk82.js} +11 -11
  92. package/dist/chunks/{file-retention-nf2cw6d6.js → pty-88nptzkr.js} +20 -20
  93. package/dist/chunks/{file-retention-tcezcvh9.js → pty-89znhe33.js} +4 -4
  94. package/dist/chunks/{file-retention-amvr6g9m.js → pty-8ewp3a8x.js} +1 -1
  95. package/dist/chunks/{file-retention-qpfqqsnr.js → pty-8q711cp6.js} +28 -28
  96. package/dist/chunks/{file-retention-byfshvwt.js → pty-920gn045.js} +8 -8
  97. package/dist/chunks/{file-retention-y2cqme3r.js → pty-93a8yfjt.js} +5 -5
  98. package/dist/chunks/{file-retention-ss0qxjqq.js → pty-95zhbw9r.js} +15 -15
  99. package/dist/chunks/{file-retention-c7cvy1rv.js → pty-9p5wwx95.js} +37 -37
  100. package/dist/chunks/{file-retention-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
  101. package/dist/chunks/{file-retention-x2mj0xny.js → pty-9srbvtnp.js} +18 -18
  102. package/dist/chunks/{file-retention-he7mv26x.js → pty-9tv260m8.js} +13 -13
  103. package/dist/chunks/{file-retention-jnmmvqjs.js → pty-9xvgy1m6.js} +1 -1
  104. package/dist/chunks/{file-retention-8w931syc.js → pty-9yc3kf06.js} +4 -4
  105. package/dist/chunks/{file-retention-6c7c909b.js → pty-9yz748bb.js} +58 -58
  106. package/dist/chunks/pty-9zwhrd2p.js +4 -0
  107. package/dist/chunks/{file-retention-205rsrbm.js → pty-a92fabfr.js} +6 -6
  108. package/dist/chunks/{file-retention-aaet6srn.js → pty-aaet6srn.js} +2 -2
  109. package/dist/chunks/{file-retention-3kdc12ra.js → pty-adq4trrh.js} +20 -20
  110. package/dist/chunks/{file-retention-8jq7hkfv.js → pty-afhjd4jv.js} +10 -10
  111. package/dist/chunks/{file-retention-bbrq8e4h.js → pty-agqvteqs.js} +25 -25
  112. package/dist/chunks/{file-retention-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
  113. package/dist/chunks/{file-retention-104gr47b.js → pty-ak1pjm22.js} +20 -20
  114. package/dist/chunks/{file-retention-vkfv6j0y.js → pty-anbsaymy.js} +12 -12
  115. package/dist/chunks/{file-retention-q913b2bh.js → pty-at2ecxq3.js} +11 -11
  116. package/dist/chunks/{file-retention-hn0tf0a0.js → pty-b3qm0p9n.js} +26 -26
  117. package/dist/chunks/{file-retention-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{file-retention-dyy50z5j.js → pty-b6xrda6h.js} +20 -20
  119. package/dist/chunks/{file-retention-1rm0drdm.js → pty-b7d3s2yt.js} +2 -2
  120. package/dist/chunks/{file-retention-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
  121. package/dist/chunks/{file-retention-h3at1h9w.js → pty-bbpqbves.js} +24 -24
  122. package/dist/chunks/{file-retention-bphmvjfp.js → pty-bcezcar3.js} +5 -5
  123. package/dist/chunks/{file-retention-6a2fap2g.js → pty-br3wnqmy.js} +16 -16
  124. package/dist/chunks/{file-retention-48m75tza.js → pty-btc4hvws.js} +5 -5
  125. package/dist/chunks/{file-retention-yq2htxd9.js → pty-c0w37k4q.js} +24 -24
  126. package/dist/chunks/{file-retention-kdsxv0j6.js → pty-c2bqpta2.js} +38 -38
  127. package/dist/chunks/{file-retention-rvb2zp0m.js → pty-c2s86k7e.js} +6 -6
  128. package/dist/chunks/{file-retention-aydeeq46.js → pty-c7tgvdzj.js} +33 -33
  129. package/dist/chunks/{file-retention-v9p73nbe.js → pty-ccfsy1h3.js} +11 -11
  130. package/dist/chunks/{file-retention-aet6n25v.js → pty-ckat2zwp.js} +9 -9
  131. package/dist/chunks/{file-retention-g0fndb66.js → pty-csm7mmwy.js} +85 -85
  132. package/dist/chunks/{file-retention-my560zn8.js → pty-czptf2ey.js} +11 -11
  133. package/dist/chunks/{file-retention-ch1mbcxn.js → pty-d3mwe7xz.js} +6 -6
  134. package/dist/chunks/{file-retention-1twmeren.js → pty-d6kfye11.js} +17 -17
  135. package/dist/chunks/{file-retention-d72308c8.js → pty-d72308c8.js} +2 -2
  136. package/dist/chunks/{file-retention-z3xgatyd.js → pty-djtdz80w.js} +4 -4
  137. package/dist/chunks/{file-retention-y71avatq.js → pty-dpkg50ah.js} +4 -4
  138. package/dist/chunks/{file-retention-rcbdex51.js → pty-dsa3zh6h.js} +12 -12
  139. package/dist/chunks/{file-retention-yk6fpedc.js → pty-dx29x28q.js} +17 -17
  140. package/dist/chunks/{file-retention-4c8rvwe6.js → pty-e1yeq7kc.js} +7 -7
  141. package/dist/chunks/{file-retention-bf4tcw57.js → pty-e38w1s41.js} +8 -8
  142. package/dist/chunks/{file-retention-0p0zxxmq.js → pty-e5w0frp6.js} +11 -11
  143. package/dist/chunks/{file-retention-sw4p0vc7.js → pty-e9dn8ye0.js} +6 -6
  144. package/dist/chunks/{file-retention-n8c291r7.js → pty-eekp03xz.js} +9 -9
  145. package/dist/chunks/{file-retention-dsdh720h.js → pty-ewr8avhk.js} +19 -19
  146. package/dist/chunks/{file-retention-rmhappp8.js → pty-f2vpb3bg.js} +11 -11
  147. package/dist/chunks/{file-retention-r82grff9.js → pty-fa23b81s.js} +5 -5
  148. package/dist/chunks/{file-retention-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-retention-fxypknc8.js → pty-fxypknc8.js} +1 -1
  150. package/dist/chunks/{file-retention-ch60wd2z.js → pty-g2fgb7sn.js} +4 -4
  151. package/dist/chunks/{file-retention-g585tkj2.js → pty-g3m9axkp.js} +4 -4
  152. package/dist/chunks/{file-retention-7zjtv6nt.js → pty-g3wwtpwc.js} +8 -8
  153. package/dist/chunks/{file-retention-402r2v51.js → pty-g75wm5bg.js} +26 -26
  154. package/dist/chunks/{file-retention-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{file-retention-1wtypr3q.js → pty-ghjew0fg.js} +9 -9
  156. package/dist/chunks/{file-retention-gz64hf7x.js → pty-gw4mnhe1.js} +23 -23
  157. package/dist/chunks/{file-retention-kbj0c16s.js → pty-h2g666ee.js} +11 -11
  158. package/dist/chunks/{file-retention-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{file-retention-mqqcxy20.js → pty-hc93tgr1.js} +43 -43
  160. package/dist/chunks/{file-retention-e63vekzn.js → pty-hc9rwb2s.js} +16 -16
  161. package/dist/chunks/{file-retention-g4wkbvr8.js → pty-hcj2ya9p.js} +16 -16
  162. package/dist/chunks/{file-retention-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{file-retention-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{file-retention-8enene87.js → pty-hv1w3vyq.js} +9 -9
  165. package/dist/chunks/{file-retention-kvsjn1dr.js → pty-hw4pv20g.js} +2 -2
  166. package/dist/chunks/{file-retention-4w7zm36c.js → pty-hy45d0wx.js} +11 -11
  167. package/dist/chunks/{file-retention-83gby3am.js → pty-hydvtqtc.js} +34 -34
  168. package/dist/chunks/{file-retention-re380472.js → pty-j18aeme6.js} +15 -15
  169. package/dist/chunks/{file-retention-hcdssky2.js → pty-j4bwgw4b.js} +14 -14
  170. package/dist/chunks/{file-retention-4f8s46ta.js → pty-j4v8sn08.js} +22 -22
  171. package/dist/chunks/{file-retention-t26mc4v5.js → pty-j7hcs84d.js} +11 -11
  172. package/dist/chunks/{file-retention-m5n300jn.js → pty-j7ped6hz.js} +20 -20
  173. package/dist/chunks/{file-retention-k0wp4d9t.js → pty-jaxg81k6.js} +16 -16
  174. package/dist/chunks/{file-retention-qkqkrz6w.js → pty-jfbxega8.js} +27 -27
  175. package/dist/chunks/{file-retention-xd7hh38v.js → pty-jp51vptf.js} +43 -43
  176. package/dist/chunks/{file-retention-s0n5ntn1.js → pty-jrpapbxf.js} +14 -14
  177. package/dist/chunks/{file-retention-gxrht0qn.js → pty-js4d4dxf.js} +2 -2
  178. package/dist/chunks/{file-retention-hv0dr4wn.js → pty-k2rh24n9.js} +7 -7
  179. package/dist/chunks/{file-retention-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
  180. package/dist/chunks/{file-retention-pjvnwgyc.js → pty-k58vdtz8.js} +23 -23
  181. package/dist/chunks/{file-retention-bqa77dn1.js → pty-kehgt38c.js} +32 -32
  182. package/dist/chunks/{file-retention-84b4417c.js → pty-kfv3m3yk.js} +30 -30
  183. package/dist/chunks/{file-retention-kg06axw8.js → pty-kg06axw8.js} +1 -1
  184. package/dist/chunks/{file-retention-2jmaghvr.js → pty-kxpygcw9.js} +4 -4
  185. package/dist/chunks/{file-retention-tq75tfgs.js → pty-kxq1x6r5.js} +54 -54
  186. package/dist/chunks/{file-retention-10dh1exf.js → pty-m1q1d0y4.js} +84 -84
  187. package/dist/chunks/{file-retention-tppvcy65.js → pty-m686xbyy.js} +7 -7
  188. package/dist/chunks/{file-retention-ajphwd6y.js → pty-m75mcjf9.js} +8 -8
  189. package/dist/chunks/{file-retention-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{file-retention-ek8k105k.js → pty-mhk6k3g8.js} +4 -4
  191. package/dist/chunks/{file-retention-eq1pz5kg.js → pty-mhkvc446.js} +3 -3
  192. package/dist/chunks/{file-retention-ptsfk80f.js → pty-mjz8v7j0.js} +4 -4
  193. package/dist/chunks/{file-retention-cb4795z8.js → pty-mkyvm1mp.js} +6 -6
  194. package/dist/chunks/{file-retention-28pcbh69.js → pty-mtcjf44p.js} +4 -4
  195. package/dist/chunks/{file-retention-r5k1hnjc.js → pty-mw3zcnx5.js} +3 -3
  196. package/dist/chunks/pty-n09fkg1f.js +460 -0
  197. package/dist/chunks/{file-retention-yfpt1t1p.js → pty-n2dx2xaf.js} +10 -10
  198. package/dist/chunks/{file-retention-3zec4kwx.js → pty-n2hm0s76.js} +27 -27
  199. package/dist/chunks/{file-retention-4x0nmcjx.js → pty-n38qs1ar.js} +9 -9
  200. package/dist/chunks/{file-retention-kce1rcej.js → pty-n5e0mvgx.js} +18 -18
  201. package/dist/chunks/{file-retention-637933n9.js → pty-nbmnd9cx.js} +15 -15
  202. package/dist/chunks/{file-retention-ya7s7xtx.js → pty-nez52ejm.js} +9 -9
  203. package/dist/chunks/{file-retention-3qy3ajen.js → pty-ngxtnptd.js} +8 -8
  204. package/dist/chunks/{file-retention-2vmasjgj.js → pty-njfgd6ze.js} +9 -9
  205. package/dist/chunks/{file-retention-z9rwsdjd.js → pty-nnp2759g.js} +10 -10
  206. package/dist/chunks/{file-retention-jpg38yrs.js → pty-npy4s4aj.js} +6 -6
  207. package/dist/chunks/{file-retention-3rfnhdhv.js → pty-nsb2bjtz.js} +9 -9
  208. package/dist/chunks/{file-retention-kqqnddrj.js → pty-nx46162a.js} +24 -24
  209. package/dist/chunks/{file-retention-atz03w0q.js → pty-p32d7zzt.js} +5 -5
  210. package/dist/chunks/{file-retention-fve27tvk.js → pty-pa8g9c14.js} +35 -35
  211. package/dist/chunks/{file-retention-j935v87r.js → pty-paphc93g.js} +2 -2
  212. package/dist/chunks/{file-retention-kpv66tzn.js → pty-pcvxjvjj.js} +22 -22
  213. package/dist/chunks/{file-retention-2s1zz7jz.js → pty-pdvxz7zn.js} +47 -47
  214. package/dist/chunks/{file-retention-yj3e99fm.js → pty-pgqf2fs8.js} +1 -1
  215. package/dist/chunks/{file-retention-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{file-retention-wj5n32w8.js → pty-pjzvknbe.js} +46 -46
  217. package/dist/chunks/{file-retention-pknna89w.js → pty-pknna89w.js} +1 -1
  218. package/dist/chunks/{file-retention-xgjy9czn.js → pty-pn7b7v58.js} +9 -9
  219. package/dist/chunks/{file-retention-1wk28q4y.js → pty-q4mk538t.js} +7 -7
  220. package/dist/chunks/{file-retention-eg4pr325.js → pty-q6affv31.js} +10 -10
  221. package/dist/chunks/{file-retention-wfkfyy92.js → pty-q98e8ctt.js} +18 -18
  222. package/dist/chunks/{file-retention-gzwcbpkz.js → pty-qba7ejvk.js} +13 -13
  223. package/dist/chunks/{file-retention-zgrvrmg3.js → pty-qfs8az97.js} +11 -11
  224. package/dist/chunks/{file-retention-bq1y9h9w.js → pty-qhpqdgv6.js} +34 -34
  225. package/dist/chunks/{file-retention-rsqwdw7v.js → pty-qk456gnd.js} +22 -22
  226. package/dist/chunks/{file-retention-a2ew8a62.js → pty-qm0v3jhh.js} +7 -7
  227. package/dist/chunks/{file-retention-8njmz93d.js → pty-qsbb4ejq.js} +37 -37
  228. package/dist/chunks/{file-retention-qsdy395h.js → pty-qsdy395h.js} +1 -1
  229. package/dist/chunks/{file-retention-bzjv94tm.js → pty-qx4mzfcc.js} +17 -17
  230. package/dist/chunks/{file-retention-nv4hhw20.js → pty-r0f40ks0.js} +24 -24
  231. package/dist/chunks/{file-retention-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
  232. package/dist/chunks/{file-retention-em9v63s6.js → pty-rb27xt0t.js} +7 -7
  233. package/dist/chunks/{file-retention-9je5tgfh.js → pty-rhk22a8q.js} +11 -11
  234. package/dist/chunks/{file-retention-44z5w399.js → pty-rktjfj3k.js} +20 -20
  235. package/dist/chunks/{file-retention-8jng17b7.js → pty-rt5xed8c.js} +22 -22
  236. package/dist/chunks/{file-retention-hq7cfhbs.js → pty-rt7tws36.js} +24 -24
  237. package/dist/chunks/{file-retention-spqcpneg.js → pty-s6ymxyzv.js} +6 -6
  238. package/dist/chunks/{file-retention-azy6xqf9.js → pty-sa79eh7w.js} +24 -24
  239. package/dist/chunks/{file-retention-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
  240. package/dist/chunks/{file-retention-f70g29mr.js → pty-snc6smv8.js} +13 -13
  241. package/dist/chunks/{file-retention-jhg236cd.js → pty-sp4bteyd.js} +6 -6
  242. package/dist/chunks/{file-retention-h0xakedw.js → pty-sx5qmy0w.js} +19 -19
  243. package/dist/chunks/{file-retention-vx7tzmvz.js → pty-t15q1rjz.js} +20 -20
  244. package/dist/chunks/{file-retention-f9jp4s2y.js → pty-t54hfqtt.js} +4 -4
  245. package/dist/chunks/{file-retention-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{file-retention-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
  247. package/dist/chunks/{file-retention-q5m5resc.js → pty-tmr8q769.js} +11 -11
  248. package/dist/chunks/{file-retention-34kkasa2.js → pty-tstrzs8j.js} +36 -36
  249. package/dist/chunks/{file-retention-7x20s5dd.js → pty-twhbvx3p.js} +3 -3
  250. package/dist/chunks/{file-retention-42gstqmc.js → pty-v5v99x5c.js} +4 -4
  251. package/dist/chunks/{file-retention-pt7wq7x0.js → pty-v79494tb.js} +1 -1
  252. package/dist/chunks/{file-retention-fx4s78ev.js → pty-v794b4ar.js} +9 -9
  253. package/dist/chunks/{file-retention-qs4avvkb.js → pty-v86v6hh1.js} +1 -1
  254. package/dist/chunks/{file-retention-6tp6t4rz.js → pty-vbv643qx.js} +9 -9
  255. package/dist/chunks/{file-retention-n1zgngz1.js → pty-vgtfkpzm.js} +26 -26
  256. package/dist/chunks/{file-retention-ere7nfp9.js → pty-vnhhhj0r.js} +11 -11
  257. package/dist/chunks/pty-vnkjks7b.js +18 -0
  258. package/dist/chunks/{file-retention-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{file-retention-cc90a9w8.js → pty-w420m8em.js} +17 -17
  260. package/dist/chunks/{file-retention-wd87259q.js → pty-wd87259q.js} +1 -1
  261. package/dist/chunks/{file-retention-jp48954f.js → pty-wftjy6b7.js} +6 -6
  262. package/dist/chunks/{file-retention-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-retention-b729swae.js → pty-x227sajd.js} +7 -7
  264. package/dist/chunks/{file-retention-qkq8j0kd.js → pty-x2bc45f6.js} +2 -2
  265. package/dist/chunks/{file-retention-zjwga192.js → pty-x5n4q9yc.js} +21 -21
  266. package/dist/chunks/{file-retention-vefwj8vq.js → pty-xahd2mgy.js} +31 -31
  267. package/dist/chunks/{file-retention-qezejtch.js → pty-xd6am0g0.js} +4 -4
  268. package/dist/chunks/{file-retention-zy2xxryr.js → pty-xtm2ympe.js} +6 -6
  269. package/dist/chunks/{file-retention-agwvegtk.js → pty-xv6rm4x2.js} +11 -11
  270. package/dist/chunks/{file-retention-prkc2mhz.js → pty-xza2q296.js} +11 -11
  271. package/dist/chunks/{file-retention-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{file-retention-8zfntaab.js → pty-y8ztchkp.js} +7 -7
  273. package/dist/chunks/{file-retention-se7rt37b.js → pty-yc4s7c8p.js} +14 -14
  274. package/dist/chunks/{file-retention-phazpyca.js → pty-ydjwxjd3.js} +50 -50
  275. package/dist/chunks/{file-retention-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
  276. package/dist/chunks/{file-retention-nw80mg4a.js → pty-yjk1z796.js} +4 -4
  277. package/dist/chunks/{file-retention-frptnsh5.js → pty-yqr5arb9.js} +18 -18
  278. package/dist/chunks/{file-retention-h0wh91yw.js → pty-yt5m2mw4.js} +10 -10
  279. package/dist/chunks/{file-retention-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
  280. package/dist/chunks/{file-retention-29x78va6.js → pty-z63w68vq.js} +6 -6
  281. package/dist/chunks/{file-retention-xh36sb1y.js → pty-zfyvq2j7.js} +6 -6
  282. package/dist/chunks/{file-retention-jjtcncep.js → pty-zpgaey8y.js} +10 -10
  283. package/dist/chunks/{file-retention-97ex6grt.js → pty-zsky2and.js} +13 -13
  284. package/dist/chunks/{file-retention-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  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 +83 -83
  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 +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +151 -151
  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 +123 -123
  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 +132 -132
  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 +90 -90
  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 +100 -100
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +88 -88
  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 +81 -81
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +85 -85
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  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 +102 -102
  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 +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  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 +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  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 +7 -7
  490. package/dist/plugin/plan.js +94 -94
  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 +114 -114
  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 +114 -114
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  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 +114 -114
  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 +129 -129
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +4 -4
  534. package/dist/plugin/update.js +6 -6
  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 +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +214 -214
  546. package/dist/project/schema.js +6 -6
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +81 -81
  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 +123 -123
  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 +214 -214
  569. package/dist/session/execution.js +120 -120
  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 +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  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 +3 -3
  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 +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  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 +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +201 -201
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  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 +13 -13
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +86 -86
  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 +117 -117
  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 +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +202 -202
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +110 -110
  636. package/dist/tool/read-filesystem.js +92 -92
  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 +3 -3
  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 +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  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 +7 -7
  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/file-retention-1bw6255h.js +0 -22
  679. package/dist/chunks/file-retention-619r8v3y.js +0 -18
  680. package/dist/chunks/file-retention-ge8qzb8n.js +0 -460
  681. package/dist/chunks/file-retention-rrnmj2kt.js +0 -247
  682. package/dist/chunks/file-retention-w3vb4krt.js +0 -4
  683. /package/dist/chunks/{file-retention-0fabt78z.js → pty-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{file-retention-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{file-retention-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{file-retention-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{file-retention-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{file-retention-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{file-retention-2710q6r3.js → pty-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{file-retention-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{file-retention-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{file-retention-359p4xyc.js → pty-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{file-retention-3asan66x.js → pty-3asan66x.js} +0 -0
  694. /package/dist/chunks/{file-retention-3t738kvx.js → pty-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{file-retention-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{file-retention-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{file-retention-41nvscxy.js → pty-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{file-retention-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{file-retention-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{file-retention-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{file-retention-53557ph1.js → pty-53557ph1.js} +0 -0
  702. /package/dist/chunks/{file-retention-550bvhaj.js → pty-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{file-retention-6prwharc.js → pty-6prwharc.js} +0 -0
  704. /package/dist/chunks/{file-retention-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{file-retention-7m9af43g.js → pty-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{file-retention-822emrt2.js → pty-822emrt2.js} +0 -0
  707. /package/dist/chunks/{file-retention-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{file-retention-8n3pysct.js → pty-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{file-retention-982e01ww.js → pty-982e01ww.js} +0 -0
  710. /package/dist/chunks/{file-retention-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{file-retention-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{file-retention-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{file-retention-af5trqkr.js → pty-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{file-retention-afrmfg78.js → pty-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{file-retention-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{file-retention-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{file-retention-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{file-retention-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{file-retention-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{file-retention-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{file-retention-d9fn303g.js → pty-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{file-retention-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{file-retention-dajrwvna.js → pty-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{file-retention-dap0rakb.js → pty-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{file-retention-df08tz66.js → pty-df08tz66.js} +0 -0
  726. /package/dist/chunks/{file-retention-dy18nga0.js → pty-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{file-retention-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{file-retention-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{file-retention-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{file-retention-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{file-retention-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{file-retention-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{file-retention-faypxj3z.js → pty-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{file-retention-fd410y7t.js → pty-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{file-retention-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{file-retention-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{file-retention-g86h250q.js → pty-g86h250q.js} +0 -0
  738. /package/dist/chunks/{file-retention-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{file-retention-hk9envan.js → pty-hk9envan.js} +0 -0
  740. /package/dist/chunks/{file-retention-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{file-retention-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{file-retention-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{file-retention-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{file-retention-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{file-retention-mntxs535.js → pty-mntxs535.js} +0 -0
  746. /package/dist/chunks/{file-retention-mp448xyj.js → pty-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{file-retention-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{file-retention-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{file-retention-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{file-retention-njntx4h6.js → pty-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{file-retention-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{file-retention-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{file-retention-q74kybfr.js → pty-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{file-retention-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{file-retention-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{file-retention-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{file-retention-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{file-retention-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{file-retention-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{file-retention-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{file-retention-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{file-retention-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{file-retention-twg0f83k.js → pty-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{file-retention-w803qqfp.js → pty-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{file-retention-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{file-retention-wtztk69x.js → pty-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{file-retention-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{file-retention-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{file-retention-x61499pn.js → pty-x61499pn.js} +0 -0
  770. /package/dist/chunks/{file-retention-y44na4kk.js → pty-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{file-retention-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{file-retention-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{file-retention-z9919s4g.js → pty-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{file-retention-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./file-retention-qezejtch.js";
5
+ } from "./pty-xd6am0g0.js";
6
6
  import {
7
- Service73,
8
- node78
9
- } from "./file-retention-z9rwsdjd.js";
7
+ Service78,
8
+ node83
9
+ } from "./pty-nnp2759g.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event18,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service72,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node77,
26
- resolve: () => resolve3
25
+ node: () => node52,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode-ai/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service72 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event18 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service72, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service73;
80
+ const kv = yield* Service78;
81
81
  const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event18.Updated, {});
112
+ yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service72.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event18.Updated, {});
128
+ yield* bus.publish(Event10.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event18.Updated, {});
141
+ yield* bus.publish(Event10.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node78, node84] });
146
+ var node52 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node83, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event18, inspect2, resolve3, node77, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event10, inspect2, resolve2, node52, exports_wellknown };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-retention-982e01ww.js";
3
+ } from "./pty-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-retention-r5k1hnjc.js";
6
+ } from "./pty-mw3zcnx5.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./file-retention-fx4s78ev.js";
9
+ } from "./pty-v794b4ar.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./file-retention-28pcbh69.js";
13
+ } from "./pty-mtcjf44p.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./file-retention-hrvm11jt.js";
16
+ } from "./pty-hrvm11jt.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./file-retention-g585tkj2.js";
20
+ } from "./pty-g3m9axkp.js";
21
21
  import {
22
22
  __export
23
- } from "./file-retention-9rqn6x4v.js";
23
+ } from "./pty-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -30,7 +30,7 @@ __export(exports_history, {
30
30
  entriesForRunner: () => entriesForRunner2,
31
31
  firstUserMessage: () => firstUserMessage2,
32
32
  latestCompaction: () => latestCompaction2,
33
- load: () => load2,
33
+ load: () => load3,
34
34
  preview: () => preview2
35
35
  });
36
36
  import { and, asc, desc, eq, gte, sql } from "drizzle-orm";
@@ -48,7 +48,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID) {
48
48
  const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
49
49
  return yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
50
50
  });
51
- var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
51
+ var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
52
52
  return (yield* messageEntries(db, sessionID)).map((entry) => entry.message);
53
53
  });
54
54
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions) {
@@ -84,4 +84,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
84
84
  return message?.type === "user" ? message : undefined;
85
85
  });
86
86
 
87
- export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
87
+ export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service45
3
- } from "./file-retention-5m3fjy3v.js";
2
+ Service41
3
+ } from "./pty-59fxchxt.js";
4
4
  import {
5
- ID5,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service44
10
- } from "./file-retention-kpv66tzn.js";
9
+ Service40
10
+ } from "./pty-pcvxjvjj.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill2 = {};
17
17
  __export(exports_skill2, {
18
- Input: () => Input6,
19
- Output: () => Output4,
20
- Plugin: () => Plugin20,
18
+ Input: () => Input8,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin23,
21
21
  SkillTool: () => exports_skill2,
22
- description: () => description2,
23
- name: () => name6,
22
+ description: () => description3,
23
+ name: () => name8,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode-ai/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
- var name6 = "skill";
30
- var Input6 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name8 = "skill";
30
+ var Input8 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description3 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin20 = {
46
+ var Plugin23 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service44;
51
- const permission = yield* Service45;
50
+ const skills = yield* Service40;
51
+ const permission = yield* Service41;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name6,
53
+ name: name8,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input6,
57
- output: Output4,
55
+ description: description3,
56
+ input: Input8,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name6,
64
+ action: name8,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin20 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name6, Input6, Output4, description2, toModelOutput2, Plugin20, exports_skill2 };
82
+ export { name8, Input8, Output6, description3, toModelOutput2, Plugin23, exports_skill2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./file-retention-r8dhm0tv.js";
3
+ } from "./pty-r8dhm0tv.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-retention-9qm9egsn.js";
6
+ } from "./pty-9qm9egsn.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./file-retention-qezejtch.js";
4
+ } from "./pty-xd6am0g0.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./file-retention-s0n5ntn1.js";
6
+ Service74,
7
+ node79
8
+ } from "./pty-jrpapbxf.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./file-retention-kg06axw8.js";
12
+ } from "./pty-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./file-retention-tazgh4e4.js";
17
+ } from "./pty-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./pty-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: () => Info13,
29
+ Info: () => Info29,
30
30
  Mode: () => Mode2,
31
- Service: () => Service61,
31
+ Service: () => Service72,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node66
33
+ node: () => node77
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 Info13, Mode as Mode2 } from "@opencode-ai/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info29, 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 Service61 extends Context.Service()("@opencode/Vcs") {
48
+ class Service72 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service61, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service74;
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(Service61, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info29));
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(Service61, 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 Service61.of({
118
+ return Service72.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(Service61, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node66 = makeLocationNode({
165
- service: Service61,
164
+ var node77 = makeLocationNode({
165
+ service: Service72,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node79, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info13, Mode2, DiffError2, Service61, node66, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info29, Mode2, DiffError2, Service72, node77, exports_vcs };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-retention-gd4qta3r.js";
3
+ } from "./pty-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./file-retention-k4bwy1x5.js";
6
+ } from "./pty-k4bwy1x5.js";
7
7
  import {
8
8
  create3
9
- } from "./file-retention-kg06axw8.js";
9
+ } from "./pty-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service54,
21
+ Service: () => Service33,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node58
23
+ node: () => node36
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service54 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service33 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service54, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service54.of({
125
+ return Service33.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node58 = makeLocationNode({
143
- service: Service54,
142
+ var node36 = makeLocationNode({
143
+ service: Service33,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node58, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service33, node36, exports_tool_output2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID16,
2
+ ID10,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-retention-rvb2zp0m.js";
5
+ } from "./pty-c2s86k7e.js";
6
6
  import {
7
- ID14,
7
+ ID9,
8
8
  VariantID2,
9
9
  Family2,
10
- Info27
11
- } from "./file-retention-hcdssky2.js";
10
+ Info21
11
+ } from "./pty-j4bwgw4b.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID14.make(id);
90
+ const key = ID9.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info27.make({
115
- ...Info27.default(ID16.githubCopilot, id),
114
+ return Info21.make({
115
+ ...Info21.default(ID10.githubCopilot, id),
116
116
  id,
117
- modelID: ID14.make(remote.id),
118
- providerID: ID16.githubCopilot,
117
+ modelID: ID9.make(remote.id),
118
+ providerID: ID10.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./file-retention-qezejtch.js";
4
+ } from "./pty-xd6am0g0.js";
5
5
  import {
6
6
  Key4,
7
- Service74,
8
- node79
9
- } from "./file-retention-qkqkrz6w.js";
7
+ Service57,
8
+ node61
9
+ } from "./pty-jfbxega8.js";
10
10
  import {
11
11
  create3
12
- } from "./file-retention-kg06axw8.js";
12
+ } from "./pty-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./file-retention-nv4hhw20.js";
16
+ } from "./pty-r0f40ks0.js";
17
17
  import {
18
18
  __export
19
- } from "./file-retention-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event15,
34
- ID: () => ID12,
35
- Info: () => Info15,
33
+ Event: () => Event13,
34
+ ID: () => ID11,
35
+ Info: () => Info23,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref2,
42
- Service: () => Service67,
43
- node: () => node72
41
+ Ref: () => Ref3,
42
+ Service: () => Service55,
43
+ node: () => node59
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event15 } from "@opencode-ai/schema/integration";
65
- var ID12 = Integration.ID;
64
+ import { Event as Event13 } from "@opencode-ai/schema/integration";
65
+ var ID11 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info15 = Integration.Info;
73
+ var Info23 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref2 = Integration.Ref;
88
+ var Ref3 = Integration.Ref;
89
89
 
90
- class Service67 extends Context.Service()("@opencode/Integration") {
90
+ class Service55 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service67, Effect.gen(function* () {
96
- const credentials = yield* Service74;
95
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
96
+ const credentials = yield* Service57;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info15.make({
190
+ const project = (entry, connections) => Info23.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service67.of({
420
+ return Service55.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node72 = makeLocationNode({
569
- service: Service67,
568
+ var node59 = makeLocationNode({
569
+ service: Service55,
570
570
  layer,
571
- deps: [node79, node84, AppProcess.node]
571
+ deps: [node61, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info15, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service67, node72, exports_integration, Event15 };
574
+ export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service55, node59, exports_integration, Event13 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-retention-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-retention-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};