@opencode/core 0.0.0-dev-19644 → 0.0.0-dev-19648

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{file-retention-6wys8vmt.js → reference-0045qx7c.js} +44 -44
  8. package/dist/chunks/{file-retention-nefkn79j.js → reference-02qvqdkf.js} +12 -12
  9. package/dist/chunks/{file-retention-78d0vfx8.js → reference-03b5bxzy.js} +15 -15
  10. package/dist/chunks/{file-retention-bdyxy7dh.js → reference-0n7seg06.js} +10 -10
  11. package/dist/chunks/{file-retention-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-retention-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{file-retention-32cd2pct.js → reference-0rq8bjrt.js} +9 -9
  14. package/dist/chunks/{file-retention-x8xkwwsf.js → reference-10c8x8f6.js} +38 -38
  15. package/dist/chunks/{file-retention-b3qge5m1.js → reference-134kf2wt.js} +28 -28
  16. package/dist/chunks/{file-retention-dn8nwevp.js → reference-14k51jca.js} +17 -17
  17. package/dist/chunks/{file-retention-0n2dkqex.js → reference-14mggxhb.js} +28 -28
  18. package/dist/chunks/{file-retention-73tb2d7t.js → reference-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{file-retention-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-retention-efpr09yf.js → reference-1h7fvzqe.js} +15 -15
  21. package/dist/chunks/{file-retention-6rx60a99.js → reference-1hmm269h.js} +6 -6
  22. package/dist/chunks/{file-retention-2angj6gv.js → reference-1jfn0zqb.js} +12 -12
  23. package/dist/chunks/{file-retention-dgprnyba.js → reference-1k5by4aq.js} +38 -38
  24. package/dist/chunks/{file-retention-yf52dd19.js → reference-1vp1f7c9.js} +6 -6
  25. package/dist/chunks/{file-retention-21r38tys.js → reference-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-retention-wv3yzfnj.js → reference-25ksdg08.js} +10 -10
  27. package/dist/chunks/{file-retention-1hcx3hx9.js → reference-27wf16dy.js} +11 -11
  28. package/dist/chunks/{file-retention-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-retention-wfqqa7gf.js → reference-2c609f5b.js} +23 -23
  30. package/dist/chunks/{file-retention-pdyjjwcd.js → reference-2dqx1b4a.js} +5 -5
  31. package/dist/chunks/{file-retention-6x0h2hvg.js → reference-2fgn2we9.js} +9 -9
  32. package/dist/chunks/{file-retention-9f77mvx3.js → reference-2k7rez0t.js} +12 -12
  33. package/dist/chunks/{file-retention-avg07sbv.js → reference-2m4s448y.js} +23 -23
  34. package/dist/chunks/{file-retention-fa2c6m02.js → reference-2tn7d7pp.js} +14 -14
  35. package/dist/chunks/{file-retention-6x3t56ym.js → reference-32kve5rw.js} +20 -20
  36. package/dist/chunks/{file-retention-p17m87ch.js → reference-36gw4j2m.js} +26 -26
  37. package/dist/chunks/{file-retention-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{file-retention-xvy8f8fg.js → reference-3fr1jb2b.js} +24 -24
  39. package/dist/chunks/{file-retention-39qagpsx.js → reference-3h9hgzm4.js} +3 -3
  40. package/dist/chunks/{file-retention-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-retention-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-retention-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-retention-vf1prd4j.js → reference-3wyww8w1.js} +19 -19
  44. package/dist/chunks/{file-retention-mytrx3qe.js → reference-3xne0rkq.js} +32 -32
  45. package/dist/chunks/{file-retention-tbnbgk70.js → reference-3xvzxc70.js} +21 -21
  46. package/dist/chunks/{file-retention-q03excpa.js → reference-40zbstrq.js} +8 -8
  47. package/dist/chunks/{file-retention-p4gp63td.js → reference-44faxhpp.js} +31 -25
  48. package/dist/chunks/{file-retention-6ppm5kn9.js → reference-44xq9en3.js} +10 -10
  49. package/dist/chunks/{file-retention-cfv81dax.js → reference-4e8vs6eh.js} +8 -8
  50. package/dist/chunks/{file-retention-wy8b5sm2.js → reference-4jc5c4h4.js} +1 -1
  51. package/dist/chunks/{file-retention-bc5qqj72.js → reference-4r69v978.js} +24 -24
  52. package/dist/chunks/{file-retention-xm1fs24h.js → reference-4s1yk193.js} +26 -26
  53. package/dist/chunks/{file-retention-1kzs76d5.js → reference-4t6jmgq9.js} +31 -31
  54. package/dist/chunks/{file-retention-q9jzzx65.js → reference-51qrhgsb.js} +86 -86
  55. package/dist/chunks/{file-retention-2cc64ex3.js → reference-52r7d24f.js} +9 -9
  56. package/dist/chunks/{file-retention-p9nbetk4.js → reference-5ap9q5kf.js} +41 -41
  57. package/dist/chunks/{file-retention-cwa6csj7.js → reference-5d607bsg.js} +9 -9
  58. package/dist/chunks/{file-retention-5daktx2q.js → reference-5daktx2q.js} +1 -1
  59. package/dist/chunks/{file-retention-v8q046s9.js → reference-5erzqq8j.js} +10 -10
  60. package/dist/chunks/{file-retention-6haqad0x.js → reference-5ffjw098.js} +11 -11
  61. package/dist/chunks/{file-retention-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
  62. package/dist/chunks/{file-retention-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-retention-krbv9b1e.js → reference-5x1bh28b.js} +16 -16
  64. package/dist/chunks/{file-retention-82zd9er4.js → reference-604ftt35.js} +5 -5
  65. package/dist/chunks/{file-retention-cwazgnkr.js → reference-61gxz8zw.js} +8 -8
  66. package/dist/chunks/{file-retention-669tq793.js → reference-669tq793.js} +1 -1
  67. package/dist/chunks/{file-retention-8brgam58.js → reference-6h3wybc7.js} +6 -6
  68. package/dist/chunks/{file-retention-2402vzrj.js → reference-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{file-retention-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{file-retention-w0ay8c0v.js → reference-6pwhbvw4.js} +18 -18
  71. package/dist/chunks/{file-retention-1ct3e436.js → reference-6r5g6tjt.js} +6 -6
  72. package/dist/chunks/reference-6rqqxte6.js +478 -0
  73. package/dist/chunks/{file-retention-7ac170kv.js → reference-6tt5evqq.js} +4 -4
  74. package/dist/chunks/{file-retention-b3d6gjgc.js → reference-71y3sgmq.js} +65 -65
  75. package/dist/chunks/{file-retention-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-retention-g515c63b.js → reference-7f3re3ee.js} +32 -32
  77. package/dist/chunks/{file-retention-3hj581hw.js → reference-7gjg976t.js} +11 -11
  78. package/dist/chunks/{file-retention-vchtbmsk.js → reference-865g0eh4.js} +11 -11
  79. package/dist/chunks/{file-retention-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{file-retention-dj2t23y0.js → reference-8p4f9s12.js} +2 -2
  81. package/dist/chunks/{file-retention-wcxyx4rr.js → reference-8p8s83ww.js} +25 -25
  82. package/dist/chunks/{file-retention-vyjdy1t4.js → reference-8srhhvcs.js} +11 -11
  83. package/dist/chunks/{file-retention-zgqrnz3r.js → reference-8t7r2jb8.js} +16 -16
  84. package/dist/chunks/{file-retention-hb7wfmtw.js → reference-8t83zea3.js} +10 -10
  85. package/dist/chunks/{file-retention-d66a0nr4.js → reference-8ynznrcf.js} +179 -179
  86. package/dist/chunks/{file-retention-h6r3nrb9.js → reference-8z00fdkb.js} +4 -4
  87. package/dist/chunks/{file-retention-tq30t05y.js → reference-93cvdxb3.js} +13 -13
  88. package/dist/chunks/{file-retention-2wgckns4.js → reference-95mgk45z.js} +5 -5
  89. package/dist/chunks/{file-retention-qsr32hwm.js → reference-981b0br5.js} +12 -12
  90. package/dist/chunks/{file-retention-dt5xmw4k.js → reference-9fkctmz4.js} +4 -4
  91. package/dist/chunks/{file-retention-kenaddax.js → reference-9w2869zr.js} +18 -18
  92. package/dist/chunks/{file-retention-wjx4xhr2.js → reference-9y4077kg.js} +43 -43
  93. package/dist/chunks/{file-retention-5c4hm403.js → reference-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{file-retention-mhfmqj3q.js → reference-aa2skrxv.js} +11 -11
  95. package/dist/chunks/{file-retention-aaet6srn.js → reference-aaet6srn.js} +2 -2
  96. package/dist/chunks/{file-retention-esqa9h64.js → reference-abm9hpd7.js} +33 -33
  97. package/dist/chunks/{file-retention-kvw3pn7b.js → reference-arecezhq.js} +26 -26
  98. package/dist/chunks/{file-retention-9k6ah3ay.js → reference-b342pyrz.js} +37 -37
  99. package/dist/chunks/{file-retention-trpk0pwm.js → reference-b3x7keah.js} +1 -1
  100. package/dist/chunks/{file-retention-t09drp0q.js → reference-b68c1mkf.js} +4 -4
  101. package/dist/chunks/{file-retention-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{file-retention-spmz9ee0.js → reference-b9qa799g.js} +56 -56
  103. package/dist/chunks/{file-retention-t8tp1xd4.js → reference-bhhrrwb2.js} +24 -24
  104. package/dist/chunks/{file-retention-2xm6y6tp.js → reference-bhmgakb5.js} +5 -5
  105. package/dist/chunks/{file-retention-e5nv3ght.js → reference-bndc73cn.js} +5 -5
  106. package/dist/chunks/{file-retention-hekbvwg7.js → reference-c1fv4dkx.js} +51 -51
  107. package/dist/chunks/{file-retention-mw934p8z.js → reference-c5pd54gy.js} +8 -8
  108. package/dist/chunks/{file-retention-q564kvp8.js → reference-cdada34a.js} +25 -25
  109. package/dist/chunks/{file-retention-kchqah57.js → reference-cex7s4hh.js} +12 -12
  110. package/dist/chunks/{file-retention-m0jqrx5p.js → reference-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{file-retention-1ctxmpem.js → reference-chzjgv92.js} +17 -17
  112. package/dist/chunks/{file-retention-gxh64nqm.js → reference-cxgjevne.js} +8 -8
  113. package/dist/chunks/{file-retention-d3dn9r6m.js → reference-cxt45380.js} +13 -13
  114. package/dist/chunks/{file-retention-ched4952.js → reference-d3vn7cdf.js} +10 -10
  115. package/dist/chunks/{file-retention-mg0hvqns.js → reference-d4w8kf3r.js} +24 -24
  116. package/dist/chunks/{file-retention-9sbphxp7.js → reference-d8c7rh5j.js} +15 -15
  117. package/dist/chunks/{file-retention-dgfnmtzr.js → reference-dhgpazgq.js} +16 -16
  118. package/dist/chunks/{file-retention-0h3rvf5y.js → reference-djakxvzp.js} +30 -30
  119. package/dist/chunks/{file-retention-vc4e6k4r.js → reference-dkbfs573.js} +4 -4
  120. package/dist/chunks/{file-retention-q8h7q9dm.js → reference-dr0vfmy3.js} +32 -32
  121. package/dist/chunks/{file-retention-abvna2sd.js → reference-drfaqnzf.js} +11 -11
  122. package/dist/chunks/{file-retention-57b9ws8p.js → reference-drwq78ky.js} +5 -5
  123. package/dist/chunks/{file-retention-8bjpbq0k.js → reference-e3r06aex.js} +14 -14
  124. package/dist/chunks/{file-retention-y49m3jq5.js → reference-e9djx9ep.js} +15 -15
  125. package/dist/chunks/{file-retention-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{file-retention-baspsnr0.js → reference-ekj9s94f.js} +14 -14
  127. package/dist/chunks/{file-retention-ty00y7c1.js → reference-emh2q5yj.js} +13 -13
  128. package/dist/chunks/{file-retention-fvezrss0.js → reference-enc3c1en.js} +12 -12
  129. package/dist/chunks/{file-retention-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{file-retention-25dtj6av.js → reference-ezgzkxar.js} +35 -35
  131. package/dist/chunks/{file-retention-44d511wt.js → reference-f4w1sefg.js} +22 -22
  132. package/dist/chunks/{file-retention-bzb98473.js → reference-f7ta5rfa.js} +32 -32
  133. package/dist/chunks/{file-retention-hdnk95c8.js → reference-f828m53h.js} +2 -2
  134. package/dist/chunks/{file-retention-tfpy23zn.js → reference-fcymrbm6.js} +4 -4
  135. package/dist/chunks/{file-retention-kd4pdhg0.js → reference-fpw6v5x5.js} +3 -3
  136. package/dist/chunks/{file-retention-hr2j7280.js → reference-fpxser7j.js} +10 -10
  137. package/dist/chunks/{file-retention-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{file-retention-ec8389mk.js → reference-fyymr9xg.js} +4 -4
  139. package/dist/chunks/{file-retention-63e4nz8m.js → reference-g1823667.js} +15 -15
  140. package/dist/chunks/{file-retention-dj6gbf46.js → reference-g34hxex7.js} +11 -11
  141. package/dist/chunks/{file-retention-cfejgvt1.js → reference-g3y70r00.js} +15 -15
  142. package/dist/chunks/{file-retention-njct7pyc.js → reference-g5a5y1mz.js} +30 -30
  143. package/dist/chunks/{file-retention-5pny8g6e.js → reference-g6kf3b8w.js} +22 -22
  144. package/dist/chunks/{file-retention-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{file-retention-azpwskpm.js → reference-gj9znxmq.js} +22 -22
  146. package/dist/chunks/{file-retention-fzsywmjq.js → reference-gmffswna.js} +4 -4
  147. package/dist/chunks/{file-retention-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{file-retention-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{file-retention-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  150. package/dist/chunks/reference-h7tfxyx6.js +26 -0
  151. package/dist/chunks/{file-retention-38pjs6q7.js → reference-h8bmxzy2.js} +43 -43
  152. package/dist/chunks/{file-retention-tqkrwgse.js → reference-hkagk5ex.js} +2 -2
  153. package/dist/chunks/{file-retention-76x0exek.js → reference-hw1bdftb.js} +7 -7
  154. package/dist/chunks/{file-retention-sr8h7cpq.js → reference-hwgr52re.js} +32 -32
  155. package/dist/chunks/reference-hxa7m5za.js +4 -0
  156. package/dist/chunks/{file-retention-c917e1ye.js → reference-j18tycq9.js} +3 -3
  157. package/dist/chunks/{file-retention-j56e64zr.js → reference-j56e64zr.js} +1 -1
  158. package/dist/chunks/{file-retention-k59erz6z.js → reference-jdpkqg09.js} +24 -24
  159. package/dist/chunks/{file-retention-283sq9eb.js → reference-jemfgm91.js} +7 -7
  160. package/dist/chunks/{file-retention-776x8tr7.js → reference-jm6dm3k4.js} +11 -11
  161. package/dist/chunks/{file-retention-dbjfv9j1.js → reference-jpaa4kn2.js} +26 -26
  162. package/dist/chunks/{file-retention-dk1ddre8.js → reference-jpmxzj60.js} +21 -21
  163. package/dist/chunks/{file-retention-kk00bynn.js → reference-jw80jp6b.js} +21 -21
  164. package/dist/chunks/{file-retention-xxk5ry2v.js → reference-k18ytf7m.js} +6 -6
  165. package/dist/chunks/{file-retention-52tjq29f.js → reference-k2ednzn6.js} +15 -15
  166. package/dist/chunks/{file-retention-c1180j6r.js → reference-kbnzd5ek.js} +20 -20
  167. package/dist/chunks/{file-retention-w3pg4pjy.js → reference-kmnkk0k6.js} +6 -6
  168. package/dist/chunks/{file-retention-xfdrc2qg.js → reference-knb7evpn.js} +4 -4
  169. package/dist/chunks/{file-retention-n37c4crj.js → reference-kp8q1t60.js} +9 -9
  170. package/dist/chunks/{file-retention-r5ck68vt.js → reference-kvkwxqvc.js} +9 -9
  171. package/dist/chunks/{file-retention-0e0st8s7.js → reference-kvqct8d7.js} +21 -21
  172. package/dist/chunks/{file-retention-1tq060df.js → reference-kxpygcw9.js} +6 -6
  173. package/dist/chunks/{file-retention-tdme3qvq.js → reference-kxw0p7t7.js} +4 -4
  174. package/dist/chunks/{file-retention-2cdjst23.js → reference-m3agvr0s.js} +11 -11
  175. package/dist/chunks/{file-retention-kerhshr9.js → reference-m64xvjj1.js} +5 -5
  176. package/dist/chunks/{file-retention-yzmh6vm3.js → reference-m8ejta5g.js} +3 -3
  177. package/dist/chunks/{file-retention-rs1yzs7v.js → reference-m8zkp0x2.js} +52 -52
  178. package/dist/chunks/{file-retention-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-retention-z79d5grv.js → reference-mahgktyj.js} +31 -31
  180. package/dist/chunks/{file-retention-56gdpj1q.js → reference-mfqp6xfm.js} +6 -6
  181. package/dist/chunks/{file-retention-r4d7c6cg.js → reference-mp9pavxw.js} +4 -4
  182. package/dist/chunks/{file-retention-edbfpfck.js → reference-mrvjcs5x.js} +6 -6
  183. package/dist/chunks/{file-retention-sm965ndy.js → reference-ms93yq6r.js} +8 -8
  184. package/dist/chunks/{file-retention-320y3j5b.js → reference-mvfq7z39.js} +6 -6
  185. package/dist/chunks/{file-retention-5njbeffs.js → reference-n1ytvyqk.js} +13 -13
  186. package/dist/chunks/{file-retention-wwc60ycd.js → reference-n396qpd7.js} +5 -5
  187. package/dist/chunks/{file-retention-bb8wzrbb.js → reference-n76hx912.js} +8 -8
  188. package/dist/chunks/{file-retention-zcv4gjfc.js → reference-nawp3sa8.js} +17 -17
  189. package/dist/chunks/{file-retention-nvxqht09.js → reference-ndmv45hp.js} +3 -3
  190. package/dist/chunks/{file-retention-e6d6pdps.js → reference-ndqtf2h8.js} +6 -6
  191. package/dist/chunks/{file-retention-66cwwmwe.js → reference-ndska8nx.js} +18 -18
  192. package/dist/chunks/{file-retention-030jzqrs.js → reference-ngads3cw.js} +1 -1
  193. package/dist/chunks/{file-retention-pwg06x6c.js → reference-nm61wxq0.js} +10 -10
  194. package/dist/chunks/{file-retention-sq7pnv40.js → reference-nm88qpht.js} +13 -13
  195. package/dist/chunks/{file-retention-qg0jgkcp.js → reference-nq7qbqzc.js} +9 -9
  196. package/dist/chunks/{file-retention-s1g5cvt5.js → reference-nvt68vec.js} +20 -20
  197. package/dist/chunks/{file-retention-f0n97kr3.js → reference-p10yth8x.js} +11 -11
  198. package/dist/chunks/{file-retention-cmwkp3r5.js → reference-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{file-retention-s8s13gpy.js → reference-pdfyt4tn.js} +11 -11
  200. package/dist/chunks/{file-retention-mtft99cd.js → reference-pecb0brz.js} +5 -5
  201. package/dist/chunks/reference-phz3h32g.js +18 -0
  202. package/dist/chunks/{file-retention-4cwyw9nt.js → reference-pj5amqmw.js} +26 -26
  203. package/dist/chunks/{file-retention-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-retention-wqnexqmt.js → reference-pk5sdxey.js} +11 -11
  205. package/dist/chunks/{file-retention-pknna89w.js → reference-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-retention-r1eewcm5.js → reference-ppn8xss7.js} +6 -6
  207. package/dist/chunks/{file-retention-0q8z25ax.js → reference-pz21jr5g.js} +13 -13
  208. package/dist/chunks/{file-retention-e1j9zn8x.js → reference-q9g8rvr0.js} +15 -15
  209. package/dist/chunks/{file-retention-a2ew8a62.js → reference-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{file-retention-7dqw4kz8.js → reference-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{file-retention-qcssbjdb.js → reference-qmbakkq8.js} +24 -24
  212. package/dist/chunks/{file-retention-qsdy395h.js → reference-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-retention-f97c0hvw.js → reference-qv6jaz9v.js} +4 -4
  214. package/dist/chunks/reference-qw05y2jm.js +247 -0
  215. package/dist/chunks/{file-retention-r9mregkx.js → reference-r9mregkx.js} +2 -2
  216. package/dist/chunks/{file-retention-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-retention-pr5bwn0j.js → reference-rh3h661e.js} +2 -2
  218. package/dist/chunks/{file-retention-grb17zcw.js → reference-rv9pf5qx.js} +90 -90
  219. package/dist/chunks/{file-retention-47kcz5j6.js → reference-s1vw05sc.js} +9 -9
  220. package/dist/chunks/{file-retention-pgstsa3r.js → reference-s87jav8w.js} +30 -30
  221. package/dist/chunks/{file-retention-s8d7rejh.js → reference-s8d7rejh.js} +1 -1
  222. package/dist/chunks/{file-retention-q0hqxkgm.js → reference-sa7v3xbp.js} +5 -5
  223. package/dist/chunks/{file-retention-r70effxe.js → reference-sbn35ts9.js} +26 -26
  224. package/dist/chunks/{file-retention-f11whwgg.js → reference-shr2sdsm.js} +23 -23
  225. package/dist/chunks/{file-retention-x5hkbppd.js → reference-spt16dfm.js} +30 -30
  226. package/dist/chunks/{file-retention-h74ge2a2.js → reference-swvnyk58.js} +11 -11
  227. package/dist/chunks/{file-retention-se8z0pj2.js → reference-sxmp26qp.js} +13 -13
  228. package/dist/chunks/{file-retention-bf0ztrs3.js → reference-t9zs3egg.js} +4 -4
  229. package/dist/chunks/{file-retention-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{file-retention-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{file-retention-8csq5jz1.js → reference-td40qxmx.js} +21 -21
  232. package/dist/chunks/{file-retention-tdstcens.js → reference-tdstcens.js} +1 -1
  233. package/dist/chunks/{file-retention-w8y9a79x.js → reference-tkbt61sv.js} +38 -38
  234. package/dist/chunks/{file-retention-0dfw7kj5.js → reference-tnt42qtz.js} +11 -11
  235. package/dist/chunks/{file-retention-tvtrv512.js → reference-tvtrv512.js} +1 -1
  236. package/dist/chunks/{file-retention-z3pw5915.js → reference-tz2bjj40.js} +5 -5
  237. package/dist/chunks/{file-retention-ws2pr6e8.js → reference-v3d30ngf.js} +15 -15
  238. package/dist/chunks/{file-retention-veqvce7d.js → reference-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-retention-q0qep26h.js → reference-vgfjjsrb.js} +5 -5
  240. package/dist/chunks/{file-retention-80z3br0b.js → reference-vrg0y3vt.js} +24 -24
  241. package/dist/chunks/{file-retention-8htta391.js → reference-vttrqb4n.js} +8 -8
  242. package/dist/chunks/{file-retention-am60j996.js → reference-vtwtbqc7.js} +8 -8
  243. package/dist/chunks/{file-retention-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{file-retention-64kphnzf.js → reference-w1k39n5e.js} +4 -4
  245. package/dist/chunks/{file-retention-k69na4ps.js → reference-w1rs9k2x.js} +29 -29
  246. package/dist/chunks/{file-retention-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-retention-mdp4tsk4.js → reference-w5eb0z32.js} +3 -3
  248. package/dist/chunks/{file-retention-vsecdp8k.js → reference-w94zwhkx.js} +47 -47
  249. package/dist/chunks/{file-retention-qte5z7bc.js → reference-wbkyxrgf.js} +5 -5
  250. package/dist/chunks/{file-retention-wd87259q.js → reference-wd87259q.js} +1 -1
  251. package/dist/chunks/{file-retention-eew5sq93.js → reference-wn7brba8.js} +25 -25
  252. package/dist/chunks/{file-retention-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{file-retention-ts7n5m5a.js → reference-x9dg854n.js} +9 -9
  254. package/dist/chunks/{file-retention-f7tymrhk.js → reference-xa5y1v1s.js} +47 -47
  255. package/dist/chunks/{file-retention-9jhw3ahb.js → reference-xcm12kff.js} +11 -11
  256. package/dist/chunks/{file-retention-y180wre1.js → reference-xkp3n9nh.js} +15 -15
  257. package/dist/chunks/{file-retention-rpg9c19m.js → reference-xw0r27ex.js} +4 -4
  258. package/dist/chunks/{file-retention-eyn7p3z3.js → reference-xwn03wp9.js} +9 -9
  259. package/dist/chunks/{file-retention-15bxggqa.js → reference-xx83pe84.js} +9 -9
  260. package/dist/chunks/{file-retention-k2fzxap7.js → reference-xye9w2dv.js} +10 -10
  261. package/dist/chunks/{file-retention-n7a1v19n.js → reference-y0w5bt7m.js} +38 -38
  262. package/dist/chunks/{file-retention-jwztks0a.js → reference-y15fhebr.js} +17 -17
  263. package/dist/chunks/{file-retention-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{file-retention-0e6bfx7v.js → reference-y61jd4yh.js} +5 -5
  265. package/dist/chunks/{file-retention-espmqh47.js → reference-y64wkpzd.js} +5 -5
  266. package/dist/chunks/{file-retention-dpkg50ah.js → reference-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-retention-j91djj78.js → reference-y8r82tqy.js} +16 -16
  268. package/dist/chunks/{file-retention-wy0sms8q.js → reference-ycqmpjnx.js} +13 -13
  269. package/dist/chunks/{file-retention-dwda6jd0.js → reference-yejsh80d.js} +35 -35
  270. package/dist/chunks/{file-retention-fphthhwy.js → reference-ynhtccz1.js} +43 -43
  271. package/dist/chunks/{file-retention-r8xr0va3.js → reference-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{file-retention-0tmgye68.js → reference-ypx73geg.js} +9 -9
  273. package/dist/chunks/{file-retention-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-retention-s4enseaf.js → reference-yrznvahk.js} +2 -2
  275. package/dist/chunks/{file-retention-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-retention-29x78va6.js → reference-z63w68vq.js} +6 -6
  277. package/dist/chunks/{file-retention-7et47hrm.js → reference-z9bkweyj.js} +20 -20
  278. package/dist/chunks/{file-retention-4gde0705.js → reference-zd2jvyct.js} +23 -23
  279. package/dist/chunks/{file-retention-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-retention-pay99sa2.js → reference-zf2x6a7d.js} +28 -28
  281. package/dist/chunks/{file-retention-c9ztkm9f.js → reference-zfhw6n37.js} +7 -7
  282. package/dist/chunks/{file-retention-r4wafeyv.js → reference-znz75wx4.js} +18 -18
  283. package/dist/chunks/{file-retention-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-retention-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{file-retention-cnfba84y.js → reference-zyaqxzpp.js} +18 -18
  286. package/dist/chunks/{file-retention-675gk2e9.js → reference-zyghnjwz.js} +4 -4
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +78 -78
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +141 -141
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  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 +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  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 +6 -6
  419. package/dist/filesystem/location-watcher.js +225 -225
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +105 -105
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +98 -98
  429. package/dist/git.js +10 -10
  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 +90 -90
  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 +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +86 -86
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +126 -126
  470. package/dist/mcp/oauth.js +101 -79
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +101 -101
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +116 -116
  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 +101 -101
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +140 -140
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +227 -227
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +87 -87
  554. package/dist/provider.js +100 -100
  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 +95 -95
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -96
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +132 -132
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +117 -117
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +171 -171
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +208 -208
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +154 -154
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +215 -215
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +216 -216
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +104 -104
  623. package/dist/skill.js +111 -111
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +125 -125
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +123 -123
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +102 -102
  636. package/dist/tool/plugin/read.js +120 -120
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +112 -112
  639. package/dist/tool/plugin/subagent.js +217 -217
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +111 -111
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/types/integration.d.ts +1 -0
  648. package/dist/types/mcp/oauth.d.ts +4 -0
  649. package/dist/types/v1/config/migrate.d.ts +1 -0
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +9 -8
  691. package/dist/chunks/file-retention-0mesazry.js +0 -4
  692. package/dist/chunks/file-retention-6ekjhmbd.js +0 -247
  693. package/dist/chunks/file-retention-86f8k4a1.js +0 -478
  694. package/dist/chunks/file-retention-rap9a73h.js +0 -18
  695. package/dist/chunks/file-retention-vpz3zhr4.js +0 -26
  696. /package/dist/chunks/{file-retention-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{file-retention-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{file-retention-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{file-retention-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{file-retention-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{file-retention-24dcb14g.js → reference-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{file-retention-2710q6r3.js → reference-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{file-retention-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{file-retention-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{file-retention-359p4xyc.js → reference-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{file-retention-3asan66x.js → reference-3asan66x.js} +0 -0
  707. /package/dist/chunks/{file-retention-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{file-retention-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{file-retention-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{file-retention-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{file-retention-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{file-retention-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{file-retention-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{file-retention-53557ph1.js → reference-53557ph1.js} +0 -0
  715. /package/dist/chunks/{file-retention-550bvhaj.js → reference-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{file-retention-6prwharc.js → reference-6prwharc.js} +0 -0
  717. /package/dist/chunks/{file-retention-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{file-retention-7m9af43g.js → reference-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{file-retention-822emrt2.js → reference-822emrt2.js} +0 -0
  720. /package/dist/chunks/{file-retention-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{file-retention-8n3pysct.js → reference-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{file-retention-922hggd3.js → reference-922hggd3.js} +0 -0
  723. /package/dist/chunks/{file-retention-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{file-retention-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{file-retention-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{file-retention-af5trqkr.js → reference-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{file-retention-afrmfg78.js → reference-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{file-retention-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{file-retention-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{file-retention-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{file-retention-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{file-retention-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{file-retention-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{file-retention-d9fn303g.js → reference-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{file-retention-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{file-retention-dajrwvna.js → reference-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{file-retention-dap0rakb.js → reference-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{file-retention-df08tz66.js → reference-df08tz66.js} +0 -0
  739. /package/dist/chunks/{file-retention-dy18nga0.js → reference-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{file-retention-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{file-retention-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{file-retention-ec1grn59.js → reference-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{file-retention-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{file-retention-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{file-retention-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{file-retention-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{file-retention-faypxj3z.js → reference-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{file-retention-fd410y7t.js → reference-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{file-retention-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{file-retention-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{file-retention-g86h250q.js → reference-g86h250q.js} +0 -0
  752. /package/dist/chunks/{file-retention-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{file-retention-gftt206x.js → reference-gftt206x.js} +0 -0
  754. /package/dist/chunks/{file-retention-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{file-retention-hk9envan.js → reference-hk9envan.js} +0 -0
  756. /package/dist/chunks/{file-retention-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{file-retention-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{file-retention-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{file-retention-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{file-retention-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{file-retention-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{file-retention-mp448xyj.js → reference-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{file-retention-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{file-retention-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{file-retention-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{file-retention-njntx4h6.js → reference-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{file-retention-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-retention-q74kybfr.js → reference-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-retention-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-retention-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-retention-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-retention-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-retention-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-retention-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-retention-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-retention-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{file-retention-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{file-retention-twg0f83k.js → reference-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{file-retention-w803qqfp.js → reference-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{file-retention-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{file-retention-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{file-retention-wtztk69x.js → reference-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-retention-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-retention-x61499pn.js → reference-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-retention-y44na4kk.js → reference-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-retention-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{file-retention-y8f7s663.js → reference-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{file-retention-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{file-retention-ym463w8f.js → reference-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{file-retention-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./reference-922hggd3.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./file-retention-zgqrnz3r.js";
6
+ Service75,
7
+ node79
8
+ } from "./reference-8t7r2jb8.js";
9
9
  import {
10
- Service15,
11
- node17
12
- } from "./file-retention-pgstsa3r.js";
10
+ Service51,
11
+ node54
12
+ } from "./reference-s87jav8w.js";
13
13
  import {
14
14
  __export
15
- } from "./file-retention-9rqn6x4v.js";
15
+ } from "./reference-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content2,
20
+ Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event3,
24
+ Event: () => Event8,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput3,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError3,
31
+ NotFoundError: () => NotFoundError6,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service14,
33
+ Service: () => Service50,
34
34
  Submatch: () => Submatch2,
35
- node: () => node16
35
+ node: () => node53
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
@@ -44,18 +44,18 @@ var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
51
- var Content2 = Schema.Struct({
51
+ var Content3 = Schema.Struct({
52
52
  uri: Schema.String,
53
53
  name: Schema.String.pipe(Schema.optional),
54
54
  content: Schema.String,
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput2 = Schema.Struct({
58
+ var ListInput3 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event3 = FileSystem.Event;
81
+ var Event8 = FileSystem.Event;
82
82
 
83
- class Service14 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service50 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service76;
88
- const search = yield* Service15;
87
+ const location = yield* Service75;
88
+ const search = yield* Service51;
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,15 +96,15 @@ var baseLayer = Layer.effect(Service14, 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 Service14.of({
99
+ return Service50.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node16 = makeLocationNode({
132
- service: Service14,
131
+ var node53 = makeLocationNode({
132
+ service: Service50,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node80, node17]
134
+ deps: [FSUtil.node, node79, node54]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service50, node53, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
- Info24
6
- } from "./file-retention-kk00bynn.js";
5
+ Info17
6
+ } from "./reference-jw80jp6b.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info17
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info12
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info24)
47
+ permission: Schema.optional(Info17)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info17, exports_agent4 };
74
+ export { Info12, exports_agent3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-dpkg50ah.js";
3
+ } from "./reference-y71avatq.js";
4
4
  import {
5
- Service49,
6
- node53
7
- } from "./file-retention-bc5qqj72.js";
5
+ Service58,
6
+ node61
7
+ } from "./reference-4r69v978.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service19,
17
- node: () => node21,
16
+ Service: () => Service39,
17
+ node: () => node41,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service19 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service39 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service19, Effect.gen(function* () {
38
- const environment = yield* Service49;
37
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
38
+ const environment = yield* Service58;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service19.of({ withLock, write, writeTextPreservingBom });
59
+ return Service39.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node21 = makeLocationNode({ service: Service19, layer, deps: [node53] });
61
+ var node41 = makeLocationNode({ service: Service39, layer, deps: [node61] });
62
62
 
63
- export { Service19, readText2, syncTextBom2, node21, exports_file_mutation };
63
+ export { Service39, readText2, syncTextBom2, node41, exports_file_mutation };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info20
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info20 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info20, exports_skills };
21
+ export { Info11, exports_skills };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
- node82
6
- } from "./file-retention-2angj6gv.js";
5
+ node81
6
+ } from "./reference-1jfn0zqb.js";
7
7
  import {
8
- Service76,
9
- node80
10
- } from "./file-retention-zgqrnz3r.js";
8
+ Service75,
9
+ node79
10
+ } from "./reference-8t7r2jb8.js";
11
11
  import {
12
12
  create3
13
- } from "./file-retention-rdw6cm16.js";
13
+ } from "./reference-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./file-retention-bb8wzrbb.js";
15
+ make20
16
+ } from "./reference-n76hx912.js";
17
17
  import {
18
18
  __export
19
- } from "./file-retention-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service22,
24
+ Service: () => Service67,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node25
26
+ node: () => node71
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service67 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service22, Effect.gen(function* () {
37
- const location = yield* Service76;
36
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
37
+ const location = yield* Service75;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make20;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service22.of({ ...state, directory: location.directory });
58
+ return Service67.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node25 = makeLocationNode({
61
- service: Service22,
60
+ var node71 = makeLocationNode({
61
+ service: Service67,
62
62
  layer,
63
- deps: [node80, Global.node, node82, FSUtil.node]
63
+ deps: [node79, Global.node, node81, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service22, node25, exports_strategies };
66
+ export { Service67, node71, exports_strategies };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./file-retention-kd4pdhg0.js";
7
+ } from "./reference-fpw6v5x5.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./file-retention-tfpy23zn.js";
11
+ } from "./reference-fcymrbm6.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./file-retention-2angj6gv.js";
13
+ Service77,
14
+ node81
15
+ } from "./reference-1jfn0zqb.js";
16
16
  import {
17
- ID16,
17
+ ID17,
18
18
  Current3,
19
- Info32,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event19,
21
+ Event20,
22
22
  Vcs3
23
- } from "./file-retention-6x0h2hvg.js";
23
+ } from "./reference-2fgn2we9.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-retention-dj2t23y0.js";
27
+ } from "./reference-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-retention-m0jqrx5p.js";
30
+ } from "./reference-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./reference-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID15,
40
- Info: () => Info31,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID15 = ID16;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info31 = Info32;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID15
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service76 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service77, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service78;
98
+ const git = yield* Service77;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service81;
101
101
  const db = (yield* Service82).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event19.Updated, fromRow(row));
109
+ yield* bus.publish(Event20.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID15.global,
146
+ previous: project.previous ?? ID16.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event19.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID15.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID15.make(root) : undefined;
211
+ return root ? ID16.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID15.make(node) : undefined;
227
+ return node ? ID16.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID15.global,
236
+ id: id ?? ID16.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID15.global,
253
+ id: id ?? ID16.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID15.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service77.of({ list, update, resolve });
273
+ return Service76.of({ list, update, resolve });
274
274
  }));
275
- var node81 = makeGlobalNode({
276
- service: Service77,
275
+ var node80 = makeGlobalNode({
276
+ service: Service76,
277
277
  layer,
278
- deps: [node85, node86, FSUtil.node, node82, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node81, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID15, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
281
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service69
3
- } from "./file-retention-38pjs6q7.js";
2
+ Service52
3
+ } from "./reference-h8bmxzy2.js";
4
4
  import {
5
- Service8
6
- } from "./file-retention-kvw3pn7b.js";
5
+ Service10
6
+ } from "./reference-arecezhq.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-retention-qsdy395h.js";
9
+ } from "./reference-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./reference-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: () => Plugin3
18
+ Plugin: () => Plugin8
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin3 = define({
22
+ var Plugin8 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service69;
26
- const compaction = yield* Service8;
25
+ const config = yield* Service52;
26
+ const compaction = yield* Service10;
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 Plugin3 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin3, exports_compaction };
42
+ export { Plugin8, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info21
13
+ Info: () => Info9
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info21 = Schema.Struct({
30
+ var Info9 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info21, exports_attachment };
34
+ export { Image2, Info9, exports_attachment };