@opencode/core 0.0.0-dev-19511 → 0.0.0-dev-19512

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +72 -72
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{project-n5qsk9dt.js → persistent-pty-048g18x0.js} +12 -12
  9. package/dist/chunks/{project-2bj8tynh.js → persistent-pty-09s1qc9w.js} +4 -4
  10. package/dist/chunks/{project-e9ngbr94.js → persistent-pty-09xfy49k.js} +25 -25
  11. package/dist/chunks/{project-2etzwqq0.js → persistent-pty-0bttyzvt.js} +6 -6
  12. package/dist/chunks/{project-x8gz1y8e.js → persistent-pty-0h54jqbs.js} +8 -8
  13. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  14. package/dist/chunks/{project-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{project-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{project-k8p4hbnm.js → persistent-pty-0zp474g4.js} +7 -7
  17. package/dist/chunks/{project-fjhcf7g9.js → persistent-pty-16ha7j0n.js} +2 -2
  18. package/dist/chunks/{project-2qmj82d1.js → persistent-pty-16qkbgjp.js} +44 -44
  19. package/dist/chunks/{project-4p1ga2js.js → persistent-pty-1bvxxf6d.js} +7 -7
  20. package/dist/chunks/{project-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{project-kcyhewq8.js → persistent-pty-1qfpcee2.js} +9 -9
  22. package/dist/chunks/{project-6597xj7n.js → persistent-pty-1tfjzybb.js} +7 -7
  23. package/dist/chunks/{project-7h2z3prw.js → persistent-pty-1vg6t9wt.js} +43 -43
  24. package/dist/chunks/{project-128jwkd9.js → persistent-pty-1wfat45j.js} +11 -11
  25. package/dist/chunks/{project-hdz1sw8x.js → persistent-pty-1z7a71ya.js} +11 -11
  26. package/dist/chunks/persistent-pty-21jpq35a.js +247 -0
  27. package/dist/chunks/{project-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  28. package/dist/chunks/{project-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  29. package/dist/chunks/{project-getxn4jm.js → persistent-pty-24cfyjnk.js} +13 -13
  30. package/dist/chunks/{project-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
  31. package/dist/chunks/{project-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{project-fhvnb7q8.js → persistent-pty-2derpj9y.js} +25 -25
  33. package/dist/chunks/{project-xbmcec40.js → persistent-pty-2ve45fd6.js} +2 -2
  34. package/dist/chunks/{project-41v07cqx.js → persistent-pty-3251az8d.js} +9 -9
  35. package/dist/chunks/{project-3dv0dhzr.js → persistent-pty-36m3rdv1.js} +83 -83
  36. package/dist/chunks/{project-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{project-rk0v45j3.js → persistent-pty-3g8cchxn.js} +22 -22
  38. package/dist/chunks/{project-1vtpe7zb.js → persistent-pty-3g8f6v0w.js} +2 -2
  39. package/dist/chunks/{project-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{project-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{project-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{project-j84bzan4.js → persistent-pty-3zaatfj6.js} +36 -36
  43. package/dist/chunks/{project-qqjjzdpg.js → persistent-pty-40b8r03t.js} +47 -47
  44. package/dist/chunks/{project-m5gdw33a.js → persistent-pty-4786se8r.js} +1 -1
  45. package/dist/chunks/{project-msgqzgez.js → persistent-pty-485fr60v.js} +13 -13
  46. package/dist/chunks/{project-fys1mhb0.js → persistent-pty-4jgfcj8t.js} +10 -10
  47. package/dist/chunks/{project-v9kqwjfa.js → persistent-pty-4rrnbjgb.js} +32 -32
  48. package/dist/chunks/{project-4y66k410.js → persistent-pty-4y66k410.js} +2 -2
  49. package/dist/chunks/{project-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
  50. package/dist/chunks/{project-rtdy2j7k.js → persistent-pty-5aengpdy.js} +11 -11
  51. package/dist/chunks/{project-2wgpvvmt.js → persistent-pty-5b4hr3cy.js} +11 -11
  52. package/dist/chunks/{project-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  53. package/dist/chunks/{project-tb99n96z.js → persistent-pty-5sam3g36.js} +29 -29
  54. package/dist/chunks/{project-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{project-669tq793.js → persistent-pty-669tq793.js} +1 -1
  56. package/dist/chunks/{project-1nypc09g.js → persistent-pty-6fa65h3x.js} +18 -18
  57. package/dist/chunks/{project-cdkak6c5.js → persistent-pty-6jzp287t.js} +22 -22
  58. package/dist/chunks/{project-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  59. package/dist/chunks/{project-xttm4980.js → persistent-pty-6phyce8p.js} +25 -25
  60. package/dist/chunks/{project-svxygcjw.js → persistent-pty-6tsg30fm.js} +2 -2
  61. package/dist/chunks/{project-gf79vf69.js → persistent-pty-6tt5evqq.js} +4 -4
  62. package/dist/chunks/{project-g7xq9dq6.js → persistent-pty-7083wxq8.js} +13 -13
  63. package/dist/chunks/{project-h943hffx.js → persistent-pty-715qt4bx.js} +11 -11
  64. package/dist/chunks/{project-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
  65. package/dist/chunks/{project-3yjg5mh2.js → persistent-pty-721tb84k.js} +3 -3
  66. package/dist/chunks/{project-1w0xs9z0.js → persistent-pty-798sgk8w.js} +9 -9
  67. package/dist/chunks/{project-pncxwfjb.js → persistent-pty-79dr9dve.js} +15 -15
  68. package/dist/chunks/{project-pa8pe2x7.js → persistent-pty-7b15y959.js} +4 -4
  69. package/dist/chunks/{project-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{project-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{project-cx98cjrt.js → persistent-pty-7j422xf6.js} +4 -4
  72. package/dist/chunks/{project-syn9s4ck.js → persistent-pty-7m2yq395.js} +32 -32
  73. package/dist/chunks/{project-81swgkk7.js → persistent-pty-81swgkk7.js} +2 -2
  74. package/dist/chunks/{project-z40tgwd8.js → persistent-pty-82xjv89z.js} +9 -9
  75. package/dist/chunks/{project-5v6xbca9.js → persistent-pty-89b9anhp.js} +153 -153
  76. package/dist/chunks/{project-yh49gxee.js → persistent-pty-8a0b7fze.js} +4 -4
  77. package/dist/chunks/{project-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{project-s36sm4ep.js → persistent-pty-8nz98mka.js} +31 -31
  79. package/dist/chunks/{project-dj2t23y0.js → persistent-pty-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{project-1qg96azw.js → persistent-pty-8qbgjw8c.js} +11 -11
  81. package/dist/chunks/{project-tk07mxne.js → persistent-pty-915t83ht.js} +11 -11
  82. package/dist/chunks/{project-vjazvx2w.js → persistent-pty-93z8j3q2.js} +20 -20
  83. package/dist/chunks/{project-2xnqg3kz.js → persistent-pty-96q9j7dw.js} +10 -10
  84. package/dist/chunks/{project-by1fd37v.js → persistent-pty-9c4d1d9h.js} +18 -18
  85. package/dist/chunks/{project-3ymzj6fs.js → persistent-pty-9d8v8ke2.js} +8 -8
  86. package/dist/chunks/{project-03byqthe.js → persistent-pty-9dzcd8j5.js} +39 -39
  87. package/dist/chunks/{project-wx9wy1qm.js → persistent-pty-9gyd2w40.js} +1 -1
  88. package/dist/chunks/{project-havt8zv8.js → persistent-pty-9m4vma00.js} +32 -32
  89. package/dist/chunks/{project-9jmfdv3c.js → persistent-pty-9pf502c0.js} +10 -10
  90. package/dist/chunks/{project-xse6m6qk.js → persistent-pty-9z5caz15.js} +35 -35
  91. package/dist/chunks/{project-hs9cbhjh.js → persistent-pty-a0v04wpe.js} +27 -27
  92. package/dist/chunks/{project-5c4hm403.js → persistent-pty-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{project-yptvf0vj.js → persistent-pty-a2p6xxeh.js} +16 -16
  94. package/dist/chunks/{project-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{project-c5c0bz0t.js → persistent-pty-aeb4sny1.js} +5 -5
  96. package/dist/chunks/{project-k79tzb9n.js → persistent-pty-af4kcksd.js} +9 -9
  97. package/dist/chunks/{project-rmtkxqwx.js → persistent-pty-ag6663bn.js} +7 -7
  98. package/dist/chunks/{project-hmz9dp0k.js → persistent-pty-agfns39k.js} +5 -5
  99. package/dist/chunks/{project-a7h8je70.js → persistent-pty-ahrdm3aj.js} +17 -17
  100. package/dist/chunks/{project-30b4p980.js → persistent-pty-akt3csds.js} +11 -11
  101. package/dist/chunks/{project-pmr4s4kc.js → persistent-pty-an7cqtb7.js} +4 -4
  102. package/dist/chunks/{project-8vyszhxq.js → persistent-pty-ap9dfpx5.js} +7 -7
  103. package/dist/chunks/{project-06brqfbk.js → persistent-pty-aqqyz78k.js} +17 -17
  104. package/dist/chunks/{project-9bf6jj70.js → persistent-pty-awk4bmnf.js} +30 -30
  105. package/dist/chunks/{project-ndgqx56h.js → persistent-pty-azs2rc3z.js} +4 -4
  106. package/dist/chunks/{project-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{project-vnb6p14m.js → persistent-pty-b7skc9aj.js} +13 -13
  108. package/dist/chunks/{project-9gdc11pm.js → persistent-pty-b8c6h3xb.js} +23 -23
  109. package/dist/chunks/{project-3c1tgrea.js → persistent-pty-b99w0g26.js} +6 -6
  110. package/dist/chunks/{project-t0d6gkvd.js → persistent-pty-bby00dsd.js} +8 -8
  111. package/dist/chunks/{project-r4a4h3h4.js → persistent-pty-bem6a6z8.js} +15 -15
  112. package/dist/chunks/{project-d643ey3h.js → persistent-pty-bj0ze64x.js} +13 -13
  113. package/dist/chunks/{project-9bb2zzrg.js → persistent-pty-brv6cq0s.js} +22 -22
  114. package/dist/chunks/{project-cgjzvrd1.js → persistent-pty-bwtw07rb.js} +4 -4
  115. package/dist/chunks/{project-rrzxexy0.js → persistent-pty-c7zg7x3c.js} +33 -33
  116. package/dist/chunks/{project-ktxw75tm.js → persistent-pty-cbth7jfa.js} +17 -17
  117. package/dist/chunks/{project-qvf77yps.js → persistent-pty-cd3bxnjg.js} +9 -9
  118. package/dist/chunks/{project-m0jqrx5p.js → persistent-pty-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{project-2vs2nh1n.js → persistent-pty-cxmh4q5b.js} +4 -4
  120. package/dist/chunks/{project-bvm1hg5c.js → persistent-pty-cza9j1er.js} +1 -1
  121. package/dist/chunks/{project-9n42172b.js → persistent-pty-d62yrf5j.js} +26 -26
  122. package/dist/chunks/{project-2f0bjgcj.js → persistent-pty-d87ppnb3.js} +5 -5
  123. package/dist/chunks/{project-ag81pwzz.js → persistent-pty-d9dst3t3.js} +12 -12
  124. package/dist/chunks/{project-fn3pntxg.js → persistent-pty-d9tj6f20.js} +27 -27
  125. package/dist/chunks/{project-eraanh1f.js → persistent-pty-da6kr1wx.js} +6 -6
  126. package/dist/chunks/{project-1y3t80aq.js → persistent-pty-dh6431a9.js} +3 -3
  127. package/dist/chunks/{project-1tjc281v.js → persistent-pty-dmpt8hns.js} +5 -5
  128. package/dist/chunks/{project-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{project-8e2hps12.js → persistent-pty-dr4h96fj.js} +30 -30
  130. package/dist/chunks/{project-k0c7x7cv.js → persistent-pty-dw1fjyb0.js} +1 -1
  131. package/dist/chunks/{project-936n54ck.js → persistent-pty-e17bkqjz.js} +1 -1
  132. package/dist/chunks/{project-sgjjsjgk.js → persistent-pty-e2ztegh1.js} +25 -25
  133. package/dist/chunks/{project-ce6x2zr0.js → persistent-pty-ea8nv0r7.js} +2 -2
  134. package/dist/chunks/{project-p44d8wdy.js → persistent-pty-ead3g9p8.js} +5 -5
  135. package/dist/chunks/{project-180kq3wy.js → persistent-pty-ehm2a07j.js} +11 -11
  136. package/dist/chunks/{project-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{project-fmsmdavp.js → persistent-pty-evnp26tg.js} +24 -24
  138. package/dist/chunks/{project-h9jj2pmn.js → persistent-pty-ewyrcxn4.js} +20 -20
  139. package/dist/chunks/{project-1p3xnr7f.js → persistent-pty-f1weefa4.js} +15 -15
  140. package/dist/chunks/{project-hdnk95c8.js → persistent-pty-f828m53h.js} +2 -2
  141. package/dist/chunks/{project-17f7730q.js → persistent-pty-fbbdr9rn.js} +13 -13
  142. package/dist/chunks/{project-d0acstaf.js → persistent-pty-fm8jr0de.js} +46 -46
  143. package/dist/chunks/{project-3gtmxc06.js → persistent-pty-fsxrvzy1.js} +5 -5
  144. package/dist/chunks/{project-at6fsfad.js → persistent-pty-ftnt8sm4.js} +14 -14
  145. package/dist/chunks/{project-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{project-z4h22pxa.js → persistent-pty-fzex66xc.js} +13 -13
  147. package/dist/chunks/{project-x71d43dg.js → persistent-pty-g14zqp48.js} +4 -4
  148. package/dist/chunks/{project-0jzgk3xk.js → persistent-pty-g36znxke.js} +17 -17
  149. package/dist/chunks/{project-9z0604wv.js → persistent-pty-g5d5n1kd.js} +48 -48
  150. package/dist/chunks/{project-4qw9jy8s.js → persistent-pty-g640k70z.js} +6 -6
  151. package/dist/chunks/{project-0jrfp098.js → persistent-pty-gc9axj16.js} +7 -7
  152. package/dist/chunks/{project-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{project-3592630s.js → persistent-pty-ggsyc5qm.js} +6 -6
  154. package/dist/chunks/{project-jmz50v4a.js → persistent-pty-gngnamge.js} +16 -16
  155. package/dist/chunks/{project-rm2yqhr0.js → persistent-pty-grfax6bg.js} +19 -19
  156. package/dist/chunks/{project-gnh4rmrp.js → persistent-pty-gtn38wb9.js} +10 -10
  157. package/dist/chunks/{project-th5km1p3.js → persistent-pty-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{project-9qfkze9a.js → persistent-pty-gvjc4wvc.js} +12 -12
  159. package/dist/chunks/{project-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{project-nh3r2c9y.js → persistent-pty-h14ne9sf.js} +6 -6
  161. package/dist/chunks/{project-e6jkap1f.js → persistent-pty-h1cbn5my.js} +4 -4
  162. package/dist/chunks/{project-f79y50b7.js → persistent-pty-h4epa83b.js} +21 -21
  163. package/dist/chunks/{project-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{project-xmqchchm.js → persistent-pty-hapv3ekj.js} +18 -18
  165. package/dist/chunks/{project-k18waxcd.js → persistent-pty-hce77wk0.js} +31 -31
  166. package/dist/chunks/{project-vyqn3nqs.js → persistent-pty-hdzt82x2.js} +4 -4
  167. package/dist/chunks/{project-yyb6d1pw.js → persistent-pty-hgg7tghe.js} +15 -15
  168. package/dist/chunks/{project-h0n6hk95.js → persistent-pty-hhd62ded.js} +7 -7
  169. package/dist/chunks/{project-485wz5ap.js → persistent-pty-hjnk9kpc.js} +85 -85
  170. package/dist/chunks/{project-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
  171. package/dist/chunks/{project-9502mm2y.js → persistent-pty-hjvca3k7.js} +34 -34
  172. package/dist/chunks/{project-gsbm691j.js → persistent-pty-hkvp06w1.js} +30 -30
  173. package/dist/chunks/{project-rsdf2nvv.js → persistent-pty-hrndf12w.js} +4 -4
  174. package/dist/chunks/{project-ht5y0zrb.js → persistent-pty-ht5y0zrb.js} +1 -1
  175. package/dist/chunks/{project-qqmxp0w7.js → persistent-pty-hzez76ws.js} +14 -14
  176. package/dist/chunks/{project-g30z4c76.js → persistent-pty-j29g5m16.js} +9 -9
  177. package/dist/chunks/{project-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  178. package/dist/chunks/{project-1rhhxb2c.js → persistent-pty-j6ehekt9.js} +26 -26
  179. package/dist/chunks/{project-0mqws7ma.js → persistent-pty-j7ne0kvx.js} +26 -26
  180. package/dist/chunks/{project-paphc93g.js → persistent-pty-j935v87r.js} +2 -2
  181. package/dist/chunks/{project-82kwe8pc.js → persistent-pty-jbp58yvw.js} +8 -8
  182. package/dist/chunks/{project-jcbnna01.js → persistent-pty-jeanpfns.js} +1 -1
  183. package/dist/chunks/{project-x2q7kmg1.js → persistent-pty-jfbv0dxj.js} +8 -8
  184. package/dist/chunks/{project-t2fc4mz5.js → persistent-pty-jfqtm2ew.js} +4 -4
  185. package/dist/chunks/{project-74t57acv.js → persistent-pty-jgwaxhte.js} +9 -9
  186. package/dist/chunks/{project-cg9cg68q.js → persistent-pty-jhp2p10f.js} +9 -9
  187. package/dist/chunks/{project-magykp64.js → persistent-pty-jr3tywxk.js} +21 -21
  188. package/dist/chunks/{project-vsrns1zn.js → persistent-pty-k0nnq3t9.js} +6 -6
  189. package/dist/chunks/{project-3hzqgt9w.js → persistent-pty-k7t3n1wc.js} +20 -20
  190. package/dist/chunks/{project-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  191. package/dist/chunks/{project-kkaqcpw4.js → persistent-pty-khxf73f1.js} +18 -18
  192. package/dist/chunks/{project-49z946gs.js → persistent-pty-knzb2q45.js} +11 -11
  193. package/dist/chunks/{project-z9p65wfg.js → persistent-pty-kp4m38ba.js} +40 -40
  194. package/dist/chunks/{project-tz0jyenk.js → persistent-pty-kq4dwxxq.js} +10 -10
  195. package/dist/chunks/{project-tfwap27p.js → persistent-pty-kt5w8vxh.js} +10 -10
  196. package/dist/chunks/persistent-pty-m4pp9rhr.js +462 -0
  197. package/dist/chunks/{project-nk6256zg.js → persistent-pty-m7y3f53v.js} +4 -4
  198. package/dist/chunks/{project-ywkfy99j.js → persistent-pty-m86bnw2c.js} +9 -9
  199. package/dist/chunks/{project-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{project-dez563yv.js → persistent-pty-mk8mwmng.js} +40 -40
  201. package/dist/chunks/{project-y80gd2k5.js → persistent-pty-n33yzhyc.js} +21 -21
  202. package/dist/chunks/{project-da239ya3.js → persistent-pty-n3h5xxke.js} +25 -25
  203. package/dist/chunks/{project-4jct13es.js → persistent-pty-n63a0fh6.js} +16 -16
  204. package/dist/chunks/{project-hnr5yq9h.js → persistent-pty-nadg9pcd.js} +5 -5
  205. package/dist/chunks/{project-cpa9365v.js → persistent-pty-njr070nn.js} +23 -23
  206. package/dist/chunks/{project-7j92jdde.js → persistent-pty-nw2nz702.js} +4 -4
  207. package/dist/chunks/{project-p60kmaay.js → persistent-pty-p8wqtd46.js} +66 -66
  208. package/dist/chunks/{project-mm16nfvn.js → persistent-pty-p9km1gz3.js} +30 -30
  209. package/dist/chunks/persistent-pty-pcc2jen2.js +22 -0
  210. package/dist/chunks/{project-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{project-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  212. package/dist/chunks/{project-6f2gh7ng.js → persistent-pty-pns73tnr.js} +1 -1
  213. package/dist/chunks/{project-61pd2xsr.js → persistent-pty-q382xdnw.js} +29 -29
  214. package/dist/chunks/{project-fqj9nv8j.js → persistent-pty-qm7jrdpz.js} +8 -8
  215. package/dist/chunks/{project-6vc8p3va.js → persistent-pty-qmy7xtej.js} +1 -1
  216. package/dist/chunks/{project-zaah75v1.js → persistent-pty-qp6756r8.js} +22 -22
  217. package/dist/chunks/{project-by3d5382.js → persistent-pty-qq65p8vg.js} +11 -11
  218. package/dist/chunks/{project-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  219. package/dist/chunks/{project-r33ff4dw.js → persistent-pty-qz49fwgp.js} +4 -4
  220. package/dist/chunks/{project-j028xdjb.js → persistent-pty-r5x6zcsm.js} +3 -3
  221. package/dist/chunks/{project-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
  222. package/dist/chunks/{project-1gsa2cck.js → persistent-pty-radr3yff.js} +18 -18
  223. package/dist/chunks/{project-wa8w638y.js → persistent-pty-rd2nkd0p.js} +13 -13
  224. package/dist/chunks/{project-g4e9nbcn.js → persistent-pty-rvz6msw0.js} +13 -13
  225. package/dist/chunks/{project-352w66m8.js → persistent-pty-rzn68cdd.js} +9 -9
  226. package/dist/chunks/{project-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
  227. package/dist/chunks/{project-crc3g98t.js → persistent-pty-s76nk363.js} +12 -12
  228. package/dist/chunks/{project-5qb16e34.js → persistent-pty-s7m2x4kt.js} +52 -52
  229. package/dist/chunks/{project-athype10.js → persistent-pty-s8d7rejh.js} +8 -8
  230. package/dist/chunks/{project-gzhexwst.js → persistent-pty-sdsmrv3v.js} +16 -16
  231. package/dist/chunks/{project-8za6t4pe.js → persistent-pty-sfxwf0ta.js} +11 -11
  232. package/dist/chunks/{project-xw98cjw1.js → persistent-pty-svskfwkh.js} +2 -2
  233. package/dist/chunks/{project-gxg7s5ax.js → persistent-pty-szbf9hj0.js} +26 -26
  234. package/dist/chunks/{project-8421cefc.js → persistent-pty-szdez07b.js} +3 -3
  235. package/dist/chunks/{project-8dnxqjce.js → persistent-pty-t8wk4avw.js} +11 -11
  236. package/dist/chunks/{project-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{project-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{project-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{project-9wsm2w7d.js → persistent-pty-tfjqyvk6.js} +4 -4
  240. package/dist/chunks/{project-0mgvehma.js → persistent-pty-tgqjfyja.js} +1 -1
  241. package/dist/chunks/{project-czc1p6ep.js → persistent-pty-tgs7p31y.js} +22 -22
  242. package/dist/chunks/{project-zp5ax0qn.js → persistent-pty-tjfw1za4.js} +11 -11
  243. package/dist/chunks/{project-7nypd6v8.js → persistent-pty-tnq3p80p.js} +11 -11
  244. package/dist/chunks/{project-dmw8ezrh.js → persistent-pty-tq94g21h.js} +3 -3
  245. package/dist/chunks/{project-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  246. package/dist/chunks/{project-gfqzzqy5.js → persistent-pty-twy35tz0.js} +5 -5
  247. package/dist/chunks/{project-mspfsrrg.js → persistent-pty-txfe9bzh.js} +43 -43
  248. package/dist/chunks/{project-k1v67f28.js → persistent-pty-tys4kk6f.js} +21 -21
  249. package/dist/chunks/{project-0kgvfrm4.js → persistent-pty-v3t9d055.js} +20 -20
  250. package/dist/chunks/{project-mxz3erqp.js → persistent-pty-va89syh5.js} +33 -33
  251. package/dist/chunks/{project-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  252. package/dist/chunks/{project-p8095ktx.js → persistent-pty-vfarjvhq.js} +9 -9
  253. package/dist/chunks/{project-4e10zhsk.js → persistent-pty-vgqed5s0.js} +29 -29
  254. package/dist/chunks/{project-c61qbbjh.js → persistent-pty-vsbkejts.js} +10 -10
  255. package/dist/chunks/{project-nvqrzj9g.js → persistent-pty-vxpy1f9m.js} +9 -9
  256. package/dist/chunks/{project-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{project-rhxfnfwf.js → persistent-pty-w39jxxw7.js} +10 -10
  258. package/dist/chunks/{project-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{project-tyy2ek0j.js → persistent-pty-w572f1ch.js} +22 -22
  260. package/dist/chunks/{project-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  261. package/dist/chunks/{project-zh3kw9jz.js → persistent-pty-wdm18wae.js} +4 -4
  262. package/dist/chunks/{project-r034a52s.js → persistent-pty-wphcxv4k.js} +16 -16
  263. package/dist/chunks/{project-v6paxmcr.js → persistent-pty-wq28fpm9.js} +29 -29
  264. package/dist/chunks/{project-s6bhfz4z.js → persistent-pty-wqc0af95.js} +26 -26
  265. package/dist/chunks/{project-0gcj0wxd.js → persistent-pty-wzk2dcjy.js} +13 -13
  266. package/dist/chunks/{project-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{project-c4ykr5r1.js → persistent-pty-x5hahj8f.js} +35 -35
  268. package/dist/chunks/{project-h1fxz2n8.js → persistent-pty-x86qc38n.js} +29 -29
  269. package/dist/chunks/{project-k266rhdn.js → persistent-pty-xf783ser.js} +24 -24
  270. package/dist/chunks/{project-3yme9dtt.js → persistent-pty-xvgh8vxx.js} +20 -20
  271. package/dist/chunks/{project-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{project-m1t0sds5.js → persistent-pty-yj8ww8v9.js} +20 -20
  273. package/dist/chunks/{project-f2n192rq.js → persistent-pty-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{project-s8fqe7jm.js → persistent-pty-ypy7xg3m.js} +25 -25
  275. package/dist/chunks/{project-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{project-7xjy9a2e.js → persistent-pty-ywnt24na.js} +11 -11
  277. package/dist/chunks/{project-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{project-8w2hbp94.js → persistent-pty-z4a9sax2.js} +3 -3
  279. package/dist/chunks/{project-vytej9g6.js → persistent-pty-zbr6jhfd.js} +24 -24
  280. package/dist/chunks/{project-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{project-5cbh0j70.js → persistent-pty-zf1fnb9x.js} +11 -11
  282. package/dist/chunks/{project-04hzg152.js → persistent-pty-znnrkdj7.js} +13 -13
  283. package/dist/chunks/{project-40zzw5vx.js → persistent-pty-znrr5g8g.js} +5 -5
  284. package/dist/chunks/{project-rm0vmy1k.js → persistent-pty-zpte1r0p.js} +8 -8
  285. package/dist/chunks/{project-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{project-pgr272tc.js → persistent-pty-zw1h157g.js} +18 -18
  287. package/dist/chunks/{project-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +4 -4
  419. package/dist/filesystem/location-watcher.js +223 -223
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +101 -101
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +70 -70
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +77 -77
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +104 -104
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +75 -75
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +103 -103
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +1 -1
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +76 -76
  554. package/dist/provider.js +3 -3
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +91 -91
  559. package/dist/reference/instructions.js +85 -85
  560. package/dist/reference.js +83 -83
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +128 -128
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +218 -218
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +85 -85
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -76
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +170 -170
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +82 -82
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +212 -212
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +103 -103
  622. package/dist/skill.js +106 -106
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +120 -120
  628. package/dist/tool/plugin/edit.js +112 -112
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +99 -99
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +109 -109
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +102 -102
  640. package/dist/tool/plugin/websearch.js +108 -108
  641. package/dist/tool/plugin/write.js +118 -118
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +83 -83
  674. package/dist/wellknown/plugin.js +75 -75
  675. package/dist/wellknown.js +80 -80
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +79 -79
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +90 -90
  684. package/package.json +8 -8
  685. package/dist/chunks/project-6kdq0pjd.js +0 -4
  686. package/dist/chunks/project-ajqyq5kb.js +0 -22
  687. package/dist/chunks/project-mpaqfvem.js +0 -247
  688. package/dist/chunks/project-yfetrmg9.js +0 -462
  689. /package/dist/chunks/{project-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{project-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{project-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{project-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{project-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{project-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{project-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{project-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{project-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{project-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  699. /package/dist/chunks/{project-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{project-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{project-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{project-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{project-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{project-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{project-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{project-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  707. /package/dist/chunks/{project-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{project-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  709. /package/dist/chunks/{project-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{project-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{project-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  712. /package/dist/chunks/{project-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{project-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{project-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  715. /package/dist/chunks/{project-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{project-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{project-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{project-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{project-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{project-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{project-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{project-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{project-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{project-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{project-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{project-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{project-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{project-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{project-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{project-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  731. /package/dist/chunks/{project-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{project-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{project-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{project-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{project-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{project-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{project-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{project-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{project-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{project-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{project-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{project-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{project-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  744. /package/dist/chunks/{project-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{project-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  746. /package/dist/chunks/{project-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{project-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  748. /package/dist/chunks/{project-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{project-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{project-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{project-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{project-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{project-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{project-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{project-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{project-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{project-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{project-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{project-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{project-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{project-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{project-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{project-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{project-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{project-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{project-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{project-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{project-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{project-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{project-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{project-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{project-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{project-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{project-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  775. /package/dist/chunks/{project-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{project-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{project-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{project-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{project-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{project-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -2,16 +2,16 @@ import {
2
2
  ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./project-x71d43dg.js";
5
+ } from "./persistent-pty-g14zqp48.js";
6
6
  import {
7
- ID14,
7
+ ID15,
8
8
  VariantID2,
9
- Info27,
9
+ Info29,
10
10
  compatibility2
11
- } from "./project-3ymzj6fs.js";
11
+ } from "./persistent-pty-9d8v8ke2.js";
12
12
  import {
13
13
  __export
14
- } from "./project-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
17
  var exports_models = {};
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID14.make(item.id);
72
+ const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID15.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info27.make({
92
- ...Info27.default(providerID, id),
91
+ return Info29.make({
92
+ ...Info29.default(providerID, id),
93
93
  id,
94
- modelID: ID14.make(remote.id),
94
+ modelID: ID15.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./persistent-pty-ywnt24na.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./project-7xjy9a2e.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./project-jmz50v4a.js";
8
+ } from "./persistent-pty-gngnamge.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./project-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./project-0q0f95c6.js";
14
+ } from "./persistent-pty-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./project-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event14,
24
- ID: () => ID7,
25
- Info: () => Info20,
26
- Key: () => Key3,
23
+ Event: () => Event19,
24
+ ID: () => ID14,
25
+ Info: () => Info28,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service62,
28
+ Service: () => Service74,
29
29
  Value: () => Value2,
30
- node: () => node65
30
+ node: () => node79
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID7 = Credential.ID;
37
+ var ID14 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event14 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info20 extends Schema.Class("Credential.Info")({
44
- id: ID7,
43
+ class Info28 extends Schema.Class("Credential.Info")({
44
+ id: ID14,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service62 extends Context.Service()("@opencode/Credential") {
51
+ class Service74 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service62, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info20({
60
+ return new Info28({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service62.of({
71
+ return Service74.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info20({
80
- id: ID7.create(),
79
+ const credential = new Info28({
80
+ id: ID14.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event14.Updated, {}, { global: true });
105
- yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event14.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event14.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node84, node83] });
196
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node84] });
197
197
 
198
- export { ID7, OAuth3, Key3, Value2, Event14, Info20, Service62, node65, exports_credential };
198
+ export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service74, node79, exports_credential };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info29
5
- } from "./project-x71d43dg.js";
4
+ Info30
5
+ } from "./persistent-pty-g14zqp48.js";
6
6
  import {
7
- Info27
8
- } from "./project-3ymzj6fs.js";
7
+ Info29
8
+ } from "./persistent-pty-9d8v8ke2.js";
9
9
  import {
10
- Service78,
11
- node83
12
- } from "./project-jmz50v4a.js";
10
+ Service79,
11
+ node84
12
+ } from "./persistent-pty-gngnamge.js";
13
13
  import {
14
14
  create3
15
- } from "./project-kg06axw8.js";
15
+ } from "./persistent-pty-kg06axw8.js";
16
16
  import {
17
- ID6,
18
- Service61,
19
- node64
20
- } from "./project-4e10zhsk.js";
17
+ ID7,
18
+ Service57,
19
+ node61
20
+ } from "./persistent-pty-vgqed5s0.js";
21
21
  import {
22
22
  __export
23
- } from "./project-9rqn6x4v.js";
23
+ } from "./persistent-pty-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: () => Event11,
30
- Service: () => Service57,
29
+ Event: () => Event12,
30
+ Service: () => Service56,
31
31
  node: () => node60
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 Event11 } from "@opencode/schema/catalog";
36
+ import { Event as Event12 } from "@opencode/schema/catalog";
37
37
 
38
- class Service57 extends Context.Service()("@opencode/Catalog") {
38
+ class Service56 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service57, Effect.gen(function* () {
41
- const bus = yield* Service78;
42
- const integrations = yield* Service61;
40
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
41
+ const bus = yield* Service79;
42
+ const integrations = yield* Service57;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info29.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(Service57, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info29.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) ?? Info27.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(Service57, 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 ?? ID6.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service57.of(result);
188
+ return Service56.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node60 = makeLocationNode({ service: Service57, layer, deps: [node83, node64] });
191
+ var node60 = makeLocationNode({ service: Service56, layer, deps: [node84, node61] });
192
192
 
193
- export { Service57, node60, exports_catalog2, Event11 };
193
+ export { Service56, node60, exports_catalog2, Event12 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./project-6msgmcgs.js";
4
+ } from "./persistent-pty-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./project-qfa1cgps.js";
7
+ } from "./persistent-pty-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./project-dj2t23y0.js";
10
+ } from "./persistent-pty-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service78
3
- } from "./project-jmz50v4a.js";
2
+ Service79
3
+ } from "./persistent-pty-gngnamge.js";
4
4
  import {
5
5
  ID16
6
- } from "./project-x71d43dg.js";
6
+ } from "./persistent-pty-g14zqp48.js";
7
7
  import {
8
- ID14
9
- } from "./project-3ymzj6fs.js";
8
+ ID15
9
+ } from "./persistent-pty-9d8v8ke2.js";
10
10
  import {
11
- Event14
12
- } from "./project-xse6m6qk.js";
11
+ Event19
12
+ } from "./persistent-pty-9z5caz15.js";
13
13
  import {
14
- ID6
15
- } from "./project-4e10zhsk.js";
14
+ ID7
15
+ } from "./persistent-pty-vgqed5s0.js";
16
16
  import {
17
- Service57
18
- } from "./project-hs9cbhjh.js";
17
+ Service56
18
+ } from "./persistent-pty-a0v04wpe.js";
19
19
  import {
20
20
  get2
21
- } from "./project-9jmfdv3c.js";
21
+ } from "./persistent-pty-9pf502c0.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
@@ -27,8 +27,8 @@ var providerID = ID16.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service57;
31
- const bus = yield* Service78;
30
+ const catalog = yield* Service56;
31
+ const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
34
34
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID14.make(id)))
61
+ if (!loaded.models.has(ID15.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./project-2a5m3afh.js";
5
+ } from "./persistent-pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./project-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./project-eh3zwz77.js";
3
+ } from "./persistent-pty-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./project-e73j6tqm.js";
6
+ } from "./persistent-pty-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./project-3wcehsnq.js";
9
+ } from "./persistent-pty-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./project-dap0rakb.js";
12
+ } from "./persistent-pty-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./project-4y7fprxs.js";
15
+ } from "./persistent-pty-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./project-dpkg50ah.js";
3
+ } from "./persistent-pty-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./project-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node5
12
+ Service: () => Service5,
13
+ node: () => node8
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node5 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node5, exports_update };
54
+ export { Service5, node8, exports_update };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service53
4
- } from "./project-7h2z3prw.js";
3
+ Service70
4
+ } from "./persistent-pty-1vg6t9wt.js";
5
5
  import {
6
6
  __export
7
- } from "./project-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin29,
12
+ Plugin: () => Plugin38,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin29 = define({
22
+ var Plugin38 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service53;
25
+ const config = yield* Service70;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -93,4 +93,4 @@ var Plugin29 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { Plugin29, exports_warming };
96
+ export { Plugin38, exports_warming };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./project-rrzxexy0.js";
3
+ } from "./persistent-pty-c7zg7x3c.js";
4
4
  import {
5
5
  __export
6
- } from "./project-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin31
12
+ Plugin: () => Plugin41
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin31 = define({
32
+ var Plugin41 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin31, exports_plan };
109
+ export { Plugin41, exports_plan };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID12
3
- } from "./project-fn3pntxg.js";
2
+ ID13
3
+ } from "./persistent-pty-d9tj6f20.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./project-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- Info11
9
- } from "./project-1qg96azw.js";
8
+ Info25
9
+ } from "./persistent-pty-8qbgjw8c.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./project-nk6256zg.js";
12
+ } from "./persistent-pty-m7y3f53v.js";
13
13
  import {
14
14
  latest2,
15
- Service53
16
- } from "./project-7h2z3prw.js";
15
+ Service70
16
+ } from "./persistent-pty-1vg6t9wt.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./project-5daktx2q.js";
19
+ } from "./persistent-pty-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./project-9rqn6x4v.js";
22
+ } from "./persistent-pty-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin13
28
+ Plugin: () => Plugin27
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info25);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin13 = define({
47
+ var Plugin27 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service53;
50
+ const config = yield* Service70;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin13 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID12.make(configuredDefault));
79
+ editor.default(ID13.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID12.make(id);
85
+ const agentID = ID13.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin13, exports_agent };
164
+ export { Plugin27, exports_agent };