@opencode/core 0.0.0-dev-19392 → 0.0.0-dev-19393

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 (783) 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 +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{repository-zx243jn3.js → file-mutation-01fzq3z7.js} +22 -22
  9. package/dist/chunks/{repository-57vc1f1w.js → file-mutation-02k69zs7.js} +27 -27
  10. package/dist/chunks/{repository-8x8j0yap.js → file-mutation-066m6yk3.js} +7 -7
  11. package/dist/chunks/{repository-1vtz46z8.js → file-mutation-08z5qwsn.js} +8 -8
  12. package/dist/chunks/{repository-t550f9t1.js → file-mutation-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{repository-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{repository-pe4p92xe.js → file-mutation-0xtcr6w3.js} +15 -15
  16. package/dist/chunks/{repository-kj13mq9d.js → file-mutation-0yhvqzdr.js} +32 -32
  17. package/dist/chunks/{repository-0pcjts55.js → file-mutation-0zn40hbb.js} +55 -55
  18. package/dist/chunks/{repository-x0nxw1am.js → file-mutation-12rfhcvn.js} +3 -3
  19. package/dist/chunks/{repository-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{repository-1eyaby9q.js → file-mutation-1eyaby9q.js} +2 -2
  21. package/dist/chunks/{repository-wxyreeq2.js → file-mutation-1fa9ans5.js} +1 -1
  22. package/dist/chunks/{repository-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{repository-jx8g4evx.js → file-mutation-240ffee7.js} +9 -9
  24. package/dist/chunks/{repository-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
  25. package/dist/chunks/{repository-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{repository-crptryd9.js → file-mutation-2bt6bea8.js} +9 -9
  27. package/dist/chunks/{repository-mbchyd0s.js → file-mutation-2ee8pmxs.js} +5 -5
  28. package/dist/chunks/{repository-ar3kqjsa.js → file-mutation-2hfp5ger.js} +25 -25
  29. package/dist/chunks/{repository-37wraq67.js → file-mutation-2npmwd02.js} +9 -9
  30. package/dist/chunks/{repository-depcwyj9.js → file-mutation-2sef7jx7.js} +22 -22
  31. package/dist/chunks/{repository-s644107t.js → file-mutation-2ttxt4rm.js} +2 -2
  32. package/dist/chunks/{repository-y5qdajv2.js → file-mutation-2zheyzhp.js} +7 -7
  33. package/dist/chunks/{repository-hc5nrc85.js → file-mutation-34wjyeek.js} +12 -12
  34. package/dist/chunks/{repository-p5t1en88.js → file-mutation-3bzftg35.js} +13 -13
  35. package/dist/chunks/{repository-3cfzdc8e.js → file-mutation-3cfzdc8e.js} +2 -2
  36. package/dist/chunks/{repository-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{repository-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-ydwbxywx.js → file-mutation-3kxmfjgw.js} +15 -15
  39. package/dist/chunks/{repository-wpm2rk0p.js → file-mutation-3rqkssp8.js} +8 -8
  40. package/dist/chunks/{repository-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{repository-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{repository-nsgsffy1.js → file-mutation-3zbb0e4x.js} +5 -5
  43. package/dist/chunks/{repository-gpe6jd74.js → file-mutation-42b6pzh7.js} +8 -8
  44. package/dist/chunks/{repository-b1h1c68h.js → file-mutation-49w8mb30.js} +11 -11
  45. package/dist/chunks/{repository-eeaf82dq.js → file-mutation-4c2df9zx.js} +8 -8
  46. package/dist/chunks/{repository-htdwccg2.js → file-mutation-4cwh3a5t.js} +9 -9
  47. package/dist/chunks/{repository-bx51kgqc.js → file-mutation-4f5v0gkp.js} +20 -20
  48. package/dist/chunks/{repository-04fcbydd.js → file-mutation-4jd5h8hr.js} +6 -6
  49. package/dist/chunks/{repository-majq4y6w.js → file-mutation-4k2qawm0.js} +15 -15
  50. package/dist/chunks/{repository-cv1c066y.js → file-mutation-56fawgj4.js} +50 -50
  51. package/dist/chunks/{repository-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{repository-p8jw0zjb.js → file-mutation-56xqqp2b.js} +6 -6
  53. package/dist/chunks/{repository-ha2ymhej.js → file-mutation-587k4qqh.js} +16 -16
  54. package/dist/chunks/{repository-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  55. package/dist/chunks/{repository-t0x5rdq8.js → file-mutation-5kptn8c0.js} +9 -9
  56. package/dist/chunks/{repository-3g5b63xy.js → file-mutation-5t37q54p.js} +21 -21
  57. package/dist/chunks/{repository-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{repository-4mtecjc1.js → file-mutation-5y7nmd31.js} +15 -15
  59. package/dist/chunks/{repository-mfhfdr54.js → file-mutation-64kphnzf.js} +4 -4
  60. package/dist/chunks/{repository-669tq793.js → file-mutation-669tq793.js} +1 -1
  61. package/dist/chunks/{repository-6h73sxmp.js → file-mutation-6h73sxmp.js} +1 -1
  62. package/dist/chunks/{repository-s7hhpcvx.js → file-mutation-6jex2xta.js} +5 -5
  63. package/dist/chunks/file-mutation-6kdq0pjd.js +4 -0
  64. package/dist/chunks/{repository-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{repository-cw5vx56j.js → file-mutation-6v41k3zq.js} +34 -34
  66. package/dist/chunks/{repository-9s7jgwbd.js → file-mutation-71acpfn8.js} +9 -9
  67. package/dist/chunks/{repository-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
  68. package/dist/chunks/{repository-cwsfv75g.js → file-mutation-74bmvg0d.js} +5 -5
  69. package/dist/chunks/{repository-e275mf5g.js → file-mutation-74sc3jhk.js} +4 -4
  70. package/dist/chunks/{repository-g2ttgsev.js → file-mutation-78s53s6s.js} +37 -37
  71. package/dist/chunks/{repository-cxv3b682.js → file-mutation-7b15y959.js} +8 -8
  72. package/dist/chunks/{repository-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{repository-hkwasy14.js → file-mutation-7g683t1r.js} +24 -24
  75. package/dist/chunks/{repository-4t0960ha.js → file-mutation-7ncadwe6.js} +7 -7
  76. package/dist/chunks/{repository-c5ws0z31.js → file-mutation-7r2070ss.js} +47 -47
  77. package/dist/chunks/{repository-gfwf98p3.js → file-mutation-7s02b6me.js} +1 -1
  78. package/dist/chunks/{repository-kr4ape1v.js → file-mutation-7tske91h.js} +21 -21
  79. package/dist/chunks/{repository-y6f0p4jw.js → file-mutation-7w99qc9d.js} +2 -2
  80. package/dist/chunks/{repository-j7as52rv.js → file-mutation-7x56vw45.js} +13 -13
  81. package/dist/chunks/{repository-48974jce.js → file-mutation-80wms6w9.js} +33 -33
  82. package/dist/chunks/{repository-3r9tyhmb.js → file-mutation-8bwmgdjs.js} +18 -18
  83. package/dist/chunks/{repository-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{repository-8p4f9s12.js → file-mutation-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{repository-d1yx4qwh.js → file-mutation-9g0zx7x8.js} +9 -9
  86. package/dist/chunks/{repository-bpf5xa8r.js → file-mutation-9n4afpv3.js} +6 -6
  87. package/dist/chunks/{repository-h72eb9sx.js → file-mutation-9pa9rw3z.js} +28 -28
  88. package/dist/chunks/{repository-4jktxnha.js → file-mutation-9pwkmyz6.js} +8 -8
  89. package/dist/chunks/{repository-kedqt550.js → file-mutation-9py05vep.js} +24 -24
  90. package/dist/chunks/{repository-r3pdfb8a.js → file-mutation-9shade1g.js} +27 -27
  91. package/dist/chunks/{repository-a1bz86dw.js → file-mutation-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{repository-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  93. package/dist/chunks/{repository-ppr425jm.js → file-mutation-ak7my4zs.js} +16 -16
  94. package/dist/chunks/{repository-sx1n432n.js → file-mutation-an7cqtb7.js} +4 -4
  95. package/dist/chunks/{repository-xevndded.js → file-mutation-ar85mn2m.js} +20 -20
  96. package/dist/chunks/{repository-e6z046pm.js → file-mutation-as9sp7sj.js} +11 -11
  97. package/dist/chunks/{repository-4vbarqrf.js → file-mutation-b036pw45.js} +19 -19
  98. package/dist/chunks/{repository-3a6d4gwd.js → file-mutation-b45nt1f1.js} +8 -8
  99. package/dist/chunks/{repository-pxv8awr7.js → file-mutation-b6d4fm4d.js} +30 -30
  100. package/dist/chunks/{repository-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{repository-kf2529h4.js → file-mutation-b9vx810x.js} +25 -25
  102. package/dist/chunks/{repository-wt0zt129.js → file-mutation-bbzhmj3e.js} +25 -25
  103. package/dist/chunks/{repository-fyjrpq2n.js → file-mutation-bpbqk74e.js} +5 -5
  104. package/dist/chunks/{repository-54q2yb5y.js → file-mutation-brx509wv.js} +43 -43
  105. package/dist/chunks/{repository-bv56xrks.js → file-mutation-bv56xrks.js} +2 -2
  106. package/dist/chunks/{repository-j4jvep9r.js → file-mutation-c12c3ebf.js} +16 -16
  107. package/dist/chunks/{repository-xqpzppg3.js → file-mutation-c19c6034.js} +4 -4
  108. package/dist/chunks/{repository-vz71brqr.js → file-mutation-c4tqdq5t.js} +6 -6
  109. package/dist/chunks/{repository-5b0ze84y.js → file-mutation-c9av52v1.js} +3 -3
  110. package/dist/chunks/{repository-cfpkc3c9.js → file-mutation-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{repository-q0efknh2.js → file-mutation-cj8em3nn.js} +18 -18
  112. package/dist/chunks/{repository-4v5k2jq1.js → file-mutation-cn5kgcxn.js} +20 -20
  113. package/dist/chunks/{repository-ns2b79zq.js → file-mutation-d1w5q26k.js} +24 -24
  114. package/dist/chunks/{repository-cr07tj7n.js → file-mutation-d2aac7k2.js} +5 -5
  115. package/dist/chunks/{repository-aeh5fpw2.js → file-mutation-d40aa9ht.js} +35 -35
  116. package/dist/chunks/{repository-qfhza6js.js → file-mutation-dafzyq9v.js} +11 -11
  117. package/dist/chunks/{repository-mq52b90g.js → file-mutation-df2tx5pe.js} +10 -10
  118. package/dist/chunks/{repository-bragb0zt.js → file-mutation-dpje9hvt.js} +3 -3
  119. package/dist/chunks/{repository-k7z88jgs.js → file-mutation-dsfwte3g.js} +17 -17
  120. package/dist/chunks/{repository-fy497h6e.js → file-mutation-dt849bc4.js} +8 -8
  121. package/dist/chunks/{repository-7y5q31fh.js → file-mutation-dzgwpfm4.js} +61 -61
  122. package/dist/chunks/{repository-b67qqecp.js → file-mutation-e15qh3wq.js} +11 -11
  123. package/dist/chunks/{repository-7g7rfx25.js → file-mutation-e379cr0y.js} +12 -12
  124. package/dist/chunks/{repository-24tr1rny.js → file-mutation-earnevqz.js} +41 -41
  125. package/dist/chunks/{repository-d8nc1xcx.js → file-mutation-ec8389mk.js} +4 -4
  126. package/dist/chunks/{repository-6pmke597.js → file-mutation-edca6z4t.js} +41 -41
  127. package/dist/chunks/{repository-w48xm36n.js → file-mutation-en460j1e.js} +9 -9
  128. package/dist/chunks/{repository-7ebdzj7v.js → file-mutation-en8fd2fz.js} +24 -24
  129. package/dist/chunks/{repository-ygm68jz5.js → file-mutation-eqbtmbad.js} +16 -16
  130. package/dist/chunks/{repository-6hhx0jg1.js → file-mutation-et23rmd2.js} +25 -25
  131. package/dist/chunks/{repository-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{repository-9tvhpt1h.js → file-mutation-f1q1bdfb.js} +34 -34
  133. package/dist/chunks/{repository-2venq07n.js → file-mutation-f5hjq1vh.js} +20 -20
  134. package/dist/chunks/{repository-jxn3d5qw.js → file-mutation-f79e7acg.js} +2 -2
  135. package/dist/chunks/{repository-f828m53h.js → file-mutation-f828m53h.js} +2 -2
  136. package/dist/chunks/{repository-cqmjdmfy.js → file-mutation-ff8m8qd7.js} +30 -30
  137. package/dist/chunks/{repository-vyqn3nqs.js → file-mutation-fjvydvzm.js} +4 -4
  138. package/dist/chunks/{repository-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{repository-5qp0xphp.js → file-mutation-g56g034v.js} +20 -20
  140. package/dist/chunks/{repository-xarast0t.js → file-mutation-g8stra9y.js} +4 -4
  141. package/dist/chunks/{repository-a29n1zs3.js → file-mutation-ga7wvnj5.js} +9 -9
  142. package/dist/chunks/{repository-kg0jjcwj.js → file-mutation-gb6mvkxt.js} +11 -11
  143. package/dist/chunks/{repository-d2t4pj3k.js → file-mutation-gb9kwzg5.js} +22 -22
  144. package/dist/chunks/{repository-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{repository-v34has66.js → file-mutation-gfz0jyfh.js} +11 -11
  146. package/dist/chunks/{repository-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{repository-39r80e1r.js → file-mutation-gx1zhcta.js} +1 -1
  148. package/dist/chunks/{repository-c08088rs.js → file-mutation-gyyh633g.js} +81 -81
  149. package/dist/chunks/{repository-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{repository-es9es8em.js → file-mutation-h4y4mq8e.js} +83 -83
  151. package/dist/chunks/{repository-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{repository-aggqyzrf.js → file-mutation-ha607pgt.js} +6 -6
  153. package/dist/chunks/{repository-e0g3hjre.js → file-mutation-hf8cnsjw.js} +1 -1
  154. package/dist/chunks/{repository-hjt4xg1x.js → file-mutation-hjt4xg1x.js} +1 -1
  155. package/dist/chunks/file-mutation-hkpycv99.js +462 -0
  156. package/dist/chunks/{repository-0jvretd3.js → file-mutation-hqrxp9gj.js} +10 -10
  157. package/dist/chunks/{repository-ddbrkqgx.js → file-mutation-hthj0rnm.js} +16 -16
  158. package/dist/chunks/{repository-y8vfbp1t.js → file-mutation-hxpkdzb7.js} +3 -3
  159. package/dist/chunks/{repository-q5sgvk0q.js → file-mutation-hz456w6n.js} +11 -11
  160. package/dist/chunks/{repository-kbep69gp.js → file-mutation-hzx83h4g.js} +38 -38
  161. package/dist/chunks/{repository-2az9q9m5.js → file-mutation-j0n617hx.js} +41 -41
  162. package/dist/chunks/{repository-0h1dgn2a.js → file-mutation-j2nqzmcv.js} +20 -20
  163. package/dist/chunks/{repository-vd9p42jh.js → file-mutation-j3mwg7nd.js} +34 -34
  164. package/dist/chunks/{repository-0v13smbh.js → file-mutation-j4028k8z.js} +11 -11
  165. package/dist/chunks/{repository-xcq99e6n.js → file-mutation-j4p7emeb.js} +11 -11
  166. package/dist/chunks/{repository-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  167. package/dist/chunks/{repository-paphc93g.js → file-mutation-j935v87r.js} +2 -2
  168. package/dist/chunks/{repository-s3fhdh3x.js → file-mutation-jeq3avzd.js} +14 -14
  169. package/dist/chunks/{repository-tjq77wbb.js → file-mutation-jspz1h3e.js} +17 -17
  170. package/dist/chunks/{repository-5sh276j6.js → file-mutation-jsvhw8mk.js} +11 -11
  171. package/dist/chunks/{repository-zeqg0xp7.js → file-mutation-jvybmm27.js} +21 -21
  172. package/dist/chunks/{repository-wny5a0c2.js → file-mutation-k0qa26hr.js} +25 -25
  173. package/dist/chunks/{repository-zewav7xs.js → file-mutation-k1xjzmxg.js} +17 -17
  174. package/dist/chunks/{repository-g5yyevqf.js → file-mutation-k23hrhwv.js} +4 -4
  175. package/dist/chunks/{repository-4hnbmwf5.js → file-mutation-k3swrpg8.js} +4 -4
  176. package/dist/chunks/{repository-kq4ab4h1.js → file-mutation-kekx75qk.js} +1 -1
  177. package/dist/chunks/{repository-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  178. package/dist/chunks/{repository-r2rry8w2.js → file-mutation-km7shbm8.js} +15 -15
  179. package/dist/chunks/{repository-02e0y54q.js → file-mutation-kywk84af.js} +17 -17
  180. package/dist/chunks/{repository-0n0mhreg.js → file-mutation-m0c4px45.js} +26 -26
  181. package/dist/chunks/{repository-4hgtqqtz.js → file-mutation-m42b0bke.js} +3 -3
  182. package/dist/chunks/{repository-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{repository-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
  184. package/dist/chunks/{repository-jefma2gq.js → file-mutation-mkh51v61.js} +10 -10
  185. package/dist/chunks/{repository-85jhkfmq.js → file-mutation-mwbx7r51.js} +4 -4
  186. package/dist/chunks/{repository-b47t4zxj.js → file-mutation-n5zjdcc0.js} +1 -1
  187. package/dist/chunks/file-mutation-n95b3jav.js +18 -0
  188. package/dist/chunks/{repository-5dczmsbe.js → file-mutation-nc6emx03.js} +8 -8
  189. package/dist/chunks/{repository-gr925e17.js → file-mutation-nmjsacd1.js} +2 -2
  190. package/dist/chunks/{repository-81swgkk7.js → file-mutation-ntghn7gv.js} +9 -9
  191. package/dist/chunks/{repository-anrzzgjr.js → file-mutation-nvgad3v2.js} +14 -14
  192. package/dist/chunks/{repository-gf1vyzcg.js → file-mutation-nx72h4d9.js} +10 -10
  193. package/dist/chunks/{repository-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{repository-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  195. package/dist/chunks/{repository-45yvhxnf.js → file-mutation-psxzv6yb.js} +6 -6
  196. package/dist/chunks/{repository-0wh211te.js → file-mutation-q5th50z6.js} +16 -16
  197. package/dist/chunks/{repository-11kz9drc.js → file-mutation-q6c9rh6v.js} +19 -19
  198. package/dist/chunks/{repository-v7rvz788.js → file-mutation-q8rqxe25.js} +26 -26
  199. package/dist/chunks/{repository-8vtetfvn.js → file-mutation-qg1dvv3d.js} +19 -19
  200. package/dist/chunks/{repository-epg4pcgt.js → file-mutation-qgnx4pxt.js} +11 -11
  201. package/dist/chunks/{repository-6yt6jtkp.js → file-mutation-qp0yc7dx.js} +13 -13
  202. package/dist/chunks/{repository-49hrpkdk.js → file-mutation-qpxqmgt2.js} +4 -4
  203. package/dist/chunks/{repository-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  204. package/dist/chunks/{repository-fa6dyqja.js → file-mutation-qssq5wvh.js} +1 -1
  205. package/dist/chunks/{repository-yjptyezs.js → file-mutation-qte5z7bc.js} +5 -5
  206. package/dist/chunks/{repository-xz57177z.js → file-mutation-qvf21x62.js} +46 -46
  207. package/dist/chunks/{repository-4jfex6ks.js → file-mutation-qyy5cpnn.js} +8 -8
  208. package/dist/chunks/{repository-mvfsc1pv.js → file-mutation-r5x6zcsm.js} +3 -3
  209. package/dist/chunks/{repository-fdv30zvt.js → file-mutation-ratrq7cm.js} +7 -7
  210. package/dist/chunks/{repository-y0s3dbwc.js → file-mutation-rc1e819m.js} +4 -4
  211. package/dist/chunks/{repository-mpshf1ye.js → file-mutation-rh108m8v.js} +5 -5
  212. package/dist/chunks/{repository-nrk5vjbf.js → file-mutation-rkdvqggb.js} +5 -5
  213. package/dist/chunks/{repository-fmnw6ddm.js → file-mutation-rmnn1kcj.js} +33 -33
  214. package/dist/chunks/{repository-98k43r7d.js → file-mutation-rsh6k2qs.js} +25 -25
  215. package/dist/chunks/{repository-s7zz1j9y.js → file-mutation-rtq8p3gy.js} +24 -24
  216. package/dist/chunks/{repository-1h8056qn.js → file-mutation-rvyzmxt1.js} +167 -167
  217. package/dist/chunks/{repository-ppzcs5qe.js → file-mutation-s1fbxc7t.js} +16 -16
  218. package/dist/chunks/{repository-77e0zb3k.js → file-mutation-s36eea25.js} +18 -18
  219. package/dist/chunks/{repository-yrznvahk.js → file-mutation-s4enseaf.js} +2 -2
  220. package/dist/chunks/{repository-93v0v8g0.js → file-mutation-s5d18ttv.js} +27 -27
  221. package/dist/chunks/{repository-3vaccfnm.js → file-mutation-sdc25ghc.js} +21 -21
  222. package/dist/chunks/{repository-m3rgfk03.js → file-mutation-snbak2yk.js} +9 -9
  223. package/dist/chunks/{repository-r33ff4dw.js → file-mutation-ss0awb04.js} +4 -4
  224. package/dist/chunks/{repository-nhdt7g4d.js → file-mutation-stnw2p2s.js} +6 -6
  225. package/dist/chunks/{repository-fpvgn4t1.js → file-mutation-sx5j1r78.js} +11 -11
  226. package/dist/chunks/{repository-hzy2m5kh.js → file-mutation-t0ycew93.js} +24 -24
  227. package/dist/chunks/{repository-gbtq0qkg.js → file-mutation-t1bhcjx3.js} +1 -1
  228. package/dist/chunks/{repository-cjdhxnc7.js → file-mutation-t26h1xea.js} +24 -24
  229. package/dist/chunks/{repository-nr8cezy4.js → file-mutation-t3aqcp13.js} +5 -5
  230. package/dist/chunks/{repository-magykp64.js → file-mutation-t51qk8jz.js} +21 -21
  231. package/dist/chunks/{repository-bfhmxbp5.js → file-mutation-t9ja5v0m.js} +12 -12
  232. package/dist/chunks/{repository-p5vq1h1x.js → file-mutation-t9n23y5a.js} +25 -25
  233. package/dist/chunks/{repository-9hm1nb7k.js → file-mutation-t9nzygtk.js} +14 -14
  234. package/dist/chunks/{repository-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{repository-k5f8wpb1.js → file-mutation-tcaez8z7.js} +14 -14
  236. package/dist/chunks/{repository-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{repository-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  238. package/dist/chunks/{repository-ka539jxw.js → file-mutation-tfmchqhk.js} +13 -13
  239. package/dist/chunks/file-mutation-tg8gtkmk.js +22 -0
  240. package/dist/chunks/{repository-z399x6eb.js → file-mutation-thm2xcas.js} +17 -17
  241. package/dist/chunks/{repository-es5b1610.js → file-mutation-tmr9h4zs.js} +10 -10
  242. package/dist/chunks/{repository-w6kysxt2.js → file-mutation-tp176rca.js} +6 -6
  243. package/dist/chunks/{repository-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  244. package/dist/chunks/{repository-tq3hxdpy.js → file-mutation-tx71xht9.js} +45 -45
  245. package/dist/chunks/{repository-6vjnk7fh.js → file-mutation-v1q7vfww.js} +9 -9
  246. package/dist/chunks/{repository-17y9e0xf.js → file-mutation-v3wxxz2a.js} +7 -7
  247. package/dist/chunks/{repository-d3j72vaa.js → file-mutation-v4c6wwdp.js} +7 -7
  248. package/dist/chunks/{repository-jfkc9b5n.js → file-mutation-v68haqbh.js} +2 -2
  249. package/dist/chunks/{repository-asn1qnte.js → file-mutation-ve6nm2s5.js} +6 -6
  250. package/dist/chunks/{repository-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  251. package/dist/chunks/{repository-bajakh74.js → file-mutation-vkxpz7g2.js} +4 -4
  252. package/dist/chunks/{repository-5a7jwez6.js → file-mutation-vtrt0ewb.js} +35 -35
  253. package/dist/chunks/{repository-343vvr6y.js → file-mutation-vvcwpm63.js} +13 -13
  254. package/dist/chunks/{repository-e2q75spx.js → file-mutation-vw3mnqj9.js} +18 -18
  255. package/dist/chunks/{repository-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{repository-1ck6d65j.js → file-mutation-w1rhahvp.js} +11 -11
  257. package/dist/chunks/{repository-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{repository-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  259. package/dist/chunks/{repository-dk4nfg5s.js → file-mutation-wf5akpyb.js} +10 -10
  260. package/dist/chunks/{repository-nkdjhhay.js → file-mutation-wwdjya87.js} +32 -32
  261. package/dist/chunks/{repository-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{repository-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{repository-esj243wz.js → file-mutation-xhmq8qgk.js} +9 -9
  264. package/dist/chunks/{repository-1mr1b0wr.js → file-mutation-xnvnravs.js} +28 -28
  265. package/dist/chunks/{repository-8j0ymjpm.js → file-mutation-xrhv95d6.js} +20 -20
  266. package/dist/chunks/{repository-yw2dvzw4.js → file-mutation-xxhb5m41.js} +9 -9
  267. package/dist/chunks/{repository-m06pgbf8.js → file-mutation-y14xz5fd.js} +24 -24
  268. package/dist/chunks/{repository-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{repository-0chgf8x9.js → file-mutation-y6b78k7r.js} +43 -43
  270. package/dist/chunks/{repository-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  271. package/dist/chunks/{repository-q9y68wbv.js → file-mutation-y7kh6pdy.js} +6 -6
  272. package/dist/chunks/{repository-ab1rm27r.js → file-mutation-yakg16c7.js} +14 -14
  273. package/dist/chunks/{repository-b17kd43r.js → file-mutation-yhd29gma.js} +4 -4
  274. package/dist/chunks/{repository-2a4f6v5q.js → file-mutation-yhgxvs9m.js} +5 -5
  275. package/dist/chunks/file-mutation-ymkfqb6w.js +247 -0
  276. package/dist/chunks/{repository-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{repository-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{repository-6kgdg5m2.js → file-mutation-ywt3z907.js} +15 -15
  279. package/dist/chunks/{repository-919rdka5.js → file-mutation-yymb8v2v.js} +18 -18
  280. package/dist/chunks/{repository-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-tz4n1mmd.js → file-mutation-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{repository-wg3j617h.js → file-mutation-zd95htgz.js} +7 -7
  283. package/dist/chunks/{repository-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{repository-rm2yqhr0.js → file-mutation-zhedf7h9.js} +19 -19
  285. package/dist/chunks/{repository-fz21q8me.js → file-mutation-zn4kggxy.js} +4 -4
  286. package/dist/chunks/{repository-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{repository-jz8tty61.js → file-mutation-zrz3rv3v.js} +15 -15
  288. package/dist/chunks/{repository-w68crq9a.js → file-mutation-zxcqb81j.js} +24 -24
  289. package/dist/chunks/{repository-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +3 -3
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +153 -153
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +115 -115
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +361 -361
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +88 -88
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +93 -93
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +78 -78
  429. package/dist/generate.js +93 -93
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +86 -86
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +108 -108
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +115 -115
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +115 -115
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +2 -2
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +110 -110
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +84 -84
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +147 -147
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +119 -119
  631. package/dist/tool/plugin/edit.js +113 -113
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +114 -114
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +101 -101
  644. package/dist/tool/plugin/write.js +111 -111
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +2 -2
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +5 -5
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +89 -89
  687. package/package.json +8 -8
  688. package/dist/chunks/repository-4yk32cn1.js +0 -22
  689. package/dist/chunks/repository-dxj72tfx.js +0 -18
  690. package/dist/chunks/repository-gxcjkrww.js +0 -462
  691. package/dist/chunks/repository-p9zbhqep.js +0 -247
  692. package/dist/chunks/repository-qtvmxc8s.js +0 -4
  693. /package/dist/chunks/{repository-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{repository-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{repository-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{repository-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{repository-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{repository-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{repository-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{repository-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{repository-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{repository-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  703. /package/dist/chunks/{repository-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{repository-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{repository-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{repository-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{repository-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{repository-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{repository-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{repository-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  711. /package/dist/chunks/{repository-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{repository-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  713. /package/dist/chunks/{repository-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{repository-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{repository-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  716. /package/dist/chunks/{repository-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{repository-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{repository-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  719. /package/dist/chunks/{repository-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{repository-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{repository-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{repository-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{repository-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{repository-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{repository-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{repository-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{repository-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{repository-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{repository-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{repository-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{repository-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{repository-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{repository-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{repository-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  735. /package/dist/chunks/{repository-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{repository-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{repository-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{repository-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{repository-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{repository-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{repository-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{repository-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{repository-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{repository-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{repository-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{repository-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{repository-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  748. /package/dist/chunks/{repository-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{repository-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  750. /package/dist/chunks/{repository-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{repository-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  752. /package/dist/chunks/{repository-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{repository-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{repository-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{repository-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{repository-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{repository-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{repository-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{repository-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{repository-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{repository-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{repository-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{repository-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{repository-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{repository-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{repository-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{repository-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{repository-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{repository-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{repository-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{repository-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{repository-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{repository-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{repository-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{repository-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{repository-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{repository-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{repository-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  779. /package/dist/chunks/{repository-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{repository-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{repository-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{repository-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{repository-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./repository-xqpzppg3.js";
3
+ } from "./file-mutation-c19c6034.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./repository-1mr1b0wr.js";
6
+ Event20
7
+ } from "./file-mutation-xnvnravs.js";
8
8
  import {
9
- ID11,
9
+ ID16,
10
10
  MethodID2
11
- } from "./repository-0n0mhreg.js";
11
+ } from "./file-mutation-m0c4px45.js";
12
12
  import {
13
- ID6,
13
+ ID15,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./repository-fy497h6e.js";
16
+ } from "./file-mutation-dt849bc4.js";
17
17
  import {
18
- ID4,
19
- Input14,
18
+ ID3,
19
+ Input13,
20
20
  Response2
21
- } from "./repository-wny5a0c2.js";
21
+ } from "./file-mutation-k0qa26hr.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID11.make("opencode"),
57
+ integrationID: ID16.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID11.make("opencode");
128
+ provider.integrationID = ID16.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID6.opencode);
191
+ const item = catalog.provider.get(ID15.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info19
5
- } from "./repository-fy497h6e.js";
4
+ Info30
5
+ } from "./file-mutation-dt849bc4.js";
6
6
  import {
7
- Info18
8
- } from "./repository-hc5nrc85.js";
7
+ Info29
8
+ } from "./file-mutation-34wjyeek.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./repository-xqpzppg3.js";
12
+ } from "./file-mutation-c19c6034.js";
13
13
  import {
14
14
  create3
15
- } from "./repository-kg06axw8.js";
15
+ } from "./file-mutation-kg06axw8.js";
16
16
  import {
17
- ID11,
18
- Service62,
19
- node66
20
- } from "./repository-0n0mhreg.js";
17
+ ID16,
18
+ Service76,
19
+ node81
20
+ } from "./file-mutation-m0c4px45.js";
21
21
  import {
22
22
  __export
23
- } from "./repository-9rqn6x4v.js";
23
+ } from "./file-mutation-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event8,
30
- Service: () => Service49,
31
- node: () => node52
29
+ Event: () => Event16,
30
+ Service: () => Service65,
31
+ node: () => node68
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event8 } from "@opencode/schema/catalog";
36
+ import { Event as Event16 } from "@opencode/schema/catalog";
37
37
 
38
- class Service49 extends Context.Service()("@opencode/Catalog") {
38
+ class Service65 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service49, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service62;
42
+ const integrations = yield* Service76;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info19.empty(providerID),
76
+ provider: Info30.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info19.empty(providerID),
94
+ provider: Info30.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info18.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID11.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID16.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service49.of(result);
188
+ return Service65.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node52 = makeLocationNode({ service: Service49, layer, deps: [node84, node66] });
191
+ var node68 = makeLocationNode({ service: Service65, layer, deps: [node84, node81] });
192
192
 
193
- export { Service49, node52, exports_catalog2, Event8 };
193
+ export { Service65, node68, exports_catalog2, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./repository-xqpzppg3.js";
4
+ } from "./file-mutation-c19c6034.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./repository-z399x6eb.js";
6
+ Service69,
7
+ node73
8
+ } from "./file-mutation-thm2xcas.js";
9
9
  import {
10
- ID15
11
- } from "./repository-qtvmxc8s.js";
10
+ ID4
11
+ } from "./file-mutation-6kdq0pjd.js";
12
12
  import {
13
- Service72,
13
+ Service59,
14
14
  login2,
15
- node76
16
- } from "./repository-rm2yqhr0.js";
15
+ node62
16
+ } from "./file-mutation-zhedf7h9.js";
17
17
  import {
18
18
  lazy2
19
- } from "./repository-88xbtdfr.js";
19
+ } from "./file-mutation-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./repository-9rqn6x4v.js";
22
+ } from "./file-mutation-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event19,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info29,
31
- NotFoundError: () => NotFoundError9,
30
+ Info: () => Info4,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service71,
33
+ Service: () => Service16,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node75
35
+ node: () => node20
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event19 } from "@opencode/schema/pty";
40
+ import { Event as Event4 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info29 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info4 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError9 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID15
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID15
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service71 extends Context.Service()("@opencode/Pty") {
58
+ class Service16 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service71, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service76;
63
- const shell = yield* Service72;
62
+ const location = yield* Service69;
63
+ const shell = yield* Service59;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError9({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID15.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service71.of({ list, get, create, update, remove, write, attach });
271
+ return Service16.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node75 = makeLocationNode({
274
- service: Service71,
273
+ var node20 = makeLocationNode({
274
+ service: Service16,
275
275
  layer,
276
- deps: [node84, node81, node76]
276
+ deps: [node84, node73, node62]
277
277
  });
278
278
 
279
- export { Info29, CreateInput3, UpdateInput2, NotFoundError9, ExitedError2, Service71, node75, exports_pty, Event19 };
279
+ export { Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node20, exports_pty, Event4 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service56
3
- } from "./repository-c5ws0z31.js";
2
+ Service54
3
+ } from "./file-mutation-7r2070ss.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./repository-4vcrnpx2.js";
7
+ } from "./file-mutation-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./repository-3v8g72cx.js";
10
+ } from "./file-mutation-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input3,
19
+ Input: () => Input5,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin3,
22
+ Plugin: () => Plugin7,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name3
27
+ name: () => name5
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name3 = "webfetch";
33
+ var name5 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input3 = Schema.Struct({
41
+ var Input5 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input3.fields.format,
51
+ format: Input5.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin3 = {
95
+ var Plugin7 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service56;
99
+ const permission = yield* Service54;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name3,
101
+ name: name5,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input3,
103
+ description: description4,
104
+ input: Input5,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin3 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name3,
112
+ action: name5,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin3, extractTextFromHTML2, exports_webfetch };
170
+ export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin7, extractTextFromHTML2, exports_webfetch };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./repository-fy497h6e.js";
4
+ } from "./file-mutation-dt849bc4.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-9rqn6x4v.js";
7
+ } from "./file-mutation-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./repository-8p4f9s12.js";
6
+ } from "./file-mutation-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service80
3
- } from "./repository-bragb0zt.js";
3
+ } from "./file-mutation-dpje9hvt.js";
4
4
  import {
5
5
  Service79
6
- } from "./repository-xqpzppg3.js";
6
+ } from "./file-mutation-c19c6034.js";
7
7
  import {
8
- Service37
9
- } from "./repository-asn1qnte.js";
8
+ Service43
9
+ } from "./file-mutation-ve6nm2s5.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./repository-fxbjtjnd.js";
12
+ } from "./file-mutation-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./repository-gftt206x.js";
15
+ } from "./file-mutation-gftt206x.js";
16
16
  import {
17
- NotFoundError5,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./repository-6vjnk7fh.js";
23
+ } from "./file-mutation-v1q7vfww.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./repository-ec1grn59.js";
26
+ } from "./file-mutation-ec1grn59.js";
27
27
  import {
28
- Service57
29
- } from "./repository-ppr425jm.js";
28
+ Service56
29
+ } from "./file-mutation-ak7my4zs.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service36
34
- } from "./repository-919rdka5.js";
33
+ Service42
34
+ } from "./file-mutation-yymb8v2v.js";
35
35
  import {
36
- Service34
37
- } from "./repository-5a7jwez6.js";
36
+ Service40
37
+ } from "./file-mutation-vtrt0ewb.js";
38
38
  import {
39
39
  prepare2
40
- } from "./repository-ha2ymhej.js";
40
+ } from "./file-mutation-587k4qqh.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./repository-5qp0xphp.js";
45
+ } from "./file-mutation-g56g034v.js";
46
46
  import {
47
47
  start2
48
- } from "./repository-d1yx4qwh.js";
48
+ } from "./file-mutation-9g0zx7x8.js";
49
49
  import {
50
50
  get4
51
- } from "./repository-w48xm36n.js";
51
+ } from "./file-mutation-en460j1e.js";
52
52
  import {
53
53
  __export
54
- } from "./repository-9rqn6x4v.js";
54
+ } from "./file-mutation-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service57;
69
- const instances = yield* Service37;
70
- const execution = yield* Service34;
71
- const admission = yield* Service36;
68
+ const store = yield* Service56;
69
+ const instances = yield* Service43;
70
+ const execution = yield* Service40;
71
+ const admission = yield* Service42;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError5({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -127,7 +127,7 @@ var make13 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make13 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info12
10
+ Info: () => Info17
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info12, exports_formatter3 };
21
+ export { Entry3, Info17, exports_formatter3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};