@opencode/core 2.0.32 → 2.1.1

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 (918) 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 +71 -71
  7. package/dist/chunks/{instance-be7qvw84.js → repository-cache-00x4qneg.js} +8 -8
  8. package/dist/chunks/{instance-s5jrf6ry.js → repository-cache-065m31h9.js} +11 -11
  9. package/dist/chunks/{instance-g2wa2e5b.js → repository-cache-0fztarvd.js} +13 -11
  10. package/dist/chunks/{instance-ydjrys25.js → repository-cache-0qb6tpgj.js} +23 -23
  11. package/dist/chunks/{instance-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{instance-xjvxx86v.js → repository-cache-0vf8bfn5.js} +6 -6
  13. package/dist/chunks/{instance-5zbw8dq9.js → repository-cache-0vtn597b.js} +21 -21
  14. package/dist/chunks/{instance-v5qm4ejs.js → repository-cache-0xfcnhey.js} +27 -27
  15. package/dist/chunks/{instance-pbh24ypk.js → repository-cache-15e8hpnt.js} +19 -19
  16. package/dist/chunks/{instance-yp2x3t23.js → repository-cache-1acjjqhc.js} +4 -4
  17. package/dist/chunks/repository-cache-1ep4rre3.js +42 -0
  18. package/dist/chunks/{instance-nbm6td7p.js → repository-cache-1ngx28bn.js} +4 -4
  19. package/dist/chunks/{instance-q97qe3v1.js → repository-cache-1ptgpzsy.js} +24 -25
  20. package/dist/chunks/{instance-ypne3kk7.js → repository-cache-1q92ejr7.js} +21 -21
  21. package/dist/chunks/{instance-c9wbyant.js → repository-cache-1ze9gtzp.js} +9 -9
  22. package/dist/chunks/{instance-ngdgjn5a.js → repository-cache-21n0xhjn.js} +13 -13
  23. package/dist/chunks/{instance-6btvgc07.js → repository-cache-2577k5af.js} +54 -37
  24. package/dist/chunks/{instance-ft79q47f.js → repository-cache-2ky2kwtz.js} +4 -4
  25. package/dist/chunks/{instance-zdhmwdxf.js → repository-cache-2v5tj3gs.js} +21 -21
  26. package/dist/chunks/{instance-9k44apjz.js → repository-cache-37cqxn50.js} +11 -4
  27. package/dist/chunks/{instance-eb2yw134.js → repository-cache-3fcx2j2w.js} +18 -18
  28. package/dist/chunks/{instance-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{instance-vqtt4fqa.js → repository-cache-3hkcw4we.js} +13 -13
  30. package/dist/chunks/{instance-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{instance-2j1fd8ns.js → repository-cache-3ns80m0h.js} +20 -20
  32. package/dist/chunks/{instance-wdgmgtm0.js → repository-cache-3rq8r7zt.js} +17 -14
  33. package/dist/chunks/{instance-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{instance-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{instance-j3ftvw7y.js → repository-cache-3ty6jwen.js} +6 -6
  36. package/dist/chunks/{instance-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{instance-dw46b8bx.js → repository-cache-43x4yszk.js} +20 -20
  38. package/dist/chunks/{instance-e5wkangg.js → repository-cache-46mephjz.js} +47 -49
  39. package/dist/chunks/{instance-jxa04fe5.js → repository-cache-47cwnsyn.js} +14 -14
  40. package/dist/chunks/{instance-s1kmd63q.js → repository-cache-4bk9s89f.js} +14 -14
  41. package/dist/chunks/{instance-wmhjcbrh.js → repository-cache-4prqf89h.js} +29 -29
  42. package/dist/chunks/{instance-echrm7fx.js → repository-cache-4tyzw6xh.js} +5 -5
  43. package/dist/chunks/{instance-5nrew705.js → repository-cache-4v4bfvma.js} +5 -5
  44. package/dist/chunks/{instance-9rd468vk.js → repository-cache-4wehpdsn.js} +24 -24
  45. package/dist/chunks/{instance-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  46. package/dist/chunks/{instance-wh6zw745.js → repository-cache-57myy5jh.js} +5 -5
  47. package/dist/chunks/{instance-nnq6jpzr.js → repository-cache-5dycw2n2.js} +22 -22
  48. package/dist/chunks/{instance-xt4njr3s.js → repository-cache-5f5dfnyg.js} +17 -13
  49. package/dist/chunks/{instance-bg9pb3hs.js → repository-cache-5m84d531.js} +6 -6
  50. package/dist/chunks/{instance-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{instance-c01nkdt4.js → repository-cache-63t8kvdx.js} +16 -16
  52. package/dist/chunks/{instance-dqxsqydv.js → repository-cache-6827pfxn.js} +2 -2
  53. package/dist/chunks/{instance-0f5g2b67.js → repository-cache-6bq45c98.js} +46 -46
  54. package/dist/chunks/{instance-z8epvsg6.js → repository-cache-6e57763q.js} +5 -5
  55. package/dist/chunks/{instance-y56ehv6b.js → repository-cache-6hjx5zpb.js} +9 -9
  56. package/dist/chunks/{instance-xn7k1yjr.js → repository-cache-6kthashm.js} +27 -27
  57. package/dist/chunks/{instance-mee8ct06.js → repository-cache-6nq3099y.js} +2 -2
  58. package/dist/chunks/{instance-hzzj1pg2.js → repository-cache-6qn8gjqg.js} +18 -18
  59. package/dist/chunks/{instance-zy2kjt51.js → repository-cache-6s242g8e.js} +39 -39
  60. package/dist/chunks/{instance-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{instance-h8wg6m6b.js → repository-cache-6xjvsea3.js} +11 -11
  62. package/dist/chunks/{instance-j4d2njm3.js → repository-cache-7303zb1f.js} +18 -18
  63. package/dist/chunks/{instance-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
  64. package/dist/chunks/{instance-a0r8rfmp.js → repository-cache-77a66swy.js} +7 -7
  65. package/dist/chunks/{instance-f4mxpp6t.js → repository-cache-77d0na5t.js} +48 -48
  66. package/dist/chunks/{instance-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{instance-8mprknbj.js → repository-cache-7jwh32ts.js} +32 -31
  68. package/dist/chunks/{instance-9s4s5645.js → repository-cache-7p9sqgn0.js} +16 -16
  69. package/dist/chunks/{instance-91qna3x0.js → repository-cache-7v6vae4w.js} +39 -21
  70. package/dist/chunks/{instance-84caq58q.js → repository-cache-7vt9yzvg.js} +11 -11
  71. package/dist/chunks/{instance-x20m8gm2.js → repository-cache-7z1jx34y.js} +23 -23
  72. package/dist/chunks/{instance-wjsh9s1s.js → repository-cache-83whknbm.js} +31 -31
  73. package/dist/chunks/{instance-s4bj6v34.js → repository-cache-842mqg42.js} +11 -11
  74. package/dist/chunks/{instance-7q6nqg1g.js → repository-cache-86eqfcce.js} +9 -9
  75. package/dist/chunks/{instance-agt7xfc2.js → repository-cache-8d1pd201.js} +26 -26
  76. package/dist/chunks/{instance-r730fk4b.js → repository-cache-8g2mbw9h.js} +19 -19
  77. package/dist/chunks/{instance-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
  78. package/dist/chunks/repository-cache-8mywswrd.js +86 -0
  79. package/dist/chunks/{instance-c0jw7tng.js → repository-cache-8reangzk.js} +9 -7
  80. package/dist/chunks/{instance-h14remhy.js → repository-cache-8t50b4ww.js} +23 -23
  81. package/dist/chunks/{instance-spnt6386.js → repository-cache-8vy56zzm.js} +28 -28
  82. package/dist/chunks/{instance-v742aeg8.js → repository-cache-94p6wp9x.js} +30 -25
  83. package/dist/chunks/{instance-5saajy9t.js → repository-cache-95tpv30c.js} +13 -13
  84. package/dist/chunks/{instance-1ajx6rf5.js → repository-cache-9hn6k4tm.js} +8 -8
  85. package/dist/chunks/{instance-b4gsa26k.js → repository-cache-9hzyxvsk.js} +17 -14
  86. package/dist/chunks/{instance-2ysm8pgm.js → repository-cache-9m35c2r0.js} +29 -29
  87. package/dist/chunks/{instance-bcmzxatv.js → repository-cache-9v5raxs8.js} +5 -5
  88. package/dist/chunks/repository-cache-9wrj4pc9.js +257 -0
  89. package/dist/chunks/{instance-wndqf9wb.js → repository-cache-a0kr73jj.js} +10 -10
  90. package/dist/chunks/{instance-vfjhn2wd.js → repository-cache-a3c7ahw6.js} +4 -4
  91. package/dist/chunks/{instance-y7nndgyc.js → repository-cache-a4db0rvv.js} +9 -9
  92. package/dist/chunks/{instance-hdb1y56n.js → repository-cache-a58n7r3a.js} +43 -43
  93. package/dist/chunks/{instance-gvm6138t.js → repository-cache-a75ad8v4.js} +1 -1
  94. package/dist/chunks/{instance-gqtdsdt7.js → repository-cache-addxnjmp.js} +4 -4
  95. package/dist/chunks/{instance-8q7cp091.js → repository-cache-b2ckp95n.js} +12 -12
  96. package/dist/chunks/{instance-0fhevdjt.js → repository-cache-b4nzaj04.js} +5 -5
  97. package/dist/chunks/{instance-2vs2nh1n.js → repository-cache-baaqp4zd.js} +4 -4
  98. package/dist/chunks/{instance-9jgxs1bn.js → repository-cache-bf4bmw04.js} +11 -11
  99. package/dist/chunks/{instance-wjr9rjd7.js → repository-cache-bjx1sjef.js} +6 -6
  100. package/dist/chunks/{instance-m8qsgghe.js → repository-cache-bq3hn31g.js} +50 -50
  101. package/dist/chunks/{instance-enbw0gbw.js → repository-cache-brcmb8c2.js} +46 -46
  102. package/dist/chunks/repository-cache-by5v678g.js +18 -0
  103. package/dist/chunks/{instance-d4n7pc7j.js → repository-cache-c15zmvx5.js} +10 -10
  104. package/dist/chunks/{instance-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
  105. package/dist/chunks/{instance-mtpeagzc.js → repository-cache-c2sed5cq.js} +3 -3
  106. package/dist/chunks/{instance-nj7hqrdc.js → repository-cache-c5ggqzvz.js} +5 -5
  107. package/dist/chunks/{instance-gea60fq5.js → repository-cache-cgc2saxs.js} +26 -26
  108. package/dist/chunks/{instance-hz56gd46.js → repository-cache-d2qeb4wf.js} +17 -17
  109. package/dist/chunks/{instance-xzyvagpz.js → repository-cache-djbskq1b.js} +26 -26
  110. package/dist/chunks/{instance-m8p0bf8a.js → repository-cache-dmpxat65.js} +4 -4
  111. package/dist/chunks/{instance-sz70a389.js → repository-cache-dqjdwcmj.js} +20 -13
  112. package/dist/chunks/repository-cache-dv4jvz6s.js +97 -0
  113. package/dist/chunks/{instance-j5s48rss.js → repository-cache-dzr38x1r.js} +11 -11
  114. package/dist/chunks/{instance-sxzvkvgj.js → repository-cache-dzse07y5.js} +6 -6
  115. package/dist/chunks/{instance-ye119z04.js → repository-cache-dzxp512b.js} +48 -48
  116. package/dist/chunks/{instance-sxcaecc0.js → repository-cache-e80seqcp.js} +3 -3
  117. package/dist/chunks/{instance-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
  118. package/dist/chunks/{instance-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{instance-h82zpv65.js → repository-cache-ek4c2f0v.js} +6 -6
  120. package/dist/chunks/{instance-m7f5ga5x.js → repository-cache-ewj35nqb.js} +8 -8
  121. package/dist/chunks/{instance-7c25kt5f.js → repository-cache-exgm3bba.js} +14 -14
  122. package/dist/chunks/{instance-6h1sgzxr.js → repository-cache-ezhy60ay.js} +27 -27
  123. package/dist/chunks/{instance-7kf7gnm7.js → repository-cache-f39mejfg.js} +13 -13
  124. package/dist/chunks/{instance-zr0n9bt7.js → repository-cache-f94wsmf1.js} +4 -4
  125. package/dist/chunks/{instance-50a72dh7.js → repository-cache-fbxj9tpm.js} +4 -4
  126. package/dist/chunks/{instance-2k8khapm.js → repository-cache-fcrkznn8.js} +5 -5
  127. package/dist/chunks/repository-cache-fcy631f0.js +62 -0
  128. package/dist/chunks/{instance-tx5jepxr.js → repository-cache-fj6qct2w.js} +79 -66
  129. package/dist/chunks/{instance-14q6b86s.js → repository-cache-fmnd8f8t.js} +17 -17
  130. package/dist/chunks/{instance-edhgwctf.js → repository-cache-fncqf4dd.js} +5 -5
  131. package/dist/chunks/{instance-fww2ha2b.js → repository-cache-fww2ha2b.js} +2 -2
  132. package/dist/chunks/{instance-1w2wqhfv.js → repository-cache-fxaymqdw.js} +4 -4
  133. package/dist/chunks/{instance-ckerv63d.js → repository-cache-fzdrxngq.js} +4 -4
  134. package/dist/chunks/{instance-ypc4xgvm.js → repository-cache-g2kfam58.js} +22 -22
  135. package/dist/chunks/{instance-6vzwhms5.js → repository-cache-g5g9rrdp.js} +31 -31
  136. package/dist/chunks/{instance-kjzbdttd.js → repository-cache-g9rqxbv3.js} +6 -6
  137. package/dist/chunks/{instance-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{instance-wfmvav8k.js → repository-cache-gec8gq51.js} +8 -8
  139. package/dist/chunks/{instance-vd5a229f.js → repository-cache-gkge597h.js} +24 -22
  140. package/dist/chunks/{instance-xnn7a7ef.js → repository-cache-gnrrjsmd.js} +16 -16
  141. package/dist/chunks/{instance-9b8s04gb.js → repository-cache-gp5jn49f.js} +27 -24
  142. package/dist/chunks/{instance-6tnrngrh.js → repository-cache-gpqw730e.js} +8 -8
  143. package/dist/chunks/{instance-9y6nqyzn.js → repository-cache-gpz4bnby.js} +5 -5
  144. package/dist/chunks/{instance-pwws2hp2.js → repository-cache-gtsbe4v4.js} +10 -10
  145. package/dist/chunks/{instance-p6p9qpe8.js → repository-cache-h1f52gh9.js} +30 -30
  146. package/dist/chunks/{instance-npg16c9q.js → repository-cache-h1schjng.js} +46 -28
  147. package/dist/chunks/{instance-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{instance-k3e33c9f.js → repository-cache-h74mnx9x.js} +11 -11
  149. package/dist/chunks/{instance-a2pz59r9.js → repository-cache-h7q4kewv.js} +36 -36
  150. package/dist/chunks/{instance-6pn2td3v.js → repository-cache-haz4dce7.js} +15 -15
  151. package/dist/chunks/repository-cache-hbb7npd7.js +59 -0
  152. package/dist/chunks/{instance-cqpz2z25.js → repository-cache-hfkjwy2f.js} +18 -18
  153. package/dist/chunks/{instance-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{instance-71svxegq.js → repository-cache-hh0jpq4c.js} +71 -74
  155. package/dist/chunks/{instance-ec8g0tcf.js → repository-cache-hjygm116.js} +26 -26
  156. package/dist/chunks/{instance-1kn978n9.js → repository-cache-hs0qwjvp.js} +96 -162
  157. package/dist/chunks/{instance-c4f3nvjn.js → repository-cache-ht1p01b4.js} +17 -17
  158. package/dist/chunks/{instance-00hj6bjn.js → repository-cache-j5w7gx2k.js} +32 -32
  159. package/dist/chunks/{instance-qxbyfn4m.js → repository-cache-jargxt5j.js} +11 -11
  160. package/dist/chunks/{instance-a7p9m6vg.js → repository-cache-jaym3td0.js} +18 -18
  161. package/dist/chunks/{instance-fxp0jy99.js → repository-cache-jnk63p10.js} +34 -34
  162. package/dist/chunks/{instance-hrtybn11.js → repository-cache-jsg4jcbs.js} +3 -3
  163. package/dist/chunks/{instance-ba4zj86y.js → repository-cache-k1jycaz7.js} +23 -23
  164. package/dist/chunks/{instance-jhx7q1qc.js → repository-cache-k9gaxmgh.js} +2 -2
  165. package/dist/chunks/{instance-6njkejes.js → repository-cache-kf0zwkk2.js} +24 -24
  166. package/dist/chunks/{instance-gxvgt8t9.js → repository-cache-kh81xvt5.js} +3 -3
  167. package/dist/chunks/{instance-jez41mts.js → repository-cache-knhxpfbp.js} +21 -21
  168. package/dist/chunks/{instance-m82ef0kx.js → repository-cache-kq77jz7h.js} +5 -5
  169. package/dist/chunks/{instance-74syfsk2.js → repository-cache-kqe08t1d.js} +11 -11
  170. package/dist/chunks/{instance-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{instance-tdjzh3mn.js → repository-cache-kx8xg74a.js} +13 -13
  172. package/dist/chunks/{instance-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{instance-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  174. package/dist/chunks/{instance-a450qmf9.js → repository-cache-mhdex35g.js} +9 -9
  175. package/dist/chunks/{instance-pbjcynf2.js → repository-cache-mk935gd8.js} +11 -11
  176. package/dist/chunks/{instance-52w29975.js → repository-cache-mmfyj663.js} +3 -3
  177. package/dist/chunks/{instance-prvmgnqy.js → repository-cache-mn5j6xz9.js} +5 -5
  178. package/dist/chunks/{instance-y0r048qb.js → repository-cache-ms89s1xg.js} +181 -180
  179. package/dist/chunks/{instance-94t3kz80.js → repository-cache-mx97exft.js} +25 -25
  180. package/dist/chunks/{instance-g6vxq4t7.js → repository-cache-n268d91j.js} +12 -12
  181. package/dist/chunks/{instance-k74v33jx.js → repository-cache-na3b46a7.js} +22 -22
  182. package/dist/chunks/{instance-bwe2bky2.js → repository-cache-nbs22qen.js} +4 -4
  183. package/dist/chunks/{instance-9ar4pza7.js → repository-cache-njebe5fw.js} +19 -19
  184. package/dist/chunks/{instance-t5d9whg0.js → repository-cache-nxhdjhjw.js} +45 -45
  185. package/dist/chunks/{instance-h7s7r6s9.js → repository-cache-nz56sr1f.js} +18 -19
  186. package/dist/chunks/{instance-s1xtywav.js → repository-cache-p7pstqch.js} +15 -15
  187. package/dist/chunks/{instance-8dp3pqp7.js → repository-cache-pfhhvb3w.js} +5 -5
  188. package/dist/chunks/{instance-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{instance-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  190. package/dist/chunks/{instance-karq4mt3.js → repository-cache-pmx6p9t5.js} +34 -34
  191. package/dist/chunks/{instance-nfnvba5x.js → repository-cache-pmx89wj9.js} +12 -12
  192. package/dist/chunks/{instance-saq4k3ef.js → repository-cache-pnf7bv7v.js} +33 -33
  193. package/dist/chunks/{instance-snpj5a6q.js → repository-cache-ps8kb85m.js} +11 -11
  194. package/dist/chunks/{instance-w92k2e0p.js → repository-cache-py3kkmfq.js} +8 -8
  195. package/dist/chunks/{instance-127b9nq3.js → repository-cache-q0p071b0.js} +3 -3
  196. package/dist/chunks/{instance-4hxt5e23.js → repository-cache-qcy13bhz.js} +19 -22
  197. package/dist/chunks/{instance-g6q9qykm.js → repository-cache-qmqgtz8f.js} +9 -9
  198. package/dist/chunks/{instance-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{instance-n886b0hh.js → repository-cache-qsbh95pa.js} +18 -18
  200. package/dist/chunks/{instance-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  201. package/dist/chunks/{instance-4p9mf0mj.js → repository-cache-r38tb40c.js} +11 -11
  202. package/dist/chunks/{instance-4q4vnebt.js → repository-cache-r8mc9fw8.js} +7 -7
  203. package/dist/chunks/{instance-f60ec8ph.js → repository-cache-r8qzytx6.js} +11 -11
  204. package/dist/chunks/{instance-dy6575tn.js → repository-cache-r8tt5pdh.js} +21 -21
  205. package/dist/chunks/{instance-j99dhamb.js → repository-cache-rd8qctj1.js} +6 -6
  206. package/dist/chunks/{instance-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{instance-rert0e01.js → repository-cache-rert0e01.js} +2 -2
  208. package/dist/chunks/{instance-8dc76097.js → repository-cache-rfmm8jvy.js} +28 -28
  209. package/dist/chunks/{instance-02nrjc1r.js → repository-cache-rhjbct0v.js} +6 -6
  210. package/dist/chunks/{instance-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
  211. package/dist/chunks/{instance-76an7qnj.js → repository-cache-rjf4ffg7.js} +11 -11
  212. package/dist/chunks/{instance-8x4cb7ds.js → repository-cache-rmtct2jg.js} +16 -16
  213. package/dist/chunks/{instance-4y7j986s.js → repository-cache-rpjgfq5s.js} +9 -9
  214. package/dist/chunks/{instance-azaahc9x.js → repository-cache-rrymd76b.js} +20 -20
  215. package/dist/chunks/{instance-0x6zefqk.js → repository-cache-s2b0mt3v.js} +4 -4
  216. package/dist/chunks/{instance-yw8t9dwe.js → repository-cache-s5met55r.js} +8 -8
  217. package/dist/chunks/{instance-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{instance-2wamsapc.js → repository-cache-savvjd0x.js} +33 -23
  219. package/dist/chunks/{instance-egzk2yjk.js → repository-cache-scqf7y3w.js} +84 -87
  220. package/dist/chunks/{instance-fjz5gha3.js → repository-cache-sxy57xts.js} +122 -100
  221. package/dist/chunks/{instance-syv4x271.js → repository-cache-syv4x271.js} +1 -1
  222. package/dist/chunks/{instance-sz15zhhw.js → repository-cache-sz15zhhw.js} +1 -1
  223. package/dist/chunks/{instance-99kqc9z2.js → repository-cache-szwj80cc.js} +28 -29
  224. package/dist/chunks/{instance-mn1n5f3s.js → repository-cache-t4rnqcab.js} +3 -3
  225. package/dist/chunks/repository-cache-t5gc52ef.js +112 -0
  226. package/dist/chunks/{instance-r1d9yajz.js → repository-cache-t5nm1h7p.js} +48 -48
  227. package/dist/chunks/{instance-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{instance-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{instance-s9w6dcwz.js → repository-cache-tdbmj82j.js} +8 -8
  230. package/dist/chunks/{instance-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  231. package/dist/chunks/{instance-9mg0ha5m.js → repository-cache-tfp3dpkf.js} +5 -5
  232. package/dist/chunks/{instance-asvc535p.js → repository-cache-tgfxvvf8.js} +13 -13
  233. package/dist/chunks/{instance-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{instance-5408hnnb.js → repository-cache-twy8yh4t.js} +15 -15
  235. package/dist/chunks/{instance-jxa15a22.js → repository-cache-txwpsv2p.js} +17 -17
  236. package/dist/chunks/{instance-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
  237. package/dist/chunks/{instance-a2gdg3s5.js → repository-cache-tza759th.js} +36 -36
  238. package/dist/chunks/{instance-pwjs67dv.js → repository-cache-tzaz3z0t.js} +6 -6
  239. package/dist/chunks/repository-cache-v061a9c2.js +517 -0
  240. package/dist/chunks/{instance-v0es1rhs.js → repository-cache-v210v162.js} +5 -5
  241. package/dist/chunks/{instance-rq74kqrf.js → repository-cache-v30mg9q2.js} +8 -8
  242. package/dist/chunks/{instance-ryr25ayn.js → repository-cache-v5dkyp31.js} +4 -4
  243. package/dist/chunks/{instance-b7n2911q.js → repository-cache-v7kdkfkp.js} +25 -25
  244. package/dist/chunks/{instance-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{instance-tfzngn12.js → repository-cache-vbfgae2j.js} +4 -4
  246. package/dist/chunks/{instance-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  247. package/dist/chunks/{instance-qzfs27nc.js → repository-cache-vhj1m4b0.js} +30 -23
  248. package/dist/chunks/{instance-s7ecmt2f.js → repository-cache-vhwx28nx.js} +22 -17
  249. package/dist/chunks/{instance-9nypp77e.js → repository-cache-vnm2wjz3.js} +12 -12
  250. package/dist/chunks/{instance-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{instance-79aanr6n.js → repository-cache-w12shgbp.js} +20 -20
  252. package/dist/chunks/{instance-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  253. package/dist/chunks/repository-cache-w2nph7ph.js +26 -0
  254. package/dist/chunks/{instance-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{instance-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  256. package/dist/chunks/{instance-hy029169.js → repository-cache-wp7khyzv.js} +15 -15
  257. package/dist/chunks/{instance-0aedf7nq.js → repository-cache-wqz8rkkb.js} +21 -21
  258. package/dist/chunks/{instance-n240m50y.js → repository-cache-x06a86kn.js} +13 -13
  259. package/dist/chunks/{instance-3cy08nae.js → repository-cache-x2gnjtg4.js} +7 -7
  260. package/dist/chunks/{instance-s3v8c45g.js → repository-cache-x4jd4xmr.js} +51 -50
  261. package/dist/chunks/{instance-kjpxk16h.js → repository-cache-x7wne18b.js} +18 -18
  262. package/dist/chunks/{instance-57b9ws8p.js → repository-cache-xfkkasph.js} +7 -7
  263. package/dist/chunks/{instance-yx0rmv9r.js → repository-cache-xkrbr206.js} +8 -8
  264. package/dist/chunks/{instance-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{instance-3mksxvab.js → repository-cache-y50tnaxc.js} +9 -9
  266. package/dist/chunks/{instance-dpkg50ah.js → repository-cache-y71avatq.js} +4 -4
  267. package/dist/chunks/{instance-rr384mgp.js → repository-cache-y8tjtsy7.js} +9 -9
  268. package/dist/chunks/{instance-bcrfy1e8.js → repository-cache-yew0zm8m.js} +11 -11
  269. package/dist/chunks/{instance-xvr6z0ms.js → repository-cache-yfdycbsw.js} +14 -14
  270. package/dist/chunks/{instance-g95hkc6v.js → repository-cache-yfsa45n4.js} +29 -29
  271. package/dist/chunks/{instance-n86j2s3s.js → repository-cache-yjxqy5ha.js} +11 -11
  272. package/dist/chunks/{instance-1e477vzc.js → repository-cache-ys5mczsm.js} +8 -8
  273. package/dist/chunks/{instance-vz3ca5nz.js → repository-cache-yv2cmth8.js} +1 -1
  274. package/dist/chunks/{instance-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{instance-3fc6dm20.js → repository-cache-z18fegx4.js} +4 -4
  276. package/dist/chunks/{instance-47jkzegy.js → repository-cache-z6c3x22d.js} +5 -5
  277. package/dist/chunks/{instance-n7jnsjte.js → repository-cache-z6dhcqsk.js} +24 -24
  278. package/dist/chunks/{instance-q3krtzxs.js → repository-cache-z86wre2g.js} +30 -30
  279. package/dist/chunks/{instance-8j7djd22.js → repository-cache-zmy0eq9j.js} +20 -20
  280. package/dist/chunks/{instance-nsdb0f42.js → repository-cache-znqen040.js} +11 -11
  281. package/dist/chunks/{instance-ksbyxnj1.js → repository-cache-zp864mkb.js} +21 -18
  282. package/dist/chunks/{instance-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{instance-vcnzat6y.js → repository-cache-zs22chpb.js} +26 -26
  284. package/dist/chunks/repository-cache-zx24wvbj.js +130 -0
  285. package/dist/chunks/{instance-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{instance-kp7zea7r.js → repository-cache-zz6a9he3.js} +28 -28
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -207
  297. package/dist/config/plugin/compaction.js +155 -154
  298. package/dist/config/plugin/compatibility.js +135 -134
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +10 -0
  311. package/dist/config/plugin/skill.js +138 -137
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +86 -83
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +104 -104
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -218
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +104 -103
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -358
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -355
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +2 -2
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +129 -129
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +10 -0
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +101 -101
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +90 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +3 -3
  486. package/dist/persistent-pty/binary.node.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -211
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -329
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -348
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +221 -220
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -137
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -214
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +155 -154
  586. package/dist/session/history.js +19 -13
  587. package/dist/session/inbox.js +95 -90
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +10 -10
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -88
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +14 -0
  600. package/dist/session/revert.js +96 -92
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -224
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -4
  608. package/dist/session/runner/step.js +128 -127
  609. package/dist/session/runner/to-llm-message.js +14 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +162 -162
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -205
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +212 -216
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -211
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +111 -111
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -210
  648. package/dist/tool/plugin/skill.js +107 -107
  649. package/dist/tool/plugin/subagent.js +209 -208
  650. package/dist/tool/plugin/todo.js +147 -0
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/account/sql.d.ts +3 -3
  659. package/dist/types/codemode/tool.d.ts +12 -12
  660. package/dist/types/config/discovery.d.ts +2 -2
  661. package/dist/types/config/plugin/entry-observer.d.ts +1 -1
  662. package/dist/types/config/plugin/instruction.d.ts +1 -1
  663. package/dist/types/config/plugin/skill-scan.d.ts +5 -0
  664. package/dist/types/config.d.ts +1 -1
  665. package/dist/types/credential/sql.d.ts +1 -4
  666. package/dist/types/credential.d.ts +0 -3
  667. package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
  668. package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
  669. package/dist/types/database/path.d.ts +16 -16
  670. package/dist/types/database/sqlite.bun.d.ts +1 -1
  671. package/dist/types/database/sqlite.node.d.ts +1 -1
  672. package/dist/types/database/sqlite.workerd.d.ts +1 -1
  673. package/dist/types/effect/websocket-constructor.d.ts +2 -1
  674. package/dist/types/environment/files.d.ts +1 -1
  675. package/dist/types/event/sql.d.ts +2 -2
  676. package/dist/types/file-mutation.d.ts +4 -3
  677. package/dist/types/filesystem.d.ts +1 -1
  678. package/dist/types/form.d.ts +55 -55
  679. package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
  680. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
  681. package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
  682. package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
  683. package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
  684. package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
  685. package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
  686. package/dist/types/image/photon.d.ts +5 -5
  687. package/dist/types/instance.d.ts +1 -1
  688. package/dist/types/integration.d.ts +257 -257
  689. package/dist/types/kv/sql.d.ts +1 -1
  690. package/dist/types/managed-policy.d.ts +2 -2
  691. package/dist/types/mcp/client.d.ts +74 -74
  692. package/dist/types/mcp/index.d.ts +1 -1
  693. package/dist/types/mime.d.ts +1 -1
  694. package/dist/types/model-resolver.d.ts +1 -1
  695. package/dist/types/model-retry.d.ts +14 -0
  696. package/dist/types/model.d.ts +76 -73
  697. package/dist/types/permission/saved.d.ts +26 -1
  698. package/dist/types/permission/sql.d.ts +1 -1
  699. package/dist/types/permission.d.ts +1 -1
  700. package/dist/types/persistent-pty/binary.bun.d.ts +1 -1
  701. package/dist/types/persistent-pty/binary.node.d.ts +1 -1
  702. package/dist/types/plugin/command.d.ts +1 -1
  703. package/dist/types/plugin/host.d.ts +2 -2
  704. package/dist/types/plugin/internal.d.ts +1 -1
  705. package/dist/types/plugin/module.d.ts +7 -7
  706. package/dist/types/plugin/provider/azure.d.ts +2 -2
  707. package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
  708. package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
  709. package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
  710. package/dist/types/plugin/provider/gitlab.d.ts +1 -1
  711. package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
  712. package/dist/types/plugin/provider/local.d.ts +2 -2
  713. package/dist/types/plugin/provider/ollama.d.ts +2 -2
  714. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  715. package/dist/types/plugin/provider/poe.d.ts +1 -1
  716. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
  717. package/dist/types/plugin/provider/vllm.d.ts +2 -2
  718. package/dist/types/plugin/supervisor.d.ts +2 -2
  719. package/dist/types/plugin/websearch/exa.d.ts +1 -1
  720. package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
  721. package/dist/types/plugin/websearch/index.d.ts +1 -1
  722. package/dist/types/plugin/websearch/parallel.d.ts +1 -1
  723. package/dist/types/plugin/websearch/tavily.d.ts +1 -1
  724. package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
  725. package/dist/types/project/sql.d.ts +75 -75
  726. package/dist/types/provider.d.ts +3 -1
  727. package/dist/types/session/command.d.ts +1 -1
  728. package/dist/types/session/compaction.d.ts +2 -2
  729. package/dist/types/session/diff.d.ts +1 -1
  730. package/dist/types/session/error.d.ts +4 -0
  731. package/dist/types/session/execution/restart.d.ts +1 -1
  732. package/dist/types/session/execution.d.ts +2 -2
  733. package/dist/types/session/generate.d.ts +1 -1
  734. package/dist/types/session/history.d.ts +389 -1242
  735. package/dist/types/session/inbox.d.ts +110 -110
  736. package/dist/types/session/instruction-entry.d.ts +2 -2
  737. package/dist/types/session/instruction-state.d.ts +7 -3
  738. package/dist/types/session/model-request.d.ts +1 -1
  739. package/dist/types/session/prompt.d.ts +7 -7
  740. package/dist/types/session/recent-text.d.ts +11 -0
  741. package/dist/types/session/revert.d.ts +1 -1
  742. package/dist/types/session/runner/index.d.ts +42 -46
  743. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  744. package/dist/types/session/runner/step.d.ts +86 -96
  745. package/dist/types/session/session.d.ts +29 -27
  746. package/dist/types/session/skill.d.ts +1 -1
  747. package/dist/types/session/sql.d.ts +139 -139
  748. package/dist/types/session/stats.d.ts +1 -1
  749. package/dist/types/session/store.d.ts +8 -5
  750. package/dist/types/session/subagent-completion.d.ts +1 -1
  751. package/dist/types/session/title.d.ts +1 -1
  752. package/dist/types/session/transfer.d.ts +31 -81
  753. package/dist/types/session.d.ts +24 -11
  754. package/dist/types/shell/result.d.ts +14 -14
  755. package/dist/types/skill.d.ts +1 -1
  756. package/dist/types/state.d.ts +1 -1
  757. package/dist/types/tool/plugin/read.d.ts +2 -2
  758. package/dist/types/tool/plugin/shell.d.ts +1 -1
  759. package/dist/types/tool/plugin/skill.d.ts +1 -1
  760. package/dist/types/tool/plugin/todo.d.ts +29 -0
  761. package/dist/types/tool/plugin/webfetch.d.ts +1 -1
  762. package/dist/types/tool/read-filesystem.d.ts +4 -4
  763. package/dist/types/tool/runtime.d.ts +1 -1
  764. package/dist/types/util/error.d.ts +36 -32
  765. package/dist/types/v1/config/agent.d.ts +2 -2
  766. package/dist/types/v1/config/error.d.ts +51 -46
  767. package/dist/types/v1/config/migrate.d.ts +14 -14
  768. package/dist/types/v1/config/permission.d.ts +3 -3
  769. package/dist/types/wellknown.d.ts +4 -6
  770. package/dist/types/workspace/sql.d.ts +1 -1
  771. package/dist/types/worktree/git.d.ts +3 -3
  772. package/dist/types/worktree/sql.d.ts +1 -1
  773. package/dist/util/error-summary.js +1 -1
  774. package/dist/util/error.js +1 -1
  775. package/dist/util/git-executable.js +2 -2
  776. package/dist/util/iife.js +1 -1
  777. package/dist/util/lazy.js +1 -1
  778. package/dist/util/slug.js +1 -1
  779. package/dist/util/token.js +1 -1
  780. package/dist/util/which.js +1 -1
  781. package/dist/util/wildcard.js +1 -1
  782. package/dist/v1/config/agent.js +5 -5
  783. package/dist/v1/config/command.js +3 -3
  784. package/dist/v1/config/error.js +2 -2
  785. package/dist/v1/config/mcp.js +4 -4
  786. package/dist/v1/config/migrate.js +94 -94
  787. package/dist/v1/config/permission.js +1 -1
  788. package/dist/v1/config/plugin.js +3 -3
  789. package/dist/v1/config/provider-options.js +1 -1
  790. package/dist/v1/config/provider.js +4 -4
  791. package/dist/variant.js +93 -93
  792. package/dist/vcs/patch.js +1 -1
  793. package/dist/vcs.js +91 -91
  794. package/dist/voice.js +90 -90
  795. package/dist/websearch.js +84 -84
  796. package/dist/wellknown/plugin.js +78 -78
  797. package/dist/wellknown.js +81 -81
  798. package/dist/workspace/driver.js +7 -7
  799. package/dist/workspace/sql.js +1 -1
  800. package/dist/workspace.js +84 -84
  801. package/dist/worktree/directory.js +2 -2
  802. package/dist/worktree/git.js +8 -8
  803. package/dist/worktree/sql.js +5 -5
  804. package/dist/worktree/strategies.js +91 -91
  805. package/dist/worktree.js +98 -98
  806. package/package.json +10 -10
  807. package/dist/chunks/instance-0e3j8fc0.js +0 -257
  808. package/dist/chunks/instance-3x6psag0.js +0 -73
  809. package/dist/chunks/instance-4j4tgtq5.js +0 -69
  810. package/dist/chunks/instance-6hkj46ta.js +0 -26
  811. package/dist/chunks/instance-em3k6scw.js +0 -95
  812. package/dist/chunks/instance-rap9a73h.js +0 -18
  813. package/dist/chunks/instance-v4640cdb.js +0 -513
  814. package/dist/chunks/instance-zyk1yjk8.js +0 -80
  815. package/dist/session/provider-context.js +0 -20
  816. package/dist/types/session/provider-context.d.ts +0 -46
  817. /package/dist/chunks/{instance-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  818. /package/dist/chunks/{instance-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  819. /package/dist/chunks/{instance-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  820. /package/dist/chunks/{instance-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  821. /package/dist/chunks/{instance-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  822. /package/dist/chunks/{instance-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  823. /package/dist/chunks/{instance-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  824. /package/dist/chunks/{instance-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  825. /package/dist/chunks/{instance-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  826. /package/dist/chunks/{instance-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  827. /package/dist/chunks/{instance-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  828. /package/dist/chunks/{instance-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  829. /package/dist/chunks/{instance-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  830. /package/dist/chunks/{instance-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  831. /package/dist/chunks/{instance-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  832. /package/dist/chunks/{instance-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  833. /package/dist/chunks/{instance-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  834. /package/dist/chunks/{instance-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  835. /package/dist/chunks/{instance-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  836. /package/dist/chunks/{instance-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  837. /package/dist/chunks/{instance-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  838. /package/dist/chunks/{instance-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  839. /package/dist/chunks/{instance-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  840. /package/dist/chunks/{instance-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  841. /package/dist/chunks/{instance-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  842. /package/dist/chunks/{instance-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  843. /package/dist/chunks/{instance-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  844. /package/dist/chunks/{instance-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  845. /package/dist/chunks/{instance-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  846. /package/dist/chunks/{instance-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  847. /package/dist/chunks/{instance-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  848. /package/dist/chunks/{instance-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  849. /package/dist/chunks/{instance-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  850. /package/dist/chunks/{instance-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  851. /package/dist/chunks/{instance-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  852. /package/dist/chunks/{instance-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  853. /package/dist/chunks/{instance-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  854. /package/dist/chunks/{instance-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  855. /package/dist/chunks/{instance-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  856. /package/dist/chunks/{instance-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  857. /package/dist/chunks/{instance-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  858. /package/dist/chunks/{instance-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  859. /package/dist/chunks/{instance-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  860. /package/dist/chunks/{instance-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  861. /package/dist/chunks/{instance-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  862. /package/dist/chunks/{instance-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  863. /package/dist/chunks/{instance-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  864. /package/dist/chunks/{instance-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  865. /package/dist/chunks/{instance-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  866. /package/dist/chunks/{instance-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  867. /package/dist/chunks/{instance-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  868. /package/dist/chunks/{instance-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  869. /package/dist/chunks/{instance-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  870. /package/dist/chunks/{instance-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  871. /package/dist/chunks/{instance-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  872. /package/dist/chunks/{instance-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  873. /package/dist/chunks/{instance-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  874. /package/dist/chunks/{instance-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  875. /package/dist/chunks/{instance-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  876. /package/dist/chunks/{instance-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  877. /package/dist/chunks/{instance-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  878. /package/dist/chunks/{instance-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  879. /package/dist/chunks/{instance-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  880. /package/dist/chunks/{instance-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  881. /package/dist/chunks/{instance-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  882. /package/dist/chunks/{instance-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  883. /package/dist/chunks/{instance-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  884. /package/dist/chunks/{instance-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  885. /package/dist/chunks/{instance-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  886. /package/dist/chunks/{instance-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  887. /package/dist/chunks/{instance-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  888. /package/dist/chunks/{instance-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  889. /package/dist/chunks/{instance-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  890. /package/dist/chunks/{instance-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  891. /package/dist/chunks/{instance-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  892. /package/dist/chunks/{instance-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  893. /package/dist/chunks/{instance-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  894. /package/dist/chunks/{instance-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
  895. /package/dist/chunks/{instance-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  896. /package/dist/chunks/{instance-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  897. /package/dist/chunks/{instance-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  898. /package/dist/chunks/{instance-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  899. /package/dist/chunks/{instance-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  900. /package/dist/chunks/{instance-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  901. /package/dist/chunks/{instance-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  902. /package/dist/chunks/{instance-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  903. /package/dist/chunks/{instance-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  904. /package/dist/chunks/{instance-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  905. /package/dist/chunks/{instance-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  906. /package/dist/chunks/{instance-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  907. /package/dist/chunks/{instance-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  908. /package/dist/chunks/{instance-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  909. /package/dist/chunks/{instance-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  910. /package/dist/chunks/{instance-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  911. /package/dist/chunks/{instance-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  912. /package/dist/chunks/{instance-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  913. /package/dist/chunks/{instance-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  914. /package/dist/chunks/{instance-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  915. /package/dist/chunks/{instance-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  916. /package/dist/chunks/{instance-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  917. /package/dist/chunks/{instance-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  918. /package/dist/chunks/{instance-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -5,7 +5,7 @@ import type { Session } from "../session.js";
5
5
  import type { SessionMessage } from "./message.js";
6
6
  export declare const NO_TEXT = "Subagent completed without a text response.";
7
7
  export declare function text(message: SessionMessage.Info | undefined): string;
8
- export declare const deliver: (sessions: Pick<Session.Interface, "synthetic">, jobs: Pick<Job.Interface, "completeBackground">, input: Pick<Job.Info, "status" | "output" | "error" | "notificationID"> & {
8
+ export declare const deliver: (sessions: Pick<Session.Interface, "synthetic">, jobs: Pick<Job.Interface, "completeBackground">, input: Pick<Job.Info, "error" | "notificationID" | "output" | "status"> & {
9
9
  recovery: Extract<Job.Recovery, {
10
10
  kind: "subagent";
11
11
  }>;
@@ -13,5 +13,5 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionTitl
13
13
  export declare class Service extends Service_base {
14
14
  }
15
15
  export declare const isUntitled: (session: SessionSchema.Info) => boolean;
16
- export declare const layer: Layer.Layer<Service, never, Database.Service | Bus.Service | import("@opencode/ai").LLMClientService | SessionStore.Service | SessionContext.Service>;
16
+ export declare const layer: Layer.Layer<Service, never, import("@opencode/ai").LLMClientService | Database.Service | Bus.Service | SessionStore.Service | SessionContext.Service>;
17
17
  export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
@@ -187,9 +187,18 @@ export declare const Data: Schema.Struct<{
187
187
  }>>, never, never>;
188
188
  }>;
189
189
  readonly messages: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
190
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
191
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
192
+ fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
193
+ };
194
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
195
+ readonly time: Schema.Struct<{
196
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
197
+ }>;
190
198
  readonly type: Schema.tag<"agent-switched">;
191
199
  readonly agent: Schema.brand<Schema.String, "Agent.ID">;
192
200
  readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
201
+ }>, Schema.Struct<{
193
202
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
194
203
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
195
204
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -198,7 +207,6 @@ export declare const Data: Schema.Struct<{
198
207
  readonly time: Schema.Struct<{
199
208
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
200
209
  }>;
201
- }>, Schema.Struct<{
202
210
  readonly type: Schema.tag<"model-switched">;
203
211
  readonly model: Schema.Struct<{
204
212
  readonly id: Schema.brand<Schema.String, "Model.ID">;
@@ -268,6 +276,7 @@ export declare const Data: Schema.Struct<{
268
276
  readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
269
277
  };
270
278
  }>, never, never>;
279
+ }>, Schema.Struct<{
271
280
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
272
281
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
273
282
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -276,7 +285,6 @@ export declare const Data: Schema.Struct<{
276
285
  readonly time: Schema.Struct<{
277
286
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
278
287
  }>;
279
- }>, Schema.Struct<{
280
288
  readonly type: Schema.tag<"location-switched">;
281
289
  readonly location: Schema.Struct<{
282
290
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -329,6 +337,7 @@ export declare const Data: Schema.Struct<{
329
337
  }>, never, never>;
330
338
  readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
331
339
  }>>, never, never>;
340
+ }>, Schema.Struct<{
332
341
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
333
342
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
334
343
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -337,7 +346,6 @@ export declare const Data: Schema.Struct<{
337
346
  readonly time: Schema.Struct<{
338
347
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
339
348
  }>;
340
- }>, Schema.Struct<{
341
349
  readonly text: Schema.String;
342
350
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
343
351
  readonly data: Schema.String;
@@ -362,13 +370,13 @@ export declare const Data: Schema.Struct<{
362
370
  }> & {
363
371
  create: (input: import("@opencode/schema/prompt").FileAttachment) => {
364
372
  readonly data: string;
373
+ readonly mime: string;
365
374
  readonly source: {
366
375
  readonly type: "inline";
367
376
  } | {
368
377
  readonly type: "uri";
369
378
  readonly uri: string;
370
379
  };
371
- readonly mime: string;
372
380
  readonly name?: string | undefined;
373
381
  readonly description?: string | undefined;
374
382
  readonly mention?: {
@@ -400,13 +408,13 @@ export declare const Data: Schema.Struct<{
400
408
  }> & {
401
409
  create: (input: import("@opencode/schema/prompt").FileAttachment) => {
402
410
  readonly data: string;
411
+ readonly mime: string;
403
412
  readonly source: {
404
413
  readonly type: "inline";
405
414
  } | {
406
415
  readonly type: "uri";
407
416
  readonly uri: string;
408
417
  };
409
- readonly mime: string;
410
418
  readonly name?: string | undefined;
411
419
  readonly description?: string | undefined;
412
420
  readonly mention?: {
@@ -467,6 +475,7 @@ export declare const Data: Schema.Struct<{
467
475
  }>>, never, never>;
468
476
  }>>>, never, never>;
469
477
  readonly type: Schema.tag<"user">;
478
+ }>, Schema.Struct<{
470
479
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
471
480
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
472
481
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -475,10 +484,10 @@ export declare const Data: Schema.Struct<{
475
484
  readonly time: Schema.Struct<{
476
485
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
477
486
  }>;
478
- }>, Schema.Struct<{
479
487
  readonly text: Schema.String;
480
488
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
481
489
  readonly type: Schema.tag<"synthetic">;
490
+ }>, Schema.Struct<{
482
491
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
483
492
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
484
493
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -487,10 +496,10 @@ export declare const Data: Schema.Struct<{
487
496
  readonly time: Schema.Struct<{
488
497
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
489
498
  }>;
490
- }>, Schema.Struct<{
491
499
  readonly type: Schema.tag<"system">;
492
500
  readonly text: Schema.String;
493
501
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
502
+ }>, Schema.Struct<{
494
503
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
495
504
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
496
505
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -499,20 +508,16 @@ export declare const Data: Schema.Struct<{
499
508
  readonly time: Schema.Struct<{
500
509
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
501
510
  }>;
502
- }>, Schema.Struct<{
503
511
  readonly type: Schema.tag<"skill">;
504
512
  readonly skill: Schema.brand<Schema.String, "Skill.ID">;
505
513
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
506
514
  readonly text: Schema.String;
515
+ }>, Schema.Struct<{
507
516
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
508
517
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
509
518
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
510
519
  };
511
520
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
512
- readonly time: Schema.Struct<{
513
- readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
514
- }>;
515
- }>, Schema.Struct<{
516
521
  readonly type: Schema.tag<"shell">;
517
522
  readonly shellID: Schema.brand<Schema.String, "Shell.ID"> & {
518
523
  create: () => string & import("effect/Brand").Brand<"Shell.ID">;
@@ -536,12 +541,12 @@ export declare const Data: Schema.Struct<{
536
541
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
537
542
  readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
538
543
  }>;
544
+ }>, Schema.Struct<{
539
545
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
540
546
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
541
547
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
542
548
  };
543
549
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
544
- }>, Schema.Struct<{
545
550
  readonly type: Schema.tag<"assistant">;
546
551
  readonly agent: Schema.brand<Schema.String, "Agent.ID">;
547
552
  readonly model: Schema.Struct<{
@@ -570,11 +575,11 @@ export declare const Data: Schema.Struct<{
570
575
  readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
571
576
  readonly type: Schema.tag<"text">;
572
577
  readonly text: Schema.String;
573
- readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
578
+ readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
574
579
  }>, Schema.Struct<{
575
580
  readonly type: Schema.tag<"reasoning">;
576
581
  readonly text: Schema.String;
577
- readonly state: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
582
+ readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
578
583
  readonly time: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
579
584
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
580
585
  readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
@@ -587,8 +592,7 @@ export declare const Data: Schema.Struct<{
587
592
  readonly id: Schema.String;
588
593
  readonly name: Schema.String;
589
594
  readonly executed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
590
- readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
591
- readonly providerResultState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
595
+ readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
592
596
  readonly state: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
593
597
  readonly status: Schema.tag<"streaming">;
594
598
  readonly input: Schema.String;
@@ -658,7 +662,7 @@ export declare const Data: Schema.Struct<{
658
662
  }>>, never, never>;
659
663
  readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
660
664
  readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
661
- readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
665
+ readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
662
666
  readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
663
667
  zero: number & import("effect/Brand").Brand<"Money.USD">;
664
668
  }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
@@ -732,16 +736,20 @@ export declare const Data: Schema.Struct<{
732
736
  readonly streamed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
733
737
  readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
734
738
  }>;
739
+ }>, Schema.Union<readonly [Schema.Struct<{
735
740
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
736
741
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
737
742
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
738
743
  };
739
744
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
740
- }>, Schema.Union<readonly [Schema.Struct<{
745
+ readonly time: Schema.Struct<{
746
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
747
+ }>;
748
+ readonly type: Schema.tag<"compaction">;
741
749
  readonly status: Schema.tag<"running">;
742
750
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
743
751
  readonly summary: Schema.String;
744
- readonly recent: Schema.String;
752
+ }>, Schema.Struct<{
745
753
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
746
754
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
747
755
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -751,7 +759,6 @@ export declare const Data: Schema.Struct<{
751
759
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
752
760
  }>;
753
761
  readonly type: Schema.tag<"compaction">;
754
- }>, Schema.Struct<{
755
762
  readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
756
763
  zero: number & import("effect/Brand").Brand<"Money.USD">;
757
764
  }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
@@ -821,56 +828,9 @@ export declare const Data: Schema.Struct<{
821
828
  readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
822
829
  };
823
830
  }>, never, never>;
824
- readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
831
+ readonly native: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
825
832
  readonly summary: Schema.String;
826
- readonly recent: Schema.String;
827
- readonly providerContext: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
828
- readonly version: Schema.Literal<1>;
829
- readonly provenance: Schema.Struct<{
830
- readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
831
- opencode: string & import("effect/Brand").Brand<"Provider.ID">;
832
- anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
833
- openai: string & import("effect/Brand").Brand<"Provider.ID">;
834
- google: string & import("effect/Brand").Brand<"Provider.ID">;
835
- googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
836
- githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
837
- amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
838
- azure: string & import("effect/Brand").Brand<"Provider.ID">;
839
- openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
840
- mistral: string & import("effect/Brand").Brand<"Provider.ID">;
841
- gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
842
- };
843
- readonly provider: Schema.String;
844
- readonly modelID: Schema.String;
845
- readonly route: Schema.String;
846
- readonly protocol: Schema.String;
847
- readonly endpoint: Schema.String;
848
- }>;
849
- readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
850
- }>>>, Schema.optionalKey<Schema.Struct<{
851
- readonly version: Schema.Literal<1>;
852
- readonly provenance: Schema.Struct<{
853
- readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
854
- opencode: string & import("effect/Brand").Brand<"Provider.ID">;
855
- anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
856
- openai: string & import("effect/Brand").Brand<"Provider.ID">;
857
- google: string & import("effect/Brand").Brand<"Provider.ID">;
858
- googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
859
- githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
860
- amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
861
- azure: string & import("effect/Brand").Brand<"Provider.ID">;
862
- openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
863
- mistral: string & import("effect/Brand").Brand<"Provider.ID">;
864
- gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
865
- };
866
- readonly provider: Schema.String;
867
- readonly modelID: Schema.String;
868
- readonly route: Schema.String;
869
- readonly protocol: Schema.String;
870
- readonly endpoint: Schema.String;
871
- }>;
872
- readonly messages: Schema.Codec<Schema.Json, Schema.Json, never, never>;
873
- }>>, never, never>;
833
+ }>, Schema.Struct<{
874
834
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
875
835
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
876
836
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -880,7 +840,6 @@ export declare const Data: Schema.Struct<{
880
840
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
881
841
  }>;
882
842
  readonly type: Schema.tag<"compaction">;
883
- }>, Schema.Struct<{
884
843
  readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
885
844
  zero: number & import("effect/Brand").Brand<"Money.USD">;
886
845
  }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
@@ -915,6 +874,7 @@ export declare const Data: Schema.Struct<{
915
874
  readonly body: Schema.String;
916
875
  }>>, never, never>;
917
876
  }>;
877
+ }>]>, Schema.Struct<{
918
878
  readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
919
879
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
920
880
  fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -923,8 +883,6 @@ export declare const Data: Schema.Struct<{
923
883
  readonly time: Schema.Struct<{
924
884
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
925
885
  }>;
926
- readonly type: Schema.tag<"compaction">;
927
- }>]>, Schema.Struct<{
928
886
  readonly type: Schema.tag<"idle">;
929
887
  readonly outcome: Schema.Literals<readonly ["succeeded", "failed", "interrupted"]>;
930
888
  readonly error: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -946,14 +904,6 @@ export declare const Data: Schema.Struct<{
946
904
  readonly body: Schema.String;
947
905
  }>>, never, never>;
948
906
  }>>, never, never>;
949
- readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
950
- create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
951
- fromEvent: (eventID: import("@opencode/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
952
- };
953
- readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
954
- readonly time: Schema.Struct<{
955
- readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
956
- }>;
957
907
  }>]>>;
958
908
  }>;
959
909
  export type Data = SessionTransfer.Data;
@@ -1,7 +1,7 @@
1
1
  export * as Session from "./session.js";
2
2
  export * from "./session/schema.js";
3
3
  import { Effect, Schema, Context, Stream } from "effect";
4
- import { ListAnchor } from "@opencode/schema/session";
4
+ import { ListAnchor, ListCursor, ListFilter } from "@opencode/schema/session";
5
5
  import { Model } from "@opencode/schema/model";
6
6
  import { Location } from "./location.js";
7
7
  import type { FileSystem } from "./filesystem.js";
@@ -12,7 +12,7 @@ import { Agent } from "@opencode/schema/agent";
12
12
  import type { Permission } from "@opencode/schema/permission";
13
13
  import { SessionRunner } from "./session/runner/index.js";
14
14
  import { SessionStore } from "./session/store.js";
15
- import { AttachmentError, BusyError, CompactionConflictError, ForkEmptyError, InboxConflictError, MessageDecodeError, MessageNotFoundError, NotFoundError, PromptConflictError, SkillNotFoundError, SyntheticConflictError } from "./session/error.js";
15
+ import { AttachmentError, BusyError, CompactionConflictError, ForkEmptyError, InboxConflictError, InvalidListCursorError, MessageDecodeError, MessageNotFoundError, NotFoundError, PromptConflictError, SkillNotFoundError, SyntheticConflictError } from "./session/error.js";
16
16
  import { Node } from "@opencode/util/effect/app-node";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { SessionEvent } from "./session/event.js";
@@ -26,9 +26,8 @@ import type { EventLog } from "@opencode/schema/event-log";
26
26
  import type { FileDiff } from "@opencode/schema/file-diff";
27
27
  import type { Command } from "./command.js";
28
28
  import { SessionEnvironment } from "./session/environment.js";
29
- export { ListAnchor };
29
+ export { ListAnchor, ListCursor };
30
30
  export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
31
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
32
31
  readonly workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
33
32
  ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
34
33
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
@@ -40,6 +39,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
40
39
  create: () => string & import("effect/Brand").Brand<"SessionID">;
41
40
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
42
41
  }>>;
42
+ readonly archived: Schema.optional<Schema.Boolean>;
43
43
  readonly anchor: Schema.optional<Schema.Struct<{
44
44
  readonly id: Schema.brand<Schema.String, "SessionID"> & {
45
45
  create: () => string & import("effect/Brand").Brand<"SessionID">;
@@ -48,11 +48,8 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
48
48
  readonly time: Schema.Finite;
49
49
  readonly direction: Schema.Literals<readonly ["previous", "next"]>;
50
50
  }>>;
51
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
51
52
  }>, Schema.Struct<{
52
- readonly project: Schema.brand<Schema.String, "Project.ID"> & {
53
- global: string & import("effect/Brand").Brand<"Project.ID">;
54
- };
55
- readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
56
53
  readonly workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
57
54
  ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
58
55
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
@@ -64,6 +61,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
64
61
  create: () => string & import("effect/Brand").Brand<"SessionID">;
65
62
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
66
63
  }>>;
64
+ readonly archived: Schema.optional<Schema.Boolean>;
67
65
  readonly anchor: Schema.optional<Schema.Struct<{
68
66
  readonly id: Schema.brand<Schema.String, "SessionID"> & {
69
67
  create: () => string & import("effect/Brand").Brand<"SessionID">;
@@ -72,6 +70,10 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
72
70
  readonly time: Schema.Finite;
73
71
  readonly direction: Schema.Literals<readonly ["previous", "next"]>;
74
72
  }>>;
73
+ readonly project: Schema.brand<Schema.String, "Project.ID"> & {
74
+ global: string & import("effect/Brand").Brand<"Project.ID">;
75
+ };
76
+ readonly subpath: Schema.optional<Schema.brand<Schema.String, "RelativePath">>;
75
77
  }>, Schema.Struct<{
76
78
  workspaceID: Schema.optional<Schema.brand<Schema.String, "Workspace.ID"> & {
77
79
  ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
@@ -84,6 +86,7 @@ export declare const ListInput: Schema.Union<readonly [Schema.Struct<{
84
86
  create: () => string & import("effect/Brand").Brand<"SessionID">;
85
87
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
86
88
  }>>;
89
+ archived: Schema.optional<Schema.Boolean>;
87
90
  anchor: Schema.optional<Schema.Struct<{
88
91
  readonly id: Schema.brand<Schema.String, "SessionID"> & {
89
92
  create: () => string & import("effect/Brand").Brand<"SessionID">;
@@ -116,7 +119,7 @@ type ForkInput = {
116
119
  sessionID: SessionSchema.ID;
117
120
  before?: SessionMessage.ID;
118
121
  };
119
- export { AttachmentError, BusyError, CompactionConflictError, InboxConflictError, MessageDecodeError, MessageNotFoundError, NotFoundError, PromptConflictError, SkillNotFoundError, SyntheticConflictError, };
122
+ export { AttachmentError, BusyError, CompactionConflictError, InboxConflictError, InvalidListCursorError, MessageDecodeError, MessageNotFoundError, NotFoundError, PromptConflictError, SkillNotFoundError, SyntheticConflictError, };
120
123
  type InboxItemRef = {
121
124
  readonly sessionID: SessionSchema.ID;
122
125
  readonly inboxID: SessionMessage.ID;
@@ -124,9 +127,17 @@ type InboxItemRef = {
124
127
  export { DestinationNotFoundError, DestinationNotDirectoryError, DestinationUnavailableError };
125
128
  export { TurnRangeError };
126
129
  export interface Interface {
127
- readonly list: (input?: ListInput) => Effect.Effect<{
130
+ /** A cursor carries the filters of the request that produced it, so filters passed with a cursor are ignored. */
131
+ readonly list: (input?: ListFilter & {
132
+ readonly limit?: number;
133
+ readonly cursor?: ListCursor;
134
+ }) => Effect.Effect<{
128
135
  readonly data: SessionSchema.Info[];
129
- }>;
136
+ readonly cursor: {
137
+ readonly previous?: ListCursor;
138
+ readonly next?: ListCursor;
139
+ };
140
+ }, InvalidListCursorError>;
130
141
  readonly create: (input: CreateInput) => Effect.Effect<SessionSchema.Info, NotFoundError>;
131
142
  readonly fork: (input: ForkInput) => Effect.Effect<SessionSchema.Info, NotFoundError | MessageNotFoundError | ForkEmptyError>;
132
143
  readonly get: (sessionID: SessionSchema.ID) => Effect.Effect<SessionSchema.Info, NotFoundError>;
@@ -185,6 +196,8 @@ export interface Interface {
185
196
  sessionID: SessionSchema.ID;
186
197
  title: string;
187
198
  }) => Effect.Effect<void, NotFoundError>;
199
+ readonly archive: (sessionID: SessionSchema.ID) => Effect.Effect<void, NotFoundError>;
200
+ readonly unarchive: (sessionID: SessionSchema.ID) => Effect.Effect<void, NotFoundError>;
188
201
  readonly setMetadata: (input: {
189
202
  sessionID: SessionSchema.ID;
190
203
  metadata: SessionSchema.Metadata;
@@ -18,10 +18,10 @@ export declare const unavailable: Shell.Output;
18
18
  export declare function output(result: Result): Output;
19
19
  export declare function notice(output: Pick<Output, "exit" | "signal" | "timeout">): string | undefined;
20
20
  export declare function metadata(output: Output): {
21
- timeout?: boolean | undefined;
22
- signal?: string | undefined;
23
- exit?: number | undefined;
24
21
  truncated: boolean;
22
+ exit?: number | undefined;
23
+ signal?: string | undefined;
24
+ timeout?: boolean | undefined;
25
25
  };
26
26
  export declare function notification(input: {
27
27
  shellID: string;
@@ -33,26 +33,26 @@ export declare function notification(input: {
33
33
  }): {
34
34
  text: string;
35
35
  metadata: {
36
- timeout?: boolean | undefined;
37
- signal?: string | undefined;
38
- exit?: number | undefined;
39
36
  truncated?: boolean | undefined;
40
- state: "cancelled" | "error" | "completed";
41
- jobID?: string | undefined;
37
+ exit?: number | undefined;
38
+ signal?: string | undefined;
39
+ timeout?: boolean | undefined;
42
40
  source: string;
43
41
  shellID: string;
42
+ jobID?: string | undefined;
43
+ state: "cancelled" | "completed" | "error";
44
44
  };
45
45
  };
46
46
  export declare function userNotification(result: Result): {
47
- text: string;
48
47
  metadata: {
49
- timeout?: boolean | undefined;
50
- signal?: string | undefined;
51
- exit?: number | undefined;
52
48
  truncated?: boolean | undefined;
53
- state: "cancelled" | "error" | "completed";
54
- jobID?: string | undefined;
49
+ exit?: number | undefined;
50
+ signal?: string | undefined;
51
+ timeout?: boolean | undefined;
55
52
  source: string;
56
53
  shellID: string;
54
+ jobID?: string | undefined;
55
+ state: "cancelled" | "completed" | "error";
57
56
  };
57
+ text: string;
58
58
  };
@@ -1,5 +1,5 @@
1
1
  export * as Skill from "./skill.js";
2
- import type { FSUtil } from "@opencode/util/fs-util";
2
+ import { FSUtil } from "@opencode/util/fs-util";
3
3
  import { Context, Effect, Types } from "effect";
4
4
  import { Skill } from "@opencode/schema/skill";
5
5
  import { Permission } from "./permission.js";
@@ -49,7 +49,7 @@ export declare function shutdown<A, E, R>(effect: Effect.Effect<A, E, R>): Effec
49
49
  * queued behind the layer's locks is interrupted with the layer. That interruption is not a failure.
50
50
  */
51
51
  export declare function reconcile(root: Scope.Scope, fork: (effect: Effect.Effect<void>) => Fiber.Fiber<void>, work: () => Effect.Effect<void>): Effect.Effect<void>;
52
- export declare const inherit: () => Effect.Effect<(<A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, never>>), never, never>;
52
+ export declare const inherit: () => Effect.Effect<<A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, never>>, never, never>;
53
53
  export interface Options<State, Editor> {
54
54
  readonly name?: string;
55
55
  /** Creates the empty base value for every rebuild. */
@@ -22,11 +22,11 @@ declare const Output: Schema.Union<readonly [Schema.Struct<{
22
22
  }>, typeof ReadToolFileSystem.TextPage, typeof ReadToolFileSystem.ListPage]>;
23
23
  export declare const Plugin: {
24
24
  id: string;
25
- effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | FileAccess.Service | ReadToolFileSystem.Service | SessionInstructions.Service>;
25
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | FileAccess.Service | SessionInstructions.Service | ReadToolFileSystem.Service>;
26
26
  };
27
27
  export declare const toModelContent: (path: string, offset: number | undefined, output: typeof Output.Type) => string | readonly [{
28
28
  readonly type: "text";
29
- readonly text: "PDF read successfully" | "Image read successfully";
29
+ readonly text: "Image read successfully" | "PDF read successfully";
30
30
  }, {
31
31
  readonly type: "file";
32
32
  readonly uri: `data:${string};base64,${string}`;
@@ -19,5 +19,5 @@ export declare const Input: Schema.Struct<{
19
19
  }>;
20
20
  export declare const Plugin: {
21
21
  id: string;
22
- effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Permission.Service | Environment.Service | FileAccess.Service | ShellSelect.Service | Job.Service | Session.Service | Shell.Service>;
22
+ effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Config.Service | Permission.Service | Environment.Service | FileAccess.Service | ShellSelect.Service | Job.Service | Shell.Service | Session.Service>;
23
23
  };
@@ -14,7 +14,7 @@ export declare const Output: Schema.Struct<{
14
14
  readonly output: Schema.String;
15
15
  }>;
16
16
  export declare const description: string;
17
- export declare const toModelOutput: (skill: Skill.Info, files: ReadonlyArray<string>) => string;
17
+ export declare const toModelOutput: typeof Skill.toModelOutput;
18
18
  export declare const Plugin: {
19
19
  id: string;
20
20
  effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Permission.Service | Skill.Service>;
@@ -0,0 +1,29 @@
1
+ export * as TodoTool from "./todo.js";
2
+ import type { Context } from "@opencode/plugin/effect/plugin";
3
+ import { Effect, Schema } from "effect";
4
+ import { Config } from "../../config.js";
5
+ import { Permission } from "../../permission.js";
6
+ export declare const name = "todowrite";
7
+ export declare const Info: Schema.Struct<{
8
+ readonly content: Schema.String;
9
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "completed", "cancelled"]>;
10
+ }>;
11
+ export type Info = typeof Info.Type;
12
+ export declare const Input: Schema.Struct<{
13
+ readonly todos: Schema.$Array<Schema.Struct<{
14
+ readonly content: Schema.String;
15
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "completed", "cancelled"]>;
16
+ }>>;
17
+ }>;
18
+ export declare const Output: Schema.Struct<{
19
+ readonly todos: Schema.$Array<Schema.Struct<{
20
+ readonly content: Schema.String;
21
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "completed", "cancelled"]>;
22
+ }>>;
23
+ }>;
24
+ export type Output = typeof Output.Type;
25
+ export declare const summarize: (todos: ReadonlyArray<Info>) => string;
26
+ export declare const Plugin: {
27
+ id: string;
28
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Config.Service | Permission.Service>;
29
+ };
@@ -16,7 +16,7 @@ export declare const Input: Schema.Struct<{
16
16
  }>;
17
17
  export declare const Plugin: {
18
18
  id: string;
19
- effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | HttpClient.HttpClient | Permission.Service>;
19
+ effect: (ctx: Context) => Effect.Effect<void, never, HttpClient.HttpClient | import("effect/Scope").Scope | Permission.Service>;
20
20
  };
21
21
  export declare function extractTextFromHTML(html: string): string;
22
22
  export { convertHTMLToMarkdown };
@@ -83,10 +83,10 @@ export interface Interface {
83
83
  declare const Service_base: Context.ServiceClass<Service, "@opencode/ReadToolFileSystem", Interface>;
84
84
  export declare class Service extends Service_base {
85
85
  }
86
- export declare const read: (files: Environment.Files, input: string & import("effect/Brand").Brand<"AbsolutePath">, resource: string, page?: {
87
- readonly limit?: number | undefined;
86
+ export declare const read: (files: Files, input: string & import("effect/Brand").Brand<"AbsolutePath">, resource: string, page?: {
88
87
  readonly offset?: number | undefined;
89
- } | undefined) => Effect.Effect<TextPage | ListPage | {
88
+ readonly limit?: number | undefined;
89
+ } | undefined) => Effect.Effect<ListPage | TextPage | {
90
90
  type: "file";
91
91
  uri: string;
92
92
  name: string;
@@ -100,5 +100,5 @@ export declare const read: (files: Environment.Files, input: string & import("ef
100
100
  content: string;
101
101
  encoding: "utf8";
102
102
  mime: string;
103
- }, Environment.NotFound | Environment.Failed | BinaryFileError | MediaIngestLimitError | OffsetOutOfRangeError | PathKindError, never>;
103
+ }, BinaryFileError | Environment.Failed | MediaIngestLimitError | Environment.NotFound | OffsetOutOfRangeError | PathKindError, never>;
104
104
  export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;