@opencode/core 0.0.0-dev-20041 → 0.0.0-dev-20043

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-za96cmcy.js → aisdk-0a0q6pwz.js} +10 -10
  8. package/dist/chunks/{file-retention-ms71xcq7.js → aisdk-0java4bc.js} +44 -44
  9. package/dist/chunks/{file-retention-4hfmy0rs.js → aisdk-0mmgcj54.js} +24 -24
  10. package/dist/chunks/{file-retention-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-retention-2wwy9jkx.js → aisdk-0qrsrrf1.js} +5 -5
  12. package/dist/chunks/{file-retention-g74g176x.js → aisdk-0s819d2z.js} +86 -86
  13. package/dist/chunks/{file-retention-3jzbwf7q.js → aisdk-13qme1fa.js} +28 -28
  14. package/dist/chunks/{file-retention-yt3hy1g9.js → aisdk-150yg2gd.js} +5 -5
  15. package/dist/chunks/{file-retention-vghw8xx0.js → aisdk-19trpjps.js} +11 -11
  16. package/dist/chunks/{file-retention-r8xr0va3.js → aisdk-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{file-retention-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-retention-k30r2j3z.js → aisdk-1fy9785z.js} +3 -3
  19. package/dist/chunks/{file-retention-4etebsex.js → aisdk-1k3gd00q.js} +56 -56
  20. package/dist/chunks/aisdk-1sq2hj63.js +26 -0
  21. package/dist/chunks/{file-retention-kdwpteqf.js → aisdk-1z0zvxs4.js} +6 -6
  22. package/dist/chunks/{file-retention-21r38tys.js → aisdk-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-retention-ekx7ze3j.js → aisdk-23qf75cd.js} +11 -11
  24. package/dist/chunks/{file-retention-g4dcbn2w.js → aisdk-23yqmb8f.js} +11 -11
  25. package/dist/chunks/{file-retention-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-retention-5hvmyetr.js → aisdk-2j39ymwc.js} +28 -28
  27. package/dist/chunks/{file-retention-8v9yv9bq.js → aisdk-2yp7980w.js} +30 -30
  28. package/dist/chunks/{file-retention-y5xxxn1t.js → aisdk-301trp6s.js} +54 -54
  29. package/dist/chunks/{file-retention-4w5f3qm5.js → aisdk-30846h32.js} +8 -8
  30. package/dist/chunks/{file-retention-56gdpj1q.js → aisdk-33w4ejhs.js} +6 -6
  31. package/dist/chunks/{file-retention-akcjkw95.js → aisdk-36bfp3ph.js} +11 -11
  32. package/dist/chunks/{file-retention-tn0aqsam.js → aisdk-3cfzdc8e.js} +5 -5
  33. package/dist/chunks/{file-retention-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-retention-caepx5ad.js → aisdk-3gqqpt8p.js} +9 -9
  35. package/dist/chunks/{file-retention-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{file-retention-ds5m9dev.js → aisdk-3pd9cgf5.js} +16 -16
  37. package/dist/chunks/{file-retention-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-retention-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-retention-k9avtbwf.js → aisdk-3zgzsr0q.js} +3 -3
  40. package/dist/chunks/{file-retention-kxqbxb34.js → aisdk-3zmmkmaf.js} +8 -8
  41. package/dist/chunks/{file-retention-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{file-retention-41wzkj33.js → aisdk-41wzkj33.js} +3 -3
  43. package/dist/chunks/{file-retention-fmvrqh2q.js → aisdk-49ytw9e6.js} +32 -32
  44. package/dist/chunks/{file-retention-0664arss.js → aisdk-4cr6q8tp.js} +35 -35
  45. package/dist/chunks/{file-retention-g5ae0avw.js → aisdk-4hgmwzg4.js} +28 -28
  46. package/dist/chunks/{file-retention-xnc27n98.js → aisdk-4m64c65m.js} +26 -26
  47. package/dist/chunks/{file-retention-49x2wa8a.js → aisdk-4nd6ya58.js} +20 -20
  48. package/dist/chunks/{file-retention-sq7rfx6k.js → aisdk-4qav2fem.js} +8 -8
  49. package/dist/chunks/{file-retention-zvcs6vph.js → aisdk-4rsyzgyb.js} +10 -10
  50. package/dist/chunks/{file-retention-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
  51. package/dist/chunks/{file-retention-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
  52. package/dist/chunks/{file-retention-rsvh1r19.js → aisdk-5drdw4ad.js} +5 -5
  53. package/dist/chunks/{file-retention-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
  54. package/dist/chunks/{file-retention-865ms8yh.js → aisdk-5hca813f.js} +36 -36
  55. package/dist/chunks/{file-retention-8xk7ktgq.js → aisdk-5qhpwbp8.js} +11 -11
  56. package/dist/chunks/{file-retention-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{file-retention-5xpznt2d.js → aisdk-5xpznt2d.js} +4 -4
  58. package/dist/chunks/{file-retention-cmwkp3r5.js → aisdk-5xtgfte3.js} +8 -8
  59. package/dist/chunks/{file-retention-vy4zg7qh.js → aisdk-607q5haz.js} +5 -5
  60. package/dist/chunks/{file-retention-hjg7zh7c.js → aisdk-614h0x94.js} +30 -30
  61. package/dist/chunks/{file-retention-669tq793.js → aisdk-669tq793.js} +1 -1
  62. package/dist/chunks/{file-retention-1v3ghhgs.js → aisdk-6ah266bh.js} +6 -6
  63. package/dist/chunks/{file-retention-4pbsmvv3.js → aisdk-6bpp9beb.js} +177 -177
  64. package/dist/chunks/{file-retention-2402vzrj.js → aisdk-6h73sxmp.js} +5 -5
  65. package/dist/chunks/{file-retention-khvqtdky.js → aisdk-6kj0q6js.js} +46 -46
  66. package/dist/chunks/{file-retention-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{file-retention-rza38swf.js → aisdk-6sw8nmq3.js} +1 -1
  68. package/dist/chunks/{file-retention-8caw9eqq.js → aisdk-6vt2w020.js} +7 -7
  69. package/dist/chunks/{file-retention-avd8ev9v.js → aisdk-6xwcf1a8.js} +4 -4
  70. package/dist/chunks/{file-retention-nj1j17x6.js → aisdk-6ysrkrkr.js} +8 -8
  71. package/dist/chunks/{file-retention-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{file-retention-7dqw4kz8.js → aisdk-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{file-retention-0f9afca0.js → aisdk-7gvwkz6m.js} +5 -5
  74. package/dist/chunks/{file-retention-g022mkhv.js → aisdk-7q7mfth4.js} +7 -7
  75. package/dist/chunks/{file-retention-1ayg86nt.js → aisdk-7rjgn8bj.js} +18 -18
  76. package/dist/chunks/{file-retention-rfetvjjn.js → aisdk-7sv1gmyv.js} +5 -5
  77. package/dist/chunks/{file-retention-cm6x1q2e.js → aisdk-7v0wrj4c.js} +5 -5
  78. package/dist/chunks/{file-retention-5fkt7nnq.js → aisdk-7v81x33d.js} +9 -9
  79. package/dist/chunks/{file-retention-pw47d8q8.js → aisdk-7ypyawfv.js} +3 -3
  80. package/dist/chunks/{file-retention-03k3acwf.js → aisdk-84cy8r8q.js} +5 -5
  81. package/dist/chunks/{file-retention-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{file-retention-9fp0xjb7.js → aisdk-8ew6f0n8.js} +10 -10
  83. package/dist/chunks/{file-retention-e8nz2nx7.js → aisdk-8qr332cz.js} +13 -13
  84. package/dist/chunks/{file-retention-qm98202t.js → aisdk-8rsf771b.js} +23 -23
  85. package/dist/chunks/{file-retention-3376ssn9.js → aisdk-8sjp7en6.js} +84 -84
  86. package/dist/chunks/{file-retention-6pjdvyme.js → aisdk-8we7jnmb.js} +11 -11
  87. package/dist/chunks/{file-retention-94ek1h2f.js → aisdk-94ek1h2f.js} +2 -2
  88. package/dist/chunks/{file-retention-sqkw1tam.js → aisdk-9ajwmfn8.js} +48 -48
  89. package/dist/chunks/{file-retention-a3aaahat.js → aisdk-9cr4gnp8.js} +13 -13
  90. package/dist/chunks/{file-retention-nng2ktcm.js → aisdk-9jwxq161.js} +2 -2
  91. package/dist/chunks/{file-retention-crg2e90r.js → aisdk-9k4dsn9s.js} +14 -14
  92. package/dist/chunks/{file-retention-0zkr977k.js → aisdk-9qtpfedr.js} +17 -17
  93. package/dist/chunks/{file-retention-p3p972wa.js → aisdk-9w4ppqge.js} +5 -5
  94. package/dist/chunks/{file-retention-26qmxnyk.js → aisdk-9wsscq4s.js} +72 -72
  95. package/dist/chunks/{file-retention-jfqtm2ew.js → aisdk-a2ew8a62.js} +4 -4
  96. package/dist/chunks/{file-retention-6e1xm13d.js → aisdk-a327e9v3.js} +5 -5
  97. package/dist/chunks/{file-retention-bafk1heq.js → aisdk-a5bcffjj.js} +12 -12
  98. package/dist/chunks/{file-retention-n6ht9sbt.js → aisdk-a7ca17ex.js} +19 -19
  99. package/dist/chunks/{file-retention-4qgnjzgs.js → aisdk-aad6bg3s.js} +25 -25
  100. package/dist/chunks/{file-retention-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  101. package/dist/chunks/{file-retention-9n30v2t0.js → aisdk-acqxbg4k.js} +12 -12
  102. package/dist/chunks/{file-retention-eez4ae6w.js → aisdk-afbb2www.js} +27 -27
  103. package/dist/chunks/{file-retention-3tqvv29e.js → aisdk-arxah4je.js} +3 -3
  104. package/dist/chunks/{file-retention-3bjec645.js → aisdk-awykrb7t.js} +49 -49
  105. package/dist/chunks/{file-retention-j90ng04k.js → aisdk-b5mdm4wc.js} +23 -23
  106. package/dist/chunks/{file-retention-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{file-retention-prmgem5b.js → aisdk-b99w0g26.js} +6 -6
  108. package/dist/chunks/{file-retention-2m5gpsjc.js → aisdk-bdjtm858.js} +13 -13
  109. package/dist/chunks/{file-retention-qv5nhp8w.js → aisdk-bh5r0ywp.js} +4 -4
  110. package/dist/chunks/{file-retention-8rpqbtbt.js → aisdk-bhna4c8e.js} +20 -20
  111. package/dist/chunks/{file-retention-3jpka5e8.js → aisdk-bnnnfr1h.js} +4 -4
  112. package/dist/chunks/{file-retention-gzbkpp9m.js → aisdk-bscb95cy.js} +4 -4
  113. package/dist/chunks/{file-retention-xgmqxxb1.js → aisdk-bxw160v3.js} +12 -12
  114. package/dist/chunks/{file-retention-khj5rq36.js → aisdk-c2g6qb9t.js} +17 -17
  115. package/dist/chunks/{file-retention-g190xswt.js → aisdk-cavr175a.js} +4 -4
  116. package/dist/chunks/{file-retention-ckecvw8r.js → aisdk-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{file-retention-f1qkhhqk.js → aisdk-cnacsjhk.js} +3 -3
  118. package/dist/chunks/{file-retention-mryfz2cp.js → aisdk-csea7638.js} +18 -18
  119. package/dist/chunks/{file-retention-rwm5vee1.js → aisdk-ctmr8zqa.js} +4 -4
  120. package/dist/chunks/{file-retention-z1m0hqzv.js → aisdk-cvphz1qf.js} +11 -11
  121. package/dist/chunks/{file-retention-g6q9qykm.js → aisdk-cwa6csj7.js} +9 -9
  122. package/dist/chunks/{file-retention-9h7wvxm5.js → aisdk-d84aefxh.js} +5 -5
  123. package/dist/chunks/{file-retention-4tnhmcyh.js → aisdk-ddhq0d0y.js} +37 -37
  124. package/dist/chunks/{file-retention-c8xagm8x.js → aisdk-df2b9eza.js} +18 -18
  125. package/dist/chunks/{file-retention-rjgxhawe.js → aisdk-df2tmfns.js} +6 -6
  126. package/dist/chunks/{file-retention-dg2cj1yd.js → aisdk-dg2cj1yd.js} +1 -1
  127. package/dist/chunks/{file-retention-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{file-retention-drwq78ky.js → aisdk-drwq78ky.js} +1 -1
  129. package/dist/chunks/{file-retention-4024s05h.js → aisdk-e5qbkagq.js} +14 -14
  130. package/dist/chunks/{file-retention-q87stdvj.js → aisdk-e66gtfvp.js} +28 -28
  131. package/dist/chunks/{file-retention-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{file-retention-wt2bt8rh.js → aisdk-ejwj3fxg.js} +4 -4
  133. package/dist/chunks/{file-retention-hka1ns4r.js → aisdk-eqq925v7.js} +12 -12
  134. package/dist/chunks/{file-retention-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{file-retention-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{file-retention-5vgsf7vz.js → aisdk-f0qe216m.js} +36 -36
  137. package/dist/chunks/{file-retention-ntf9h0sg.js → aisdk-f4jw3e7w.js} +17 -17
  138. package/dist/chunks/{file-retention-2z5xr0mg.js → aisdk-f4rjsfva.js} +9 -9
  139. package/dist/chunks/{file-retention-k7nxnay7.js → aisdk-f724wvfx.js} +22 -22
  140. package/dist/chunks/{file-retention-c9jyf434.js → aisdk-fj29krbq.js} +30 -30
  141. package/dist/chunks/{file-retention-x90ppevt.js → aisdk-fj3mzqxp.js} +15 -15
  142. package/dist/chunks/{file-retention-nbnr4nbs.js → aisdk-fj48dtty.js} +27 -27
  143. package/dist/chunks/{file-retention-818pfwc9.js → aisdk-g8jasmdt.js} +8 -8
  144. package/dist/chunks/{file-retention-kb60wjr3.js → aisdk-g9na247e.js} +35 -35
  145. package/dist/chunks/{file-retention-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{file-retention-c4fmhh0h.js → aisdk-gd8nda9a.js} +20 -20
  147. package/dist/chunks/{file-retention-f7r00ng2.js → aisdk-gdkm09q9.js} +28 -28
  148. package/dist/chunks/{file-retention-d66rg99j.js → aisdk-ggre7qjc.js} +42 -42
  149. package/dist/chunks/{file-retention-yg97ajga.js → aisdk-ghcc1exw.js} +5 -5
  150. package/dist/chunks/{file-retention-ae1qpy6d.js → aisdk-gj07xn6c.js} +4 -4
  151. package/dist/chunks/{file-retention-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{file-retention-jnp949yc.js → aisdk-h54hk005.js} +4 -4
  153. package/dist/chunks/{file-retention-h6r3nrb9.js → aisdk-h6r3nrb9.js} +1 -1
  154. package/dist/chunks/{file-retention-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{file-retention-jwyf9651.js → aisdk-h8tv1jm0.js} +15 -15
  156. package/dist/chunks/{file-retention-66bbhz8t.js → aisdk-h9sgrmr0.js} +12 -12
  157. package/dist/chunks/{file-retention-xmv4zd28.js → aisdk-hn2a1jts.js} +13 -13
  158. package/dist/chunks/{file-retention-gn2hfjap.js → aisdk-hpfvhvya.js} +8 -8
  159. package/dist/chunks/{file-retention-14wy2v1y.js → aisdk-hzn7gray.js} +10 -10
  160. package/dist/chunks/{file-retention-zdgtn3pv.js → aisdk-j104s97f.js} +35 -35
  161. package/dist/chunks/{file-retention-rye6va4d.js → aisdk-j1et25fn.js} +20 -20
  162. package/dist/chunks/{file-retention-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  163. package/dist/chunks/{file-retention-vkcyb6cw.js → aisdk-j6vwkzpm.js} +27 -27
  164. package/dist/chunks/{file-retention-7fw3nddj.js → aisdk-jbsysrkf.js} +9 -9
  165. package/dist/chunks/{file-retention-65396x6s.js → aisdk-jcvwj9jm.js} +27 -27
  166. package/dist/chunks/{file-retention-s2sgpvg3.js → aisdk-jtxrazbm.js} +28 -28
  167. package/dist/chunks/{file-retention-bv8m9t85.js → aisdk-jv4bkc1v.js} +24 -24
  168. package/dist/chunks/{file-retention-20zxcxps.js → aisdk-jxdfsfqg.js} +8 -8
  169. package/dist/chunks/{file-retention-feb5mkp6.js → aisdk-k09eseht.js} +33 -33
  170. package/dist/chunks/{file-retention-hzp3bmsz.js → aisdk-k0agtv8c.js} +13 -13
  171. package/dist/chunks/{file-retention-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
  172. package/dist/chunks/{file-retention-k53npxr2.js → aisdk-k53npxr2.js} +1 -1
  173. package/dist/chunks/{file-retention-fevyjzxn.js → aisdk-kcafvxea.js} +24 -24
  174. package/dist/chunks/{file-retention-p7r5mfnx.js → aisdk-kearjya1.js} +27 -27
  175. package/dist/chunks/{file-retention-a9a955e9.js → aisdk-kjqja31j.js} +15 -15
  176. package/dist/chunks/{file-retention-ms1chagy.js → aisdk-kk1agj7a.js} +20 -20
  177. package/dist/chunks/{file-retention-knb7evpn.js → aisdk-knb7evpn.js} +2 -2
  178. package/dist/chunks/{file-retention-rvk9xysn.js → aisdk-kwr9b569.js} +17 -17
  179. package/dist/chunks/{file-retention-1y283654.js → aisdk-m0r31qfn.js} +4 -4
  180. package/dist/chunks/{file-retention-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{file-retention-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-retention-v718bg0p.js → aisdk-md1mxm32.js} +17 -17
  183. package/dist/chunks/{file-retention-73tb2d7t.js → aisdk-mhkvc446.js} +3 -3
  184. package/dist/chunks/{file-retention-d2rrq94d.js → aisdk-mrvphsyr.js} +1 -1
  185. package/dist/chunks/{file-retention-y1wbvcwc.js → aisdk-mtr0qdvt.js} +5 -5
  186. package/dist/chunks/{file-retention-qhbjehys.js → aisdk-mxmf76sr.js} +18 -18
  187. package/dist/chunks/{file-retention-k3x2wr2k.js → aisdk-mzm8rqr7.js} +13 -13
  188. package/dist/chunks/{file-retention-3dbq0asv.js → aisdk-n8a0h2pm.js} +9 -9
  189. package/dist/chunks/{file-retention-qvhhy2sw.js → aisdk-njm9g9x3.js} +22 -22
  190. package/dist/chunks/{file-retention-p1wcy1sd.js → aisdk-np82xyew.js} +16 -16
  191. package/dist/chunks/{file-retention-t3hb2ca5.js → aisdk-nqr5ekqz.js} +25 -25
  192. package/dist/chunks/{file-retention-p5m3p7d0.js → aisdk-nrqfcddc.js} +30 -30
  193. package/dist/chunks/{file-retention-g97k7hqe.js → aisdk-ns15zm60.js} +6 -6
  194. package/dist/chunks/{file-retention-ybxrcnqf.js → aisdk-p23am7q5.js} +315 -315
  195. package/dist/chunks/{file-retention-7zxdsfz3.js → aisdk-pgjxk18r.js} +30 -30
  196. package/dist/chunks/{file-retention-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{file-retention-pknna89w.js → aisdk-pknna89w.js} +1 -1
  198. package/dist/chunks/{file-retention-9sxnqw9k.js → aisdk-pqyzdwpj.js} +41 -41
  199. package/dist/chunks/{file-retention-eh9pyrvh.js → aisdk-ptff6sjs.js} +11 -11
  200. package/dist/chunks/aisdk-q509s3k3.js +18 -0
  201. package/dist/chunks/{file-retention-540sh223.js → aisdk-q8d57wmy.js} +48 -48
  202. package/dist/chunks/{file-retention-h3jew788.js → aisdk-q8hxnt6y.js} +7 -7
  203. package/dist/chunks/{file-retention-rsz70btv.js → aisdk-q8j10mn3.js} +12 -12
  204. package/dist/chunks/{file-retention-5tsjnb8p.js → aisdk-q9e07d2s.js} +7 -7
  205. package/dist/chunks/{file-retention-petwabaa.js → aisdk-qbw5z373.js} +31 -31
  206. package/dist/chunks/{file-retention-nq7qbqzc.js → aisdk-qg0jgkcp.js} +9 -9
  207. package/dist/chunks/{file-retention-7jcskesy.js → aisdk-qhsdqg8d.js} +26 -26
  208. package/dist/chunks/{file-retention-vqfhhw58.js → aisdk-qmtyj29t.js} +11 -11
  209. package/dist/chunks/{file-retention-0bv1bvwy.js → aisdk-qrf18deb.js} +13 -13
  210. package/dist/chunks/{file-retention-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-retention-22z5w8qs.js → aisdk-qzfge27n.js} +17 -17
  212. package/dist/chunks/{file-retention-ss0awb04.js → aisdk-r33ff4dw.js} +4 -4
  213. package/dist/chunks/{file-retention-32k8n31x.js → aisdk-rcpjzbgq.js} +12 -12
  214. package/dist/chunks/{file-retention-trqbdvny.js → aisdk-rcs0ttvg.js} +3 -3
  215. package/dist/chunks/{file-retention-vwzd1dr8.js → aisdk-rdq063h9.js} +19 -19
  216. package/dist/chunks/{file-retention-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-retention-33qd89zh.js → aisdk-reqy9a92.js} +22 -22
  218. package/dist/chunks/{file-retention-g88pctsh.js → aisdk-rnvh3dsy.js} +26 -22
  219. package/dist/chunks/{file-retention-9ajszpws.js → aisdk-rst4cyxn.js} +11 -11
  220. package/dist/chunks/{file-retention-et0rkxxj.js → aisdk-rtgcb18b.js} +8 -8
  221. package/dist/chunks/{file-retention-h74hxk69.js → aisdk-ryprma71.js} +10 -10
  222. package/dist/chunks/{file-retention-c5gn303e.js → aisdk-s0hza5ac.js} +4 -4
  223. package/dist/chunks/{file-retention-wjxxvj74.js → aisdk-s10j4zrr.js} +15 -15
  224. package/dist/chunks/{file-retention-0w7zs8bt.js → aisdk-s467t6d3.js} +18 -18
  225. package/dist/chunks/{file-retention-s8d7rejh.js → aisdk-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{file-retention-m26hz9p9.js → aisdk-se4ds7p4.js} +30 -30
  227. package/dist/chunks/{file-retention-7w99qc9d.js → aisdk-skyymkrr.js} +2 -2
  228. package/dist/chunks/{file-retention-5qzhcqq0.js → aisdk-sx7145gr.js} +22 -22
  229. package/dist/chunks/{file-retention-svmcaxnz.js → aisdk-sykjr06b.js} +15 -15
  230. package/dist/chunks/{file-retention-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{file-retention-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{file-retention-tdstcens.js → aisdk-tdstcens.js} +1 -1
  233. package/dist/chunks/{file-retention-xd50rb0f.js → aisdk-tgbbcyzv.js} +31 -31
  234. package/dist/chunks/{file-retention-7qbzk5hm.js → aisdk-tm61rbhm.js} +18 -18
  235. package/dist/chunks/{file-retention-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
  236. package/dist/chunks/{file-retention-775tmf4k.js → aisdk-v79x8jzm.js} +4 -4
  237. package/dist/chunks/{file-retention-qeadq54g.js → aisdk-v83ykmtz.js} +9 -9
  238. package/dist/chunks/{file-retention-8t9xkh8k.js → aisdk-vdezy000.js} +10 -10
  239. package/dist/chunks/{file-retention-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-retention-3xtf7kjc.js → aisdk-vfgkq0y4.js} +13 -13
  241. package/dist/chunks/{file-retention-aw030d2s.js → aisdk-vjs4934y.js} +25 -25
  242. package/dist/chunks/{file-retention-vncycja5.js → aisdk-vncycja5.js} +1 -1
  243. package/dist/chunks/{file-retention-r2rczy8f.js → aisdk-vpykqa8z.js} +30 -30
  244. package/dist/chunks/{file-retention-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
  245. package/dist/chunks/{file-retention-q66jrkrp.js → aisdk-vwxpba44.js} +8 -8
  246. package/dist/chunks/{file-retention-p2p01y4a.js → aisdk-vy1fzztp.js} +35 -35
  247. package/dist/chunks/{file-retention-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-retention-wjvnz8yh.js → aisdk-w0vhv3nr.js} +27 -27
  249. package/dist/chunks/{file-retention-5t76re1k.js → aisdk-w1cebep0.js} +2 -2
  250. package/dist/chunks/{file-retention-g4q7we8z.js → aisdk-w1hs50qs.js} +9 -9
  251. package/dist/chunks/{file-retention-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-retention-9z3eexy9.js → aisdk-w7vjeneh.js} +41 -41
  253. package/dist/chunks/{file-retention-qn4ba14w.js → aisdk-wbkyxrgf.js} +5 -5
  254. package/dist/chunks/{file-retention-wd3x2cqz.js → aisdk-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{file-retention-wd87259q.js → aisdk-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-retention-0y8sfxad.js → aisdk-weje2hnw.js} +6 -6
  257. package/dist/chunks/{file-retention-3xvqt3tk.js → aisdk-wj8xe67y.js} +28 -28
  258. package/dist/chunks/{file-retention-7ee7cgcp.js → aisdk-x0at58h7.js} +23 -23
  259. package/dist/chunks/{file-retention-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-retention-tjt0qs6c.js → aisdk-x2g3x7xx.js} +32 -32
  261. package/dist/chunks/{file-retention-6517vpn3.js → aisdk-x53kfsbc.js} +14 -14
  262. package/dist/chunks/aisdk-xfndja2y.js +252 -0
  263. package/dist/chunks/{file-retention-9c38mvzz.js → aisdk-xhrync7w.js} +11 -11
  264. package/dist/chunks/{file-retention-w6abkha8.js → aisdk-xhz5mp1h.js} +29 -29
  265. package/dist/chunks/{file-retention-ksx3x1ny.js → aisdk-xxze4mr0.js} +20 -20
  266. package/dist/chunks/{file-retention-68xfyy0m.js → aisdk-xzbdt9ab.js} +11 -11
  267. package/dist/chunks/{file-retention-2vsnwkke.js → aisdk-xzqbnygg.js} +5 -5
  268. package/dist/chunks/{file-retention-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-retention-mt8kbkqe.js → aisdk-y2f8s5as.js} +21 -21
  270. package/dist/chunks/{file-retention-b0dgvpy7.js → aisdk-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{file-retention-qry02hsx.js → aisdk-y9vcbm1p.js} +8 -8
  272. package/dist/chunks/{file-retention-ha9jdhyk.js → aisdk-yqaxhd4h.js} +10 -10
  273. package/dist/chunks/{file-retention-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-retention-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
  275. package/dist/chunks/{file-retention-379cs1ec.js → aisdk-yvaqedcc.js} +6 -6
  276. package/dist/chunks/{file-retention-z07pqspn.js → aisdk-z07pqspn.js} +3 -3
  277. package/dist/chunks/{file-retention-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-retention-n8hmmtzx.js → aisdk-z3q2cbzw.js} +11 -11
  279. package/dist/chunks/{file-retention-6ab1dfve.js → aisdk-z5j3hngj.js} +19 -19
  280. package/dist/chunks/{file-retention-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
  281. package/dist/chunks/{file-retention-a09z2ym9.js → aisdk-z8dnjp6n.js} +3 -3
  282. package/dist/chunks/{file-retention-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-retention-1q3whged.js → aisdk-zfq801h6.js} +8 -8
  284. package/dist/chunks/{file-retention-vtyxdczd.js → aisdk-zkkhmxqr.js} +9 -9
  285. package/dist/chunks/{file-retention-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-retention-prw4r7p3.js → aisdk-zrw5m3sy.js} +13 -13
  287. package/dist/chunks/{file-retention-avf7bgaf.js → aisdk-zwvttwhj.js} +46 -46
  288. package/dist/chunks/{file-retention-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{file-retention-n5kbdkqy.js → aisdk-zzmc825q.js} +15 -15
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +3 -3
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +81 -81
  295. package/dist/config/discovery.js +82 -82
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +106 -106
  298. package/dist/config/plugin/agent.js +125 -125
  299. package/dist/config/plugin/command.js +214 -214
  300. package/dist/config/plugin/compaction.js +162 -162
  301. package/dist/config/plugin/compatibility.js +141 -141
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +124 -124
  304. package/dist/config/plugin/image.js +123 -123
  305. package/dist/config/plugin/instruction.js +90 -90
  306. package/dist/config/plugin/location-watcher.js +123 -123
  307. package/dist/config/plugin/mcp.js +132 -132
  308. package/dist/config/plugin/policy.js +124 -124
  309. package/dist/config/plugin/provider.js +123 -123
  310. package/dist/config/plugin/reference.js +125 -125
  311. package/dist/config/plugin/shell.js +125 -125
  312. package/dist/config/plugin/skill-file.js +102 -102
  313. package/dist/config/plugin/skill.js +144 -144
  314. package/dist/config/plugin/snapshot.js +123 -123
  315. package/dist/config/plugin/source.js +126 -126
  316. package/dist/config/plugin/tool-output.js +125 -125
  317. package/dist/config/plugin/websearch.js +124 -124
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +128 -128
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +81 -81
  324. package/dist/database/database.js +66 -66
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration.gen.js +49 -49
  390. package/dist/database/migration.js +51 -51
  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 +76 -76
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  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 +93 -93
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +74 -74
  414. package/dist/file-access.js +104 -104
  415. package/dist/file-mutation.js +94 -94
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +78 -78
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +103 -103
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +84 -84
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-mutation.js +104 -104
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +85 -85
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +108 -108
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +101 -101
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +78 -78
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +107 -107
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/compaction.js +133 -133
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +332 -332
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +93 -93
  519. package/dist/plugin/provider/gitlab.js +91 -91
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +92 -92
  528. package/dist/plugin/provider/opencode.js +95 -94
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +160 -160
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +347 -347
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/warming.js +121 -121
  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 +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +94 -94
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +79 -79
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +134 -134
  578. package/dist/session/context.js +152 -152
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +151 -151
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +90 -90
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +93 -93
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +119 -119
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +1 -1
  600. package/dist/session/revert.js +90 -90
  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 +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +114 -114
  608. package/dist/session/runner/step.js +124 -124
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +85 -85
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +210 -210
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +154 -154
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +218 -218
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  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 +11 -11
  629. package/dist/shell.js +140 -140
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  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 +125 -125
  638. package/dist/tool/plugin/edit.js +120 -120
  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 +124 -124
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +101 -101
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +96 -96
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +1 -1
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +1 -1
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +91 -91
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +79 -79
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +94 -94
  696. package/package.json +8 -8
  697. package/dist/chunks/file-retention-c896jrwc.js +0 -26
  698. package/dist/chunks/file-retention-rap9a73h.js +0 -18
  699. package/dist/chunks/file-retention-w5jkjmtp.js +0 -252
  700. /package/dist/chunks/{file-retention-0mesazry.js → aisdk-0mesazry.js} +0 -0
  701. /package/dist/chunks/{file-retention-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{file-retention-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{file-retention-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{file-retention-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{file-retention-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{file-retention-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{file-retention-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{file-retention-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{file-retention-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{file-retention-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{file-retention-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{file-retention-3asan66x.js → aisdk-3asan66x.js} +0 -0
  713. /package/dist/chunks/{file-retention-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{file-retention-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{file-retention-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{file-retention-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{file-retention-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{file-retention-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{file-retention-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{file-retention-53557ph1.js → aisdk-53557ph1.js} +0 -0
  721. /package/dist/chunks/{file-retention-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{file-retention-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{file-retention-6prwharc.js → aisdk-6prwharc.js} +0 -0
  724. /package/dist/chunks/{file-retention-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{file-retention-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{file-retention-822emrt2.js → aisdk-822emrt2.js} +0 -0
  727. /package/dist/chunks/{file-retention-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{file-retention-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{file-retention-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{file-retention-922hggd3.js → aisdk-922hggd3.js} +0 -0
  731. /package/dist/chunks/{file-retention-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{file-retention-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{file-retention-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{file-retention-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{file-retention-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{file-retention-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{file-retention-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{file-retention-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{file-retention-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{file-retention-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{file-retention-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{file-retention-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{file-retention-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{file-retention-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{file-retention-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{file-retention-df08tz66.js → aisdk-df08tz66.js} +0 -0
  747. /package/dist/chunks/{file-retention-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{file-retention-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{file-retention-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{file-retention-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{file-retention-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{file-retention-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{file-retention-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{file-retention-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{file-retention-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{file-retention-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{file-retention-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{file-retention-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{file-retention-g86h250q.js → aisdk-g86h250q.js} +0 -0
  760. /package/dist/chunks/{file-retention-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{file-retention-gftt206x.js → aisdk-gftt206x.js} +0 -0
  762. /package/dist/chunks/{file-retention-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{file-retention-hk9envan.js → aisdk-hk9envan.js} +0 -0
  764. /package/dist/chunks/{file-retention-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{file-retention-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{file-retention-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{file-retention-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{file-retention-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{file-retention-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{file-retention-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{file-retention-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{file-retention-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{file-retention-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{file-retention-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{file-retention-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{file-retention-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{file-retention-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{file-retention-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{file-retention-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{file-retention-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{file-retention-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{file-retention-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{file-retention-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{file-retention-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{file-retention-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{file-retention-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-retention-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-retention-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-retention-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{file-retention-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{file-retention-x61499pn.js → aisdk-x61499pn.js} +0 -0
  792. /package/dist/chunks/{file-retention-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{file-retention-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{file-retention-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-retention-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-retention-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-retention-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-k30r2j3z.js";
4
+ } from "./aisdk-1fy9785z.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./file-retention-z07pqspn.js";
8
+ } from "./aisdk-z07pqspn.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./file-retention-20zxcxps.js";
12
+ } from "./aisdk-jxdfsfqg.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./file-retention-nng2ktcm.js";
15
+ } from "./aisdk-9jwxq161.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./aisdk-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service70,
24
+ Service: () => Service64,
25
25
  SessionStore: () => exports_store,
26
- node: () => node74
26
+ node: () => node67
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service70 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service64 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service70, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service70.of({
59
+ return Service64.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
128
+ var node67 = makeGlobalNode({ service: Service64, layer, deps: [node88] });
129
129
 
130
- export { ListInput4, Service70, node74, exports_store };
130
+ export { ListInput4, Service64, node67, exports_store };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-retention-ec1grn59.js";
3
+ } from "./aisdk-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./file-retention-tdstcens.js";
6
+ } from "./aisdk-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-retention-2a5m3afh.js";
5
+ } from "./aisdk-2a5m3afh.js";
6
6
  import {
7
- Service79
8
- } from "./file-retention-crg2e90r.js";
7
+ Service80
8
+ } from "./aisdk-9k4dsn9s.js";
9
9
  import {
10
- Service43
11
- } from "./file-retention-fevyjzxn.js";
10
+ Service71
11
+ } from "./aisdk-kcafvxea.js";
12
12
  import {
13
- Service21
14
- } from "./file-retention-svmcaxnz.js";
13
+ Service16
14
+ } from "./aisdk-sykjr06b.js";
15
15
  import {
16
- Service14,
16
+ Service70,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-retention-e8nz2nx7.js";
19
+ } from "./aisdk-8qr332cz.js";
20
20
  import {
21
- Service69
22
- } from "./file-retention-sqkw1tam.js";
21
+ Service63
22
+ } from "./aisdk-9ajwmfn8.js";
23
23
  import {
24
- Service19,
24
+ Service62,
25
25
  resolvePath2
26
- } from "./file-retention-1ayg86nt.js";
26
+ } from "./aisdk-7rjgn8bj.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-retention-6prwharc.js";
29
+ } from "./aisdk-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./aisdk-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input9,
39
- Output: () => Output6,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin27,
42
- name: () => name9,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin3,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name9 = "patch";
89
- var Input9 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin27 = {
108
+ var Plugin3 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service43;
112
- const access = yield* Service19;
113
- const fileMutation = yield* Service14;
114
- const formatter = yield* Service21;
115
- const location = yield* Service79;
116
- const permission = yield* Service69;
111
+ const environment = yield* Service71;
112
+ const access = yield* Service62;
113
+ const fileMutation = yield* Service70;
114
+ const formatter = yield* Service16;
115
+ const location = yield* Service80;
116
+ const permission = yield* Service63;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name9,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input9,
122
- output: Output6,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin27 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent5(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name9, Input9, Applied2, Output6, toModelContent5, Plugin27, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin3, exports_patch };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-retention-tvtrv512.js";
3
+ } from "./aisdk-tvtrv512.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./file-retention-h74hxk69.js";
5
+ Service79,
6
+ node83
7
+ } from "./aisdk-ryprma71.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-retention-gftt206x.js";
10
+ } from "./aisdk-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-retention-7w99qc9d.js";
13
+ } from "./aisdk-skyymkrr.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./aisdk-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service65,
23
- make: () => make20,
24
- node: () => node69
22
+ Service: () => Service37,
23
+ make: () => make18,
24
+ node: () => node40
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service65 extends Context.Service()("@opencode/Job") {
54
+ class Service37 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make20 = Effect.gen(function* () {
90
- const kv = yield* Service83;
89
+ var make18 = Effect.gen(function* () {
90
+ const kv = yield* Service79;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service65.of({
349
+ return Service37.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service65, make20);
362
- var node69 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
361
+ var layer = Layer.effect(Service37, make18);
362
+ var node40 = makeGlobalNode({ service: Service37, layer, deps: [node83] });
363
363
 
364
- export { Service65, make20, node69, exports_job };
364
+ export { Service37, make18, node40, exports_job };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-qry02hsx.js";
3
+ } from "./aisdk-y9vcbm1p.js";
4
4
  import {
5
5
  call2
6
- } from "./file-retention-56gdpj1q.js";
6
+ } from "./aisdk-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin19,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://search.parallel.ai/mcp";
21
+ var endpoint2 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin36 = define({
50
+ var Plugin19 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin36 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin36 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint3, Plugin36, exports_parallel };
96
+ export { endpoint2, Plugin19, exports_parallel };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-retention-5t3nmthw.js";
3
+ } from "./aisdk-5t3nmthw.js";
4
4
  import {
5
- Service67,
6
- node71
7
- } from "./file-retention-d66rg99j.js";
5
+ Service45,
6
+ node48
7
+ } from "./aisdk-ggre7qjc.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service46,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer17,
20
- node: () => node51
17
+ Service: () => Service44,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer18,
20
+ node: () => node47
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service46 extends Context.Service()("@opencode/Generate") {
36
+ class Service44 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer17 = Layer.effect(Service46, Effect.gen(function* () {
38
+ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service67;
40
+ const resolver = yield* Service45;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer17 = Layer.effect(Service46, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service46.of({ text });
66
+ return Service44.of({ text });
67
67
  }));
68
- var node51 = makeLocationNode({
69
- service: Service46,
70
- layer: layer17,
71
- deps: [node71, llmClient2]
68
+ var node47 = makeLocationNode({
69
+ service: Service44,
70
+ layer: layer18,
71
+ deps: [node48, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service46, layer17, node51, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError3, Service44, layer18, node47, exports_generate2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./file-retention-xgmqxxb1.js";
2
+ Service83,
3
+ node87
4
+ } from "./aisdk-bxw160v3.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./file-retention-rdw6cm16.js";
8
+ } from "./aisdk-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service76,
12
- node80,
13
- Event18
14
- } from "./file-retention-4qgnjzgs.js";
10
+ ID13,
11
+ Service75,
12
+ node79,
13
+ Event17
14
+ } from "./aisdk-aad6bg3s.js";
15
15
  import {
16
16
  key2
17
- } from "./file-retention-h6r3nrb9.js";
17
+ } from "./aisdk-h6r3nrb9.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./file-retention-crg2e90r.js";
19
+ Service80,
20
+ node84
21
+ } from "./aisdk-9k4dsn9s.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./aisdk-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event17,
41
- ID: () => ID13,
40
+ Event: () => Event16,
41
+ ID: () => ID12,
42
42
  Info: () => Info27,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service75,
46
+ Service: () => Service74,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node79,
56
+ node: () => node78,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event17 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
67
+ import { Event as Event16 } from "@opencode/schema/provider";
68
+ var ID12 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
213
  var Info27 = Provider.Info;
214
214
 
215
- class Service75 extends Context.Service()("@opencode/Provider") {
215
+ class Service74 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service75, Effect.gen(function* () {
229
- const bus = yield* Service81;
230
- const integrations = yield* Service76;
231
- const location = yield* Service79;
228
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
229
+ const bus = yield* Service83;
230
+ const integrations = yield* Service75;
231
+ const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service75.of({
349
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service74.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node85, node80, node83] });
359
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, node79, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3, Event16 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-retention-4hfmy0rs.js";
5
+ } from "./aisdk-0mmgcj54.js";
6
6
  import {
7
7
  merge2
8
- } from "./file-retention-sqkw1tam.js";
8
+ } from "./aisdk-9ajwmfn8.js";
9
9
  import {
10
10
  __export
11
- } from "./file-retention-9rqn6x4v.js";
11
+ } from "./aisdk-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin48
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin25
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin48 = define({
93
+ var Plugin25 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin48 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin48 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin48 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin48, exports_agent2 };
151
+ export { Plugin25, exports_agent };