@opencode/core 0.0.0-dev-19382 → 0.0.0-dev-19386

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{persistent-pty-xyqew3mv.js → file-retention-01z5yxwd.js} +5 -5
  9. package/dist/chunks/{persistent-pty-za010qp9.js → file-retention-098kyh1n.js} +15 -15
  10. package/dist/chunks/{persistent-pty-5fk2x3ne.js → file-retention-0aj2jf1n.js} +32 -32
  11. package/dist/chunks/{persistent-pty-rr02k77t.js → file-retention-0gnnjz3v.js} +4 -4
  12. package/dist/chunks/{persistent-pty-62ck2ww7.js → file-retention-0hdv8hr0.js} +6 -6
  13. package/dist/chunks/{persistent-pty-5pxstkb3.js → file-retention-0je2mk44.js} +6 -6
  14. package/dist/chunks/file-retention-0mesazry.js +4 -0
  15. package/dist/chunks/{persistent-pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{persistent-pty-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{persistent-pty-pg5p62yz.js → file-retention-0v9xjpmp.js} +56 -56
  18. package/dist/chunks/file-retention-0xpa0xtz.js +247 -0
  19. package/dist/chunks/{persistent-pty-kr9sgtgf.js → file-retention-11t8qrtw.js} +4 -4
  20. package/dist/chunks/{persistent-pty-2dqdz844.js → file-retention-145w6188.js} +22 -22
  21. package/dist/chunks/{persistent-pty-jtwxsvja.js → file-retention-1ct8tqx8.js} +26 -26
  22. package/dist/chunks/{persistent-pty-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{persistent-pty-1dfhrqqs.js → file-retention-1eyaby9q.js} +9 -3
  24. package/dist/chunks/{persistent-pty-q31fgcfb.js → file-retention-1wcfs5an.js} +2 -2
  25. package/dist/chunks/{persistent-pty-21r38tys.js → file-retention-21r38tys.js} +1 -1
  26. package/dist/chunks/{persistent-pty-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  27. package/dist/chunks/{persistent-pty-k38a9k66.js → file-retention-276j33cf.js} +24 -24
  28. package/dist/chunks/{persistent-pty-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{persistent-pty-3w0fmcng.js → file-retention-2qp6y8xf.js} +5 -5
  30. package/dist/chunks/{persistent-pty-5qkxfyep.js → file-retention-2y34zzjz.js} +4 -4
  31. package/dist/chunks/{persistent-pty-tjhr2e2t.js → file-retention-372vbskw.js} +10 -10
  32. package/dist/chunks/{persistent-pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{persistent-pty-0cxbqrwq.js → file-retention-3gtbxjg2.js} +6 -6
  34. package/dist/chunks/{persistent-pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{persistent-pty-aezrryrs.js → file-retention-3jd9t3qm.js} +16 -16
  36. package/dist/chunks/{persistent-pty-1dnwr72p.js → file-retention-3jxfnes4.js} +33 -33
  37. package/dist/chunks/{persistent-pty-496txj22.js → file-retention-3jyr1z4v.js} +7 -7
  38. package/dist/chunks/{persistent-pty-qgwcde76.js → file-retention-3ksxwg4k.js} +27 -27
  39. package/dist/chunks/{persistent-pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{persistent-pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3xgyx5eq.js → file-retention-3wwz76hv.js} +17 -17
  42. package/dist/chunks/{persistent-pty-hbrvt83f.js → file-retention-4m1wn79y.js} +13 -13
  43. package/dist/chunks/{persistent-pty-qqgkdyp0.js → file-retention-4t6adyww.js} +9 -9
  44. package/dist/chunks/{persistent-pty-a1tpkmh4.js → file-retention-4vcrnpx2.js} +13 -3
  45. package/dist/chunks/file-retention-4vr8ch1c.js +462 -0
  46. package/dist/chunks/{persistent-pty-mq0g1pjt.js → file-retention-4w6txemy.js} +10 -10
  47. package/dist/chunks/{persistent-pty-egptq5ne.js → file-retention-4wqzyra5.js} +26 -26
  48. package/dist/chunks/{persistent-pty-ttv5kw1x.js → file-retention-4wt9y66g.js} +11 -11
  49. package/dist/chunks/{persistent-pty-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
  50. package/dist/chunks/{persistent-pty-a9dg8arj.js → file-retention-57a7s0s0.js} +11 -11
  51. package/dist/chunks/{persistent-pty-f3ymaypt.js → file-retention-5ctkr95j.js} +84 -84
  52. package/dist/chunks/{persistent-pty-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  53. package/dist/chunks/{persistent-pty-8f3c4n8p.js → file-retention-5mpmyavn.js} +46 -46
  54. package/dist/chunks/{persistent-pty-fgxp3znt.js → file-retention-5q5vxjc4.js} +27 -27
  55. package/dist/chunks/{persistent-pty-ssrx42ha.js → file-retention-5r18snb0.js} +28 -28
  56. package/dist/chunks/{persistent-pty-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{persistent-pty-0thdkkg9.js → file-retention-65wkgmh5.js} +22 -22
  58. package/dist/chunks/{persistent-pty-669tq793.js → file-retention-669tq793.js} +1 -1
  59. package/dist/chunks/{persistent-pty-j7wq2tw5.js → file-retention-6bsje7ws.js} +3 -3
  60. package/dist/chunks/{persistent-pty-5gachfgg.js → file-retention-6g22vg9c.js} +8 -8
  61. package/dist/chunks/{persistent-pty-f2ew84cp.js → file-retention-6jftzada.js} +12 -12
  62. package/dist/chunks/{persistent-pty-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{persistent-pty-r0perv49.js → file-retention-6p79xx13.js} +13 -13
  64. package/dist/chunks/{persistent-pty-tejv9b0j.js → file-retention-6sjcznm0.js} +24 -24
  65. package/dist/chunks/{persistent-pty-ab1e930g.js → file-retention-6ydpdfpt.js} +32 -32
  66. package/dist/chunks/{persistent-pty-rxr84acp.js → file-retention-70kj4k29.js} +19 -19
  67. package/dist/chunks/{persistent-pty-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  68. package/dist/chunks/{persistent-pty-eq1pz5kg.js → file-retention-73tb2d7t.js} +3 -3
  69. package/dist/chunks/{persistent-pty-z2r733d6.js → file-retention-747jvnpw.js} +20 -20
  70. package/dist/chunks/{persistent-pty-f8714f1t.js → file-retention-753tsz20.js} +18 -18
  71. package/dist/chunks/{persistent-pty-esqtk39r.js → file-retention-75dhgn7f.js} +23 -23
  72. package/dist/chunks/{persistent-pty-eq21rbs0.js → file-retention-75xqksf8.js} +22 -22
  73. package/dist/chunks/{persistent-pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{persistent-pty-qgn6gcr1.js → file-retention-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{persistent-pty-ka3dfe4s.js → file-retention-7h5zs7mz.js} +14 -14
  76. package/dist/chunks/{persistent-pty-xfwnp4wv.js → file-retention-7zm91xf9.js} +9 -9
  77. package/dist/chunks/{persistent-pty-q71trj3n.js → file-retention-83k0aw9t.js} +20 -20
  78. package/dist/chunks/{persistent-pty-844ef7ks.js → file-retention-844ef7ks.js} +1 -1
  79. package/dist/chunks/{persistent-pty-ydky9c7y.js → file-retention-84j6bdr5.js} +46 -46
  80. package/dist/chunks/{persistent-pty-cpb6a78b.js → file-retention-85h696dp.js} +35 -35
  81. package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{persistent-pty-brv10750.js → file-retention-8he2t7jm.js} +27 -27
  83. package/dist/chunks/{persistent-pty-sznf9k39.js → file-retention-8nahm7e2.js} +6 -6
  84. package/dist/chunks/{persistent-pty-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{persistent-pty-xskhzebk.js → file-retention-8tdr907c.js} +8 -8
  86. package/dist/chunks/{persistent-pty-egy5b1a6.js → file-retention-8v4qx0e5.js} +17 -17
  87. package/dist/chunks/{persistent-pty-0zqpp7wj.js → file-retention-90w6g2p5.js} +19 -19
  88. package/dist/chunks/{persistent-pty-sfxpj00y.js → file-retention-910sr6dw.js} +13 -13
  89. package/dist/chunks/{persistent-pty-vq1smemt.js → file-retention-91rf1wrq.js} +38 -38
  90. package/dist/chunks/{persistent-pty-2g1m3br9.js → file-retention-94npywv2.js} +4 -4
  91. package/dist/chunks/{persistent-pty-00mqm9kf.js → file-retention-96yt6zt0.js} +1 -1
  92. package/dist/chunks/{persistent-pty-sv2fejnn.js → file-retention-97k74ssb.js} +26 -26
  93. package/dist/chunks/{persistent-pty-zm83jvmn.js → file-retention-9f1txmwq.js} +18 -18
  94. package/dist/chunks/{persistent-pty-xbcdabpt.js → file-retention-9gcr2md5.js} +20 -20
  95. package/dist/chunks/{persistent-pty-zbqm35g7.js → file-retention-9wx978ps.js} +27 -27
  96. package/dist/chunks/{persistent-pty-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{persistent-pty-prvjh75d.js → file-retention-a7p8711m.js} +22 -22
  98. package/dist/chunks/{persistent-pty-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  99. package/dist/chunks/{persistent-pty-8gxqpgph.js → file-retention-afdssyjb.js} +4 -4
  100. package/dist/chunks/{persistent-pty-d2eaxeas.js → file-retention-ahtv500y.js} +6 -6
  101. package/dist/chunks/{persistent-pty-nbzsj80d.js → file-retention-akrnn5pm.js} +8 -8
  102. package/dist/chunks/{persistent-pty-s3428mxb.js → file-retention-b348asm8.js} +6 -6
  103. package/dist/chunks/{persistent-pty-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{persistent-pty-8gs24b9n.js → file-retention-b8xvyn6f.js} +23 -23
  105. package/dist/chunks/{persistent-pty-h9gezfnd.js → file-retention-banqffvw.js} +10 -10
  106. package/dist/chunks/{persistent-pty-k4ewzjtn.js → file-retention-bcnz578n.js} +2 -2
  107. package/dist/chunks/{persistent-pty-m526qhmk.js → file-retention-bczj9gek.js} +16 -16
  108. package/dist/chunks/{persistent-pty-w5qx82t0.js → file-retention-bpewhtra.js} +39 -39
  109. package/dist/chunks/{persistent-pty-bf3rh841.js → file-retention-bw7hten5.js} +3 -3
  110. package/dist/chunks/{persistent-pty-ppky1t1y.js → file-retention-c5khdk00.js} +7 -7
  111. package/dist/chunks/{persistent-pty-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/file-retention-d0qewjeg.js +22 -0
  113. package/dist/chunks/{persistent-pty-2b6sywcb.js → file-retention-d3dfkvzz.js} +11 -11
  114. package/dist/chunks/{persistent-pty-2g2y3drj.js → file-retention-d750cxjj.js} +15 -15
  115. package/dist/chunks/{persistent-pty-sqe88krq.js → file-retention-dae8r372.js} +34 -34
  116. package/dist/chunks/{persistent-pty-df3me751.js → file-retention-dmh4mpcg.js} +16 -16
  117. package/dist/chunks/{persistent-pty-zs8qganv.js → file-retention-dpazbx79.js} +35 -35
  118. package/dist/chunks/file-retention-dxj72tfx.js +18 -0
  119. package/dist/chunks/{persistent-pty-djvn5p54.js → file-retention-dyh18y4s.js} +19 -19
  120. package/dist/chunks/{persistent-pty-rxpytfvj.js → file-retention-dyh5ke7e.js} +18 -18
  121. package/dist/chunks/{persistent-pty-s2prs345.js → file-retention-e2q3914e.js} +66 -66
  122. package/dist/chunks/{persistent-pty-krp391jj.js → file-retention-e5fc1vxw.js} +1 -1
  123. package/dist/chunks/{persistent-pty-w9nng7hv.js → file-retention-ebah8r6x.js} +6 -6
  124. package/dist/chunks/{persistent-pty-jnmqjdkf.js → file-retention-ebc7h8jh.js} +4 -4
  125. package/dist/chunks/{persistent-pty-yp9wmgac.js → file-retention-ecw23q2j.js} +24 -24
  126. package/dist/chunks/{persistent-pty-1w52t0mb.js → file-retention-efp272bp.js} +39 -39
  127. package/dist/chunks/{persistent-pty-djc8e50c.js → file-retention-egpdn9z5.js} +11 -11
  128. package/dist/chunks/{persistent-pty-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{persistent-pty-k5ezyj3d.js → file-retention-f3ef4mcb.js} +29 -29
  130. package/dist/chunks/{persistent-pty-f828m53h.js → file-retention-f828m53h.js} +2 -2
  131. package/dist/chunks/{persistent-pty-4066mr2m.js → file-retention-f8q7mv7a.js} +1 -1
  132. package/dist/chunks/{persistent-pty-ppnmpad2.js → file-retention-fb8eapp7.js} +30 -30
  133. package/dist/chunks/{persistent-pty-kmv022h3.js → file-retention-fgh0kbhd.js} +1 -1
  134. package/dist/chunks/{persistent-pty-6hjj4s54.js → file-retention-fheq99qy.js} +20 -20
  135. package/dist/chunks/{persistent-pty-t0x5rdq8.js → file-retention-fjmrr6sh.js} +9 -9
  136. package/dist/chunks/{persistent-pty-cnhax2e6.js → file-retention-fm13v0aj.js} +15 -15
  137. package/dist/chunks/{persistent-pty-2ht10vg0.js → file-retention-fptf14bk.js} +20 -20
  138. package/dist/chunks/{persistent-pty-1kpvqeks.js → file-retention-fqfsm8yp.js} +31 -31
  139. package/dist/chunks/{persistent-pty-g5dj6d40.js → file-retention-fw9y5yd9.js} +23 -23
  140. package/dist/chunks/{persistent-pty-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{persistent-pty-g8dftn7c.js → file-retention-g1gr4bmr.js} +11 -11
  142. package/dist/chunks/{persistent-pty-fyjrpq2n.js → file-retention-g72gjvtz.js} +6 -6
  143. package/dist/chunks/{persistent-pty-vz3schgb.js → file-retention-g84nn1aa.js} +20 -20
  144. package/dist/chunks/{persistent-pty-1eygjsb7.js → file-retention-gcbt0df5.js} +32 -32
  145. package/dist/chunks/{persistent-pty-jsdanxxx.js → file-retention-gckxsv6v.js} +18 -18
  146. package/dist/chunks/{persistent-pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{persistent-pty-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{persistent-pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{persistent-pty-8fq8nx20.js → file-retention-h77cxaca.js} +25 -25
  151. package/dist/chunks/{persistent-pty-m86bnw2c.js → file-retention-h7ygw6q4.js} +9 -9
  152. package/dist/chunks/{persistent-pty-bha4atvq.js → file-retention-hfdr1yjj.js} +4 -4
  153. package/dist/chunks/{persistent-pty-qn4ba14w.js → file-retention-hnr5yq9h.js} +5 -5
  154. package/dist/chunks/{persistent-pty-ejanc1th.js → file-retention-hnsp6gvf.js} +15 -15
  155. package/dist/chunks/{persistent-pty-nqnxh7mc.js → file-retention-j15mfg1p.js} +4 -4
  156. package/dist/chunks/{persistent-pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  157. package/dist/chunks/{persistent-pty-dfe8djrf.js → file-retention-j83byb14.js} +4 -4
  158. package/dist/chunks/{persistent-pty-jefma2gq.js → file-retention-jefma2gq.js} +3 -3
  159. package/dist/chunks/{persistent-pty-ry6p75md.js → file-retention-jr7591m5.js} +11 -11
  160. package/dist/chunks/{persistent-pty-jyh705nr.js → file-retention-jy790zpn.js} +13 -13
  161. package/dist/chunks/{persistent-pty-axp4ehpq.js → file-retention-jyv4pdcd.js} +8 -8
  162. package/dist/chunks/{persistent-pty-c3kepfq8.js → file-retention-k16ay38w.js} +1 -1
  163. package/dist/chunks/{persistent-pty-jj63jgrn.js → file-retention-ka2k270b.js} +8 -8
  164. package/dist/chunks/{persistent-pty-203e24v7.js → file-retention-kb4mbprj.js} +11 -11
  165. package/dist/chunks/{persistent-pty-fqhavq00.js → file-retention-kc4sfmzp.js} +172 -172
  166. package/dist/chunks/{persistent-pty-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  167. package/dist/chunks/{persistent-pty-xfwn3bvs.js → file-retention-kkta2ctq.js} +27 -27
  168. package/dist/chunks/{persistent-pty-q3x0tf1z.js → file-retention-ksarex0k.js} +8 -8
  169. package/dist/chunks/{persistent-pty-3nrktzjr.js → file-retention-ksry9d8f.js} +46 -46
  170. package/dist/chunks/{persistent-pty-79r1wrqa.js → file-retention-ksz0h0wp.js} +1 -1
  171. package/dist/chunks/{persistent-pty-t69nnh3p.js → file-retention-m27pyyd3.js} +8 -8
  172. package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{persistent-pty-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  174. package/dist/chunks/{persistent-pty-zv0yrbwn.js → file-retention-mma0v91q.js} +26 -26
  175. package/dist/chunks/{persistent-pty-kn9q0df9.js → file-retention-mtjehpx1.js} +83 -83
  176. package/dist/chunks/{persistent-pty-sdch2j4x.js → file-retention-mv5ftj3m.js} +12 -12
  177. package/dist/chunks/{persistent-pty-4jwxjs78.js → file-retention-mwmzgnyj.js} +19 -19
  178. package/dist/chunks/{persistent-pty-bhkdh15s.js → file-retention-mzbpx9yh.js} +8 -8
  179. package/dist/chunks/{persistent-pty-qsr17ax6.js → file-retention-n1nkedfb.js} +38 -38
  180. package/dist/chunks/{persistent-pty-x1xcpfha.js → file-retention-n3gg6d5p.js} +9 -9
  181. package/dist/chunks/{persistent-pty-hm87teft.js → file-retention-n3jzkq55.js} +33 -33
  182. package/dist/chunks/{persistent-pty-h9rdfrn4.js → file-retention-n5h13zaa.js} +7 -7
  183. package/dist/chunks/{persistent-pty-rz0qknjf.js → file-retention-n76fdqym.js} +5 -5
  184. package/dist/chunks/{persistent-pty-c53hcw8m.js → file-retention-nd93s368.js} +14 -14
  185. package/dist/chunks/{persistent-pty-zzdrk7md.js → file-retention-ne8aj7mp.js} +28 -28
  186. package/dist/chunks/{persistent-pty-bv56xrks.js → file-retention-nhvhf6q8.js} +2 -2
  187. package/dist/chunks/{persistent-pty-hjt4xg1x.js → file-retention-nhy5jxhy.js} +4 -4
  188. package/dist/chunks/{persistent-pty-2vgzs72b.js → file-retention-p3p972wa.js} +5 -5
  189. package/dist/chunks/{persistent-pty-wm96rsv2.js → file-retention-pahz8e0w.js} +5 -5
  190. package/dist/chunks/{persistent-pty-zw3btwk7.js → file-retention-pdaxh6j6.js} +16 -16
  191. package/dist/chunks/{persistent-pty-a4zefx4s.js → file-retention-pdbeap0x.js} +35 -35
  192. package/dist/chunks/{persistent-pty-qwkytnft.js → file-retention-phc8pspp.js} +3 -3
  193. package/dist/chunks/{persistent-pty-h7x6gk14.js → file-retention-pjjbt500.js} +33 -33
  194. package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{persistent-pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
  196. package/dist/chunks/{persistent-pty-2fnsjhej.js → file-retention-pp4q2nd9.js} +50 -50
  197. package/dist/chunks/{persistent-pty-e8ne7jhy.js → file-retention-ppj7fmgk.js} +21 -21
  198. package/dist/chunks/{persistent-pty-w76whj5z.js → file-retention-ptyjv6sg.js} +3 -3
  199. package/dist/chunks/{persistent-pty-jkg31575.js → file-retention-pv3jdcwf.js} +16 -16
  200. package/dist/chunks/{persistent-pty-hx11cw1n.js → file-retention-q4p7gt18.js} +29 -29
  201. package/dist/chunks/{persistent-pty-gdvyk2fc.js → file-retention-q51nheh5.js} +8 -8
  202. package/dist/chunks/{persistent-pty-wzgex4pb.js → file-retention-q62bfh0y.js} +37 -33
  203. package/dist/chunks/{persistent-pty-j6y2w35b.js → file-retention-q6wpp224.js} +4 -4
  204. package/dist/chunks/{persistent-pty-1g7epwpd.js → file-retention-qa3qhgw8.js} +7 -7
  205. package/dist/chunks/{persistent-pty-50mzsvk4.js → file-retention-qj8eh1ht.js} +4 -4
  206. package/dist/chunks/{persistent-pty-zyehkexa.js → file-retention-qmf2gm4z.js} +10 -10
  207. package/dist/chunks/{persistent-pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  208. package/dist/chunks/{persistent-pty-bw41nzns.js → file-retention-qx7k4qp2.js} +43 -43
  209. package/dist/chunks/{persistent-pty-pwby03bc.js → file-retention-r0z7zczf.js} +20 -20
  210. package/dist/chunks/{persistent-pty-r8xr0va3.js → file-retention-r8xr0va3.js} +1 -1
  211. package/dist/chunks/{persistent-pty-dcj77ap2.js → file-retention-r9babyk8.js} +1 -1
  212. package/dist/chunks/{persistent-pty-qp5gp8ee.js → file-retention-raekatpd.js} +14 -14
  213. package/dist/chunks/{persistent-pty-bqvjxhzq.js → file-retention-rbygrj0c.js} +6 -6
  214. package/dist/chunks/{persistent-pty-q0a6gzyv.js → file-retention-rdzktax9.js} +4 -4
  215. package/dist/chunks/{persistent-pty-w1k39n5e.js → file-retention-rsdf2nvv.js} +4 -4
  216. package/dist/chunks/{persistent-pty-xcz8yps6.js → file-retention-rsx8nqs6.js} +11 -11
  217. package/dist/chunks/{persistent-pty-81swgkk7.js → file-retention-rsym84ch.js} +7 -7
  218. package/dist/chunks/{persistent-pty-05xfxpq7.js → file-retention-rtathh62.js} +8 -8
  219. package/dist/chunks/{persistent-pty-a8w0823b.js → file-retention-s6b7x209.js} +11 -11
  220. package/dist/chunks/{persistent-pty-eaj1djv9.js → file-retention-s8d7rejh.js} +6 -6
  221. package/dist/chunks/{persistent-pty-3mbmw1sq.js → file-retention-sgs3z1tt.js} +35 -35
  222. package/dist/chunks/{persistent-pty-pavjzv7z.js → file-retention-sjj15vqw.js} +17 -17
  223. package/dist/chunks/{persistent-pty-psjz8p8b.js → file-retention-skefxpr1.js} +9 -9
  224. package/dist/chunks/{persistent-pty-9c74y0ya.js → file-retention-sxbnakwy.js} +5 -5
  225. package/dist/chunks/{persistent-pty-vmbc9md7.js → file-retention-sxpvbsth.js} +9 -9
  226. package/dist/chunks/{persistent-pty-gpt16vvq.js → file-retention-sy1kpmqf.js} +46 -46
  227. package/dist/chunks/{persistent-pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{persistent-pty-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{persistent-pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
  230. package/dist/chunks/{persistent-pty-p28nmw69.js → file-retention-th9pr1j7.js} +4 -4
  231. package/dist/chunks/{persistent-pty-nvh2x716.js → file-retention-tjk5t6k4.js} +4 -4
  232. package/dist/chunks/{persistent-pty-1tjg7tvh.js → file-retention-tjsj89dc.js} +9 -9
  233. package/dist/chunks/{persistent-pty-0gr7cw0d.js → file-retention-tm7zr4pr.js} +4 -4
  234. package/dist/chunks/{persistent-pty-ytcfwrs1.js → file-retention-tsxa73g8.js} +13 -13
  235. package/dist/chunks/{persistent-pty-pa491p54.js → file-retention-tt4eawst.js} +3 -3
  236. package/dist/chunks/{persistent-pty-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  237. package/dist/chunks/{persistent-pty-2qqgsyc5.js → file-retention-twb5wmxd.js} +5 -5
  238. package/dist/chunks/{persistent-pty-c2hefdhc.js → file-retention-txd1j2wz.js} +15 -15
  239. package/dist/chunks/{persistent-pty-1rx0sgk8.js → file-retention-v2rsyevg.js} +9 -9
  240. package/dist/chunks/{persistent-pty-1xxx0jg9.js → file-retention-vc35pqxv.js} +13 -13
  241. package/dist/chunks/{persistent-pty-yq2bn28b.js → file-retention-vdq7pbmg.js} +5 -5
  242. package/dist/chunks/{persistent-pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  243. package/dist/chunks/{persistent-pty-6p3c3cwj.js → file-retention-vhdv10mr.js} +24 -24
  244. package/dist/chunks/{persistent-pty-380vsvkf.js → file-retention-vhkdtr9q.js} +19 -19
  245. package/dist/chunks/{persistent-pty-0ccq33vw.js → file-retention-vhkpr0st.js} +18 -18
  246. package/dist/chunks/{persistent-pty-4gh75n31.js → file-retention-vkvntndg.js} +34 -34
  247. package/dist/chunks/{persistent-pty-wk2d4yp7.js → file-retention-vsjh5n0j.js} +32 -32
  248. package/dist/chunks/{persistent-pty-v397qx2x.js → file-retention-vtzb9n73.js} +8 -8
  249. package/dist/chunks/{persistent-pty-d8vze2cf.js → file-retention-vwt4pwz2.js} +15 -15
  250. package/dist/chunks/{persistent-pty-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{persistent-pty-2p82gks5.js → file-retention-w4dyxxvc.js} +14 -14
  253. package/dist/chunks/{persistent-pty-bq15f1dj.js → file-retention-w78zdbkg.js} +11 -11
  254. package/dist/chunks/{persistent-pty-42mde3pg.js → file-retention-waa2mmfw.js} +17 -17
  255. package/dist/chunks/{persistent-pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
  256. package/dist/chunks/{persistent-pty-c05fm11c.js → file-retention-wnsbns26.js} +20 -20
  257. package/dist/chunks/{persistent-pty-5bkegwna.js → file-retention-wr0wz2nx.js} +3 -3
  258. package/dist/chunks/{persistent-pty-rfnzy394.js → file-retention-wx9wy1qm.js} +1 -1
  259. package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{persistent-pty-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{persistent-pty-wsg5c7h7.js → file-retention-x7s3znm0.js} +26 -26
  262. package/dist/chunks/{persistent-pty-ra27perh.js → file-retention-xb3fxaqb.js} +9 -9
  263. package/dist/chunks/{persistent-pty-d9sn21bc.js → file-retention-xhqkdcr0.js} +2 -2
  264. package/dist/chunks/{persistent-pty-c8ada3m6.js → file-retention-xje3kg99.js} +12 -12
  265. package/dist/chunks/{persistent-pty-qvxvbnwj.js → file-retention-xnafzea3.js} +27 -27
  266. package/dist/chunks/{persistent-pty-dwwycwrc.js → file-retention-xphcp306.js} +17 -17
  267. package/dist/chunks/{persistent-pty-t369btdv.js → file-retention-xq8kymca.js} +11 -11
  268. package/dist/chunks/{persistent-pty-4v5j83by.js → file-retention-xws4r01w.js} +15 -15
  269. package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{persistent-pty-y71avatq.js → file-retention-y71avatq.js} +1 -1
  271. package/dist/chunks/{persistent-pty-zqsxpf7r.js → file-retention-y984hjy8.js} +21 -21
  272. package/dist/chunks/{persistent-pty-wjhyqx8g.js → file-retention-ygk5pt6v.js} +32 -32
  273. package/dist/chunks/{persistent-pty-br7dekmv.js → file-retention-ykmmkvse.js} +18 -18
  274. package/dist/chunks/{persistent-pty-rp5c9stp.js → file-retention-ynnzzba7.js} +3 -3
  275. package/dist/chunks/{persistent-pty-3rn9y9mm.js → file-retention-ynwbtj63.js} +9 -9
  276. package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{persistent-pty-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
  278. package/dist/chunks/{persistent-pty-cr07tj7n.js → file-retention-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-kh3ehkc0.js → file-retention-z2ryqxvw.js} +4 -4
  281. package/dist/chunks/{persistent-pty-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
  282. package/dist/chunks/{persistent-pty-qcfsefxz.js → file-retention-z69s9t6b.js} +5 -5
  283. package/dist/chunks/{persistent-pty-0tpn3p1b.js → file-retention-zdwm66qa.js} +14 -14
  284. package/dist/chunks/{persistent-pty-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{persistent-pty-xfe2x8na.js → file-retention-zhw0490b.js} +16 -16
  286. package/dist/chunks/{persistent-pty-nxb1d4ft.js → file-retention-zmf3sk4j.js} +46 -46
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-72tn9ghv.js → file-retention-zw7j6aej.js} +10 -10
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +95 -95
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +3 -3
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +4 -4
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +81 -81
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +97 -97
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +74 -74
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +76 -76
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +104 -104
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +1 -1
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +92 -92
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +80 -80
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +215 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +84 -84
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +113 -113
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/session/history.d.ts +80 -0
  650. package/dist/types/session/transfer.d.ts +44 -0
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +4 -4
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +85 -85
  678. package/dist/websearch.js +82 -82
  679. package/dist/wellknown/plugin.js +74 -74
  680. package/dist/wellknown.js +77 -77
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +78 -78
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +7 -7
  686. package/dist/worktree/refresh.js +342 -342
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +91 -91
  689. package/package.json +8 -8
  690. package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
  691. package/dist/chunks/persistent-pty-drn01q1n.js +0 -22
  692. package/dist/chunks/persistent-pty-qapv375x.js +0 -4
  693. package/dist/chunks/persistent-pty-vj8pphjv.js +0 -247
  694. package/dist/chunks/persistent-pty-yaazxw7p.js +0 -462
  695. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-922hggd3.js → file-retention-922hggd3.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-paphc93g.js → file-retention-paphc93g.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Ref4
3
- } from "./persistent-pty-aezrryrs.js";
3
+ } from "./file-retention-3jd9t3qm.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service75,
12
+ Service: () => Service63,
13
13
  canonical: () => canonical3,
14
- node: () => node80
14
+ node: () => node68
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service75 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service75, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node80 = LayerNode.unbound(Service75, Node.tags.values.global);
26
+ var node68 = LayerNode.unbound(Service63, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
28
  return Ref4.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
@@ -31,4 +31,4 @@ function canonical3(ref) {
31
31
  });
32
32
  }
33
33
 
34
- export { Service75, node80, canonical3, exports_location_service_map };
34
+ export { Service63, node68, canonical3, exports_location_service_map };
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-f2ew84cp.js";
2
+ Service77,
3
+ node82
4
+ } from "./file-retention-6jftzada.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./persistent-pty-aezrryrs.js";
6
+ Service75,
7
+ node80
8
+ } from "./file-retention-3jd9t3qm.js";
9
9
  import {
10
- ID16,
11
- Service74,
12
- node79
13
- } from "./persistent-pty-6p3c3cwj.js";
10
+ ID13,
11
+ Service73,
12
+ node78
13
+ } from "./file-retention-vhdv10mr.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./persistent-pty-qwkytnft.js";
16
+ } from "./file-retention-phc8pspp.js";
17
17
  import {
18
- Service72,
19
- node77
20
- } from "./persistent-pty-2p82gks5.js";
18
+ Service70,
19
+ node75
20
+ } from "./file-retention-w4dyxxvc.js";
21
21
  import {
22
22
  match2
23
- } from "./persistent-pty-y1fvbwt7.js";
23
+ } from "./file-retention-y1fvbwt7.js";
24
24
  import {
25
25
  Service71,
26
26
  node76
27
- } from "./persistent-pty-ttv5kw1x.js";
27
+ } from "./file-retention-4wt9y66g.js";
28
28
  import {
29
- Service73,
30
- node78
31
- } from "./persistent-pty-jj63jgrn.js";
29
+ Service72,
30
+ node77
31
+ } from "./file-retention-ka2k270b.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./file-retention-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID13,
45
+ Event: () => Event17,
46
+ ID: () => ID10,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service70,
54
+ Service: () => Service69,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node75
58
+ node: () => node74
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
64
+ import { Event as Event17 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID10 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
77
+ var Request2 = Permission.Request;
78
78
  var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID10.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID16.pipe(Schema.optional)
82
+ agent: ID13.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
85
+ requestID: ID10,
86
86
  reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID10,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
114
+ requestID: ID10
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service70 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service70, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service76;
133
- const agents = yield* Service74;
134
- const sessions = yield* Service72;
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
+ const bus = yield* Service77;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service73;
134
+ const sessions = yield* Service70;
135
135
  const saved = yield* Service71;
136
- const hooks = yield* Service73;
136
+ const hooks = yield* Service72;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID13.create(),
183
+ id: input.id ?? ID10.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service70.of({ ask, assert, reply, get, forSession, list });
286
+ return Service69.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node75 = makeLocationNode({
289
- service: Service70,
288
+ var node74 = makeLocationNode({
289
+ service: Service69,
290
290
  layer,
291
- deps: [node84, node81, node79, node77, node76, node78]
291
+ deps: [node82, node80, node78, node75, node76, node77]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node75, exports_permission2, Rule3, Ruleset2, Event18 };
294
+ export { PermissionEffect, ID10, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node74, exports_permission2, Rule3, Ruleset2, Event17 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-t69nnh3p.js";
4
+ } from "./file-retention-m27pyyd3.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID11,
10
- Info: () => Info25,
9
+ ID: () => ID18,
10
+ Info: () => Info33,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
- Request: () => Request2,
13
+ Request: () => Request3,
14
14
  Settings: () => Settings2,
15
15
  aisdk: () => aisdk2,
16
16
  isAISDK: () => isAISDK2,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode/schema/provider";
24
24
  import { isRecord } from "@opencode/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
26
- var ID11 = Provider.ID;
26
+ var ID18 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
137
137
  return result;
138
138
  }, new Map).values());
139
139
  }
140
- var Request2 = Provider.Request;
140
+ var Request3 = Provider.Request;
141
141
  var Settings2 = Provider.Settings;
142
- var Info25 = Provider.Info;
142
+ var Info33 = Provider.Info;
143
143
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
144
144
  const module = yield* Effect.tryPromise({
145
145
  try: () => {
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
161
161
  return module;
162
162
  });
163
163
 
164
- export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info25, exports_provider3 };
164
+ export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info33, exports_provider3 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./persistent-pty-emrn6kk6.js";
7
+ } from "./file-retention-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./persistent-pty-ym463w8f.js";
3
+ } from "./file-retention-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/mistral.ts
6
6
  var MistralPlugin2 = createProviderPlugin2({
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./persistent-pty-rp5c9stp.js";
4
+ } from "./file-retention-ynnzzba7.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./persistent-pty-y71avatq.js";
7
+ } from "./file-retention-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node71
12
- } from "./persistent-pty-axp4ehpq.js";
11
+ node47
12
+ } from "./file-retention-jyv4pdcd.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./persistent-pty-faypxj3z.js";
15
+ } from "./file-retention-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./file-retention-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info26,
24
+ ID: () => ID4,
25
+ Info: () => Info6,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service66,
27
+ Service: () => Service41,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node70
29
+ configured: () => configured6,
30
+ node: () => node46
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID4 = Workspace.ID;
39
39
 
40
- class Info26 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info6 extends Schema.Class("Workspace.Info")({
41
+ id: ID4,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID4,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service66 extends Context.Service()("@opencode/Workspace") {
59
+ class Service41 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service66,
61
+ var configured6 = (options = {}) => makeGlobalNode({
62
+ service: Service41,
63
63
  layer: layer(options),
64
- deps: [node85, node71]
64
+ deps: [node85, node47]
65
65
  });
66
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info26({
83
+ const info = (row, binding) => new Info6({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service66.of({
157
+ return Service41.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID4.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node70 = configured11();
224
+ var node46 = configured6();
225
225
 
226
- export { ID12, Info26, NotFound3, CreateConflict2, Service66, configured11, node70, exports_workspace };
226
+ export { ID4, Info6, NotFound3, CreateConflict2, Service41, configured6, node46, exports_workspace };
@@ -1,114 +1,114 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./persistent-pty-rp5c9stp.js";
4
+ } from "./file-retention-ynnzzba7.js";
5
5
  import {
6
- ID16,
7
- Service74,
8
- node79
9
- } from "./persistent-pty-6p3c3cwj.js";
6
+ ID13,
7
+ Service73,
8
+ node78
9
+ } from "./file-retention-vhdv10mr.js";
10
10
  import {
11
- Service56,
12
- node60
13
- } from "./persistent-pty-zzdrk7md.js";
11
+ Service65,
12
+ node70
13
+ } from "./file-retention-ne8aj7mp.js";
14
14
  import {
15
15
  combine2
16
- } from "./persistent-pty-eaj1djv9.js";
16
+ } from "./file-retention-s8d7rejh.js";
17
17
  import {
18
18
  make13
19
- } from "./persistent-pty-x1xcpfha.js";
19
+ } from "./file-retention-n3gg6d5p.js";
20
20
  import {
21
- Service37,
22
- node41
23
- } from "./persistent-pty-8fq8nx20.js";
21
+ Service47,
22
+ node53
23
+ } from "./file-retention-h77cxaca.js";
24
24
  import {
25
- Service76,
26
- node81
27
- } from "./persistent-pty-aezrryrs.js";
25
+ Service75,
26
+ node80
27
+ } from "./file-retention-3jd9t3qm.js";
28
28
  import {
29
- Service29,
30
- node34
31
- } from "./persistent-pty-zw3btwk7.js";
29
+ Service27,
30
+ node32
31
+ } from "./file-retention-pdaxh6j6.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./persistent-pty-qwkytnft.js";
34
+ } from "./file-retention-phc8pspp.js";
35
35
  import {
36
36
  provenance2
37
- } from "./persistent-pty-w1k39n5e.js";
37
+ } from "./file-retention-rsdf2nvv.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./persistent-pty-v397qx2x.js";
40
+ } from "./file-retention-vtzb9n73.js";
41
41
  import {
42
- Service72,
43
- node77
44
- } from "./persistent-pty-2p82gks5.js";
42
+ Service70,
43
+ node75
44
+ } from "./file-retention-w4dyxxvc.js";
45
45
  import {
46
- Service46,
47
- node51
48
- } from "./persistent-pty-esqtk39r.js";
46
+ Service35,
47
+ node40
48
+ } from "./file-retention-75dhgn7f.js";
49
49
  import {
50
- Service33,
51
- node37
52
- } from "./persistent-pty-5fk2x3ne.js";
50
+ Service30,
51
+ node35
52
+ } from "./file-retention-0aj2jf1n.js";
53
+ import {
54
+ Service29,
55
+ node34
56
+ } from "./file-retention-9gcr2md5.js";
53
57
  import {
54
58
  Service28,
55
59
  node33
56
- } from "./persistent-pty-xbcdabpt.js";
60
+ } from "./file-retention-ykmmkvse.js";
57
61
  import {
58
- Service30,
59
- node35
60
- } from "./persistent-pty-br7dekmv.js";
61
- import {
62
- Service27,
63
- node32
64
- } from "./persistent-pty-q71trj3n.js";
62
+ Service33,
63
+ node37
64
+ } from "./file-retention-83k0aw9t.js";
65
65
  import {
66
- Service31,
67
- node36
68
- } from "./persistent-pty-ejanc1th.js";
66
+ Service24,
67
+ node29
68
+ } from "./file-retention-hnsp6gvf.js";
69
69
  import {
70
- Service35,
71
- node39
72
- } from "./persistent-pty-wk2d4yp7.js";
70
+ Service25,
71
+ node30
72
+ } from "./file-retention-vsjh5n0j.js";
73
73
  import {
74
- Service52,
75
- node56
76
- } from "./persistent-pty-ytcfwrs1.js";
74
+ Service60,
75
+ node65
76
+ } from "./file-retention-tsxa73g8.js";
77
77
  import {
78
78
  __export
79
- } from "./persistent-pty-9rqn6x4v.js";
79
+ } from "./file-retention-9rqn6x4v.js";
80
80
 
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service26,
84
+ Service: () => Service23,
85
85
  SessionContext: () => exports_context,
86
- node: () => node31
86
+ node: () => node28
87
87
  });
88
88
  import { Model } from "@opencode/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode/util/effect/app-node";
91
- class Service26 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service23 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service26, Effect.gen(function* () {
94
- const agents = yield* Service74;
95
- const builtins = yield* Service29;
96
- const catalog = yield* Service56;
93
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
94
+ const agents = yield* Service73;
95
+ const builtins = yield* Service27;
96
+ const catalog = yield* Service65;
97
97
  const db = (yield* Service80).db;
98
- const discovery = yield* Service37;
99
- const entries = yield* Service31;
100
- const location = yield* Service76;
101
- const mcpInstructions = yield* Service28;
102
- const mcpTools = yield* Service33;
103
- const models = yield* Service52;
104
- const modelRequests = yield* Service35;
105
- const referenceInstructions = yield* Service30;
106
- const skillInstructions = yield* Service27;
107
- const store = yield* Service72;
108
- const registry = yield* Service46;
98
+ const discovery = yield* Service47;
99
+ const entries = yield* Service24;
100
+ const location = yield* Service75;
101
+ const mcpInstructions = yield* Service29;
102
+ const mcpTools = yield* Service30;
103
+ const models = yield* Service60;
104
+ const modelRequests = yield* Service25;
105
+ const referenceInstructions = yield* Service28;
106
+ const skillInstructions = yield* Service33;
107
+ const store = yield* Service70;
108
+ const registry = yield* Service35;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
- const agent = yield* agents.get(ID16.make("title"));
111
+ const agent = yield* agents.get(ID13.make("title"));
112
112
  if (!agent)
113
113
  return;
114
114
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service26.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
186
+ return Service23.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node31 = makeLocationNode({
190
- service: Service26,
189
+ var node28 = makeLocationNode({
190
+ service: Service23,
191
191
  layer,
192
192
  deps: [
193
- node79,
194
- node60,
193
+ node78,
194
+ node70,
195
195
  node85,
196
+ node32,
197
+ node53,
198
+ node29,
199
+ node80,
196
200
  node34,
197
- node41,
198
- node36,
199
- node81,
201
+ node35,
200
202
  node33,
203
+ node65,
204
+ node30,
205
+ node75,
201
206
  node37,
202
- node35,
203
- node56,
204
- node39,
205
- node77,
206
- node32,
207
- node51
207
+ node40
208
208
  ]
209
209
  });
210
210
 
211
- export { Service26, node31, exports_context };
211
+ export { Service23, node28, exports_context };