@opencode/core 0.0.0-dev-19643 → 0.0.0-dev-19644

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{pty-9c2qq6zd.js → file-retention-030jzqrs.js} +1 -1
  8. package/dist/chunks/{pty-dxcwrgb8.js → file-retention-0dfw7kj5.js} +11 -11
  9. package/dist/chunks/{pty-tkdspmrw.js → file-retention-0e0st8s7.js} +23 -23
  10. package/dist/chunks/{pty-gvkqbys6.js → file-retention-0e6bfx7v.js} +5 -5
  11. package/dist/chunks/{pty-pmtnxrty.js → file-retention-0h3rvf5y.js} +30 -30
  12. package/dist/chunks/file-retention-0mesazry.js +4 -0
  13. package/dist/chunks/{pty-vsv8ttad.js → file-retention-0n2dkqex.js} +28 -28
  14. package/dist/chunks/{pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{pty-vyq5g53q.js → file-retention-0q8z25ax.js} +10 -10
  17. package/dist/chunks/{pty-y0mc46pw.js → file-retention-0tmgye68.js} +9 -9
  18. package/dist/chunks/{pty-zd7rxry8.js → file-retention-15bxggqa.js} +9 -9
  19. package/dist/chunks/{pty-0czgmh5m.js → file-retention-1ct3e436.js} +6 -6
  20. package/dist/chunks/{pty-ym31zdqs.js → file-retention-1ctxmpem.js} +17 -17
  21. package/dist/chunks/{pty-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{pty-sc8yhsfz.js → file-retention-1hcx3hx9.js} +11 -11
  23. package/dist/chunks/{pty-qe5ndvxn.js → file-retention-1kzs76d5.js} +33 -33
  24. package/dist/chunks/{pty-rph3zd4r.js → file-retention-1tq060df.js} +6 -6
  25. package/dist/chunks/{pty-21r38tys.js → file-retention-21r38tys.js} +1 -1
  26. package/dist/chunks/{pty-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
  27. package/dist/chunks/{pty-zw77fwag.js → file-retention-25dtj6av.js} +32 -32
  28. package/dist/chunks/{pty-ja4wy4ee.js → file-retention-283sq9eb.js} +6 -6
  29. package/dist/chunks/{pty-29x78va6.js → file-retention-29x78va6.js} +2 -2
  30. package/dist/chunks/{pty-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{pty-db54agdm.js → file-retention-2angj6gv.js} +12 -12
  32. package/dist/chunks/{pty-y56erjdm.js → file-retention-2cc64ex3.js} +9 -9
  33. package/dist/chunks/{pty-04bs6xrx.js → file-retention-2cdjst23.js} +9 -9
  34. package/dist/chunks/{pty-af9twatk.js → file-retention-2wgckns4.js} +3 -3
  35. package/dist/chunks/{pty-d6493rm2.js → file-retention-2xm6y6tp.js} +1 -1
  36. package/dist/chunks/{pty-xp45px1z.js → file-retention-320y3j5b.js} +6 -6
  37. package/dist/chunks/{pty-9h7evhkc.js → file-retention-32cd2pct.js} +9 -9
  38. package/dist/chunks/{pty-2qk91kwd.js → file-retention-38pjs6q7.js} +35 -35
  39. package/dist/chunks/{pty-vyxkaerb.js → file-retention-39qagpsx.js} +1 -1
  40. package/dist/chunks/{pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{pty-cv016f9e.js → file-retention-3hj581hw.js} +11 -11
  43. package/dist/chunks/{pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{pty-9q9yqw35.js → file-retention-44d511wt.js} +25 -25
  46. package/dist/chunks/{pty-265qpxfd.js → file-retention-47kcz5j6.js} +9 -9
  47. package/dist/chunks/{pty-vzvreeh0.js → file-retention-4cwyw9nt.js} +26 -26
  48. package/dist/chunks/{pty-p4w4r7dh.js → file-retention-4gde0705.js} +23 -23
  49. package/dist/chunks/{pty-0pk2jhda.js → file-retention-52tjq29f.js} +15 -15
  50. package/dist/chunks/{pty-mfqp6xfm.js → file-retention-56gdpj1q.js} +6 -6
  51. package/dist/chunks/{pty-drwq78ky.js → file-retention-57b9ws8p.js} +5 -5
  52. package/dist/chunks/{pty-5c4hm403.js → file-retention-5c4hm403.js} +3 -3
  53. package/dist/chunks/{pty-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  54. package/dist/chunks/{pty-80nfq4qt.js → file-retention-5njbeffs.js} +14 -14
  55. package/dist/chunks/{pty-c1e8wyn8.js → file-retention-5pny8g6e.js} +22 -22
  56. package/dist/chunks/{pty-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{pty-q0mc0b5w.js → file-retention-63e4nz8m.js} +15 -15
  58. package/dist/chunks/{pty-csf2jhsg.js → file-retention-64kphnzf.js} +4 -4
  59. package/dist/chunks/{pty-669tq793.js → file-retention-669tq793.js} +1 -1
  60. package/dist/chunks/{pty-5jymwptv.js → file-retention-66cwwmwe.js} +15 -15
  61. package/dist/chunks/{pty-vh4jega5.js → file-retention-675gk2e9.js} +4 -4
  62. package/dist/chunks/file-retention-6ekjhmbd.js +247 -0
  63. package/dist/chunks/{pty-md73wrxd.js → file-retention-6haqad0x.js} +11 -11
  64. package/dist/chunks/{pty-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{pty-1dtwba70.js → file-retention-6ppm5kn9.js} +10 -10
  66. package/dist/chunks/{pty-fgfv3zgn.js → file-retention-6rx60a99.js} +6 -6
  67. package/dist/chunks/{pty-1rmrbrg3.js → file-retention-6wys8vmt.js} +35 -35
  68. package/dist/chunks/{pty-81swgkk7.js → file-retention-6x0h2hvg.js} +9 -9
  69. package/dist/chunks/{pty-560fm0yr.js → file-retention-6x3t56ym.js} +20 -20
  70. package/dist/chunks/{pty-mvfsc1pv.js → file-retention-73tb2d7t.js} +3 -3
  71. package/dist/chunks/{pty-47ms443m.js → file-retention-76x0exek.js} +7 -7
  72. package/dist/chunks/{pty-tf51b0d7.js → file-retention-776x8tr7.js} +11 -11
  73. package/dist/chunks/{pty-rec5x2c9.js → file-retention-78d0vfx8.js} +15 -15
  74. package/dist/chunks/{pty-fab8hzt3.js → file-retention-7ac170kv.js} +4 -4
  75. package/dist/chunks/{pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{pty-fcrkznn8.js → file-retention-7dqw4kz8.js} +5 -5
  77. package/dist/chunks/{pty-1sfcqhhy.js → file-retention-7et47hrm.js} +20 -20
  78. package/dist/chunks/{pty-6jqjnndr.js → file-retention-80z3br0b.js} +22 -22
  79. package/dist/chunks/{pty-nzz37pb4.js → file-retention-82zd9er4.js} +5 -5
  80. package/dist/chunks/file-retention-86f8k4a1.js +478 -0
  81. package/dist/chunks/{pty-p49bz645.js → file-retention-8bjpbq0k.js} +12 -12
  82. package/dist/chunks/{pty-rgy7ctyq.js → file-retention-8brgam58.js} +6 -6
  83. package/dist/chunks/{pty-j375qb82.js → file-retention-8csq5jz1.js} +21 -21
  84. package/dist/chunks/{pty-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{pty-bzv935yq.js → file-retention-8htta391.js} +8 -8
  86. package/dist/chunks/{pty-m3fvcdnn.js → file-retention-9f77mvx3.js} +12 -12
  87. package/dist/chunks/{pty-hy8cpyhv.js → file-retention-9jhw3ahb.js} +8 -8
  88. package/dist/chunks/{pty-0gdya7rn.js → file-retention-9k6ah3ay.js} +28 -28
  89. package/dist/chunks/{pty-g8v17drp.js → file-retention-9sbphxp7.js} +10 -10
  90. package/dist/chunks/{pty-19vf66h0.js → file-retention-a2ew8a62.js} +4 -4
  91. package/dist/chunks/{pty-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  92. package/dist/chunks/{pty-qsrmn293.js → file-retention-abvna2sd.js} +11 -11
  93. package/dist/chunks/{pty-mhaczvzm.js → file-retention-am60j996.js} +8 -8
  94. package/dist/chunks/{pty-z0yx8wna.js → file-retention-avg07sbv.js} +23 -23
  95. package/dist/chunks/{pty-xqrhjvfz.js → file-retention-azpwskpm.js} +22 -22
  96. package/dist/chunks/{pty-b2yd8hps.js → file-retention-b3d6gjgc.js} +65 -65
  97. package/dist/chunks/{pty-zet8ehz1.js → file-retention-b3qge5m1.js} +28 -28
  98. package/dist/chunks/{pty-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{pty-3ysc0688.js → file-retention-baspsnr0.js} +14 -14
  100. package/dist/chunks/{pty-7yygdjqk.js → file-retention-bb8wzrbb.js} +8 -8
  101. package/dist/chunks/{pty-2tstmrdm.js → file-retention-bc5qqj72.js} +24 -24
  102. package/dist/chunks/{pty-qhbr658c.js → file-retention-bdyxy7dh.js} +10 -10
  103. package/dist/chunks/{pty-ve4pfa0n.js → file-retention-bf0ztrs3.js} +4 -4
  104. package/dist/chunks/{pty-9hm81gvk.js → file-retention-bzb98473.js} +32 -32
  105. package/dist/chunks/{pty-7v7z07mj.js → file-retention-c1180j6r.js} +20 -20
  106. package/dist/chunks/{pty-ep44vwp9.js → file-retention-c917e1ye.js} +1 -1
  107. package/dist/chunks/{pty-2q9g3xfa.js → file-retention-c9ztkm9f.js} +7 -7
  108. package/dist/chunks/{pty-ghp6atvr.js → file-retention-cfejgvt1.js} +17 -17
  109. package/dist/chunks/{pty-pnaxc6j9.js → file-retention-cfv81dax.js} +8 -8
  110. package/dist/chunks/{pty-3gm7q0qp.js → file-retention-ched4952.js} +10 -10
  111. package/dist/chunks/{pty-p37cw4rj.js → file-retention-cmwkp3r5.js} +8 -8
  112. package/dist/chunks/{pty-v9shy27a.js → file-retention-cnfba84y.js} +18 -18
  113. package/dist/chunks/{pty-r2m716tb.js → file-retention-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{pty-96hebhth.js → file-retention-cwazgnkr.js} +8 -8
  115. package/dist/chunks/{pty-reqevd7p.js → file-retention-d3dn9r6m.js} +15 -15
  116. package/dist/chunks/{pty-gr74bzj8.js → file-retention-d66a0nr4.js} +152 -152
  117. package/dist/chunks/{pty-jjd03mtq.js → file-retention-dbjfv9j1.js} +15 -15
  118. package/dist/chunks/{pty-1t48jgda.js → file-retention-dgfnmtzr.js} +21 -21
  119. package/dist/chunks/{pty-xg627qy4.js → file-retention-dgprnyba.js} +37 -37
  120. package/dist/chunks/{pty-dj2t23y0.js → file-retention-dj2t23y0.js} +2 -2
  121. package/dist/chunks/{pty-n4vcx0q5.js → file-retention-dj6gbf46.js} +6 -6
  122. package/dist/chunks/{pty-ccxvsmm1.js → file-retention-dk1ddre8.js} +24 -24
  123. package/dist/chunks/{pty-v5m3chc5.js → file-retention-dn8nwevp.js} +17 -17
  124. package/dist/chunks/{pty-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{pty-ztwfyng4.js → file-retention-dt5xmw4k.js} +4 -4
  126. package/dist/chunks/{pty-q3hf676f.js → file-retention-dwda6jd0.js} +25 -25
  127. package/dist/chunks/{pty-4ph2weht.js → file-retention-e1j9zn8x.js} +9 -9
  128. package/dist/chunks/{pty-e5nv3ght.js → file-retention-e5nv3ght.js} +2 -2
  129. package/dist/chunks/{pty-jbjr1a4g.js → file-retention-e6d6pdps.js} +5 -5
  130. package/dist/chunks/{pty-7j92jdde.js → file-retention-ec8389mk.js} +4 -4
  131. package/dist/chunks/{pty-ve6nm2s5.js → file-retention-edbfpfck.js} +6 -6
  132. package/dist/chunks/{pty-b98gxjfa.js → file-retention-eew5sq93.js} +24 -24
  133. package/dist/chunks/{pty-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{pty-8dacsgkb.js → file-retention-efpr09yf.js} +22 -22
  135. package/dist/chunks/{pty-57jy6g3z.js → file-retention-espmqh47.js} +3 -3
  136. package/dist/chunks/{pty-3sd4rb0z.js → file-retention-esqa9h64.js} +33 -33
  137. package/dist/chunks/{pty-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{pty-wb1q4cb2.js → file-retention-eyn7p3z3.js} +6 -6
  139. package/dist/chunks/{pty-q90tpkk7.js → file-retention-f0n97kr3.js} +11 -11
  140. package/dist/chunks/{pty-g7hs1n9w.js → file-retention-f11whwgg.js} +23 -23
  141. package/dist/chunks/{pty-p796yvag.js → file-retention-f7tymrhk.js} +47 -47
  142. package/dist/chunks/{pty-p693jj1c.js → file-retention-f97c0hvw.js} +4 -4
  143. package/dist/chunks/{pty-wgpcemkv.js → file-retention-fa2c6m02.js} +14 -14
  144. package/dist/chunks/{pty-qvn71t82.js → file-retention-fphthhwy.js} +39 -39
  145. package/dist/chunks/{pty-n4nzzcpz.js → file-retention-fvezrss0.js} +12 -12
  146. package/dist/chunks/{pty-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{pty-9yp60h8y.js → file-retention-fzsywmjq.js} +2 -2
  148. package/dist/chunks/{pty-1f50zkgk.js → file-retention-g515c63b.js} +26 -26
  149. package/dist/chunks/{pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{pty-jjhhf8t1.js → file-retention-grb17zcw.js} +87 -87
  151. package/dist/chunks/{pty-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{pty-kzqcaydz.js → file-retention-gxh64nqm.js} +8 -8
  153. package/dist/chunks/{pty-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{pty-4dgbcxzg.js → file-retention-h6r3nrb9.js} +4 -4
  155. package/dist/chunks/{pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{pty-dhwr7h25.js → file-retention-h74ge2a2.js} +8 -8
  157. package/dist/chunks/{pty-v8qx4mjf.js → file-retention-hb7wfmtw.js} +7 -7
  158. package/dist/chunks/{pty-hdnk95c8.js → file-retention-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{pty-22321kh4.js → file-retention-hekbvwg7.js} +45 -45
  160. package/dist/chunks/{pty-prxmybba.js → file-retention-hr2j7280.js} +8 -8
  161. package/dist/chunks/{pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  162. package/dist/chunks/{pty-qt5k3wn1.js → file-retention-j91djj78.js} +16 -16
  163. package/dist/chunks/{pty-t918kx73.js → file-retention-jwztks0a.js} +13 -13
  164. package/dist/chunks/{pty-bfddptag.js → file-retention-k2fzxap7.js} +6 -6
  165. package/dist/chunks/{pty-yg8nzkpe.js → file-retention-k59erz6z.js} +24 -24
  166. package/dist/chunks/{pty-6bymh0k8.js → file-retention-k69na4ps.js} +29 -29
  167. package/dist/chunks/{pty-m4gv7951.js → file-retention-kchqah57.js} +12 -12
  168. package/dist/chunks/{pty-rxth5jgn.js → file-retention-kd4pdhg0.js} +3 -3
  169. package/dist/chunks/{pty-745a2tvp.js → file-retention-kenaddax.js} +18 -18
  170. package/dist/chunks/{pty-nrk5vjbf.js → file-retention-kerhshr9.js} +5 -5
  171. package/dist/chunks/{pty-vsp1fds9.js → file-retention-kk00bynn.js} +4 -4
  172. package/dist/chunks/{pty-t63vnq2n.js → file-retention-krbv9b1e.js} +18 -18
  173. package/dist/chunks/{pty-f8p08egg.js → file-retention-kvw3pn7b.js} +22 -22
  174. package/dist/chunks/{pty-m0jqrx5p.js → file-retention-m0jqrx5p.js} +2 -2
  175. package/dist/chunks/{pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{pty-tjyfaxz9.js → file-retention-mdp4tsk4.js} +3 -3
  177. package/dist/chunks/{pty-r4c8zd7v.js → file-retention-mg0hvqns.js} +18 -18
  178. package/dist/chunks/{pty-zper1j5h.js → file-retention-mhfmqj3q.js} +11 -11
  179. package/dist/chunks/{pty-yt0fqk68.js → file-retention-mtft99cd.js} +5 -5
  180. package/dist/chunks/{pty-q6d53jre.js → file-retention-mw934p8z.js} +8 -8
  181. package/dist/chunks/{pty-6gdcyvbq.js → file-retention-mytrx3qe.js} +34 -34
  182. package/dist/chunks/{pty-4nj4bn9q.js → file-retention-n37c4crj.js} +8 -8
  183. package/dist/chunks/{pty-b7a7q96r.js → file-retention-n7a1v19n.js} +36 -36
  184. package/dist/chunks/{pty-5273xt8y.js → file-retention-nefkn79j.js} +12 -12
  185. package/dist/chunks/{pty-gg1mvr65.js → file-retention-njct7pyc.js} +30 -30
  186. package/dist/chunks/{pty-8jmaqybk.js → file-retention-nvxqht09.js} +3 -3
  187. package/dist/chunks/{pty-t1w33hkx.js → file-retention-p17m87ch.js} +23 -23
  188. package/dist/chunks/{pty-np9zq865.js → file-retention-p4gp63td.js} +22 -22
  189. package/dist/chunks/{pty-mhs55g1f.js → file-retention-p9nbetk4.js} +38 -38
  190. package/dist/chunks/{pty-2e6e6kva.js → file-retention-pay99sa2.js} +26 -26
  191. package/dist/chunks/{pty-2jtkxc1j.js → file-retention-pdyjjwcd.js} +2 -2
  192. package/dist/chunks/{pty-knyjwg4b.js → file-retention-pgstsa3r.js} +24 -24
  193. package/dist/chunks/{pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
  195. package/dist/chunks/{pty-dwax96b2.js → file-retention-pr5bwn0j.js} +2 -2
  196. package/dist/chunks/{pty-cbtxs2t3.js → file-retention-pwg06x6c.js} +10 -10
  197. package/dist/chunks/{pty-afs310a1.js → file-retention-q03excpa.js} +8 -8
  198. package/dist/chunks/{pty-ttcg97r3.js → file-retention-q0hqxkgm.js} +3 -3
  199. package/dist/chunks/{pty-w3k8r67b.js → file-retention-q0qep26h.js} +3 -3
  200. package/dist/chunks/{pty-zm0k5bkg.js → file-retention-q564kvp8.js} +25 -25
  201. package/dist/chunks/{pty-g05fqrxf.js → file-retention-q8h7q9dm.js} +32 -32
  202. package/dist/chunks/{pty-byg1vfgh.js → file-retention-q9jzzx65.js} +88 -88
  203. package/dist/chunks/{pty-15q9afzf.js → file-retention-qcssbjdb.js} +21 -21
  204. package/dist/chunks/{pty-xk747vep.js → file-retention-qg0jgkcp.js} +9 -9
  205. package/dist/chunks/{pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  206. package/dist/chunks/{pty-j3deyfsj.js → file-retention-qsr32hwm.js} +10 -10
  207. package/dist/chunks/{pty-hnr5yq9h.js → file-retention-qte5z7bc.js} +5 -5
  208. package/dist/chunks/{pty-rx7f9tze.js → file-retention-r1eewcm5.js} +6 -6
  209. package/dist/chunks/{pty-q7vngajz.js → file-retention-r4d7c6cg.js} +4 -4
  210. package/dist/chunks/{pty-g01xz703.js → file-retention-r4wafeyv.js} +18 -18
  211. package/dist/chunks/{pty-6c80fjdq.js → file-retention-r5ck68vt.js} +9 -9
  212. package/dist/chunks/{pty-4t14qv7d.js → file-retention-r70effxe.js} +26 -26
  213. package/dist/chunks/{pty-r8xr0va3.js → file-retention-r8xr0va3.js} +1 -1
  214. package/dist/chunks/{pty-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
  215. package/dist/chunks/file-retention-rap9a73h.js +18 -0
  216. package/dist/chunks/{pty-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{pty-zcrspsvn.js → file-retention-rpg9c19m.js} +4 -4
  218. package/dist/chunks/{pty-zrqpdph7.js → file-retention-rs1yzs7v.js} +53 -53
  219. package/dist/chunks/{pty-6p272qmj.js → file-retention-s1g5cvt5.js} +20 -20
  220. package/dist/chunks/{pty-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
  221. package/dist/chunks/{pty-rhjbct0v.js → file-retention-s8d7rejh.js} +4 -4
  222. package/dist/chunks/{pty-7xdz4a7r.js → file-retention-s8s13gpy.js} +11 -11
  223. package/dist/chunks/{pty-tpz8kgav.js → file-retention-se8z0pj2.js} +13 -13
  224. package/dist/chunks/{pty-8s1fj8xg.js → file-retention-sm965ndy.js} +8 -8
  225. package/dist/chunks/{pty-4c10g6d9.js → file-retention-spmz9ee0.js} +42 -42
  226. package/dist/chunks/{pty-269wx4qw.js → file-retention-sq7pnv40.js} +13 -13
  227. package/dist/chunks/{pty-st6vffwr.js → file-retention-sr8h7cpq.js} +30 -30
  228. package/dist/chunks/{pty-b68c1mkf.js → file-retention-t09drp0q.js} +4 -4
  229. package/dist/chunks/{pty-9qvcdm02.js → file-retention-t8tp1xd4.js} +19 -19
  230. package/dist/chunks/{pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{pty-hx0tmcbf.js → file-retention-tbnbgk70.js} +21 -21
  232. package/dist/chunks/{pty-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{pty-88zqydxa.js → file-retention-tdme3qvq.js} +4 -4
  234. package/dist/chunks/{pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
  235. package/dist/chunks/{pty-h55jx3fv.js → file-retention-tfpy23zn.js} +4 -4
  236. package/dist/chunks/{pty-xbvm8yz7.js → file-retention-tq30t05y.js} +16 -16
  237. package/dist/chunks/{pty-x0600czv.js → file-retention-tqkrwgse.js} +2 -2
  238. package/dist/chunks/{pty-6da1v5x0.js → file-retention-trpk0pwm.js} +1 -1
  239. package/dist/chunks/{pty-h6g5nf3k.js → file-retention-ts7n5m5a.js} +9 -9
  240. package/dist/chunks/{pty-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  241. package/dist/chunks/{pty-3vt2r2mp.js → file-retention-ty00y7c1.js} +13 -13
  242. package/dist/chunks/{pty-s3efxrkp.js → file-retention-v8q046s9.js} +10 -10
  243. package/dist/chunks/{pty-zt03gkt5.js → file-retention-vc4e6k4r.js} +4 -4
  244. package/dist/chunks/{pty-5dyx496h.js → file-retention-vchtbmsk.js} +11 -11
  245. package/dist/chunks/{pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  246. package/dist/chunks/{pty-4xat34hg.js → file-retention-vf1prd4j.js} +19 -19
  247. package/dist/chunks/file-retention-vpz3zhr4.js +26 -0
  248. package/dist/chunks/{pty-9ej2vq3a.js → file-retention-vsecdp8k.js} +46 -46
  249. package/dist/chunks/{pty-2bx55675.js → file-retention-vyjdy1t4.js} +9 -9
  250. package/dist/chunks/{pty-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-4y17mfxp.js → file-retention-w0ay8c0v.js} +16 -16
  252. package/dist/chunks/{pty-vjmzn78y.js → file-retention-w3pg4pjy.js} +6 -6
  253. package/dist/chunks/{pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{pty-xcz499sa.js → file-retention-w8y9a79x.js} +41 -41
  255. package/dist/chunks/{pty-rb2n45pq.js → file-retention-wcxyx4rr.js} +25 -25
  256. package/dist/chunks/{pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
  257. package/dist/chunks/{pty-96apsh6e.js → file-retention-wfqqa7gf.js} +10 -10
  258. package/dist/chunks/{pty-es9gr8ew.js → file-retention-wjx4xhr2.js} +43 -43
  259. package/dist/chunks/{pty-04kq0c7x.js → file-retention-wqnexqmt.js} +11 -11
  260. package/dist/chunks/{pty-yj0qx3n0.js → file-retention-ws2pr6e8.js} +11 -11
  261. package/dist/chunks/{pty-z94pkk3z.js → file-retention-wv3yzfnj.js} +10 -10
  262. package/dist/chunks/{pty-7k4h75n7.js → file-retention-wwc60ycd.js} +3 -3
  263. package/dist/chunks/{pty-rtjhe620.js → file-retention-wy0sms8q.js} +10 -10
  264. package/dist/chunks/{pty-ts2x07a1.js → file-retention-wy8b5sm2.js} +1 -1
  265. package/dist/chunks/{pty-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{pty-ba2esg0k.js → file-retention-x5hkbppd.js} +26 -26
  267. package/dist/chunks/{pty-3hvf1h1m.js → file-retention-x8xkwwsf.js} +36 -36
  268. package/dist/chunks/{pty-fkjmw100.js → file-retention-xfdrc2qg.js} +8 -8
  269. package/dist/chunks/{pty-qpr8cphr.js → file-retention-xm1fs24h.js} +26 -26
  270. package/dist/chunks/{pty-3fnq4smn.js → file-retention-xvy8f8fg.js} +22 -22
  271. package/dist/chunks/{pty-1603qf85.js → file-retention-xxk5ry2v.js} +6 -6
  272. package/dist/chunks/{pty-yktp2w1r.js → file-retention-y180wre1.js} +15 -15
  273. package/dist/chunks/{pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{pty-apwz9w6v.js → file-retention-y49m3jq5.js} +12 -12
  275. package/dist/chunks/{pty-g1x4ag33.js → file-retention-yf52dd19.js} +3 -3
  276. package/dist/chunks/{pty-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{pty-2zc1mzmv.js → file-retention-yzmh6vm3.js} +3 -3
  278. package/dist/chunks/{pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{pty-z3pw5915.js → file-retention-z3pw5915.js} +2 -2
  280. package/dist/chunks/{pty-bsd4kq7r.js → file-retention-z79d5grv.js} +33 -33
  281. package/dist/chunks/{pty-swye7zsf.js → file-retention-zcv4gjfc.js} +15 -15
  282. package/dist/chunks/{pty-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{pty-de14jcft.js → file-retention-zgqrnz3r.js} +16 -16
  284. package/dist/chunks/{pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +81 -81
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +210 -210
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +124 -124
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +122 -122
  306. package/dist/config/plugin/shell.js +122 -122
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +141 -141
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +123 -123
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +121 -121
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +225 -225
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +96 -96
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +86 -86
  427. package/dist/generate.js +102 -102
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +90 -90
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +83 -83
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +86 -86
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +126 -126
  469. package/dist/mcp/oauth.js +77 -77
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +90 -90
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +100 -100
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +77 -77
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +101 -101
  486. package/dist/plugin/command.js +98 -98
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +140 -140
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +227 -227
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +89 -89
  553. package/dist/provider.js +96 -96
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +89 -89
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -76
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +117 -117
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +113 -113
  598. package/dist/session/runner/step.js +124 -124
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +171 -171
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +208 -208
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +154 -154
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +216 -216
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +104 -104
  622. package/dist/skill.js +109 -109
  623. package/dist/snapshot.js +90 -90
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +125 -125
  628. package/dist/tool/plugin/edit.js +119 -119
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +117 -117
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +102 -102
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +112 -112
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +111 -111
  640. package/dist/tool/plugin/websearch.js +111 -111
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +2 -2
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +93 -93
  686. package/package.json +8 -8
  687. package/dist/chunks/pty-45th5jwr.js +0 -18
  688. package/dist/chunks/pty-avkswajw.js +0 -247
  689. package/dist/chunks/pty-e6j17fg9.js +0 -26
  690. package/dist/chunks/pty-gbadjzag.js +0 -4
  691. package/dist/chunks/pty-y9pa59c6.js +0 -478
  692. /package/dist/chunks/{pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{pty-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
  703. /package/dist/chunks/{pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{pty-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{pty-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
  711. /package/dist/chunks/{pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
  713. /package/dist/chunks/{pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
  716. /package/dist/chunks/{pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{pty-922hggd3.js → file-retention-922hggd3.js} +0 -0
  719. /package/dist/chunks/{pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
  735. /package/dist/chunks/{pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{pty-e3qxr5gk.js → file-retention-e3qxr5gk.js} +0 -0
  737. /package/dist/chunks/{pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{pty-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
  749. /package/dist/chunks/{pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
  751. /package/dist/chunks/{pty-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
  753. /package/dist/chunks/{pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{pty-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{pty-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{pty-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{pty-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{pty-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
  782. /package/dist/chunks/{pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{pty-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{pty-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./pty-h55jx3fv.js";
4
+ } from "./file-retention-tfpy23zn.js";
5
5
  import {
6
6
  environment2
7
- } from "./pty-xqrhjvfz.js";
7
+ } from "./file-retention-azpwskpm.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./pty-sk3qaz4a.js";
10
+ } from "./file-retention-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
19
+ NotFoundError: () => NotFoundError7,
20
20
  Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service32,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured5,
25
- layer: () => layer15,
26
- node: () => node35
22
+ Service: () => Service47,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured6,
25
+ layer: () => layer18,
26
+ node: () => node51
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,19 +37,19 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service32 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service47 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* () {
53
53
  const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError7({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service32.of({
242
+ return Service47.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer15 = makeLayer();
259
- var configured5 = (options) => makeGlobalNode({
260
- service: Service32,
261
- layer: options === undefined ? layer15 : makeLayer(options),
258
+ var layer18 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service47,
261
+ layer: options === undefined ? layer18 : makeLayer(options),
262
262
  deps: [node85, Global.node]
263
263
  });
264
- var node35 = configured5();
264
+ var node51 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options5, UnavailableError2, NotFoundError4, Service32, layer15, configured5, node35, exports_persistent_pty, Handoff2 };
304
+ export { Options5, UnavailableError3, NotFoundError7, Service47, layer18, configured6, node51, exports_persistent_pty, Handoff2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service43
3
- } from "./pty-ve6nm2s5.js";
2
+ Service55
3
+ } from "./file-retention-edbfpfck.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-45th5jwr.js";
6
+ } from "./file-retention-rap9a73h.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./pty-ja4wy4ee.js";
9
+ } from "./file-retention-283sq9eb.js";
10
10
  import {
11
- Service49
12
- } from "./pty-3fnq4smn.js";
11
+ Service44
12
+ } from "./file-retention-xvy8f8fg.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./file-retention-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service43;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
25
+ const instances = yield* Service55;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-rxth5jgn.js";
4
+ } from "./file-retention-kd4pdhg0.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./pty-dpkg50ah.js";
7
+ } from "./file-retention-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node69
12
- } from "./pty-1603qf85.js";
11
+ node55
12
+ } from "./file-retention-xxk5ry2v.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./pty-faypxj3z.js";
15
+ } from "./file-retention-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./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: () => ID10,
25
- Info: () => Info13,
24
+ ID: () => ID6,
25
+ Info: () => Info9,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service65,
27
+ Service: () => Service50,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node68
29
+ configured: () => configured8,
30
+ node: () => node54
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 ID10 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info13 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info9 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info13 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service65 extends Context.Service()("@opencode/Workspace") {
59
+ class Service50 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service65,
61
+ var configured8 = (options = {}) => makeGlobalNode({
62
+ service: Service50,
63
63
  layer: layer(options),
64
- deps: [node86, node69]
64
+ deps: [node86, node55]
65
65
  });
66
- var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
67
67
  const db = (yield* Service82).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service65, 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 Info13({
83
+ const info = (row, binding) => new Info9({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service65, 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 Service65.of({
157
+ return Service50.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID6.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(Service65, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node68 = configured9();
224
+ var node54 = configured8();
225
225
 
226
- export { ID10, Info13, NotFound3, CreateConflict2, Service65, configured9, node68, exports_workspace };
226
+ export { ID6, Info9, NotFound3, CreateConflict2, Service50, configured8, node54, exports_workspace };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./pty-db54agdm.js";
5
+ Service78,
6
+ node82
7
+ } from "./file-retention-2angj6gv.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./pty-6h73sxmp.js";
13
+ } from "./file-retention-2402vzrj.js";
14
14
  import {
15
- Service79,
16
- node83
17
- } from "./pty-z94pkk3z.js";
15
+ Service72,
16
+ node76
17
+ } from "./file-retention-wv3yzfnj.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./file-retention-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service78,
33
+ Service: () => Service67,
34
34
  isError: () => isError2,
35
- node: () => node82,
35
+ node: () => node71,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service78 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service67 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service78, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service78;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service79;
110
- return Service78.of({
109
+ const kv = yield* Service72;
110
+ return Service67.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node82 = makeGlobalNode({
171
- service: Service78,
170
+ var node71 = makeGlobalNode({
171
+ service: Service67,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node83]
173
+ deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node76]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service78, isError2, validateBranch2, node82, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service67, isError2, validateBranch2, node71, exports_repository_cache };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./pty-de14jcft.js";
2
+ Service76,
3
+ node80
4
+ } from "./file-retention-zgqrnz3r.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./file-retention-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service17,
17
- node: () => node19
16
+ Service: () => Service20,
17
+ node: () => node22
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service17 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service20 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service17, Effect.gen(function* () {
27
- const location = yield* Service75;
26
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
27
+ const location = yield* Service76;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service17.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service20.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node19 = makeLocationNode({
91
- service: Service17,
90
+ var node22 = makeLocationNode({
91
+ service: Service20,
92
92
  layer,
93
- deps: [node79, AppProcess.node]
93
+ deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service17, node19, exports_formatter2 };
96
+ export { Service20, node22, exports_formatter2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./pty-3v8g72cx.js";
3
+ } from "./file-retention-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp2 = {};
10
10
  __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
12
  WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render3
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render3(system_default, tools);
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./pty-6msgmcgs.js";
4
+ } from "./file-retention-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./pty-qfa1cgps.js";
7
+ } from "./file-retention-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./pty-dj2t23y0.js";
10
+ } from "./file-retention-dj2t23y0.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-rxth5jgn.js";
4
+ } from "./file-retention-kd4pdhg0.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./pty-rhjbct0v.js";
10
+ } from "./file-retention-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./pty-5c4hm403.js";
13
+ } from "./file-retention-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service30,
25
+ Service: () => Service29,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service30 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service29 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service30, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
79
79
  const { db } = yield* Service82;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service30.of({ list, put, remove, load });
111
+ return Service29.of({ list, put, remove, load });
112
112
  }));
113
- var node33 = makeLocationNode({ service: Service30, layer, deps: [node86] });
113
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node33, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };