@opencode/core 0.0.0-dev-21011 → 0.0.0-dev-21014

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 +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{form-6q3g8xg3.js → file-retention-0br3sbwn.js} +4 -4
  8. package/dist/chunks/{form-e97ndpgv.js → file-retention-0ew4pgvh.js} +29 -29
  9. package/dist/chunks/{form-82rhge12.js → file-retention-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{form-txrthtyn.js → file-retention-0qp554p5.js} +5 -5
  11. package/dist/chunks/{form-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{form-hxhp7dtd.js → file-retention-0z8qyv6e.js} +11 -11
  13. package/dist/chunks/{form-vmkrwz5c.js → file-retention-12jxavrd.js} +31 -31
  14. package/dist/chunks/{form-f7g8hjtk.js → file-retention-14g0fqd9.js} +12 -12
  15. package/dist/chunks/{form-qbr3qg4y.js → file-retention-14ss4vbv.js} +9 -9
  16. package/dist/chunks/{form-btje6eqz.js → file-retention-169nkwk8.js} +26 -26
  17. package/dist/chunks/{form-3cbpd81r.js → file-retention-1q8v9ebw.js} +40 -40
  18. package/dist/chunks/{form-g2hp3vqx.js → file-retention-1t590k4r.js} +16 -16
  19. package/dist/chunks/{form-6g7e4dd5.js → file-retention-28qsb1ph.js} +9 -9
  20. package/dist/chunks/{form-n4fsmagx.js → file-retention-317g7k6g.js} +35 -35
  21. package/dist/chunks/{form-h7s7r6s9.js → file-retention-31xfzrxg.js} +5 -5
  22. package/dist/chunks/{form-avwt2xsz.js → file-retention-33gt55zk.js} +17 -17
  23. package/dist/chunks/{form-m4m6ddy0.js → file-retention-343b8twr.js} +31 -31
  24. package/dist/chunks/{form-fea7gdn7.js → file-retention-35f1txve.js} +4 -4
  25. package/dist/chunks/{form-a602vx8c.js → file-retention-3a90axj9.js} +24 -24
  26. package/dist/chunks/{form-x8knmkzv.js → file-retention-3dj4nk9r.js} +10 -10
  27. package/dist/chunks/{form-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{form-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{form-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{form-9c3np669.js → file-retention-3rtxz4nr.js} +8 -8
  31. package/dist/chunks/{form-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{form-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{form-m9fzqjzy.js → file-retention-3wadahsr.js} +15 -15
  34. package/dist/chunks/{form-gqtdsdt7.js → file-retention-3y377wv9.js} +4 -4
  35. package/dist/chunks/{form-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{form-ez08sjjy.js → file-retention-41jpfhb3.js} +32 -32
  37. package/dist/chunks/{form-ehgrgyqj.js → file-retention-45z6fg85.js} +48 -48
  38. package/dist/chunks/{form-pps52h15.js → file-retention-494866tp.js} +25 -25
  39. package/dist/chunks/{form-tsn8bsdq.js → file-retention-4as0pac5.js} +14 -14
  40. package/dist/chunks/{form-n3f8xpja.js → file-retention-4jf5r3d7.js} +23 -23
  41. package/dist/chunks/{form-0v34zmgv.js → file-retention-4nq780rr.js} +8 -8
  42. package/dist/chunks/{form-snvhch9n.js → file-retention-4qxa3b8n.js} +10 -10
  43. package/dist/chunks/{form-erv1nza1.js → file-retention-4r8pgdq5.js} +34 -34
  44. package/dist/chunks/{form-721826nf.js → file-retention-4x4e769q.js} +21 -21
  45. package/dist/chunks/{form-crapqw80.js → file-retention-4z07f7n3.js} +25 -25
  46. package/dist/chunks/{form-9rxh9vc4.js → file-retention-4zys1a3z.js} +8 -8
  47. package/dist/chunks/{form-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  48. package/dist/chunks/{form-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{form-xja3d10x.js → file-retention-5qmd8552.js} +4 -4
  50. package/dist/chunks/{form-h7nvm89x.js → file-retention-5wbvgj8p.js} +9 -9
  51. package/dist/chunks/{form-j4nkbaz2.js → file-retention-5yg5wf9b.js} +37 -37
  52. package/dist/chunks/{form-5xtgfte3.js → file-retention-5yzzbxa7.js} +8 -8
  53. package/dist/chunks/file-retention-5z5w0mbt.js +26 -0
  54. package/dist/chunks/{form-cpxgzvxx.js → file-retention-5zj8cc1q.js} +17 -17
  55. package/dist/chunks/{form-d0ky9prf.js → file-retention-6b6wpy4c.js} +13 -13
  56. package/dist/chunks/{form-8svajzjj.js → file-retention-6bdav48n.js} +90 -90
  57. package/dist/chunks/{form-7x4qn87h.js → file-retention-6bh6zht1.js} +8 -8
  58. package/dist/chunks/{form-kngtgbps.js → file-retention-6na3g6pg.js} +58 -58
  59. package/dist/chunks/{form-2g8hje7s.js → file-retention-6vf2fsqw.js} +17 -17
  60. package/dist/chunks/{form-47swjef3.js → file-retention-6x7z2ytp.js} +24 -24
  61. package/dist/chunks/{form-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{form-gztk07db.js → file-retention-70vxy3y5.js} +22 -22
  63. package/dist/chunks/{form-swjgwa7j.js → file-retention-71dexq5d.js} +11 -11
  64. package/dist/chunks/{form-y38hkvdm.js → file-retention-76pbprbn.js} +15 -15
  65. package/dist/chunks/{form-775gj3j1.js → file-retention-775gj3j1.js} +2 -2
  66. package/dist/chunks/{form-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{form-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{form-eh003p28.js → file-retention-7e57dx7y.js} +192 -192
  69. package/dist/chunks/{form-fnf227f0.js → file-retention-7f00463b.js} +20 -20
  70. package/dist/chunks/{form-fww2ha2b.js → file-retention-7k2e2df9.js} +10 -10
  71. package/dist/chunks/{form-8hcfczpt.js → file-retention-7ky6n90g.js} +13 -13
  72. package/dist/chunks/{form-seewk876.js → file-retention-7nz7jn0r.js} +15 -15
  73. package/dist/chunks/{form-37npsz1w.js → file-retention-7yatdfkd.js} +26 -26
  74. package/dist/chunks/{form-bn5ewp0w.js → file-retention-801ybqbd.js} +5 -5
  75. package/dist/chunks/{form-pqwj5q2q.js → file-retention-82dw7q9y.js} +46 -46
  76. package/dist/chunks/{form-phz50fbd.js → file-retention-8hxtpvs0.js} +9 -9
  77. package/dist/chunks/{form-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{form-r3qasar1.js → file-retention-8s0xtqnd.js} +24 -24
  79. package/dist/chunks/{form-7fkffz83.js → file-retention-8sze2n9a.js} +8 -8
  80. package/dist/chunks/{form-yynmaj8z.js → file-retention-8vas296z.js} +5 -5
  81. package/dist/chunks/{form-hdab2k61.js → file-retention-909p1r3q.js} +6 -6
  82. package/dist/chunks/{form-8xy5369n.js → file-retention-98c5f06f.js} +15 -15
  83. package/dist/chunks/{form-xhtqqe1m.js → file-retention-9aqq5nvv.js} +34 -34
  84. package/dist/chunks/{form-9vhba5v5.js → file-retention-9jjvh5yj.js} +36 -36
  85. package/dist/chunks/{form-7t3g9e2b.js → file-retention-9p0txavt.js} +5 -5
  86. package/dist/chunks/{form-xk9sh67x.js → file-retention-9tw73w2d.js} +24 -24
  87. package/dist/chunks/{form-4kmde3yz.js → file-retention-9zd2w1n5.js} +15 -15
  88. package/dist/chunks/{form-n7937mg5.js → file-retention-a4pc9c5c.js} +51 -51
  89. package/dist/chunks/{form-njc0w668.js → file-retention-aa7e2tv8.js} +31 -31
  90. package/dist/chunks/{form-j50dn89j.js → file-retention-ab62emgm.js} +13 -13
  91. package/dist/chunks/{form-jqrcj8vr.js → file-retention-afk6yey1.js} +50 -50
  92. package/dist/chunks/{form-cw11zj9g.js → file-retention-apkf47ca.js} +6 -6
  93. package/dist/chunks/{form-3c9pez1w.js → file-retention-aqc38cqd.js} +13 -13
  94. package/dist/chunks/{form-bpbqsjc5.js → file-retention-aqkhk00p.js} +23 -23
  95. package/dist/chunks/{form-143qq2q9.js → file-retention-arz7hw7x.js} +3 -3
  96. package/dist/chunks/{form-t3pdfh17.js → file-retention-as4mgesb.js} +35 -35
  97. package/dist/chunks/{form-e1ev7m0f.js → file-retention-awk6knb3.js} +15 -15
  98. package/dist/chunks/{form-wxa4kc3h.js → file-retention-b0em60tq.js} +3 -3
  99. package/dist/chunks/{form-b3f8fkhc.js → file-retention-b3f8fkhc.js} +2 -2
  100. package/dist/chunks/{form-bn590nze.js → file-retention-b4bz9kxw.js} +1 -1
  101. package/dist/chunks/{form-e29c15sd.js → file-retention-b4nzaj04.js} +5 -5
  102. package/dist/chunks/{form-n3vpxe9e.js → file-retention-b70ztsq5.js} +18 -18
  103. package/dist/chunks/{form-yrey27x9.js → file-retention-b7tkvae9.js} +17 -17
  104. package/dist/chunks/{form-z5w0btk4.js → file-retention-bcjdeyqn.js} +31 -31
  105. package/dist/chunks/{form-tv3tk5e7.js → file-retention-berr4p9f.js} +43 -43
  106. package/dist/chunks/{form-bjx1sjef.js → file-retention-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{form-mhc8tqjz.js → file-retention-bn2z0vx7.js} +3 -3
  108. package/dist/chunks/{form-14cdk0s6.js → file-retention-bwg67q4g.js} +41 -41
  109. package/dist/chunks/{form-ss7kc155.js → file-retention-c0ntss9e.js} +24 -24
  110. package/dist/chunks/{form-c1fqxshp.js → file-retention-c1fqxshp.js} +3 -3
  111. package/dist/chunks/file-retention-c3ahp5cr.js +253 -0
  112. package/dist/chunks/{form-4c3synvf.js → file-retention-cf7mn8e9.js} +20 -20
  113. package/dist/chunks/{form-g6drypzc.js → file-retention-ck51dxh3.js} +17 -17
  114. package/dist/chunks/{form-rjj0kxdj.js → file-retention-cn90h94x.js} +37 -37
  115. package/dist/chunks/{form-g6q9qykm.js → file-retention-cpneeje0.js} +9 -9
  116. package/dist/chunks/{form-4rgwa650.js → file-retention-csx4qebp.js} +9 -9
  117. package/dist/chunks/{form-er5phavy.js → file-retention-czy1bpjs.js} +9 -9
  118. package/dist/chunks/{form-s5fj66ad.js → file-retention-d002rr2p.js} +30 -30
  119. package/dist/chunks/{form-3hy6f8c4.js → file-retention-d46xqbnr.js} +22 -22
  120. package/dist/chunks/{form-e02eq8f5.js → file-retention-d6yjde1r.js} +19 -19
  121. package/dist/chunks/{form-dmm39yex.js → file-retention-d8efssg2.js} +21 -21
  122. package/dist/chunks/{form-3wy3xfhq.js → file-retention-d9hmp2ka.js} +11 -11
  123. package/dist/chunks/{form-y2qecmcg.js → file-retention-dhbnfacn.js} +14 -14
  124. package/dist/chunks/{form-xq6mgr11.js → file-retention-djbp5nh2.js} +6 -6
  125. package/dist/chunks/{form-dqxsqydv.js → file-retention-dqxsqydv.js} +1 -1
  126. package/dist/chunks/{form-vkbhjkd5.js → file-retention-dr4d52gw.js} +32 -32
  127. package/dist/chunks/{form-m84184k4.js → file-retention-dtyzwnrk.js} +5 -5
  128. package/dist/chunks/file-retention-dxj72tfx.js +18 -0
  129. package/dist/chunks/{form-5yr40zeg.js → file-retention-dz866tjr.js} +11 -11
  130. package/dist/chunks/{form-d858xzj7.js → file-retention-eahhehpg.js} +4 -4
  131. package/dist/chunks/{form-edrmdtr5.js → file-retention-edrmdtr5.js} +1 -1
  132. package/dist/chunks/{form-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{form-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{form-4aqqpnpa.js → file-retention-eh0pg0ss.js} +9 -9
  135. package/dist/chunks/{form-nepa0w8v.js → file-retention-ej40pes1.js} +23 -23
  136. package/dist/chunks/{form-z5pcptfa.js → file-retention-ejvnp2ks.js} +11 -11
  137. package/dist/chunks/{form-eq8t53aj.js → file-retention-es27v6nt.js} +14 -14
  138. package/dist/chunks/{form-ffwe724q.js → file-retention-f3myw4xv.js} +22 -22
  139. package/dist/chunks/{form-6cv5qdzx.js → file-retention-fb37tdxn.js} +10 -10
  140. package/dist/chunks/{form-dqn38spn.js → file-retention-fbtsrrmm.js} +4 -4
  141. package/dist/chunks/{form-9k6mxhmg.js → file-retention-fe7xgvze.js} +24 -24
  142. package/dist/chunks/{form-wf3aqgd2.js → file-retention-fg399ztj.js} +34 -34
  143. package/dist/chunks/{form-e60rwd5s.js → file-retention-fq2e6s3p.js} +28 -28
  144. package/dist/chunks/{form-xnz68hwv.js → file-retention-fs90qe41.js} +6 -6
  145. package/dist/chunks/{form-w39jehkq.js → file-retention-g6yfr6ja.js} +5 -5
  146. package/dist/chunks/{form-bn0s77k4.js → file-retention-g7swxvb3.js} +18 -18
  147. package/dist/chunks/{form-vdvkw4gf.js → file-retention-ga6dbr11.js} +48 -48
  148. package/dist/chunks/{form-c9mm3yn7.js → file-retention-gbqjtqth.js} +25 -25
  149. package/dist/chunks/{form-rzbepvw2.js → file-retention-gbwx0srj.js} +45 -45
  150. package/dist/chunks/{form-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{form-m4v3ppb4.js → file-retention-ghgmervw.js} +18 -18
  152. package/dist/chunks/{form-p658ffzv.js → file-retention-gsahz1ss.js} +8 -8
  153. package/dist/chunks/{form-wnvgq5rs.js → file-retention-gwjvbrnw.js} +3 -3
  154. package/dist/chunks/{form-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{form-pq3p5sgx.js → file-retention-h748stye.js} +1 -1
  156. package/dist/chunks/{form-q5e7cmwt.js → file-retention-he27pt63.js} +1 -1
  157. package/dist/chunks/{form-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{form-spj3rs7w.js → file-retention-hh6d8b15.js} +28 -28
  159. package/dist/chunks/{form-zv4abm7d.js → file-retention-hhreayt7.js} +22 -22
  160. package/dist/chunks/{form-ssyqzp7x.js → file-retention-hmkps6ty.js} +27 -27
  161. package/dist/chunks/{form-cfjaa9df.js → file-retention-hzw4cxwv.js} +13 -13
  162. package/dist/chunks/{form-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
  163. package/dist/chunks/{form-25vxs7my.js → file-retention-j37tk4s1.js} +20 -20
  164. package/dist/chunks/{form-hdysr67s.js → file-retention-jd9hc5c6.js} +5 -5
  165. package/dist/chunks/{form-3cz0zj82.js → file-retention-jg32kqvh.js} +19 -19
  166. package/dist/chunks/{form-jk540des.js → file-retention-jk540des.js} +2 -2
  167. package/dist/chunks/{form-537k2b6a.js → file-retention-jxgknhbk.js} +5 -5
  168. package/dist/chunks/{form-h2w3qysh.js → file-retention-jz58ycx9.js} +5 -5
  169. package/dist/chunks/{form-wzpavc0h.js → file-retention-k28swmkw.js} +45 -45
  170. package/dist/chunks/{form-25cgwp6q.js → file-retention-kanpa06r.js} +16 -16
  171. package/dist/chunks/{form-47a0zg4r.js → file-retention-kbf0jh97.js} +4 -4
  172. package/dist/chunks/{form-skzmvm4j.js → file-retention-kejp1rz3.js} +50 -50
  173. package/dist/chunks/{form-g1s6c47t.js → file-retention-kg91cx0t.js} +4 -4
  174. package/dist/chunks/{form-baaqp4zd.js → file-retention-kne8f3cn.js} +4 -4
  175. package/dist/chunks/{form-wg81ww38.js → file-retention-kqx1b4hy.js} +4 -4
  176. package/dist/chunks/{form-ghwm7f5x.js → file-retention-kr55r1bg.js} +14 -14
  177. package/dist/chunks/{form-t24pbkgt.js → file-retention-kzwbv4nn.js} +11 -11
  178. package/dist/chunks/{form-pwmmzb0q.js → file-retention-m5tv4514.js} +51 -14
  179. package/dist/chunks/{form-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{form-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
  181. package/dist/chunks/{form-aryc3stw.js → file-retention-me77td0v.js} +5 -5
  182. package/dist/chunks/{form-3r77nd71.js → file-retention-mf0vtrbq.js} +20 -20
  183. package/dist/chunks/{form-edrqqpmw.js → file-retention-mmyj435p.js} +22 -22
  184. package/dist/chunks/{form-e5ephxh3.js → file-retention-mt1habk1.js} +19 -19
  185. package/dist/chunks/{form-93prh51k.js → file-retention-n9jwdt3t.js} +4 -4
  186. package/dist/chunks/{form-jh43x2gr.js → file-retention-nay0he7a.js} +25 -25
  187. package/dist/chunks/{form-a6w21yjg.js → file-retention-nj464p1b.js} +12 -12
  188. package/dist/chunks/{form-r2z489rp.js → file-retention-nma959mg.js} +3 -3
  189. package/dist/chunks/{form-3cqwnyj9.js → file-retention-npw39rc8.js} +8 -8
  190. package/dist/chunks/{form-9pa8tak9.js → file-retention-nqxj0yn4.js} +2 -2
  191. package/dist/chunks/{form-0ap5nxpg.js → file-retention-nrrv6dtp.js} +7 -7
  192. package/dist/chunks/{form-ezs570a8.js → file-retention-nvavy7ph.js} +17 -17
  193. package/dist/chunks/{form-h95dhd2e.js → file-retention-nxefwe56.js} +20 -20
  194. package/dist/chunks/{form-hq3c8me3.js → file-retention-ny8edt06.js} +4 -4
  195. package/dist/chunks/{form-hb26dn5q.js → file-retention-pezt36hj.js} +11 -11
  196. package/dist/chunks/{form-gq6ff74y.js → file-retention-pfk5wy6h.js} +11 -11
  197. package/dist/chunks/{form-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{form-pknna89w.js → file-retention-pknna89w.js} +1 -1
  199. package/dist/chunks/{form-3p3rsvqq.js → file-retention-pp9wqrm9.js} +15 -15
  200. package/dist/chunks/{form-jtzsmrk2.js → file-retention-psy6vzvk.js} +10 -10
  201. package/dist/chunks/{form-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
  202. package/dist/chunks/{form-br1rk1d8.js → file-retention-q2e8ypk4.js} +2 -2
  203. package/dist/chunks/{form-j08649s7.js → file-retention-q6vgk5tx.js} +26 -26
  204. package/dist/chunks/{form-505c55rd.js → file-retention-qbfnxdkt.js} +11 -11
  205. package/dist/chunks/{form-y8j1d83x.js → file-retention-qd5nnggg.js} +36 -36
  206. package/dist/chunks/{form-6v79zamc.js → file-retention-qk98frm8.js} +98 -98
  207. package/dist/chunks/{form-be9ztc22.js → file-retention-qkhk7ppk.js} +24 -24
  208. package/dist/chunks/{form-0ytnbz4y.js → file-retention-qm3ah3vw.js} +8 -8
  209. package/dist/chunks/{form-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{form-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  211. package/dist/chunks/{form-52s9q06w.js → file-retention-qtjfv2pr.js} +16 -16
  212. package/dist/chunks/{form-vgpxhj99.js → file-retention-qzpyk82z.js} +6 -6
  213. package/dist/chunks/{form-hzfhha8y.js → file-retention-r3ww6m9v.js} +11 -11
  214. package/dist/chunks/{form-n3n5kct9.js → file-retention-r6k96hsc.js} +14 -14
  215. package/dist/chunks/{form-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{form-rert0e01.js → file-retention-rert0e01.js} +2 -2
  217. package/dist/chunks/{form-cr28v8hb.js → file-retention-rf36gdfd.js} +11 -11
  218. package/dist/chunks/{form-eaj1djv9.js → file-retention-rhjbct0v.js} +8 -8
  219. package/dist/chunks/{form-rj3eygr5.js → file-retention-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{form-7xj9awyf.js → file-retention-rk6zbwj7.js} +9 -9
  221. package/dist/chunks/{form-fgywf1sk.js → file-retention-rnqjhy1g.js} +14 -14
  222. package/dist/chunks/{form-f7qtgnbp.js → file-retention-s68ta6h4.js} +26 -26
  223. package/dist/chunks/{form-sa8ekw3f.js → file-retention-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{form-fhrn9ry2.js → file-retention-sdjmf92r.js} +23 -23
  225. package/dist/chunks/{form-rv8bg9zk.js → file-retention-snf1tfdw.js} +6 -6
  226. package/dist/chunks/{form-syv4x271.js → file-retention-syv4x271.js} +1 -1
  227. package/dist/chunks/{form-s2z0d44b.js → file-retention-sz15zhhw.js} +4 -4
  228. package/dist/chunks/{form-k10q0rt9.js → file-retention-t0kc1yrm.js} +38 -38
  229. package/dist/chunks/{form-vkg9we9y.js → file-retention-t8ks3146.js} +13 -13
  230. package/dist/chunks/{form-608ahxn3.js → file-retention-t9h41g6h.js} +4 -4
  231. package/dist/chunks/{form-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{form-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{form-ax1t9xtj.js → file-retention-tdhvqp0s.js} +8 -8
  234. package/dist/chunks/{form-tdstcens.js → file-retention-tdstcens.js} +1 -1
  235. package/dist/chunks/{form-5xypne46.js → file-retention-tgvthde2.js} +18 -18
  236. package/dist/chunks/{form-tm0kqsz3.js → file-retention-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{form-r7pvn046.js → file-retention-trya7axm.js} +8 -8
  238. package/dist/chunks/{form-bdn2wxed.js → file-retention-ts2hbyr8.js} +18 -18
  239. package/dist/chunks/{form-g69jfcfp.js → file-retention-ts8jrmeq.js} +4 -4
  240. package/dist/chunks/{form-hf9tj6qr.js → file-retention-tx96wtwf.js} +6 -6
  241. package/dist/chunks/{form-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
  242. package/dist/chunks/{form-99yrpdtp.js → file-retention-v567a2n9.js} +9 -9
  243. package/dist/chunks/{form-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{form-n3pmav1h.js → file-retention-v9aahat3.js} +33 -33
  245. package/dist/chunks/{form-9sgsjpgv.js → file-retention-vapsbb60.js} +11 -11
  246. package/dist/chunks/{form-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  247. package/dist/chunks/file-retention-vfbmtatm.js +513 -0
  248. package/dist/chunks/{form-rwe7g98w.js → file-retention-vsq3m3qh.js} +63 -63
  249. package/dist/chunks/{form-satfz2qa.js → file-retention-vyvgz92x.js} +11 -11
  250. package/dist/chunks/{form-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{form-84txncab.js → file-retention-w1eejvng.js} +5 -5
  252. package/dist/chunks/{form-gzw0vxys.js → file-retention-w2xjjsrc.js} +76 -76
  253. package/dist/chunks/{form-a7bcxdzj.js → file-retention-w3nq1sqw.js} +9 -9
  254. package/dist/chunks/{form-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{form-4bmbsd4v.js → file-retention-w4bpjgvx.js} +1 -1
  256. package/dist/chunks/{form-0ycbn11j.js → file-retention-w9zdepcn.js} +46 -46
  257. package/dist/chunks/{form-tqnbmqv0.js → file-retention-wby3r2te.js} +11 -11
  258. package/dist/chunks/{form-wd87259q.js → file-retention-wd87259q.js} +1 -1
  259. package/dist/chunks/{form-p0kcevce.js → file-retention-ww365c1w.js} +75 -53
  260. package/dist/chunks/{form-fb4f5xs0.js → file-retention-wwenzjkg.js} +11 -11
  261. package/dist/chunks/{form-p3p972wa.js → file-retention-x6pyv2yz.js} +5 -5
  262. package/dist/chunks/{form-kca18nqk.js → file-retention-x9bqbk5n.js} +13 -13
  263. package/dist/chunks/{form-qqeeq2t9.js → file-retention-xfkkasph.js} +7 -7
  264. package/dist/chunks/{form-a0w9j8wk.js → file-retention-xftrays8.js} +50 -50
  265. package/dist/chunks/{form-1yvx7ymw.js → file-retention-xvtgxxrz.js} +32 -32
  266. package/dist/chunks/{form-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{form-y71avatq.js → file-retention-y71avatq.js} +1 -1
  268. package/dist/chunks/{form-2xdh0w28.js → file-retention-ygdna4kr.js} +5 -5
  269. package/dist/chunks/{form-b0p9f8mf.js → file-retention-ymq5q27y.js} +44 -44
  270. package/dist/chunks/{form-f2n192rq.js → file-retention-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{form-pmrqhd2p.js → file-retention-yrf56wq9.js} +35 -35
  272. package/dist/chunks/{form-fgem0d3n.js → file-retention-yw8t9dwe.js} +8 -8
  273. package/dist/chunks/{form-ey95qdp6.js → file-retention-z0bka10m.js} +7 -7
  274. package/dist/chunks/{form-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{form-gebfq3xb.js → file-retention-z12nrmke.js} +12 -12
  276. package/dist/chunks/{form-hcg8wwt0.js → file-retention-z407xa8j.js} +13 -13
  277. package/dist/chunks/{form-jah5evhf.js → file-retention-z4c2qrqq.js} +8 -8
  278. package/dist/chunks/{form-928hjf0p.js → file-retention-z7cwpd0j.js} +10 -10
  279. package/dist/chunks/{form-0bv9cy4y.js → file-retention-z7qkgadb.js} +27 -27
  280. package/dist/chunks/{form-mqz80whq.js → file-retention-zjgmvxsd.js} +21 -21
  281. package/dist/chunks/{form-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{form-f29mbr7f.js → file-retention-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{form-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +76 -76
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +88 -88
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +8 -8
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +91 -91
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +91 -91
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +92 -92
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +92 -92
  557. package/dist/provider.js +103 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +218 -218
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +9 -9
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +116 -116
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -120
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +109 -109
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +106 -106
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +12 -12
  651. package/dist/types/provider.d.ts +2 -0
  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 +5 -5
  662. package/dist/v1/config/command.js +1 -1
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/form-8kzeb6r2.js +0 -26
  686. package/dist/chunks/form-9sh4wc5j.js +0 -18
  687. package/dist/chunks/form-rdc13ccq.js +0 -513
  688. package/dist/chunks/form-vay30y3j.js +0 -253
  689. /package/dist/chunks/{form-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{form-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{form-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{form-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{form-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{form-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{form-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{form-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{form-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{form-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{form-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{form-3asan66x.js → file-retention-3asan66x.js} +0 -0
  701. /package/dist/chunks/{form-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{form-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{form-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{form-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{form-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{form-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{form-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{form-53557ph1.js → file-retention-53557ph1.js} +0 -0
  709. /package/dist/chunks/{form-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{form-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{form-6prwharc.js → file-retention-6prwharc.js} +0 -0
  712. /package/dist/chunks/{form-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{form-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{form-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{form-822emrt2.js → file-retention-822emrt2.js} +0 -0
  716. /package/dist/chunks/{form-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{form-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{form-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{form-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{form-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{form-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{form-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{form-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{form-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{form-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{form-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{form-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{form-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{form-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{form-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{form-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{form-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{form-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{form-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{form-df08tz66.js → file-retention-df08tz66.js} +0 -0
  736. /package/dist/chunks/{form-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{form-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{form-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{form-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{form-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{form-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{form-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{form-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{form-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{form-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{form-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{form-g86h250q.js → file-retention-g86h250q.js} +0 -0
  748. /package/dist/chunks/{form-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{form-gftt206x.js → file-retention-gftt206x.js} +0 -0
  750. /package/dist/chunks/{form-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{form-hk9envan.js → file-retention-hk9envan.js} +0 -0
  752. /package/dist/chunks/{form-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{form-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{form-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{form-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{form-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{form-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{form-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{form-m18g726c.js → file-retention-m18g726c.js} +0 -0
  760. /package/dist/chunks/{form-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{form-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{form-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{form-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{form-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{form-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{form-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{form-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{form-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{form-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{form-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{form-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{form-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{form-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{form-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{form-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{form-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{form-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{form-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{form-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{form-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{form-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{form-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{form-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{form-x61499pn.js → file-retention-x61499pn.js} +0 -0
  785. /package/dist/chunks/{form-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{form-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{form-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{form-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{form-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{form-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./form-0ytnbz4y.js";
3
+ } from "./file-retention-qm3ah3vw.js";
4
4
  import {
5
- Service74
6
- } from "./form-kngtgbps.js";
5
+ Service68
6
+ } from "./file-retention-6na3g6pg.js";
7
7
  import {
8
- Service21
9
- } from "./form-n3vpxe9e.js";
8
+ Service63
9
+ } from "./file-retention-b70ztsq5.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./form-0vbcp93d.js";
12
+ } from "./file-retention-0vbcp93d.js";
13
13
  import {
14
- Info15,
14
+ Info3,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./form-pqwj5q2q.js";
19
+ } from "./file-retention-82dw7q9y.js";
20
20
  import {
21
21
  __export
22
- } from "./form-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -100,8 +100,8 @@ var ModelsOutput = Schema.Struct({
100
100
  var Plugin44 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service21;
104
- const permission = yield* Service74;
103
+ const access = yield* Service63;
104
+ const permission = yield* Service68;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin44 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info15,
156
+ output: Info3,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./form-qaymkmh1.js";
3
+ } from "./file-retention-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
- function make9(input) {
8
+ function make8(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make9 };
264
+ export { make8 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info8
7
- } from "./form-s2z0d44b.js";
6
+ Info13
7
+ } from "./file-retention-sz15zhhw.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info7
16
+ Info: () => Info12
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info8)
48
+ permission: Schema.optional(Info13)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info7 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info7, exports_agent3 };
72
+ export { Info12, exports_agent3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./file-retention-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./form-143qq2q9.js";
7
+ } from "./file-retention-arz7hw7x.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service70
3
- } from "./form-e97ndpgv.js";
2
+ Service83
3
+ } from "./file-retention-0ew4pgvh.js";
4
4
  import {
5
- Service74
6
- } from "./form-kngtgbps.js";
5
+ Service68
6
+ } from "./file-retention-6na3g6pg.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service70;
57
- const permission = yield* Service74;
56
+ const forms = yield* Service83;
57
+ const permission = yield* Service68;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service44
3
- } from "./form-3r77nd71.js";
2
+ Service51
3
+ } from "./file-retention-mf0vtrbq.js";
4
4
  import {
5
- Service78
6
- } from "./form-g6drypzc.js";
5
+ Service75
6
+ } from "./file-retention-ck51dxh3.js";
7
7
  import {
8
- Service43
9
- } from "./form-vdvkw4gf.js";
8
+ Service50
9
+ } from "./file-retention-ga6dbr11.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./form-eaj1djv9.js";
12
+ } from "./file-retention-rhjbct0v.js";
13
13
  import {
14
14
  File2,
15
- Service38
16
- } from "./form-ssyqzp7x.js";
15
+ Service40
16
+ } from "./file-retention-hmkps6ty.js";
17
17
  import {
18
18
  __export
19
- } from "./form-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin26
25
+ Plugin: () => Plugin23
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin26 = define({
34
+ var Plugin23 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service38;
37
+ const discovery = yield* Service40;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service43;
39
+ const config = yield* Service50;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service78;
44
- const watcher = yield* Service44;
43
+ const location = yield* Service75;
44
+ const watcher = yield* Service51;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -177,4 +177,4 @@ function isUrl(source) {
177
177
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
178
178
  }
179
179
 
180
- export { Plugin26, exports_instruction };
180
+ export { Plugin23, exports_instruction };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./form-775gj3j1.js";
3
+ } from "./file-retention-775gj3j1.js";
4
4
  import {
5
- Service64,
6
- node68
7
- } from "./form-wzpavc0h.js";
5
+ Service54,
6
+ node57
7
+ } from "./file-retention-k28swmkw.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service54,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer23,
17
+ Service: () => Service53,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer22,
20
20
  node: () => node56
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service54 extends Context.Service()("@opencode/Generate") {
37
+ class Service53 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer23 = Layer.effect(Service54, Effect.gen(function* () {
39
+ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service64;
41
+ const resolver = yield* Service54;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError2({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError3({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service54.of({ text });
71
+ return Service53.of({ text });
72
72
  }));
73
73
  var node56 = makeLocationNode({
74
- service: Service54,
75
- layer: layer23,
76
- deps: [node68, llmClient2]
74
+ service: Service53,
75
+ layer: layer22,
76
+ deps: [node57, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service54, layer23, node56, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError3, Service53, layer22, node56, exports_generate2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer5,
9
+ layer: () => layer4,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer4 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer5, exports_unavailable };
22
+ export { spawner2, layer4, exports_unavailable };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service44
3
- } from "./form-3r77nd71.js";
2
+ Service51
3
+ } from "./file-retention-mf0vtrbq.js";
4
4
  import {
5
- Service43
6
- } from "./form-vdvkw4gf.js";
5
+ Service50
6
+ } from "./file-retention-ga6dbr11.js";
7
7
  import {
8
8
  parse2
9
- } from "./form-xq6mgr11.js";
9
+ } from "./file-retention-djbp5nh2.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./file-retention-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin20
18
+ Plugin: () => Plugin29
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin20 = define({
24
+ var Plugin29 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service43;
27
+ const config = yield* Service50;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service44;
29
+ const watcher = yield* Service51;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin20 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin20, exports_compatibility };
76
+ export { Plugin29, exports_compatibility };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service43
4
- } from "./form-vdvkw4gf.js";
3
+ Service50
4
+ } from "./file-retention-ga6dbr11.js";
5
5
  import {
6
- Service37
7
- } from "./form-z5w0btk4.js";
6
+ Service60
7
+ } from "./file-retention-bcjdeyqn.js";
8
8
  import {
9
9
  observe2
10
- } from "./form-qsdy395h.js";
10
+ } from "./file-retention-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin22
19
+ Plugin: () => Plugin25
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin22 = define({
23
+ var Plugin25 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service43;
27
- const snapshot = yield* Service37;
26
+ const config = yield* Service50;
27
+ const snapshot = yield* Service60;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin22 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin22, exports_snapshot };
38
+ export { Plugin25, exports_snapshot };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./form-qfa1cgps.js";
3
+ } from "./file-retention-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Info22,
6
- ID12,
5
+ Info5,
6
+ ID3,
7
7
  Name2
8
- } from "./form-s5fj66ad.js";
8
+ } from "./file-retention-d002rr2p.js";
9
9
  import {
10
- Service43
11
- } from "./form-vdvkw4gf.js";
10
+ Service50
11
+ } from "./file-retention-ga6dbr11.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin15,
21
+ Plugin: () => Plugin14,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
424
424
  var ReportContent2 = report_default;
425
425
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
426
426
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
427
- var Plugin15 = define({
427
+ var Plugin14 = define({
428
428
  id: "opencode.skill",
429
429
  effect: Effect.fn(function* (ctx) {
430
430
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
431
431
  yield* ctx.skill.transform((editor) => {
432
- editor.add(Info22.make({
433
- id: ID12.make("opencode"),
432
+ editor.add(Info5.make({
433
+ id: ID3.make("opencode"),
434
434
  name: Name2.make("OpenCode"),
435
435
  description: OpencodeDescription2,
436
436
  path: AbsolutePath2.make("/builtin/opencode.md"),
437
437
  content: OpencodeContent2
438
438
  }));
439
- editor.add(Info22.make({
440
- id: ID12.make("report"),
439
+ editor.add(Info5.make({
440
+ id: ID3.make("report"),
441
441
  name: Name2.make("Report"),
442
442
  description: REPORT_DESCRIPTION,
443
443
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service43;
469
+ const config = yield* Service50;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./form-tazgh4e4.js";
8
+ } from "./file-retention-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./form-ef5x83kb.js";
11
+ } from "./file-retention-ef5x83kb.js";
12
12
  import {
13
- Service78
14
- } from "./form-g6drypzc.js";
13
+ Service75
14
+ } from "./file-retention-ck51dxh3.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./form-9k6mxhmg.js";
17
+ } from "./file-retention-fe7xgvze.js";
18
18
  import {
19
19
  __export
20
- } from "./form-9rqn6x4v.js";
20
+ } from "./file-retention-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin6,
25
+ Plugin: () => Plugin3,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin6 = define({
36
+ var Plugin3 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service78;
39
+ const location = yield* Service75;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin6, exports_git };
556
+ export { Plugin3, exports_git };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./form-2axfhc9x.js";
3
+ } from "./file-retention-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./form-emrn6kk6.js";
4
+ } from "./file-retention-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./form-ey95qdp6.js";
7
+ } from "./file-retention-z0bka10m.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";