@opencode/core 0.0.0-dev-19673 → 0.0.0-dev-19674

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{form-490gc394.js → pty-005agstz.js} +19 -19
  8. package/dist/chunks/{form-26k5bknw.js → pty-06dxphr1.js} +4 -4
  9. package/dist/chunks/{form-f6hmevzm.js → pty-0bn9wq69.js} +3 -3
  10. package/dist/chunks/{form-yt0fqk68.js → pty-0f9afca0.js} +5 -5
  11. package/dist/chunks/{form-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{form-1ehkaych.js → pty-0p9dtxs1.js} +46 -46
  13. package/dist/chunks/{form-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{form-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{form-1chv122m.js → pty-0v4tm5rw.js} +36 -36
  16. package/dist/chunks/{form-fpebg25n.js → pty-0vr0cdvh.js} +10 -10
  17. package/dist/chunks/{form-9es5d59e.js → pty-0zz4rd6y.js} +15 -15
  18. package/dist/chunks/{form-nt0cntaq.js → pty-1040s6af.js} +4 -4
  19. package/dist/chunks/{form-njhqdk9p.js → pty-11dqjexa.js} +9 -9
  20. package/dist/chunks/{form-c5cawmgv.js → pty-18hqe85b.js} +11 -11
  21. package/dist/chunks/{form-r8xr0va3.js → pty-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{form-9gwp62br.js → pty-1cxhbzgd.js} +34 -34
  23. package/dist/chunks/{form-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{form-6kcmw7z7.js → pty-1frb376n.js} +10 -10
  25. package/dist/chunks/{form-qq0y10mb.js → pty-1qxk71h7.js} +31 -31
  26. package/dist/chunks/{form-cvmce7ec.js → pty-1s7za8r8.js} +20 -20
  27. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  28. package/dist/chunks/{form-ef14z6bm.js → pty-1wc8ev08.js} +11 -11
  29. package/dist/chunks/{form-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  30. package/dist/chunks/{form-21r38tys.js → pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{form-2402vzrj.js → pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{form-q63062h2.js → pty-2497c3gb.js} +32 -32
  33. package/dist/chunks/{form-f7hcv0t5.js → pty-27pm8xwp.js} +6 -6
  34. package/dist/chunks/{form-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{form-0g36tn83.js → pty-2a64njz4.js} +25 -25
  36. package/dist/chunks/{form-4rxdkz28.js → pty-2gdwawmb.js} +38 -38
  37. package/dist/chunks/{form-02w8qtn4.js → pty-2h71m0y1.js} +26 -26
  38. package/dist/chunks/{form-cpneeje0.js → pty-2sejkfem.js} +9 -9
  39. package/dist/chunks/{form-yxryw68f.js → pty-2y0fysv8.js} +65 -65
  40. package/dist/chunks/{form-ray0b3pm.js → pty-2z45ferc.js} +17 -17
  41. package/dist/chunks/{form-pzc50za5.js → pty-3a958b5j.js} +5 -5
  42. package/dist/chunks/{form-p0b4ytnr.js → pty-3b1q5j1v.js} +6 -6
  43. package/dist/chunks/{form-w7fzs9qk.js → pty-3c3dzs67.js} +20 -20
  44. package/dist/chunks/{form-48n7atp3.js → pty-3ekjvzbw.js} +24 -24
  45. package/dist/chunks/{form-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{form-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{form-qcrknf4r.js → pty-3m13cm4e.js} +25 -25
  48. package/dist/chunks/{form-wg2twdrw.js → pty-3qjwzzap.js} +13 -13
  49. package/dist/chunks/{form-cqfg3mf7.js → pty-3r43kab8.js} +32 -32
  50. package/dist/chunks/{form-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{form-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{form-d8nc1xcx.js → pty-3ythc6yv.js} +4 -4
  53. package/dist/chunks/pty-40cvr20j.js +26 -0
  54. package/dist/chunks/{form-44ke2mar.js → pty-44ke2mar.js} +2 -2
  55. package/dist/chunks/{form-7r2knygt.js → pty-4a9jgtk8.js} +38 -38
  56. package/dist/chunks/{form-5keaa817.js → pty-4bwnmqz9.js} +14 -14
  57. package/dist/chunks/{form-d55k9g75.js → pty-4st5ggns.js} +6 -6
  58. package/dist/chunks/{form-7xq5hsgn.js → pty-4wp66bzr.js} +10 -10
  59. package/dist/chunks/{form-bfkydnd4.js → pty-57ez7d0k.js} +9 -9
  60. package/dist/chunks/{form-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  61. package/dist/chunks/{form-5daktx2q.js → pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{form-pp7qxtmx.js → pty-5exzrj16.js} +104 -76
  63. package/dist/chunks/{form-jw1rkjx5.js → pty-5fyzn1g0.js} +3 -3
  64. package/dist/chunks/{form-kex729ae.js → pty-5sh9x8dt.js} +13 -13
  65. package/dist/chunks/{form-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{form-zmf4yxek.js → pty-5vfe9zkh.js} +11 -11
  67. package/dist/chunks/{form-me96najc.js → pty-63wpvyg5.js} +179 -179
  68. package/dist/chunks/{form-669tq793.js → pty-669tq793.js} +1 -1
  69. package/dist/chunks/{form-ech5h453.js → pty-6g11pzee.js} +24 -24
  70. package/dist/chunks/{form-5x2mg89e.js → pty-6kqz0sw2.js} +20 -20
  71. package/dist/chunks/{form-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{form-smn8w5fw.js → pty-6y3v0yak.js} +4 -4
  73. package/dist/chunks/{form-7n7mxp8t.js → pty-71506k9g.js} +13 -13
  74. package/dist/chunks/{form-41kmqf54.js → pty-71w766xh.js} +35 -35
  75. package/dist/chunks/{form-5zagxq5m.js → pty-736q711b.js} +22 -22
  76. package/dist/chunks/{form-j028xdjb.js → pty-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{form-bha4atvq.js → pty-7ac170kv.js} +4 -4
  78. package/dist/chunks/{form-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{form-e7nn28ya.js → pty-7tz5zdeh.js} +12 -12
  80. package/dist/chunks/{form-yw2erdgw.js → pty-850skrb0.js} +43 -42
  81. package/dist/chunks/{form-1py910mb.js → pty-87gqba2t.js} +23 -23
  82. package/dist/chunks/{form-tcezcvh9.js → pty-89znhe33.js} +4 -4
  83. package/dist/chunks/{form-74ak9fgp.js → pty-8bjgc9mz.js} +11 -11
  84. package/dist/chunks/{form-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{form-4yxk42sw.js → pty-90cw4v64.js} +20 -20
  86. package/dist/chunks/{form-j8zm7c5e.js → pty-9172rkmk.js} +4 -4
  87. package/dist/chunks/{form-q5xvhvda.js → pty-935t04zr.js} +6 -6
  88. package/dist/chunks/{form-pxs7xdf8.js → pty-972ydv8n.js} +15 -15
  89. package/dist/chunks/{form-p3pfb0eg.js → pty-97mj29ww.js} +13 -13
  90. package/dist/chunks/{form-4ey6h455.js → pty-9fday5he.js} +21 -21
  91. package/dist/chunks/{form-p37cw4rj.js → pty-9hn6k4tm.js} +8 -8
  92. package/dist/chunks/{form-0msxzen6.js → pty-9j2e64em.js} +15 -15
  93. package/dist/chunks/{form-hc71r317.js → pty-9n8fqfgq.js} +8 -8
  94. package/dist/chunks/{form-3zkkx5kj.js → pty-a3r4dcrj.js} +2 -2
  95. package/dist/chunks/{form-rx9gwjsv.js → pty-a5tya8df.js} +10 -10
  96. package/dist/chunks/{form-aaet6srn.js → pty-aaet6srn.js} +2 -2
  97. package/dist/chunks/{form-6t298p2h.js → pty-ab8cnxkj.js} +12 -12
  98. package/dist/chunks/{form-mahn52f6.js → pty-ag7cc6ae.js} +10 -10
  99. package/dist/chunks/{form-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{form-q64m8st2.js → pty-b7eb1kpf.js} +16 -16
  101. package/dist/chunks/{form-6ywb64n6.js → pty-b8tjeqry.js} +11 -11
  102. package/dist/chunks/pty-b8vveb32.js +247 -0
  103. package/dist/chunks/{form-0c8rzwj9.js → pty-bavdgngm.js} +4 -4
  104. package/dist/chunks/{form-2rm69wzy.js → pty-bbbg5gcy.js} +30 -30
  105. package/dist/chunks/{form-w7gxyz39.js → pty-bh4tknr0.js} +20 -20
  106. package/dist/chunks/{form-7rjabepb.js → pty-bhvqp75t.js} +26 -26
  107. package/dist/chunks/{form-v6bgmm6z.js → pty-bqdz6k7x.js} +11 -11
  108. package/dist/chunks/{form-xxqeaexg.js → pty-bqv8mcm8.js} +4 -4
  109. package/dist/chunks/{form-ekq8a7pk.js → pty-bv3ar4t8.js} +5 -5
  110. package/dist/chunks/{form-1c1svyyd.js → pty-bx8e55ya.js} +8 -8
  111. package/dist/chunks/{form-2a3tj3av.js → pty-bxgfab9d.js} +10 -10
  112. package/dist/chunks/{form-b97cbvw3.js → pty-bz85s9hh.js} +1 -1
  113. package/dist/chunks/{form-b8f97kt2.js → pty-cddb4mff.js} +5 -5
  114. package/dist/chunks/{form-8pp4fzpy.js → pty-ckxk042a.js} +11 -11
  115. package/dist/chunks/{form-3qesnv1p.js → pty-dc77grpk.js} +9 -9
  116. package/dist/chunks/{form-06x8he3q.js → pty-dhmh7aw6.js} +4 -4
  117. package/dist/chunks/{form-r1613th1.js → pty-dhw9tk05.js} +27 -27
  118. package/dist/chunks/{form-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  119. package/dist/chunks/{form-7s2t5wav.js → pty-dmje0bsk.js} +3 -3
  120. package/dist/chunks/{form-y71avatq.js → pty-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{form-njkvqt0e.js → pty-dxrx5bve.js} +19 -19
  122. package/dist/chunks/{form-dvg8xh0j.js → pty-e25vxe6e.js} +8 -8
  123. package/dist/chunks/{form-y08pppv8.js → pty-e2673aay.js} +16 -16
  124. package/dist/chunks/{form-1c6v2m1h.js → pty-e3yfb1af.js} +47 -47
  125. package/dist/chunks/{form-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{form-5nae8tex.js → pty-emvra4z4.js} +46 -46
  127. package/dist/chunks/{form-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{form-wn153y2n.js → pty-f0bgfh1c.js} +4 -4
  129. package/dist/chunks/{form-9na2z02n.js → pty-f3chkn2v.js} +42 -42
  130. package/dist/chunks/{form-7pvf4f7x.js → pty-fbbqv6gz.js} +43 -43
  131. package/dist/chunks/{form-0hs93vrc.js → pty-fbtpmqp8.js} +15 -15
  132. package/dist/chunks/{form-28026pp3.js → pty-ffn2kdck.js} +3 -3
  133. package/dist/chunks/{form-dgsn220j.js → pty-fj0bt93f.js} +4 -4
  134. package/dist/chunks/{form-8ytytfcy.js → pty-fm1t1259.js} +9 -9
  135. package/dist/chunks/{form-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{form-7sd8y4b9.js → pty-fy2wv845.js} +12 -12
  137. package/dist/chunks/{form-r3q6pmcz.js → pty-fzgxakwn.js} +6 -6
  138. package/dist/chunks/{form-myebtmet.js → pty-g02dc5pq.js} +17 -17
  139. package/dist/chunks/{form-0sst3ssg.js → pty-g51vc6t9.js} +83 -83
  140. package/dist/chunks/{form-b27vhd2z.js → pty-g8d3gcyj.js} +7 -7
  141. package/dist/chunks/{form-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{form-s2m3rc45.js → pty-ge5c1s9a.js} +16 -16
  143. package/dist/chunks/{form-saz9k09t.js → pty-gns6rj52.js} +11 -11
  144. package/dist/chunks/{form-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{form-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  146. package/dist/chunks/{form-nzyhnfxz.js → pty-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{form-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{form-f828m53h.js → pty-hdnk95c8.js} +2 -2
  149. package/dist/chunks/{form-7m03zbcz.js → pty-hemqm6a0.js} +13 -13
  150. package/dist/chunks/{form-fy873rr3.js → pty-hh3pbsjs.js} +18 -18
  151. package/dist/chunks/{form-52njpcvg.js → pty-hkcbg3z4.js} +7 -7
  152. package/dist/chunks/{form-5sbeve3p.js → pty-hp2jeqkr.js} +29 -29
  153. package/dist/chunks/{form-3m0hf24a.js → pty-hw6s7maf.js} +17 -17
  154. package/dist/chunks/{form-barsakm8.js → pty-j2bad2st.js} +1 -1
  155. package/dist/chunks/{form-j56e64zr.js → pty-j56e64zr.js} +1 -1
  156. package/dist/chunks/{form-d7702bf7.js → pty-jexxy024.js} +3 -3
  157. package/dist/chunks/{form-070qa63s.js → pty-jg9eaab2.js} +6 -6
  158. package/dist/chunks/{form-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
  159. package/dist/chunks/{form-6cfbbzhv.js → pty-jsh81p2x.js} +32 -32
  160. package/dist/chunks/{form-nvztqs8h.js → pty-jwn5qy9f.js} +42 -42
  161. package/dist/chunks/{form-bqz7g32x.js → pty-jy9pcjq0.js} +15 -15
  162. package/dist/chunks/{form-2q2vv6fc.js → pty-k0xymqd0.js} +11 -11
  163. package/dist/chunks/{form-07mvx74x.js → pty-k1603mw5.js} +26 -26
  164. package/dist/chunks/{form-29sseqcj.js → pty-k2gcmxmw.js} +16 -16
  165. package/dist/chunks/{form-h0a58rb9.js → pty-k6ed90aj.js} +38 -38
  166. package/dist/chunks/{form-1ddyqjqr.js → pty-kcpq4mkg.js} +19 -19
  167. package/dist/chunks/{form-crygsd6q.js → pty-kxdabtfm.js} +24 -24
  168. package/dist/chunks/{form-87v6f6zb.js → pty-m0f8gg3e.js} +21 -21
  169. package/dist/chunks/{form-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{form-h063bc46.js → pty-m733xxny.js} +89 -89
  171. package/dist/chunks/{form-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{form-2y34zzjz.js → pty-marnn1hp.js} +7 -7
  173. package/dist/chunks/{form-6jeq82a3.js → pty-mh29eyjv.js} +3 -3
  174. package/dist/chunks/{form-magykp64.js → pty-mjymc32g.js} +4 -4
  175. package/dist/chunks/{form-mdzm3s1n.js → pty-mnys6tec.js} +24 -24
  176. package/dist/chunks/{form-mckgp5zd.js → pty-mrk7h3sm.js} +5 -5
  177. package/dist/chunks/{form-6qzar0j9.js → pty-nb2s3qfq.js} +10 -10
  178. package/dist/chunks/{form-b2da4m4w.js → pty-ngz4ns8d.js} +4 -4
  179. package/dist/chunks/{form-dpxmc42p.js → pty-njv35c9c.js} +18 -18
  180. package/dist/chunks/{form-xk747vep.js → pty-nq7qbqzc.js} +9 -9
  181. package/dist/chunks/{form-qfx5mycz.js → pty-ntcnr6d2.js} +10 -10
  182. package/dist/chunks/{form-vvza37g4.js → pty-p42y1bm5.js} +12 -12
  183. package/dist/chunks/{form-vecw0n3r.js → pty-p96q0vzc.js} +24 -24
  184. package/dist/chunks/{form-cmyv28vq.js → pty-p9rg9ssf.js} +15 -15
  185. package/dist/chunks/{form-wre2kbs2.js → pty-p9zf421h.js} +14 -14
  186. package/dist/chunks/{form-tg6fsj70.js → pty-pddgv2bp.js} +5 -5
  187. package/dist/chunks/{form-432ewbjd.js → pty-pdnjh9qx.js} +6 -6
  188. package/dist/chunks/{form-vww7ttk4.js → pty-pgwf6rpj.js} +5 -5
  189. package/dist/chunks/{form-mphgtbj1.js → pty-ph20cxtq.js} +9 -9
  190. package/dist/chunks/{form-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{form-4rc3z4mm.js → pty-pjx857cd.js} +22 -22
  192. package/dist/chunks/{form-pknna89w.js → pty-pknna89w.js} +1 -1
  193. package/dist/chunks/{form-cz5b5dad.js → pty-pqp3n84c.js} +34 -34
  194. package/dist/chunks/{form-vdsxw2st.js → pty-ps02k4bp.js} +24 -24
  195. package/dist/chunks/{form-t7vjf41v.js → pty-pvkmyqfe.js} +29 -29
  196. package/dist/chunks/{form-584rndta.js → pty-px1xpczn.js} +32 -32
  197. package/dist/chunks/{form-5nthzge1.js → pty-pyymvkzv.js} +22 -22
  198. package/dist/chunks/{form-kfyzk7df.js → pty-q1rph7bj.js} +317 -317
  199. package/dist/chunks/{form-vncycja5.js → pty-q2b1ymqp.js} +4 -4
  200. package/dist/chunks/{form-nfnqtnrv.js → pty-q5rhn9x0.js} +9 -9
  201. package/dist/chunks/{form-1xn9w7tk.js → pty-q97sgnf3.js} +23 -23
  202. package/dist/chunks/{form-zs8gzsxx.js → pty-q9nw0fkx.js} +27 -27
  203. package/dist/chunks/{form-6c03qjnv.js → pty-qbbxh0je.js} +11 -11
  204. package/dist/chunks/{form-3az6px2n.js → pty-qdw5vfwv.js} +20 -20
  205. package/dist/chunks/{form-5cecdezf.js → pty-qfk7wg4g.js} +17 -17
  206. package/dist/chunks/{form-jv01nqvq.js → pty-qjnxxf51.js} +5 -5
  207. package/dist/chunks/{form-1n008kkv.js → pty-qncn4jq9.js} +28 -28
  208. package/dist/chunks/{form-5zrhx2a4.js → pty-qqs6wgn3.js} +54 -54
  209. package/dist/chunks/{form-qsdy395h.js → pty-qsdy395h.js} +1 -1
  210. package/dist/chunks/{form-bznknjz1.js → pty-qvzt4t8k.js} +23 -23
  211. package/dist/chunks/{form-166kng33.js → pty-qwjmgwmn.js} +8 -8
  212. package/dist/chunks/{form-9x5vnv11.js → pty-qxdvme72.js} +17 -17
  213. package/dist/chunks/{form-kjxk56xd.js → pty-qybw96f7.js} +17 -17
  214. package/dist/chunks/{form-s4e34zx0.js → pty-r3p3phz8.js} +30 -30
  215. package/dist/chunks/{form-b04b8x2j.js → pty-r72bb3g5.js} +5 -5
  216. package/dist/chunks/{form-r9mregkx.js → pty-r9mregkx.js} +2 -2
  217. package/dist/chunks/{form-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{form-xa5rtzqw.js → pty-rjnqjvjb.js} +15 -15
  219. package/dist/chunks/{form-r2jew814.js → pty-rkdvqggb.js} +5 -5
  220. package/dist/chunks/{form-3w9wgdme.js → pty-rmg0m3t1.js} +8 -8
  221. package/dist/chunks/{form-vd0wz1cw.js → pty-rx2s3z3c.js} +11 -11
  222. package/dist/chunks/{form-mpn4hqsh.js → pty-s222w9ys.js} +5 -5
  223. package/dist/chunks/{form-ywk6qw3f.js → pty-s6wn0jv5.js} +9 -9
  224. package/dist/chunks/{form-gb1jwk5m.js → pty-s7k5x4g9.js} +30 -30
  225. package/dist/chunks/{form-pccga3by.js → pty-s8bmxf4b.js} +9 -9
  226. package/dist/chunks/{form-eaj1djv9.js → pty-s8d7rejh.js} +6 -6
  227. package/dist/chunks/{form-w49382pb.js → pty-sm965ndy.js} +8 -8
  228. package/dist/chunks/{form-nqnvpjgb.js → pty-syqyze50.js} +10 -10
  229. package/dist/chunks/{form-4rcyc4ba.js → pty-t04gerxp.js} +11 -11
  230. package/dist/chunks/{form-2qp6y8xf.js → pty-t0fxg8b9.js} +5 -5
  231. package/dist/chunks/{form-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{form-r19xfkay.js → pty-tc37dsfn.js} +13 -13
  233. package/dist/chunks/{form-ep6z9mt6.js → pty-tdhe5xga.js} +8 -8
  234. package/dist/chunks/{form-tdstcens.js → pty-tdstcens.js} +1 -1
  235. package/dist/chunks/{form-nm29pd5d.js → pty-tn7fkxn8.js} +7 -7
  236. package/dist/chunks/{form-tvtrv512.js → pty-tvtrv512.js} +1 -1
  237. package/dist/chunks/{form-njz9ejr1.js → pty-v0af3wsg.js} +29 -29
  238. package/dist/chunks/{form-b2qe6s06.js → pty-v1h7jmyp.js} +1 -1
  239. package/dist/chunks/{form-6gpcy8we.js → pty-v220wb3t.js} +14 -14
  240. package/dist/chunks/{form-0g17b04h.js → pty-v88sgxh0.js} +15 -15
  241. package/dist/chunks/{form-3c1tgrea.js → pty-v8jfbz3g.js} +6 -6
  242. package/dist/chunks/{form-veqvce7d.js → pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{form-bgqnaqd7.js → pty-vfy19pwe.js} +14 -14
  244. package/dist/chunks/{form-vtry8cvx.js → pty-vmgmz9ta.js} +9 -9
  245. package/dist/chunks/pty-vnkjks7b.js +18 -0
  246. package/dist/chunks/{form-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{form-ctzssw83.js → pty-w1ad28wa.js} +8 -8
  248. package/dist/chunks/{form-va1crcxs.js → pty-w3tj97cz.js} +24 -24
  249. package/dist/chunks/{form-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{form-wd87259q.js → pty-wd87259q.js} +1 -1
  251. package/dist/chunks/{form-p605sn5x.js → pty-wt5vh4p5.js} +23 -23
  252. package/dist/chunks/{form-0jf398hq.js → pty-wtpgbvbt.js} +20 -20
  253. package/dist/chunks/{form-58d8ceg3.js → pty-wx6s0tts.js} +50 -50
  254. package/dist/chunks/{form-n9zwszbz.js → pty-wz87yraf.js} +8 -8
  255. package/dist/chunks/{form-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{form-w227x3vc.js → pty-x9h4gx6t.js} +41 -41
  257. package/dist/chunks/{form-db4ykqcp.js → pty-xey2vz2p.js} +15 -15
  258. package/dist/chunks/{form-xfkkasph.js → pty-xfkkasph.js} +1 -1
  259. package/dist/chunks/{form-q554ycqp.js → pty-xjr9ayca.js} +3 -3
  260. package/dist/chunks/{form-px1chy1r.js → pty-xnwnz12t.js} +5 -5
  261. package/dist/chunks/{form-3c9vtvry.js → pty-xr777zyz.js} +22 -22
  262. package/dist/chunks/{form-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{form-837hypdd.js → pty-ybhbtxjg.js} +6 -6
  264. package/dist/chunks/{form-xg6b0g27.js → pty-yjq1h8wq.js} +8 -8
  265. package/dist/chunks/{form-52t4x136.js → pty-ykprmxnv.js} +2 -2
  266. package/dist/chunks/{form-ahgmes2r.js → pty-yqcj214x.js} +21 -21
  267. package/dist/chunks/{form-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{form-yrznvahk.js → pty-yrznvahk.js} +2 -2
  269. package/dist/chunks/{form-gcdm2p5s.js → pty-ywspvke4.js} +54 -54
  270. package/dist/chunks/{form-kjz94mhw.js → pty-yx4zy76q.js} +4 -4
  271. package/dist/chunks/{form-rdeha5t8.js → pty-yx6bawja.js} +36 -36
  272. package/dist/chunks/{form-dt87bqqw.js → pty-yztwhtj4.js} +6 -6
  273. package/dist/chunks/{form-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{form-d94k38r4.js → pty-z4jy6304.js} +9 -9
  275. package/dist/chunks/{form-z63w68vq.js → pty-z63w68vq.js} +2 -2
  276. package/dist/chunks/{form-27s9zfaa.js → pty-z8av1v4k.js} +22 -22
  277. package/dist/chunks/{form-zh59mys5.js → pty-z8mhsqtq.js} +8 -8
  278. package/dist/chunks/{form-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{form-fp5nfsfv.js → pty-zffc062v.js} +20 -20
  280. package/dist/chunks/{form-rnn39vbf.js → pty-zgqa5fck.js} +11 -11
  281. package/dist/chunks/{form-sg16g4sp.js → pty-zpfv5b56.js} +6 -6
  282. package/dist/chunks/{form-6d4pkxf4.js → pty-zr15egg9.js} +19 -19
  283. package/dist/chunks/{form-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{form-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{form-nwxvpf5q.js → pty-zyr9wvqd.js} +18 -18
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +124 -124
  294. package/dist/config/plugin/command.js +212 -212
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +122 -122
  302. package/dist/config/plugin/mcp.js +131 -131
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +122 -122
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +143 -143
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +125 -125
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +121 -121
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +223 -223
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +100 -100
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +90 -90
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +86 -86
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +126 -126
  469. package/dist/mcp/oauth.js +77 -77
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +90 -90
  473. package/dist/model-resolver.js +95 -95
  474. package/dist/model.js +99 -99
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +103 -103
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +91 -91
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +140 -140
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +344 -344
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +227 -227
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +87 -87
  553. package/dist/provider.js +100 -100
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +86 -86
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  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 +219 -219
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +85 -85
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +117 -117
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  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 +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +113 -113
  598. package/dist/session/runner/step.js +124 -124
  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 +169 -169
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +208 -208
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +154 -154
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  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 +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +106 -106
  622. package/dist/skill.js +109 -109
  623. package/dist/snapshot.js +92 -92
  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 +125 -125
  628. package/dist/tool/plugin/edit.js +119 -119
  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 +115 -115
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +104 -104
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +217 -217
  639. package/dist/tool/plugin/webfetch.js +111 -111
  640. package/dist/tool/plugin/websearch.js +111 -111
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +90 -90
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +77 -77
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +97 -97
  686. package/package.json +8 -8
  687. package/dist/chunks/form-0mesazry.js +0 -4
  688. package/dist/chunks/form-4cw7we48.js +0 -247
  689. package/dist/chunks/form-qdzyan6r.js +0 -26
  690. package/dist/chunks/form-v1faaxn9.js +0 -18
  691. /package/dist/chunks/{form-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{form-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{form-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{form-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{form-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{form-24dcb14g.js → pty-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{form-2710q6r3.js → pty-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{form-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{form-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{form-359p4xyc.js → pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{form-3asan66x.js → pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{form-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{form-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{form-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{form-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{form-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{form-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{form-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{form-53557ph1.js → pty-53557ph1.js} +0 -0
  710. /package/dist/chunks/{form-550bvhaj.js → pty-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{form-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{form-6prwharc.js → pty-6prwharc.js} +0 -0
  713. /package/dist/chunks/{form-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{form-7m9af43g.js → pty-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{form-822emrt2.js → pty-822emrt2.js} +0 -0
  716. /package/dist/chunks/{form-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{form-8n3pysct.js → pty-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{form-922hggd3.js → pty-922hggd3.js} +0 -0
  719. /package/dist/chunks/{form-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{form-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{form-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{form-af5trqkr.js → pty-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{form-afrmfg78.js → pty-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{form-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{form-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{form-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{form-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{form-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{form-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{form-d9fn303g.js → pty-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{form-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{form-dajrwvna.js → pty-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{form-dap0rakb.js → pty-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{form-df08tz66.js → pty-df08tz66.js} +0 -0
  735. /package/dist/chunks/{form-dy18nga0.js → pty-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{form-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{form-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{form-ec1grn59.js → pty-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{form-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{form-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{form-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{form-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{form-faypxj3z.js → pty-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{form-fd410y7t.js → pty-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{form-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{form-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{form-g86h250q.js → pty-g86h250q.js} +0 -0
  748. /package/dist/chunks/{form-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{form-gftt206x.js → pty-gftt206x.js} +0 -0
  750. /package/dist/chunks/{form-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{form-hk9envan.js → pty-hk9envan.js} +0 -0
  752. /package/dist/chunks/{form-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{form-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{form-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{form-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{form-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{form-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{form-mp448xyj.js → pty-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{form-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{form-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{form-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{form-njntx4h6.js → pty-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{form-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{form-q74kybfr.js → pty-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{form-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{form-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{form-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{form-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{form-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{form-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{form-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{form-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{form-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{form-twg0f83k.js → pty-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{form-w803qqfp.js → pty-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{form-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{form-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{form-wtztk69x.js → pty-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{form-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{form-x61499pn.js → pty-x61499pn.js} +0 -0
  781. /package/dist/chunks/{form-y44na4kk.js → pty-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{form-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{form-y8f7s663.js → pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{form-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{form-ym463w8f.js → pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{form-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service62
3
- } from "./form-4rc3z4mm.js";
2
+ Service41
3
+ } from "./pty-pjx857cd.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./form-922hggd3.js";
6
+ } from "./pty-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./form-y08pppv8.js";
8
+ Service78
9
+ } from "./pty-e2673aay.js";
10
10
  import {
11
- Service61
12
- } from "./form-5nae8tex.js";
11
+ Service40
12
+ } from "./pty-emvra4z4.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./form-5nthzge1.js";
17
+ } from "./pty-pyymvkzv.js";
18
18
  import {
19
- Service9
20
- } from "./form-xk747vep.js";
19
+ Service12
20
+ } from "./pty-nq7qbqzc.js";
21
21
  import {
22
22
  parse2
23
- } from "./form-dt87bqqw.js";
23
+ } from "./pty-yztwhtj4.js";
24
24
  import {
25
25
  __export
26
- } from "./form-9rqn6x4v.js";
26
+ } from "./pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin29
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin38
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin29 = define({
39
+ var Plugin38 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service61;
43
- const discovery = yield* Service9;
42
+ const config = yield* Service40;
43
+ const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service76;
47
- const watcher = yield* Service62;
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service41;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin29 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin29, exports_skill2 };
179
+ export { Plugin38, exports_skill3 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./form-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make3(input) {
8
+ function make10(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make3 };
264
+ export { make10 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./form-eaj1djv9.js";
8
+ } from "./pty-s8d7rejh.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./form-ec1grn59.js";
11
+ } from "./pty-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./form-a1bz86dw.js";
15
+ } from "./pty-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./form-emrn6kk6.js";
5
+ } from "./pty-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./form-7s2t5wav.js";
3
+ } from "./pty-dmje0bsk.js";
4
4
  import {
5
- Service41
6
- } from "./form-3c1tgrea.js";
5
+ Service49
6
+ } from "./pty-v8jfbz3g.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./form-v1faaxn9.js";
9
+ } from "./pty-vnkjks7b.js";
10
10
  import {
11
11
  provenance2
12
- } from "./form-26k5bknw.js";
12
+ } from "./pty-06dxphr1.js";
13
13
  import {
14
14
  preview2
15
- } from "./form-xg6b0g27.js";
15
+ } from "./pty-yjq1h8wq.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./form-s4e34zx0.js";
18
+ } from "./pty-r3p3phz8.js";
19
19
  import {
20
- Service25
21
- } from "./form-0sst3ssg.js";
20
+ Service23
21
+ } from "./pty-g51vc6t9.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./pty-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate2 = {};
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service41;
35
+ const instances = yield* Service49;
36
36
  const database = yield* Service82;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service25;
40
+ const context = yield* Service23;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./form-0c8rzwj9.js";
4
+ } from "./pty-bavdgngm.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./form-rdw6cm16.js";
8
+ } from "./pty-rdw6cm16.js";
9
9
  import {
10
- ID8,
11
- Service66,
12
- node70,
13
- Event14
14
- } from "./form-njz9ejr1.js";
10
+ ID14,
11
+ Service75,
12
+ node79,
13
+ Event18
14
+ } from "./pty-v0af3wsg.js";
15
15
  import {
16
16
  key2
17
- } from "./form-nzyhnfxz.js";
17
+ } from "./pty-h6r3nrb9.js";
18
18
  import {
19
- Service76,
20
- node80
21
- } from "./form-y08pppv8.js";
19
+ Service78,
20
+ node82
21
+ } from "./pty-e2673aay.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./pty-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -36,13 +36,13 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
36
36
  var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
- Event: () => Event13,
40
- ID: () => ID7,
41
- Info: () => Info22,
39
+ Event: () => Event17,
40
+ ID: () => ID13,
41
+ Info: () => Info27,
42
42
  LoadError: () => LoadError3,
43
43
  Provider: () => exports_provider3,
44
- Request: () => Request2,
45
- Service: () => Service65,
44
+ Request: () => Request3,
45
+ Service: () => Service74,
46
46
  Settings: () => Settings2,
47
47
  aisdk: () => aisdk2,
48
48
  isAISDK: () => isAISDK2,
@@ -50,7 +50,7 @@ __export(exports_provider3, {
50
50
  mergeHeaders: () => mergeHeaders2,
51
51
  mergeOverlay: () => mergeOverlay2,
52
52
  nativeSettings: () => nativeSettings2,
53
- node: () => node69,
53
+ node: () => node78,
54
54
  packageName: () => packageName2
55
55
  });
56
56
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -61,8 +61,8 @@ import { isRecord } from "@opencode/ai/utils/record";
61
61
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
62
62
  import { Credential } from "@opencode/schema/credential";
63
63
  import { freeze } from "immer";
64
- import { Event as Event13 } from "@opencode/schema/provider";
65
- var ID7 = Provider.ID;
64
+ import { Event as Event17 } from "@opencode/schema/provider";
65
+ var ID13 = Provider.ID;
66
66
  var AISDK_PREFIX2 = "aisdk:";
67
67
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
68
68
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -199,25 +199,27 @@ function mergeHeaders2(base, overlay) {
199
199
  return result;
200
200
  }, new Map).values());
201
201
  }
202
- var Request2 = Provider.Request;
202
+ var Request3 = Provider.Request;
203
203
  var Settings2 = Provider.Settings;
204
- var Info22 = Provider.Info;
204
+ var Info27 = Provider.Info;
205
205
 
206
- class Service65 extends Context.Service()("@opencode/Provider") {
206
+ class Service74 extends Context.Service()("@opencode/Provider") {
207
207
  }
208
208
  var definitions = new WeakMap;
209
- function index(models) {
210
- const cached = definitions.get(models);
209
+ function index(providerID, models) {
210
+ const indexes = definitions.get(models) ?? new Map;
211
+ const cached = indexes.get(providerID);
211
212
  if (cached)
212
213
  return cached;
213
- const result = freeze(new Map(models.map((model) => [model.id, model])), true);
214
- definitions.set(models, result);
214
+ const result = freeze(new Map(models.map((model) => [model.id, model.providerID === providerID ? model : { ...model, providerID }])), true);
215
+ indexes.set(providerID, result);
216
+ definitions.set(models, indexes);
215
217
  return result;
216
218
  }
217
- var layer = Layer.effect(Service65, Effect.gen(function* () {
219
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
218
220
  const bus = yield* Service81;
219
- const integrations = yield* Service66;
220
- const location = yield* Service76;
221
+ const integrations = yield* Service75;
222
+ const location = yield* Service78;
221
223
  const state = create3({
222
224
  name: "provider",
223
225
  initial: () => new Map,
@@ -228,7 +230,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
228
230
  const current = records.get(id);
229
231
  if (current)
230
232
  return current;
231
- const added = { provider: Info22.empty(id), models: new Map };
233
+ const added = { provider: Info27.empty(id), models: new Map };
232
234
  records.set(id, added);
233
235
  maps.add(added.models);
234
236
  return added;
@@ -248,7 +250,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
248
250
  add: (definition) => {
249
251
  records.set(definition.info.id, {
250
252
  provider: structuredClone(definition.info),
251
- models: index(definition.models),
253
+ models: index(definition.info.id, definition.models),
252
254
  sourceConnection: definition.sourceConnection
253
255
  });
254
256
  },
@@ -267,7 +269,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
267
269
  },
268
270
  models: {
269
271
  set: (id, values) => {
270
- entry(id).models = index(values);
272
+ entry(id).models = index(id, values);
271
273
  },
272
274
  update: (providerID, modelID, update) => {
273
275
  const record = entry(providerID);
@@ -305,14 +307,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
305
307
  const connections = yield* integrations.list();
306
308
  if (revision !== integrations.revision() || records !== state.get())
307
309
  continue;
308
- const access = JSON.stringify(connections.map((integration) => [integration.id, integration.connections.map(key2)]));
309
- if (cached?.records === records && cached.access === access)
310
- return cached.value;
311
310
  const byID = new Map(connections.map((integration) => [integration.id, integration]));
312
311
  const available = Array.from(records.values()).filter((record) => {
313
312
  if (record.provider.activation === "disabled")
314
313
  return false;
315
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
314
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
316
315
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
317
316
  return false;
318
317
  if (record.provider.activation === "enabled")
@@ -321,8 +320,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
321
320
  return true;
322
321
  return record.provider.integrationID === undefined && !integration;
323
322
  });
323
+ if (cached?.records === records && cached.value.available.length === available.length && cached.value.available.every((record, index) => record === available[index]))
324
+ return cached.value;
324
325
  const value = freeze({ records, available, providers: available.map((record) => record.provider) }, true);
325
- cached = { records, access, value };
326
+ cached = { records, value };
326
327
  return value;
327
328
  }
328
329
  });
@@ -336,8 +337,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
336
337
  location: { directory: location.directory, workspaceID: location.workspaceID }
337
338
  });
338
339
  });
339
- yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
340
- return Service65.of({
340
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
341
+ return Service74.of({
341
342
  transform: state.transform,
342
343
  reload: state.reload,
343
344
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -346,7 +347,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
346
347
  snapshot
347
348
  });
348
349
  }));
349
- var node69 = makeLocationNode({ service: Service65, layer, deps: [node85, node70, node80] });
350
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node85, node79, node82] });
350
351
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
351
352
  const module = yield* Effect.tryPromise({
352
353
  try: () => {
@@ -606,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
606
607
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
607
608
  var decode = Schema2.decodeUnknownSync(Legacy);
608
609
 
609
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info22, Service65, node69, exports_provider3, Event13 };
610
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./form-922hggd3.js";
4
+ } from "./pty-922hggd3.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./form-y08pppv8.js";
6
+ Service78,
7
+ node82
8
+ } from "./pty-e2673aay.js";
9
9
  import {
10
- Service50,
11
- node53
12
- } from "./form-q63062h2.js";
10
+ Service60,
11
+ node63
12
+ } from "./pty-2497c3gb.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -20,8 +20,8 @@ __export(exports_filesystem, {
20
20
  Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry2,
24
- Event: () => Event9,
23
+ Entry: () => Entry4,
24
+ Event: () => Event11,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -30,16 +30,16 @@ __export(exports_filesystem, {
30
30
  Match: () => Match2,
31
31
  NotFoundError: () => NotFoundError6,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service49,
33
+ Service: () => Service59,
34
34
  Submatch: () => Submatch2,
35
- node: () => node52
35
+ node: () => node62
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer, Schema } from "effect";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
42
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
42
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
43
43
  var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event9 = FileSystem.Event;
81
+ var Event11 = FileSystem.Event;
82
82
 
83
- class Service49 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service59 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service76;
88
- const search = yield* Service50;
87
+ const location = yield* Service78;
88
+ const search = yield* Service60;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,7 +96,7 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service49.of({
99
+ return Service59.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
102
  const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node52 = makeLocationNode({
132
- service: Service49,
131
+ var node62 = makeLocationNode({
132
+ service: Service59,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node80, node53]
134
+ deps: [FSUtil.node, node82, node63]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service49, node52, exports_filesystem, Entry2, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service59, node62, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service61
3
- } from "./form-5nae8tex.js";
2
+ Service40
3
+ } from "./pty-emvra4z4.js";
4
4
  import {
5
- Service11
6
- } from "./form-3c9vtvry.js";
5
+ Service9
6
+ } from "./pty-xr777zyz.js";
7
7
  import {
8
8
  observe2
9
- } from "./form-qsdy395h.js";
9
+ } from "./pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin16
18
+ Plugin: () => Plugin32
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin16 = define({
22
+ var Plugin32 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service61;
26
- const compaction = yield* Service11;
25
+ const config = yield* Service40;
26
+ const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin16 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin16, exports_compaction };
42
+ export { Plugin32, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./form-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./form-0c8rzwj9.js";
4
+ } from "./pty-bavdgngm.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./form-tazgh4e4.js";
9
+ } from "./pty-tazgh4e4.js";
10
10
  import {
11
- Service76,
12
- node80
13
- } from "./form-y08pppv8.js";
11
+ Service78,
12
+ node82
13
+ } from "./pty-e2673aay.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./form-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./form-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info5,
29
+ Info: () => Info19,
30
30
  Mode: () => Mode2,
31
- Service: () => Service21,
31
+ Service: () => Service57,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node60
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info19, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service21 extends Context.Service()("@opencode/Vcs") {
48
+ class Service57 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service21, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service78;
53
53
  const bus = yield* Service81;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info19));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service21.of({
121
+ return Service57.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node24 = makeLocationNode({
168
- service: Service21,
167
+ var node60 = makeLocationNode({
168
+ service: Service57,
169
169
  layer,
170
- deps: [FSUtil.node, node80, node85]
170
+ deps: [FSUtil.node, node82, node85]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service21, node24, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info19, Mode2, DiffError2, Service57, node60, exports_vcs };