@opencode/core 0.0.0-dev-19617 → 0.0.0-dev-19619

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-retention-w6k2nhch.js → state-097xh0r3.js} +33 -33
  8. package/dist/chunks/{file-retention-29cs1g18.js → state-0faq74rz.js} +11 -11
  9. package/dist/chunks/{file-retention-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{file-retention-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{file-retention-sazb1h0p.js → state-0wzb4xv0.js} +11 -11
  12. package/dist/chunks/{file-retention-x4nz54qe.js → state-0xdeh7pz.js} +15 -15
  13. package/dist/chunks/{file-retention-gjzff5er.js → state-10q2fftm.js} +10 -10
  14. package/dist/chunks/{file-retention-fqb2p7cx.js → state-19vf66h0.js} +4 -4
  15. package/dist/chunks/{file-retention-ej3vp9cf.js → state-1a1r3f73.js} +6 -6
  16. package/dist/chunks/{file-retention-9jwg4mj7.js → state-1b89q7zg.js} +14 -14
  17. package/dist/chunks/{file-retention-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-retention-fy1kaafr.js → state-1p637tnt.js} +14 -14
  19. package/dist/chunks/{file-retention-70y17xeh.js → state-1x75wf9g.js} +5 -5
  20. package/dist/chunks/state-2118r6de.js +26 -0
  21. package/dist/chunks/{file-retention-21r38tys.js → state-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-retention-2402vzrj.js → state-2402vzrj.js} +1 -1
  23. package/dist/chunks/{file-retention-18swyw0t.js → state-28kcw9hr.js} +45 -45
  24. package/dist/chunks/{file-retention-8rr5w2ew.js → state-29rcqgc7.js} +80 -80
  25. package/dist/chunks/{file-retention-a9tcrq61.js → state-29wq7zbx.js} +12 -12
  26. package/dist/chunks/{file-retention-z63w68vq.js → state-29x78va6.js} +6 -6
  27. package/dist/chunks/{file-retention-aqeqq1tf.js → state-2a1p01cj.js} +51 -51
  28. package/dist/chunks/{file-retention-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-retention-h7ygw6q4.js → state-2bt6bea8.js} +9 -9
  30. package/dist/chunks/{file-retention-agq2sn5n.js → state-2e147z16.js} +6 -6
  31. package/dist/chunks/{file-retention-57ez7d0k.js → state-2fgn2we9.js} +9 -9
  32. package/dist/chunks/{file-retention-qgn6gcr1.js → state-2k8khapm.js} +5 -5
  33. package/dist/chunks/{file-retention-mypwhdkk.js → state-2p5y98w0.js} +6 -6
  34. package/dist/chunks/{file-retention-0b4f6mp2.js → state-2prd3etb.js} +30 -30
  35. package/dist/chunks/{file-retention-kg5r7emp.js → state-2texzmrd.js} +26 -26
  36. package/dist/chunks/{file-retention-qh7d57mv.js → state-324jz7fy.js} +4 -4
  37. package/dist/chunks/{file-retention-mnhyjcyd.js → state-33b7aymv.js} +86 -86
  38. package/dist/chunks/{file-retention-e6hd9jay.js → state-35agz59w.js} +4 -4
  39. package/dist/chunks/{file-retention-0r2k9kj6.js → state-35g6mzst.js} +15 -15
  40. package/dist/chunks/{file-retention-d85qp1ds.js → state-3avsbw2y.js} +19 -19
  41. package/dist/chunks/{file-retention-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-retention-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-retention-3p5hkrxv.js → state-3jqje4at.js} +34 -34
  44. package/dist/chunks/{file-retention-bhb5n9xr.js → state-3jwvk6df.js} +18 -18
  45. package/dist/chunks/{file-retention-mm71tc60.js → state-3s08q6xc.js} +19 -19
  46. package/dist/chunks/{file-retention-nnmab3m5.js → state-3shj2rdg.js} +16 -16
  47. package/dist/chunks/{file-retention-9kts0vsr.js → state-3sjz8m0p.js} +25 -25
  48. package/dist/chunks/{file-retention-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-retention-q1gp8mbh.js → state-3sr08wap.js} +6 -6
  50. package/dist/chunks/{file-retention-qv9y4v6r.js → state-3te25qqc.js} +33 -33
  51. package/dist/chunks/{file-retention-ndf7wh7w.js → state-3tsj5f46.js} +21 -21
  52. package/dist/chunks/{file-retention-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{file-retention-w171fkng.js → state-3w05p07m.js} +20 -20
  54. package/dist/chunks/{file-retention-hsp71j46.js → state-3zevfmxv.js} +1 -1
  55. package/dist/chunks/{file-retention-4dgbcxzg.js → state-4dgbcxzg.js} +1 -1
  56. package/dist/chunks/{file-retention-tvh2peyk.js → state-51wwr1cb.js} +7 -7
  57. package/dist/chunks/{file-retention-mfqp6xfm.js → state-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{file-retention-kemm8n5q.js → state-571v8kyd.js} +32 -32
  59. package/dist/chunks/{file-retention-5daktx2q.js → state-5daktx2q.js} +1 -1
  60. package/dist/chunks/state-5edc1x4t.js +472 -0
  61. package/dist/chunks/{file-retention-6p84ymk5.js → state-5f71spy3.js} +36 -36
  62. package/dist/chunks/{file-retention-cb9cr8vz.js → state-5k6red0j.js} +22 -22
  63. package/dist/chunks/state-5r663aq2.js +251 -0
  64. package/dist/chunks/{file-retention-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-retention-4z0v33m4.js → state-64xmj3r0.js} +30 -30
  66. package/dist/chunks/{file-retention-669tq793.js → state-669tq793.js} +1 -1
  67. package/dist/chunks/{file-retention-m2bm8kgx.js → state-67zdakk3.js} +17 -17
  68. package/dist/chunks/{file-retention-rtfsnp04.js → state-68na6ghx.js} +9 -9
  69. package/dist/chunks/{file-retention-f5wvj1yw.js → state-6bhdwa4f.js} +11 -11
  70. package/dist/chunks/{file-retention-5er01f6t.js → state-6mp5kyz7.js} +180 -180
  71. package/dist/chunks/{file-retention-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{file-retention-pgy12fq2.js → state-6r5csvev.js} +17 -17
  73. package/dist/chunks/{file-retention-13b7xy8e.js → state-71n3th9c.js} +5 -5
  74. package/dist/chunks/{file-retention-71q4at8m.js → state-71q4at8m.js} +1 -1
  75. package/dist/chunks/{file-retention-b1v7x4f0.js → state-73mx17hp.js} +23 -23
  76. package/dist/chunks/{file-retention-vzbef369.js → state-75p5n5ps.js} +22 -22
  77. package/dist/chunks/{file-retention-ewd1ksqg.js → state-76dkszc0.js} +23 -23
  78. package/dist/chunks/{file-retention-wbhjeqa0.js → state-78b8w714.js} +24 -24
  79. package/dist/chunks/{file-retention-844ef7ks.js → state-7b15y959.js} +8 -8
  80. package/dist/chunks/{file-retention-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{file-retention-jx8kcw9w.js → state-7bqgghcm.js} +37 -37
  82. package/dist/chunks/{file-retention-gs3psw06.js → state-7qdpe4cb.js} +9 -9
  83. package/dist/chunks/{file-retention-xxynqx5z.js → state-7w99qc9d.js} +2 -2
  84. package/dist/chunks/{file-retention-hf8fr414.js → state-7zj5q8bn.js} +15 -15
  85. package/dist/chunks/{file-retention-3wpzg793.js → state-89srvkns.js} +15 -15
  86. package/dist/chunks/{file-retention-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-retention-8p4f9s12.js → state-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{file-retention-wknvw5dv.js → state-8pj4s1sz.js} +17 -17
  89. package/dist/chunks/{file-retention-pb1eahw5.js → state-8xd21chy.js} +11 -11
  90. package/dist/chunks/{file-retention-9xzn68v5.js → state-8zrm0029.js} +35 -35
  91. package/dist/chunks/{file-retention-9nz7ga5n.js → state-97pyyzsd.js} +11 -11
  92. package/dist/chunks/{file-retention-3thn9ygr.js → state-97tba3wc.js} +22 -22
  93. package/dist/chunks/{file-retention-y9eqwahs.js → state-9jbjfr7m.js} +9 -9
  94. package/dist/chunks/{file-retention-rb9d13h1.js → state-9je39wvw.js} +43 -43
  95. package/dist/chunks/{file-retention-4wdhwteq.js → state-9wb1t077.js} +3 -3
  96. package/dist/chunks/{file-retention-j6h70cxt.js → state-9yfa5vrp.js} +22 -22
  97. package/dist/chunks/{file-retention-a1bz86dw.js → state-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{file-retention-spp1p3tw.js → state-a1jea0jw.js} +32 -32
  99. package/dist/chunks/{file-retention-mw7s1qqm.js → state-a8279h33.js} +20 -20
  100. package/dist/chunks/{file-retention-aaet6srn.js → state-aaet6srn.js} +2 -2
  101. package/dist/chunks/{file-retention-pesg4g4m.js → state-agndh9mm.js} +3 -3
  102. package/dist/chunks/{file-retention-j83byb14.js → state-an7cqtb7.js} +4 -4
  103. package/dist/chunks/{file-retention-b4m0jvqm.js → state-azcr6ymc.js} +20 -20
  104. package/dist/chunks/{file-retention-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{file-retention-q80dxf01.js → state-bajjbck4.js} +27 -27
  106. package/dist/chunks/{file-retention-y183daxr.js → state-bbth31rk.js} +9 -9
  107. package/dist/chunks/{file-retention-06dxphr1.js → state-bccb6npm.js} +4 -4
  108. package/dist/chunks/{file-retention-wxffcvth.js → state-bjmdedkt.js} +9 -9
  109. package/dist/chunks/{file-retention-8e1b1gzh.js → state-bqszwq89.js} +6 -6
  110. package/dist/chunks/{file-retention-5cb8a4qv.js → state-bwpeaz3e.js} +29 -29
  111. package/dist/chunks/{file-retention-magykp64.js → state-c20khjev.js} +21 -21
  112. package/dist/chunks/{file-retention-kgtbg51g.js → state-c74rwkq8.js} +24 -24
  113. package/dist/chunks/{file-retention-tf7cta9d.js → state-cfm6v96c.js} +15 -15
  114. package/dist/chunks/{file-retention-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{file-retention-hfdr1yjj.js → state-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{file-retention-5ffqwp29.js → state-cw6ezj50.js} +24 -24
  117. package/dist/chunks/{file-retention-d09006c3.js → state-d09006c3.js} +2 -2
  118. package/dist/chunks/{file-retention-rsyxjf6n.js → state-d2jcwrqj.js} +11 -11
  119. package/dist/chunks/{file-retention-z8y90bmn.js → state-d2y84238.js} +23 -23
  120. package/dist/chunks/{file-retention-7d01vtdt.js → state-d3tz2ej1.js} +9 -9
  121. package/dist/chunks/{file-retention-wyj0k83d.js → state-d3yf3xs0.js} +43 -43
  122. package/dist/chunks/{file-retention-nvv2w69t.js → state-d66s3x2y.js} +11 -11
  123. package/dist/chunks/{file-retention-dyr0fjz1.js → state-d7pfk9kx.js} +11 -11
  124. package/dist/chunks/{file-retention-126se46d.js → state-db0wt107.js} +10 -10
  125. package/dist/chunks/{file-retention-2pam5ezh.js → state-dd3vv6mw.js} +20 -20
  126. package/dist/chunks/{file-retention-jhxy2sk1.js → state-dfem2sdx.js} +2 -2
  127. package/dist/chunks/{file-retention-rg3v5vpq.js → state-dfst6sb1.js} +17 -17
  128. package/dist/chunks/{file-retention-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{file-retention-h1afk52f.js → state-dq66pm2h.js} +6 -6
  130. package/dist/chunks/{file-retention-evbgk2k8.js → state-dqmwfghx.js} +5 -5
  131. package/dist/chunks/{file-retention-r5depw3d.js → state-ds6yvnwz.js} +24 -24
  132. package/dist/chunks/{file-retention-esj6mydx.js → state-e3mscyvg.js} +13 -13
  133. package/dist/chunks/{file-retention-s5rh44ar.js → state-e3pb3krz.js} +4 -4
  134. package/dist/chunks/{file-retention-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
  135. package/dist/chunks/{file-retention-e5nv3ght.js → state-e5nv3ght.js} +2 -2
  136. package/dist/chunks/{file-retention-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
  137. package/dist/chunks/{file-retention-zqcfhx7s.js → state-ebvdhfn5.js} +30 -30
  138. package/dist/chunks/{file-retention-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-retention-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-retention-kcyfyv8v.js → state-ezc4vqg9.js} +16 -16
  141. package/dist/chunks/{file-retention-rhraev7y.js → state-f2n192rq.js} +4 -4
  142. package/dist/chunks/{file-retention-exx0kxr8.js → state-f5cp0sk0.js} +7 -7
  143. package/dist/chunks/{file-retention-f828m53h.js → state-f828m53h.js} +2 -2
  144. package/dist/chunks/{file-retention-v07rhjax.js → state-f9j6kmhz.js} +9 -9
  145. package/dist/chunks/{file-retention-havwf4k9.js → state-fc7zbc5p.js} +8 -8
  146. package/dist/chunks/{file-retention-bsda9gvx.js → state-fd7qd9sy.js} +24 -24
  147. package/dist/chunks/{file-retention-sx8f04je.js → state-fm5c3zy8.js} +16 -16
  148. package/dist/chunks/{file-retention-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-retention-508cf8kg.js → state-g31yknb9.js} +5 -5
  150. package/dist/chunks/{file-retention-9s7s2hrz.js → state-g5akcga1.js} +1 -1
  151. package/dist/chunks/{file-retention-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{file-retention-4gyxjxrp.js → state-gmh1p7c3.js} +47 -47
  153. package/dist/chunks/{file-retention-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/state-gyce5qg1.js +18 -0
  155. package/dist/chunks/{file-retention-s90s62as.js → state-gz9zg84n.js} +17 -17
  156. package/dist/chunks/{file-retention-wvapbnfc.js → state-gzv4yv3q.js} +10 -10
  157. package/dist/chunks/{file-retention-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  158. package/dist/chunks/state-h47he10w.js +4 -0
  159. package/dist/chunks/{file-retention-zkqsy98m.js → state-h61yhmmq.js} +17 -17
  160. package/dist/chunks/{file-retention-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-retention-qg9t7k56.js → state-h7vn9w3e.js} +4 -4
  162. package/dist/chunks/{file-retention-j07ynkak.js → state-hb432nf5.js} +15 -15
  163. package/dist/chunks/{file-retention-276gygcj.js → state-hc2ch4mw.js} +5 -5
  164. package/dist/chunks/{file-retention-81q6s179.js → state-hc844qg4.js} +18 -18
  165. package/dist/chunks/{file-retention-pvp0fmcy.js → state-hk9khx82.js} +13 -13
  166. package/dist/chunks/{file-retention-qefhz522.js → state-hkckt1bw.js} +11 -11
  167. package/dist/chunks/{file-retention-fg50ch7r.js → state-hkha9254.js} +4 -4
  168. package/dist/chunks/{file-retention-hkmh7tch.js → state-hmw7b3xg.js} +26 -26
  169. package/dist/chunks/{file-retention-2h7tr172.js → state-hzm9egg4.js} +11 -11
  170. package/dist/chunks/{file-retention-3fp85657.js → state-j4265jp1.js} +26 -26
  171. package/dist/chunks/{file-retention-d0q8x7fd.js → state-j4w3v36h.js} +18 -18
  172. package/dist/chunks/{file-retention-j56e64zr.js → state-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-retention-fd1zsxbb.js → state-j7gh742f.js} +6 -6
  174. package/dist/chunks/{file-retention-dmxvr22s.js → state-j7q006w5.js} +24 -24
  175. package/dist/chunks/{file-retention-g2n1kqkx.js → state-jbqb2jwb.js} +18 -18
  176. package/dist/chunks/{file-retention-7j92jdde.js → state-jva4mgym.js} +4 -4
  177. package/dist/chunks/{file-retention-9180haxf.js → state-k3j9nvsf.js} +26 -26
  178. package/dist/chunks/{file-retention-4tzvqyk7.js → state-kkk4ycsn.js} +32 -32
  179. package/dist/chunks/{file-retention-xqmwp9mt.js → state-kkvmk5mz.js} +10 -10
  180. package/dist/chunks/{file-retention-trdbzp7q.js → state-kp6q4vfw.js} +38 -38
  181. package/dist/chunks/{file-retention-5qzqc01j.js → state-krmc1sjp.js} +4 -4
  182. package/dist/chunks/{file-retention-d72qkhwk.js → state-kthsafvd.js} +11 -11
  183. package/dist/chunks/{file-retention-qc5a07km.js → state-kxfmahn5.js} +18 -18
  184. package/dist/chunks/{file-retention-kcfncsdb.js → state-kytg702f.js} +11 -11
  185. package/dist/chunks/{file-retention-cqxef839.js → state-m4hmv5tv.js} +32 -32
  186. package/dist/chunks/{file-retention-1zprvct9.js → state-m8d7rwwq.js} +6 -6
  187. package/dist/chunks/{file-retention-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{file-retention-v4cwwf6k.js → state-mrx0gnf8.js} +1 -1
  189. package/dist/chunks/{file-retention-4xhhjths.js → state-mw934p8z.js} +8 -8
  190. package/dist/chunks/{file-retention-qbvd2c79.js → state-mx19mr1m.js} +28 -28
  191. package/dist/chunks/{file-retention-qb8wdytp.js → state-n1t3wdzz.js} +8 -8
  192. package/dist/chunks/{file-retention-dd4k3tty.js → state-n36sd619.js} +47 -47
  193. package/dist/chunks/{file-retention-j279vgb3.js → state-n5a5z38x.js} +54 -54
  194. package/dist/chunks/{file-retention-j6dc1d3z.js → state-n91phzgs.js} +6 -6
  195. package/dist/chunks/{file-retention-7581kcks.js → state-nc2qx4zy.js} +30 -30
  196. package/dist/chunks/{file-retention-ak8w4t1r.js → state-nhgnsbzd.js} +26 -26
  197. package/dist/chunks/{file-retention-egthh08c.js → state-nk4syya3.js} +15 -15
  198. package/dist/chunks/{file-retention-ky3seynh.js → state-nng2ktcm.js} +2 -2
  199. package/dist/chunks/{file-retention-hk9ksenn.js → state-npkvcn11.js} +10 -10
  200. package/dist/chunks/{file-retention-n3gg6d5p.js → state-nrs119em.js} +12 -12
  201. package/dist/chunks/{file-retention-a4d6h2dp.js → state-nspxmzm8.js} +25 -25
  202. package/dist/chunks/{file-retention-nbx459v7.js → state-ny5dfp0g.js} +14 -14
  203. package/dist/chunks/{file-retention-bgr2vz0b.js → state-p1d46h3z.js} +25 -25
  204. package/dist/chunks/{file-retention-23sxaqwc.js → state-p57dvf2n.js} +4 -4
  205. package/dist/chunks/{file-retention-na6jv411.js → state-ph0fbfq2.js} +2 -2
  206. package/dist/chunks/{file-retention-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-retention-pknna89w.js → state-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-retention-30ffk5w0.js → state-pv445f03.js} +27 -27
  209. package/dist/chunks/{file-retention-y3pw9whf.js → state-py24y5k5.js} +20 -20
  210. package/dist/chunks/{file-retention-f2gjs8p9.js → state-q0dhpvqs.js} +17 -17
  211. package/dist/chunks/{file-retention-qsxff6dv.js → state-q2tqwnr3.js} +25 -25
  212. package/dist/chunks/{file-retention-f2h0ge9w.js → state-q34edmb6.js} +13 -13
  213. package/dist/chunks/{file-retention-av8es0ey.js → state-qagnz9a5.js} +11 -11
  214. package/dist/chunks/{file-retention-s0nkzfby.js → state-qbvf5jer.js} +8 -8
  215. package/dist/chunks/{file-retention-xezh77hc.js → state-qfmkjdkz.js} +20 -20
  216. package/dist/chunks/{file-retention-3w1d8477.js → state-qhptap2d.js} +14 -14
  217. package/dist/chunks/{file-retention-p8bhcqp6.js → state-qqjwcvaq.js} +5 -5
  218. package/dist/chunks/{file-retention-qsdy395h.js → state-qsdy395h.js} +1 -1
  219. package/dist/chunks/{file-retention-hnr5yq9h.js → state-qte5z7bc.js} +5 -5
  220. package/dist/chunks/{file-retention-gn2hfjap.js → state-qtkzm0vp.js} +8 -8
  221. package/dist/chunks/{file-retention-3zykk5as.js → state-qwjmgwmn.js} +8 -8
  222. package/dist/chunks/{file-retention-f2742wym.js → state-qx0y9v2b.js} +17 -17
  223. package/dist/chunks/{file-retention-wdrzmzfn.js → state-r0r5a59z.js} +28 -28
  224. package/dist/chunks/{file-retention-8vx9rmwz.js → state-r3g16p04.js} +11 -11
  225. package/dist/chunks/{file-retention-npkymxxz.js → state-r402hwa6.js} +1 -1
  226. package/dist/chunks/{file-retention-mhkvc446.js → state-r5x6zcsm.js} +3 -3
  227. package/dist/chunks/{file-retention-r9mregkx.js → state-r9mregkx.js} +2 -2
  228. package/dist/chunks/{file-retention-qs0gs2g1.js → state-raec4cfz.js} +12 -12
  229. package/dist/chunks/{file-retention-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{file-retention-s8d7rejh.js → state-rhjbct0v.js} +4 -4
  231. package/dist/chunks/{file-retention-4cyvw3p6.js → state-rn2343kj.js} +56 -56
  232. package/dist/chunks/{file-retention-tt4xct96.js → state-rp6tmztm.js} +19 -19
  233. package/dist/chunks/{file-retention-bz85s9hh.js → state-ryt7pzqc.js} +1 -1
  234. package/dist/chunks/{file-retention-8310x4c5.js → state-s16nmm85.js} +12 -12
  235. package/dist/chunks/{file-retention-yrznvahk.js → state-s4enseaf.js} +2 -2
  236. package/dist/chunks/{file-retention-4m2pmvxz.js → state-s90d8d6b.js} +6 -6
  237. package/dist/chunks/{file-retention-1gw4hrxs.js → state-sb225ygc.js} +13 -13
  238. package/dist/chunks/{file-retention-wmzw9v22.js → state-sb6d7jsa.js} +13 -13
  239. package/dist/chunks/{file-retention-264y2mvj.js → state-se4nd5as.js} +10 -10
  240. package/dist/chunks/{file-retention-gxdqkm0c.js → state-sw33f489.js} +9 -9
  241. package/dist/chunks/{file-retention-924ykxna.js → state-sxmda080.js} +3 -3
  242. package/dist/chunks/{file-retention-t3q0zrtj.js → state-sy64ktx8.js} +5 -5
  243. package/dist/chunks/{file-retention-c390ksyj.js → state-t1pxv65t.js} +3 -3
  244. package/dist/chunks/{file-retention-tph3grx4.js → state-t4c6n1n4.js} +9 -9
  245. package/dist/chunks/{file-retention-aq9j564q.js → state-t7kxrzfv.js} +17 -17
  246. package/dist/chunks/{file-retention-g7pgb33s.js → state-t8esaq1p.js} +6 -6
  247. package/dist/chunks/{file-retention-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  248. package/dist/chunks/{file-retention-fdttfrh6.js → state-tc6j6x3q.js} +9 -9
  249. package/dist/chunks/{file-retention-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  250. package/dist/chunks/{file-retention-tdstcens.js → state-tdstcens.js} +1 -1
  251. package/dist/chunks/{file-retention-g17wn8cw.js → state-tk4xefdg.js} +12 -12
  252. package/dist/chunks/{file-retention-xwgqmv93.js → state-tqwj4vg0.js} +27 -27
  253. package/dist/chunks/{file-retention-h4qgb8xj.js → state-ttpn01ps.js} +41 -41
  254. package/dist/chunks/{file-retention-tvtrv512.js → state-tvtrv512.js} +1 -1
  255. package/dist/chunks/{file-retention-e0jdvfpf.js → state-txxgpxvq.js} +3 -3
  256. package/dist/chunks/{file-retention-r7g94wtk.js → state-tzfrkvh8.js} +24 -24
  257. package/dist/chunks/{file-retention-cjvw1vr1.js → state-v1kf15d2.js} +6 -6
  258. package/dist/chunks/{file-retention-ccxmgenq.js → state-v55354wq.js} +1 -1
  259. package/dist/chunks/{file-retention-veqvce7d.js → state-veqvce7d.js} +1 -1
  260. package/dist/chunks/{file-retention-xj7wbnn3.js → state-vqjrrrw6.js} +4 -4
  261. package/dist/chunks/{file-retention-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  262. package/dist/chunks/{file-retention-v6wrn1g2.js → state-vzy7bsbz.js} +23 -23
  263. package/dist/chunks/{file-retention-bdhd9qj0.js → state-w21hr1ag.js} +9 -9
  264. package/dist/chunks/{file-retention-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{file-retention-wd87259q.js → state-wd87259q.js} +1 -1
  266. package/dist/chunks/{file-retention-q2f8db2z.js → state-wfzjjtzq.js} +4 -4
  267. package/dist/chunks/{file-retention-e8340df8.js → state-wq4mgxca.js} +4 -4
  268. package/dist/chunks/{file-retention-y50sdzkw.js → state-wq66yabw.js} +46 -46
  269. package/dist/chunks/{file-retention-2tkyep3v.js → state-ww06kf95.js} +16 -16
  270. package/dist/chunks/{file-retention-ax9ctke6.js → state-wwr4cs06.js} +11 -11
  271. package/dist/chunks/{file-retention-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{file-retention-07wrr0rm.js → state-x6mn7k7a.js} +16 -16
  273. package/dist/chunks/{file-retention-mab4qcb1.js → state-xcmejnqk.js} +8 -8
  274. package/dist/chunks/{file-retention-7fyak8f4.js → state-xe12cp59.js} +8 -8
  275. package/dist/chunks/{file-retention-5k148b68.js → state-xg3fmavg.js} +9 -9
  276. package/dist/chunks/{file-retention-fcwjxcrg.js → state-xnvr041a.js} +1 -1
  277. package/dist/chunks/{file-retention-f73rjn58.js → state-xw0r27ex.js} +4 -4
  278. package/dist/chunks/{file-retention-5r3jnckw.js → state-xwm0ajsd.js} +5 -5
  279. package/dist/chunks/{file-retention-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{file-retention-hpc1ag31.js → state-yb0s1s95.js} +52 -52
  281. package/dist/chunks/{file-retention-4y1pzw9c.js → state-ymawwaz8.js} +4 -4
  282. package/dist/chunks/{file-retention-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{file-retention-pecb0brz.js → state-yt0fqk68.js} +5 -5
  284. package/dist/chunks/{file-retention-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{file-retention-5t9ap4g5.js → state-z87ss26s.js} +10 -10
  286. package/dist/chunks/{file-retention-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-pmc74pb4.js → state-zmhc1ceh.js} +4 -4
  288. package/dist/chunks/{file-retention-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-retention-kf3rtttb.js → state-zveeavy8.js} +24 -24
  290. package/dist/chunks/{file-retention-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +81 -81
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +103 -103
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +81 -81
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +2 -2
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +223 -223
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +89 -89
  559. package/dist/provider.js +94 -94
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +86 -86
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +94 -94
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +89 -89
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +72 -72
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +83 -83
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +170 -170
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +149 -149
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +216 -216
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +92 -92
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +115 -115
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +111 -111
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/file-retention-49gatq4q.js +0 -472
  693. package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
  694. package/dist/chunks/file-retention-907a706s.js +0 -251
  695. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  696. package/dist/chunks/file-retention-vh6dfrxf.js +0 -26
  697. /package/dist/chunks/{file-retention-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{file-retention-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{file-retention-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{file-retention-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{file-retention-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{file-retention-2710q6r3.js → state-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{file-retention-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{file-retention-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{file-retention-359p4xyc.js → state-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{file-retention-3asan66x.js → state-3asan66x.js} +0 -0
  707. /package/dist/chunks/{file-retention-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{file-retention-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{file-retention-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{file-retention-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{file-retention-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{file-retention-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{file-retention-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{file-retention-53557ph1.js → state-53557ph1.js} +0 -0
  715. /package/dist/chunks/{file-retention-550bvhaj.js → state-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{file-retention-6prwharc.js → state-6prwharc.js} +0 -0
  717. /package/dist/chunks/{file-retention-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{file-retention-7m9af43g.js → state-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{file-retention-822emrt2.js → state-822emrt2.js} +0 -0
  720. /package/dist/chunks/{file-retention-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{file-retention-8n3pysct.js → state-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{file-retention-922hggd3.js → state-922hggd3.js} +0 -0
  723. /package/dist/chunks/{file-retention-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{file-retention-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{file-retention-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{file-retention-af5trqkr.js → state-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{file-retention-afrmfg78.js → state-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{file-retention-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{file-retention-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{file-retention-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{file-retention-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{file-retention-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{file-retention-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{file-retention-d9fn303g.js → state-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{file-retention-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{file-retention-dajrwvna.js → state-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{file-retention-dap0rakb.js → state-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{file-retention-df08tz66.js → state-df08tz66.js} +0 -0
  739. /package/dist/chunks/{file-retention-dy18nga0.js → state-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{file-retention-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{file-retention-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{file-retention-ec1grn59.js → state-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{file-retention-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{file-retention-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{file-retention-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{file-retention-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{file-retention-faypxj3z.js → state-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{file-retention-fd410y7t.js → state-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{file-retention-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{file-retention-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{file-retention-g86h250q.js → state-g86h250q.js} +0 -0
  752. /package/dist/chunks/{file-retention-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{file-retention-gftt206x.js → state-gftt206x.js} +0 -0
  754. /package/dist/chunks/{file-retention-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{file-retention-hk9envan.js → state-hk9envan.js} +0 -0
  756. /package/dist/chunks/{file-retention-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{file-retention-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{file-retention-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{file-retention-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{file-retention-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{file-retention-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{file-retention-mp448xyj.js → state-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{file-retention-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{file-retention-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{file-retention-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{file-retention-njntx4h6.js → state-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{file-retention-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-retention-q74kybfr.js → state-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-retention-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-retention-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-retention-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-retention-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{file-retention-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{file-retention-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{file-retention-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{file-retention-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-retention-twg0f83k.js → state-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{file-retention-w803qqfp.js → state-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-retention-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{file-retention-wtztk69x.js → state-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{file-retention-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{file-retention-x61499pn.js → state-x61499pn.js} +0 -0
  783. /package/dist/chunks/{file-retention-y44na4kk.js → state-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{file-retention-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{file-retention-y8f7s663.js → state-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{file-retention-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{file-retention-ym463w8f.js → state-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{file-retention-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node84
7
- } from "./file-retention-qs0gs2g1.js";
6
+ node83
7
+ } from "./state-raec4cfz.js";
8
8
  import {
9
- ID18
10
- } from "./file-retention-57ez7d0k.js";
9
+ ID17
10
+ } from "./state-2fgn2we9.js";
11
11
  import {
12
12
  Slug2
13
- } from "./file-retention-gebd4c9n.js";
13
+ } from "./state-gebd4c9n.js";
14
14
  import {
15
15
  Service81,
16
16
  node86
17
- } from "./file-retention-924ykxna.js";
17
+ } from "./state-sxmda080.js";
18
18
  import {
19
19
  Service80,
20
20
  node85
21
- } from "./file-retention-pmc74pb4.js";
21
+ } from "./state-zmhc1ceh.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./file-retention-8p4f9s12.js";
24
+ } from "./state-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./file-retention-cfpkc3c9.js";
27
+ } from "./state-cfpkc3c9.js";
28
28
  import {
29
- Service77,
30
- node82
31
- } from "./file-retention-kcyfyv8v.js";
29
+ Service76,
30
+ node81
31
+ } from "./state-ezc4vqg9.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./file-retention-gv6a8nnw.js";
35
+ } from "./state-gv6a8nnw.js";
36
36
  import {
37
- make16
38
- } from "./file-retention-s0nkzfby.js";
37
+ make19
38
+ } from "./state-qbvf5jer.js";
39
39
  import {
40
40
  create3
41
- } from "./file-retention-rdw6cm16.js";
41
+ } from "./state-rdw6cm16.js";
42
42
  import {
43
43
  __export
44
- } from "./file-retention-9rqn6x4v.js";
44
+ } from "./state-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event13,
53
- Info: () => Info18,
52
+ Event: () => Event10,
53
+ Info: () => Info12,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service51,
60
+ Service: () => Service48,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node56
66
+ node: () => node52
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info18 = Worktree.Info;
85
+ var Info12 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event13 = Worktree.Event;
103
+ var Event10 = Worktree.Event;
104
104
 
105
- class Service51 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service48 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service51, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service81;
110
110
  const db = database.db;
111
111
  const bus = yield* Service80;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service77;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make16;
117
+ const gitStrategy = yield* make19;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event13.Updated, { projectID });
138
+ yield* bus.publish(Event10.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service51.of({
260
+ return Service48.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node56 = makeLocationNode({
273
- service: Service51,
272
+ var node52 = makeLocationNode({
273
+ service: Service48,
274
274
  layer,
275
- deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node82, Global.node]
275
+ deps: [FSUtil.node, node83, node85, node86, AppProcess.node, node81, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info18, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event13, Service51, node56, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event10, Service48, node52, exports_worktree2, OperationError2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./file-retention-rdw6cm16.js";
3
+ } from "./state-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service37,
14
+ Service: () => Service55,
15
15
  SizeError: () => SizeError2,
16
- node: () => node41
16
+ node: () => node59
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service37 extends Context.Service()("@opencode/Image") {
45
+ class Service55 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service37, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service37.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service55.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node41 = makeLocationNode({ service: Service37, layer, deps: [] });
79
+ var node59 = makeLocationNode({ service: Service55, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service37, node41, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node59, exports_image2 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
4
+ var ID10 = Session.ID;
5
5
  var Info24 = Session.Info;
6
6
 
7
- export { ID11, Info24, SessionSchema2 };
7
+ export { ID10, Info24, SessionSchema2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-2h7tr172.js";
3
+ } from "./state-hzm9egg4.js";
4
4
  import {
5
5
  Service80
6
- } from "./file-retention-pmc74pb4.js";
6
+ } from "./state-zmhc1ceh.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./file-retention-r5depw3d.js";
9
+ Event19
10
+ } from "./state-ds6yvnwz.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./file-retention-mw7s1qqm.js";
14
+ } from "./state-a8279h33.js";
15
15
  import {
16
- ID13
17
- } from "./file-retention-v6wrn1g2.js";
16
+ ID12
17
+ } from "./state-vzy7bsbz.js";
18
18
  import {
19
- ID8,
19
+ ID11,
20
20
  Family2
21
- } from "./file-retention-wdrzmzfn.js";
21
+ } from "./state-r0r5a59z.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./file-retention-pjvnvgmy.js";
24
+ } from "./state-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID12.make("digitalocean");
31
+ var integrationID = ID13.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID8.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID11.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./file-retention-kcyfyv8v.js";
5
+ Service76
6
+ } from "./state-ezc4vqg9.js";
7
7
  import {
8
- Service42
9
- } from "./file-retention-wyj0k83d.js";
8
+ Service64
9
+ } from "./state-d3yf3xs0.js";
10
10
  import {
11
- Service51
12
- } from "./file-retention-jx8kcw9w.js";
11
+ Service48
12
+ } from "./state-7bqgghcm.js";
13
13
  import {
14
14
  observe2
15
- } from "./file-retention-qsdy395h.js";
15
+ } from "./state-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin12
24
+ Plugin: () => Plugin19
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin12 = define({
30
+ var Plugin19 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service42;
34
- const location = yield* Service77;
33
+ const config = yield* Service64;
34
+ const location = yield* Service76;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service51;
36
+ const worktrees = yield* Service48;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin12 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin12, exports_worktree };
51
+ export { Plugin19, exports_worktree };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-retention-qaymkmh1.js";
3
+ } from "./state-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./file-retention-6msgmcgs.js";
4
+ } from "./state-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./file-retention-qfa1cgps.js";
7
+ } from "./state-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-retention-pmc74pb4.js";
3
+ } from "./state-zmhc1ceh.js";
4
4
  import {
5
5
  key2
6
- } from "./file-retention-4dgbcxzg.js";
6
+ } from "./state-4dgbcxzg.js";
7
7
  import {
8
- Event20
9
- } from "./file-retention-r5depw3d.js";
8
+ Event19
9
+ } from "./state-ds6yvnwz.js";
10
10
  import {
11
- ID14
12
- } from "./file-retention-mw7s1qqm.js";
11
+ ID13
12
+ } from "./state-a8279h33.js";
13
13
  import {
14
- ID13,
15
- Service72
16
- } from "./file-retention-v6wrn1g2.js";
14
+ ID12,
15
+ Service69
16
+ } from "./state-vzy7bsbz.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./file-retention-b1v7x4f0.js";
18
+ load2,
19
+ derive2
20
+ } from "./state-73mx17hp.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service72;
29
+ const providers = yield* Service69;
30
30
  const bus = yield* Service80;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
- Info15
6
- } from "./file-retention-magykp64.js";
5
+ Info16
6
+ } from "./state-c20khjev.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info14
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info15
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(Info15)
47
+ permission: Schema.optional(Info16)
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 Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = 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 { Info14, exports_agent3 };
74
+ export { Info15, exports_agent4 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-retention-2a5m3afh.js";
3
+ } from "./state-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-retention-922hggd3.js";
6
+ } from "./state-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./file-retention-kcyfyv8v.js";
8
+ Service76
9
+ } from "./state-ezc4vqg9.js";
10
10
  import {
11
- Service54
12
- } from "./file-retention-5ffqwp29.js";
11
+ Service72
12
+ } from "./state-cw6ezj50.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service53
16
- } from "./file-retention-fy1kaafr.js";
15
+ Service58
16
+ } from "./state-1p637tnt.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-retention-4z0v33m4.js";
23
+ } from "./state-64xmj3r0.js";
24
24
  import {
25
- Service66
26
- } from "./file-retention-j279vgb3.js";
25
+ Service44
26
+ } from "./state-n5a5z38x.js";
27
27
  import {
28
- Service52
29
- } from "./file-retention-g2n1kqkx.js";
28
+ Service43
29
+ } from "./state-jbqb2jwb.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./state-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output8,
40
- Plugin: () => Plugin43,
41
- name: () => name9,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input6,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin8,
41
+ name: () => name6,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name6 = "grep";
48
+ var Input6 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin43 = {
86
+ var Plugin8 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service54;
90
- const ripgrep = yield* Service53;
91
- const location = yield* Service77;
92
- const access = yield* Service52;
93
- const permission = yield* Service66;
89
+ const environment = yield* Service72;
90
+ const ripgrep = yield* Service58;
91
+ const location = yield* Service76;
92
+ const access = yield* Service43;
93
+ const permission = yield* Service44;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output8,
98
+ input: Input6,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name6,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin43 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin43 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output8, toModelContent5, Plugin43, exports_grep };
157
+ export { name6, Input6, Output4, toModelContent4, Plugin8, exports_grep };