@opencode/core 0.0.0-dev-19642 → 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 (785) 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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-f4tgg2kc.js → file-retention-030jzqrs.js} +1 -1
  8. package/dist/chunks/{location-ga80df03.js → file-retention-0dfw7kj5.js} +11 -11
  9. package/dist/chunks/{location-6y0140gn.js → file-retention-0e0st8s7.js} +18 -18
  10. package/dist/chunks/{location-jhhychjc.js → file-retention-0e6bfx7v.js} +10 -10
  11. package/dist/chunks/{location-ce87bwtv.js → file-retention-0h3rvf5y.js} +30 -30
  12. package/dist/chunks/{location-a2jjt3bn.js → file-retention-0n2dkqex.js} +28 -28
  13. package/dist/chunks/{location-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-1medja8d.js → file-retention-0q8z25ax.js} +13 -13
  16. package/dist/chunks/{location-02khppbe.js → file-retention-0tmgye68.js} +9 -9
  17. package/dist/chunks/{location-yty395xw.js → file-retention-15bxggqa.js} +9 -9
  18. package/dist/chunks/{location-77cx0ag9.js → file-retention-1ct3e436.js} +6 -6
  19. package/dist/chunks/{location-2rqy6js5.js → file-retention-1ctxmpem.js} +17 -17
  20. package/dist/chunks/{location-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-pe0jfpdy.js → file-retention-1hcx3hx9.js} +11 -11
  22. package/dist/chunks/{location-zmy1vr96.js → file-retention-1kzs76d5.js} +30 -30
  23. package/dist/chunks/{location-1nzs1dt7.js → file-retention-1tq060df.js} +6 -6
  24. package/dist/chunks/{location-21r38tys.js → file-retention-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
  26. package/dist/chunks/{location-zx93qmfr.js → file-retention-25dtj6av.js} +34 -34
  27. package/dist/chunks/{location-wgsyq2g2.js → file-retention-283sq9eb.js} +6 -6
  28. package/dist/chunks/{location-29x78va6.js → file-retention-29x78va6.js} +2 -2
  29. package/dist/chunks/{location-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{location-4y72ap3v.js → file-retention-2angj6gv.js} +12 -12
  31. package/dist/chunks/{location-bzszcmd6.js → file-retention-2cc64ex3.js} +9 -9
  32. package/dist/chunks/{location-t9rs90mq.js → file-retention-2cdjst23.js} +11 -11
  33. package/dist/chunks/{location-c9qmmsf5.js → file-retention-2wgckns4.js} +5 -5
  34. package/dist/chunks/{location-xk7exet4.js → file-retention-2xm6y6tp.js} +5 -5
  35. package/dist/chunks/{location-f66j0bjc.js → file-retention-320y3j5b.js} +6 -6
  36. package/dist/chunks/{location-zzvq861e.js → file-retention-32cd2pct.js} +9 -9
  37. package/dist/chunks/{location-y70yena6.js → file-retention-38pjs6q7.js} +46 -46
  38. package/dist/chunks/{location-w1p3n6tm.js → file-retention-39qagpsx.js} +3 -3
  39. package/dist/chunks/{location-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{location-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{location-h5wzna0j.js → file-retention-3hj581hw.js} +9 -9
  42. package/dist/chunks/{location-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-r7mqfzj6.js → file-retention-44d511wt.js} +22 -22
  45. package/dist/chunks/{location-ke0dmmcw.js → file-retention-47kcz5j6.js} +9 -9
  46. package/dist/chunks/{location-13r97ts9.js → file-retention-4cwyw9nt.js} +26 -26
  47. package/dist/chunks/{location-sf4dfcqt.js → file-retention-4gde0705.js} +23 -23
  48. package/dist/chunks/{location-kgvs6344.js → file-retention-52tjq29f.js} +15 -15
  49. package/dist/chunks/{location-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
  50. package/dist/chunks/{location-57b9ws8p.js → file-retention-57b9ws8p.js} +1 -1
  51. package/dist/chunks/{location-a1bz86dw.js → file-retention-5c4hm403.js} +3 -3
  52. package/dist/chunks/{location-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  53. package/dist/chunks/{location-f5avtzec.js → file-retention-5njbeffs.js} +6 -6
  54. package/dist/chunks/{location-wfwy58wd.js → file-retention-5pny8g6e.js} +24 -24
  55. package/dist/chunks/{location-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{location-6mr3pvkp.js → file-retention-63e4nz8m.js} +15 -15
  57. package/dist/chunks/{location-bccb6npm.js → file-retention-64kphnzf.js} +4 -4
  58. package/dist/chunks/{location-669tq793.js → file-retention-669tq793.js} +1 -1
  59. package/dist/chunks/{location-8k62qdcz.js → file-retention-66cwwmwe.js} +20 -20
  60. package/dist/chunks/{location-50hhjvx3.js → file-retention-675gk2e9.js} +4 -4
  61. package/dist/chunks/file-retention-6ekjhmbd.js +247 -0
  62. package/dist/chunks/{location-0h4w7d7c.js → file-retention-6haqad0x.js} +11 -11
  63. package/dist/chunks/{location-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{location-t89gs4p7.js → file-retention-6ppm5kn9.js} +2 -2
  65. package/dist/chunks/{location-kjg745n7.js → file-retention-6rx60a99.js} +6 -6
  66. package/dist/chunks/{location-an394p75.js → file-retention-6wys8vmt.js} +44 -44
  67. package/dist/chunks/{location-57ez7d0k.js → file-retention-6x0h2hvg.js} +9 -9
  68. package/dist/chunks/{location-ybr7evyj.js → file-retention-6x3t56ym.js} +17 -17
  69. package/dist/chunks/{location-r5x6zcsm.js → file-retention-73tb2d7t.js} +3 -3
  70. package/dist/chunks/{location-96b9akrn.js → file-retention-76x0exek.js} +7 -7
  71. package/dist/chunks/{location-tsr2crch.js → file-retention-776x8tr7.js} +11 -11
  72. package/dist/chunks/{location-v1mb79rm.js → file-retention-78d0vfx8.js} +15 -15
  73. package/dist/chunks/{location-bajakh74.js → file-retention-7ac170kv.js} +4 -4
  74. package/dist/chunks/{location-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{location-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{location-b4frb2y3.js → file-retention-7et47hrm.js} +13 -13
  77. package/dist/chunks/{location-6ezq3ad5.js → file-retention-80z3br0b.js} +22 -22
  78. package/dist/chunks/{location-5n6xmq0y.js → file-retention-82zd9er4.js} +5 -5
  79. package/dist/chunks/file-retention-86f8k4a1.js +478 -0
  80. package/dist/chunks/{location-zvp4yy8h.js → file-retention-8bjpbq0k.js} +14 -14
  81. package/dist/chunks/{location-gaq06wk0.js → file-retention-8brgam58.js} +6 -6
  82. package/dist/chunks/{location-yjb6xngg.js → file-retention-8csq5jz1.js} +19 -19
  83. package/dist/chunks/{location-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{location-k0hm0ppj.js → file-retention-8htta391.js} +8 -8
  85. package/dist/chunks/{location-563gk52j.js → file-retention-9f77mvx3.js} +12 -12
  86. package/dist/chunks/{location-t4bxqr6c.js → file-retention-9jhw3ahb.js} +8 -8
  87. package/dist/chunks/{location-ptvmhbww.js → file-retention-9k6ah3ay.js} +37 -37
  88. package/dist/chunks/{location-j27ga05e.js → file-retention-9sbphxp7.js} +17 -17
  89. package/dist/chunks/{location-qa3qhgw8.js → file-retention-a2ew8a62.js} +4 -4
  90. package/dist/chunks/{location-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  91. package/dist/chunks/{location-f6y5ddnz.js → file-retention-abvna2sd.js} +11 -11
  92. package/dist/chunks/{location-hxr4ws4r.js → file-retention-am60j996.js} +8 -8
  93. package/dist/chunks/{location-d61der1w.js → file-retention-avg07sbv.js} +25 -25
  94. package/dist/chunks/{location-w27pm9me.js → file-retention-azpwskpm.js} +20 -20
  95. package/dist/chunks/{location-q8qvj88j.js → file-retention-b3d6gjgc.js} +52 -52
  96. package/dist/chunks/{location-dc2d58h7.js → file-retention-b3qge5m1.js} +25 -25
  97. package/dist/chunks/{location-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{location-84xgtnpg.js → file-retention-baspsnr0.js} +17 -17
  99. package/dist/chunks/{location-b8hzf7nw.js → file-retention-bb8wzrbb.js} +5 -5
  100. package/dist/chunks/{location-b80qvjyn.js → file-retention-bc5qqj72.js} +24 -24
  101. package/dist/chunks/{location-3qchzd5j.js → file-retention-bdyxy7dh.js} +10 -10
  102. package/dist/chunks/{location-an7cqtb7.js → file-retention-bf0ztrs3.js} +4 -4
  103. package/dist/chunks/{location-7a9xqb56.js → file-retention-bzb98473.js} +32 -32
  104. package/dist/chunks/{location-t0gchcch.js → file-retention-c1180j6r.js} +20 -20
  105. package/dist/chunks/{location-ez1qr559.js → file-retention-c917e1ye.js} +3 -3
  106. package/dist/chunks/{location-20m6xvm3.js → file-retention-c9ztkm9f.js} +7 -7
  107. package/dist/chunks/{location-dw6r0y9k.js → file-retention-cfejgvt1.js} +19 -19
  108. package/dist/chunks/{location-37ea9c2d.js → file-retention-cfv81dax.js} +8 -8
  109. package/dist/chunks/{location-2sm5km0b.js → file-retention-ched4952.js} +10 -10
  110. package/dist/chunks/{location-1ajx6rf5.js → file-retention-cmwkp3r5.js} +8 -8
  111. package/dist/chunks/{location-w0ejc12g.js → file-retention-cnfba84y.js} +18 -18
  112. package/dist/chunks/{location-cwa6csj7.js → file-retention-cwa6csj7.js} +2 -2
  113. package/dist/chunks/{location-r8apmgv6.js → file-retention-cwazgnkr.js} +8 -8
  114. package/dist/chunks/{location-avc8n21j.js → file-retention-d3dn9r6m.js} +9 -9
  115. package/dist/chunks/{location-et96cwk7.js → file-retention-d66a0nr4.js} +171 -171
  116. package/dist/chunks/{location-xa0zhpnz.js → file-retention-dbjfv9j1.js} +26 -26
  117. package/dist/chunks/{location-bk6zst5d.js → file-retention-dgfnmtzr.js} +21 -21
  118. package/dist/chunks/{location-1qxzdp14.js → file-retention-dgprnyba.js} +36 -36
  119. package/dist/chunks/{location-8p4f9s12.js → file-retention-dj2t23y0.js} +2 -2
  120. package/dist/chunks/{location-2rphr397.js → file-retention-dj6gbf46.js} +11 -11
  121. package/dist/chunks/{location-hvab6fp8.js → file-retention-dk1ddre8.js} +27 -27
  122. package/dist/chunks/{location-s9swp5qq.js → file-retention-dn8nwevp.js} +17 -17
  123. package/dist/chunks/{location-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{location-bxf8tdej.js → file-retention-dt5xmw4k.js} +4 -4
  125. package/dist/chunks/{location-gfpndgpb.js → file-retention-dwda6jd0.js} +35 -35
  126. package/dist/chunks/{location-pyn48w4n.js → file-retention-e1j9zn8x.js} +17 -17
  127. package/dist/chunks/{location-e5nv3ght.js → file-retention-e5nv3ght.js} +2 -2
  128. package/dist/chunks/{location-nca7p386.js → file-retention-e6d6pdps.js} +4 -4
  129. package/dist/chunks/{location-jva4mgym.js → file-retention-ec8389mk.js} +4 -4
  130. package/dist/chunks/{location-sxzvkvgj.js → file-retention-edbfpfck.js} +6 -6
  131. package/dist/chunks/{location-pd1sw0zy.js → file-retention-eew5sq93.js} +25 -25
  132. package/dist/chunks/{location-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{location-y6y1fb4b.js → file-retention-efpr09yf.js} +20 -20
  134. package/dist/chunks/{location-wtyrbjce.js → file-retention-espmqh47.js} +5 -5
  135. package/dist/chunks/{location-3apyeffz.js → file-retention-esqa9h64.js} +18 -18
  136. package/dist/chunks/{location-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{location-j1wra8w6.js → file-retention-eyn7p3z3.js} +9 -9
  138. package/dist/chunks/{location-12wed8mm.js → file-retention-f0n97kr3.js} +11 -11
  139. package/dist/chunks/{location-4vzfa14d.js → file-retention-f11whwgg.js} +17 -17
  140. package/dist/chunks/{location-9m52ezb2.js → file-retention-f7tymrhk.js} +47 -47
  141. package/dist/chunks/{location-qv6dpkjj.js → file-retention-f97c0hvw.js} +4 -4
  142. package/dist/chunks/{location-f561ery6.js → file-retention-fa2c6m02.js} +9 -9
  143. package/dist/chunks/{location-wnen7h7y.js → file-retention-fphthhwy.js} +41 -41
  144. package/dist/chunks/{location-mx09shfg.js → file-retention-fvezrss0.js} +12 -12
  145. package/dist/chunks/{location-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-06jkk7ah.js → file-retention-fzsywmjq.js} +4 -4
  147. package/dist/chunks/{location-98agyze9.js → file-retention-g515c63b.js} +30 -30
  148. package/dist/chunks/{location-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-9r7xpw87.js → file-retention-grb17zcw.js} +76 -76
  150. package/dist/chunks/{location-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{location-rzkgkfj2.js → file-retention-gxh64nqm.js} +8 -8
  152. package/dist/chunks/{location-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{location-ebe9bak5.js → file-retention-h6r3nrb9.js} +4 -4
  154. package/dist/chunks/{location-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{location-5dx64r44.js → file-retention-h74ge2a2.js} +8 -8
  156. package/dist/chunks/{location-94etgqzd.js → file-retention-hb7wfmtw.js} +8 -8
  157. package/dist/chunks/{location-f828m53h.js → file-retention-hdnk95c8.js} +2 -2
  158. package/dist/chunks/{location-6d9c79xp.js → file-retention-hekbvwg7.js} +38 -38
  159. package/dist/chunks/{location-tgks2w6d.js → file-retention-hr2j7280.js} +10 -10
  160. package/dist/chunks/{location-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  161. package/dist/chunks/{location-8710dda9.js → file-retention-j91djj78.js} +16 -16
  162. package/dist/chunks/{location-y3smxrvk.js → file-retention-jwztks0a.js} +17 -17
  163. package/dist/chunks/{location-pvrjs4yz.js → file-retention-k2fzxap7.js} +11 -11
  164. package/dist/chunks/{location-9mek4kv0.js → file-retention-k59erz6z.js} +24 -24
  165. package/dist/chunks/{location-rgtq0qy6.js → file-retention-k69na4ps.js} +22 -22
  166. package/dist/chunks/{location-ngy3nxrq.js → file-retention-kchqah57.js} +12 -12
  167. package/dist/chunks/{location-j0rfc03s.js → file-retention-kd4pdhg0.js} +3 -3
  168. package/dist/chunks/{location-ntaf7prd.js → file-retention-kenaddax.js} +18 -18
  169. package/dist/chunks/{location-7x2gvtfy.js → file-retention-kerhshr9.js} +5 -5
  170. package/dist/chunks/{location-2pnhn36q.js → file-retention-kk00bynn.js} +4 -4
  171. package/dist/chunks/{location-6sbe3e33.js → file-retention-krbv9b1e.js} +15 -15
  172. package/dist/chunks/{location-6e1xyr9h.js → file-retention-kvw3pn7b.js} +22 -22
  173. package/dist/chunks/{location-cfpkc3c9.js → file-retention-m0jqrx5p.js} +2 -2
  174. package/dist/chunks/{location-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-23e0sdpc.js → file-retention-mdp4tsk4.js} +3 -3
  176. package/dist/chunks/{location-5xjbzt31.js → file-retention-mg0hvqns.js} +22 -22
  177. package/dist/chunks/{location-3f9dyp3c.js → file-retention-mhfmqj3q.js} +11 -11
  178. package/dist/chunks/{location-mtft99cd.js → file-retention-mtft99cd.js} +2 -2
  179. package/dist/chunks/{location-ednp5hmx.js → file-retention-mw934p8z.js} +8 -8
  180. package/dist/chunks/{location-4wjrfpfr.js → file-retention-mytrx3qe.js} +23 -23
  181. package/dist/chunks/{location-a3ftg8j6.js → file-retention-n37c4crj.js} +9 -9
  182. package/dist/chunks/{location-k42bcvs9.js → file-retention-n7a1v19n.js} +25 -25
  183. package/dist/chunks/{location-nb3h35dd.js → file-retention-nefkn79j.js} +16 -16
  184. package/dist/chunks/{location-bm4d4wv8.js → file-retention-njct7pyc.js} +36 -36
  185. package/dist/chunks/{location-fjs5xx1d.js → file-retention-nvxqht09.js} +3 -3
  186. package/dist/chunks/{location-nq6ygtzk.js → file-retention-p17m87ch.js} +24 -24
  187. package/dist/chunks/{location-s988tmsk.js → file-retention-p4gp63td.js} +25 -25
  188. package/dist/chunks/{location-xv1g2w1w.js → file-retention-p9nbetk4.js} +39 -39
  189. package/dist/chunks/{location-wckfp198.js → file-retention-pay99sa2.js} +26 -26
  190. package/dist/chunks/{location-5zn0h1ac.js → file-retention-pdyjjwcd.js} +5 -5
  191. package/dist/chunks/{location-sg5fy40w.js → file-retention-pgstsa3r.js} +32 -32
  192. package/dist/chunks/{location-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{location-pknna89w.js → file-retention-pknna89w.js} +1 -1
  194. package/dist/chunks/{location-7r7r939x.js → file-retention-pr5bwn0j.js} +2 -2
  195. package/dist/chunks/{location-s6b4aker.js → file-retention-pwg06x6c.js} +7 -7
  196. package/dist/chunks/{location-q5gbzsgk.js → file-retention-q03excpa.js} +8 -8
  197. package/dist/chunks/{location-qq1336c3.js → file-retention-q0hqxkgm.js} +5 -5
  198. package/dist/chunks/{location-9kgqg1se.js → file-retention-q0qep26h.js} +5 -5
  199. package/dist/chunks/{location-5x5d8tg1.js → file-retention-q564kvp8.js} +31 -31
  200. package/dist/chunks/{location-0jv1ejcq.js → file-retention-q8h7q9dm.js} +32 -32
  201. package/dist/chunks/{location-ch13e4p5.js → file-retention-q9jzzx65.js} +90 -90
  202. package/dist/chunks/{location-q7tjfjkg.js → file-retention-qcssbjdb.js} +21 -21
  203. package/dist/chunks/{location-ywkfy99j.js → file-retention-qg0jgkcp.js} +9 -9
  204. package/dist/chunks/{location-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  205. package/dist/chunks/{location-vkjtt5mp.js → file-retention-qsr32hwm.js} +12 -12
  206. package/dist/chunks/{location-510m7gjw.js → file-retention-qte5z7bc.js} +5 -5
  207. package/dist/chunks/{location-aqbbe05p.js → file-retention-r1eewcm5.js} +6 -6
  208. package/dist/chunks/{location-sx9refc1.js → file-retention-r4d7c6cg.js} +4 -4
  209. package/dist/chunks/{location-pzs0ev6d.js → file-retention-r4wafeyv.js} +12 -12
  210. package/dist/chunks/{location-j3qk5xq3.js → file-retention-r5ck68vt.js} +9 -9
  211. package/dist/chunks/{location-5kgdvgf5.js → file-retention-r70effxe.js} +15 -15
  212. package/dist/chunks/{location-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
  213. package/dist/chunks/{location-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
  214. package/dist/chunks/{location-rap9a73h.js → file-retention-rap9a73h.js} +1 -1
  215. package/dist/chunks/{location-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{location-06x8he3q.js → file-retention-rpg9c19m.js} +4 -4
  217. package/dist/chunks/{location-kw8thyfa.js → file-retention-rs1yzs7v.js} +54 -54
  218. package/dist/chunks/{location-gdfwdqg1.js → file-retention-s1g5cvt5.js} +20 -20
  219. package/dist/chunks/{location-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
  220. package/dist/chunks/{location-t550f9t1.js → file-retention-s8d7rejh.js} +4 -4
  221. package/dist/chunks/{location-51eea56x.js → file-retention-s8s13gpy.js} +11 -11
  222. package/dist/chunks/{location-xsvdyt0s.js → file-retention-se8z0pj2.js} +13 -13
  223. package/dist/chunks/{location-2hr5nhwa.js → file-retention-sm965ndy.js} +8 -8
  224. package/dist/chunks/{location-9s1y3sqz.js → file-retention-spmz9ee0.js} +42 -42
  225. package/dist/chunks/{location-0560ktsj.js → file-retention-sq7pnv40.js} +13 -13
  226. package/dist/chunks/{location-cfqzvftk.js → file-retention-sr8h7cpq.js} +32 -32
  227. package/dist/chunks/{location-e5b7myd9.js → file-retention-t09drp0q.js} +4 -4
  228. package/dist/chunks/{location-vacs20e4.js → file-retention-t8tp1xd4.js} +19 -19
  229. package/dist/chunks/{location-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{location-m0y35jh4.js → file-retention-tbnbgk70.js} +15 -15
  231. package/dist/chunks/{location-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{location-16jp76s9.js → file-retention-tdme3qvq.js} +4 -4
  233. package/dist/chunks/{location-tdstcens.js → file-retention-tdstcens.js} +1 -1
  234. package/dist/chunks/{location-mtj0w11y.js → file-retention-tfpy23zn.js} +4 -4
  235. package/dist/chunks/{location-jhq2w8nd.js → file-retention-tq30t05y.js} +16 -16
  236. package/dist/chunks/{location-r8ste1ck.js → file-retention-tqkrwgse.js} +2 -2
  237. package/dist/chunks/{location-yvmcjsry.js → file-retention-trpk0pwm.js} +1 -1
  238. package/dist/chunks/{location-m5970q9f.js → file-retention-ts7n5m5a.js} +7 -7
  239. package/dist/chunks/{location-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  240. package/dist/chunks/{location-hxm7e6ac.js → file-retention-ty00y7c1.js} +13 -13
  241. package/dist/chunks/{location-ymez039j.js → file-retention-v8q046s9.js} +10 -10
  242. package/dist/chunks/{location-vc4e6k4r.js → file-retention-vc4e6k4r.js} +1 -1
  243. package/dist/chunks/{location-vanjjjrm.js → file-retention-vchtbmsk.js} +8 -8
  244. package/dist/chunks/{location-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  245. package/dist/chunks/{location-apya2hza.js → file-retention-vf1prd4j.js} +19 -19
  246. package/dist/chunks/file-retention-vpz3zhr4.js +26 -0
  247. package/dist/chunks/{location-yqm0cks0.js → file-retention-vsecdp8k.js} +46 -46
  248. package/dist/chunks/{location-1v2ecy8h.js → file-retention-vyjdy1t4.js} +11 -11
  249. package/dist/chunks/{location-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{location-z5r1kv61.js → file-retention-w0ay8c0v.js} +16 -16
  251. package/dist/chunks/{location-4mjrf905.js → file-retention-w3pg4pjy.js} +6 -6
  252. package/dist/chunks/{location-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-k5jjywx3.js → file-retention-w8y9a79x.js} +41 -41
  254. package/dist/chunks/{location-gwhebp1x.js → file-retention-wcxyx4rr.js} +23 -23
  255. package/dist/chunks/{location-wd87259q.js → file-retention-wd87259q.js} +1 -1
  256. package/dist/chunks/{location-njekgcg0.js → file-retention-wfqqa7gf.js} +23 -23
  257. package/dist/chunks/{location-3w83s82x.js → file-retention-wjx4xhr2.js} +43 -43
  258. package/dist/chunks/{location-5trsz9mg.js → file-retention-wqnexqmt.js} +11 -11
  259. package/dist/chunks/{location-2czyrpcs.js → file-retention-ws2pr6e8.js} +15 -15
  260. package/dist/chunks/{location-wbakrcvj.js → file-retention-wv3yzfnj.js} +10 -10
  261. package/dist/chunks/{location-7hqq4yr5.js → file-retention-wwc60ycd.js} +5 -5
  262. package/dist/chunks/{location-7zebv8z5.js → file-retention-wy0sms8q.js} +13 -13
  263. package/dist/chunks/{location-ryt7pzqc.js → file-retention-wy8b5sm2.js} +1 -1
  264. package/dist/chunks/{location-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{location-43yrs188.js → file-retention-x5hkbppd.js} +32 -32
  266. package/dist/chunks/{location-sz52d1qk.js → file-retention-x8xkwwsf.js} +37 -37
  267. package/dist/chunks/{location-3tq5qxbk.js → file-retention-xfdrc2qg.js} +6 -6
  268. package/dist/chunks/{location-qc88351s.js → file-retention-xm1fs24h.js} +23 -23
  269. package/dist/chunks/{location-aet9ygne.js → file-retention-xvy8f8fg.js} +18 -18
  270. package/dist/chunks/{location-87deq66t.js → file-retention-xxk5ry2v.js} +6 -6
  271. package/dist/chunks/{location-5cxtm7bs.js → file-retention-y180wre1.js} +15 -15
  272. package/dist/chunks/{location-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-xj4s9w93.js → file-retention-y49m3jq5.js} +12 -12
  274. package/dist/chunks/{location-2kdpwj1f.js → file-retention-yf52dd19.js} +6 -6
  275. package/dist/chunks/{location-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-evrvk863.js → file-retention-yzmh6vm3.js} +3 -3
  277. package/dist/chunks/{location-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-3w2b2yj4.js → file-retention-z3pw5915.js} +5 -5
  279. package/dist/chunks/{location-bnfttzv1.js → file-retention-z79d5grv.js} +33 -33
  280. package/dist/chunks/{location-2faw5ef7.js → file-retention-zcv4gjfc.js} +17 -17
  281. package/dist/chunks/{location-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{location-ataz063g.js → file-retention-zgqrnz3r.js} +16 -16
  283. package/dist/chunks/{location-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +122 -122
  293. package/dist/config/plugin/command.js +210 -210
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +129 -129
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +141 -141
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +364 -364
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +102 -102
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +90 -90
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +97 -97
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +90 -90
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +77 -77
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +85 -85
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +101 -101
  485. package/dist/plugin/command.js +98 -98
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +95 -95
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +101 -101
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  498. package/dist/plugin/provider/azure.js +121 -121
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +118 -118
  504. package/dist/plugin/provider/digitalocean.js +92 -92
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +92 -92
  509. package/dist/plugin/provider/gitlab.js +90 -90
  510. package/dist/plugin/provider/google-vertex.js +89 -89
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +76 -76
  513. package/dist/plugin/provider/lmstudio.js +121 -121
  514. package/dist/plugin/provider/modal.js +91 -91
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +121 -121
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +92 -92
  519. package/dist/plugin/provider/openrouter.js +90 -90
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +77 -77
  522. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  523. package/dist/plugin/provider/sap-ai-core.js +90 -90
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +89 -89
  528. package/dist/plugin/provider/vllm.js +119 -119
  529. package/dist/plugin/provider/xai.js +90 -90
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +158 -158
  532. package/dist/plugin/sdk.js +69 -69
  533. package/dist/plugin/service.js +1 -1
  534. package/dist/plugin/skill.js +138 -138
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +85 -85
  539. package/dist/plugin/vcs/hg.js +85 -85
  540. package/dist/plugin/warming.js +120 -120
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +2 -2
  545. package/dist/plugin/websearch/parallel.js +6 -6
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +221 -221
  549. package/dist/project/schema.js +8 -8
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +89 -89
  552. package/dist/provider.js +98 -98
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +86 -86
  558. package/dist/reference.js +88 -88
  559. package/dist/repository-cache.js +80 -80
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +96 -96
  563. package/dist/rpc.js +85 -85
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +130 -130
  567. package/dist/session/context.js +148 -148
  568. package/dist/session/diff.js +87 -87
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -219
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +151 -151
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +89 -89
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +72 -72
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +96 -96
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +117 -117
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +104 -104
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +89 -89
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +97 -97
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +113 -113
  597. package/dist/session/runner/step.js +122 -122
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +137 -137
  602. package/dist/session/skill.js +102 -102
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +148 -148
  610. package/dist/session/to-session-error.js +110 -110
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +218 -218
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +13 -13
  618. package/dist/shell.js +139 -139
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +106 -106
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +90 -90
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +123 -123
  627. package/dist/tool/plugin/edit.js +119 -119
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +1 -1
  632. package/dist/tool/plugin/patch.js +121 -121
  633. package/dist/tool/plugin/question.js +102 -102
  634. package/dist/tool/plugin/read.js +124 -124
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +110 -110
  637. package/dist/tool/plugin/subagent.js +217 -217
  638. package/dist/tool/plugin/webfetch.js +107 -107
  639. package/dist/tool/plugin/websearch.js +109 -109
  640. package/dist/tool/plugin/write.js +121 -121
  641. package/dist/tool/read-filesystem.js +99 -99
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/git-executable.js +2 -2
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +2 -2
  663. package/dist/v1/config/migrate.js +91 -91
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/variant.js +92 -92
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +88 -88
  674. package/dist/websearch.js +83 -83
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +80 -80
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +79 -79
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +88 -88
  684. package/dist/worktree.js +93 -93
  685. package/package.json +8 -8
  686. package/dist/chunks/location-70h1mw8z.js +0 -478
  687. package/dist/chunks/location-8pz1rfxz.js +0 -26
  688. package/dist/chunks/location-jbw61t34.js +0 -247
  689. /package/dist/chunks/{location-0mesazry.js → file-retention-0mesazry.js} +0 -0
  690. /package/dist/chunks/{location-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{location-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{location-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{location-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{location-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{location-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{location-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{location-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{location-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{location-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{location-3asan66x.js → file-retention-3asan66x.js} +0 -0
  701. /package/dist/chunks/{location-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{location-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{location-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{location-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{location-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{location-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{location-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{location-53557ph1.js → file-retention-53557ph1.js} +0 -0
  709. /package/dist/chunks/{location-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{location-6prwharc.js → file-retention-6prwharc.js} +0 -0
  711. /package/dist/chunks/{location-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{location-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{location-822emrt2.js → file-retention-822emrt2.js} +0 -0
  714. /package/dist/chunks/{location-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-922hggd3.js → file-retention-922hggd3.js} +0 -0
  717. /package/dist/chunks/{location-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{location-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{location-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{location-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{location-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{location-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{location-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{location-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{location-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{location-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{location-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{location-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{location-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{location-df08tz66.js → file-retention-df08tz66.js} +0 -0
  733. /package/dist/chunks/{location-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{location-e3qxr5gk.js → file-retention-e3qxr5gk.js} +0 -0
  735. /package/dist/chunks/{location-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-g86h250q.js → file-retention-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-gftt206x.js → file-retention-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{location-hk9envan.js → file-retention-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{location-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{location-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{location-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{location-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{location-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{location-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{location-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{location-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{location-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{location-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{location-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{location-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{location-x61499pn.js → file-retention-x61499pn.js} +0 -0
  780. /package/dist/chunks/{location-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{location-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{location-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{location-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{location-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{location-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./location-ebe9bak5.js";
3
+ } from "./file-retention-h6r3nrb9.js";
4
4
  import {
5
5
  Service81
6
- } from "./location-mtj0w11y.js";
6
+ } from "./file-retention-tfpy23zn.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./location-a2jjt3bn.js";
9
+ Event20
10
+ } from "./file-retention-0n2dkqex.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./location-s988tmsk.js";
14
+ } from "./file-retention-p4gp63td.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service63
20
- } from "./location-98agyze9.js";
19
+ Service74
20
+ } from "./file-retention-g515c63b.js";
21
21
  import {
22
- ID11
23
- } from "./location-cfqzvftk.js";
22
+ ID12
23
+ } from "./file-retention-sr8h7cpq.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./location-1v2ecy8h.js";
27
+ } from "./file-retention-vyjdy1t4.js";
28
28
  import {
29
29
  useragent2
30
- } from "./location-pvrjs4yz.js";
30
+ } from "./file-retention-k2fzxap7.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID13.make("github-copilot"),
62
+ integrationID: ID14.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service63;
160
+ const providers = yield* Service74;
161
161
  const bus = yield* Service81;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID12.githubCopilot);
176
+ const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID12.githubCopilot);
197
+ const item = evt.get(ID13.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
218
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID12.githubCopilot)
227
+ if (evt.model.providerID !== ID13.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID12.githubCopilot)
236
+ if (evt.model.providerID !== ID13.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID12.githubCopilot });
246
+ }), { providerID: ID13.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID12.githubCopilot)
248
+ if (evt.model.providerID !== ID13.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID12.githubCopilot });
256
+ }), { providerID: ID13.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID12.githubCopilot)
258
+ if (evt.model.providerID !== ID13.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-mtj0w11y.js";
4
+ } from "./file-retention-tfpy23zn.js";
5
5
  import {
6
6
  create3
7
- } from "./location-rdw6cm16.js";
7
+ } from "./file-retention-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event7,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service37,
21
- layer: () => layer17,
22
- node: () => node40
18
+ Info: () => Info7,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service42,
21
+ layer: () => layer16,
22
+ node: () => node45
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event7 } from "@opencode/schema/command";
28
+ var Info7 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service37 extends Context.Service()("@opencode/Command") {
42
+ class Service42 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service37, Effect.gen(function* () {
44
+ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
45
45
  const bus = yield* Service81;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info7.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service37.of({
58
+ return Service42.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node40 = makeLocationNode({
75
- service: Service37,
76
- layer: layer17,
74
+ var node45 = makeLocationNode({
75
+ service: Service42,
76
+ layer: layer16,
77
77
  deps: [node85]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError5, ExecutionError2, Service37, layer17, node40, exports_command4, Event8 };
89
+ export { Info7, NotFoundError6, ExecutionError2, Service42, layer16, node45, exports_command4, Event7 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node84
7
- } from "./location-4y72ap3v.js";
6
+ node82
7
+ } from "./file-retention-2angj6gv.js";
8
8
  import {
9
9
  Slug2
10
- } from "./location-gebd4c9n.js";
10
+ } from "./file-retention-gebd4c9n.js";
11
11
  import {
12
12
  Service82,
13
13
  node86
14
- } from "./location-j0rfc03s.js";
14
+ } from "./file-retention-kd4pdhg0.js";
15
15
  import {
16
16
  Service81,
17
17
  node85
18
- } from "./location-mtj0w11y.js";
18
+ } from "./file-retention-tfpy23zn.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./location-8p4f9s12.js";
21
+ } from "./file-retention-dj2t23y0.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./location-cfpkc3c9.js";
24
+ } from "./file-retention-m0jqrx5p.js";
25
25
  import {
26
- ID17,
27
- NotFoundError11
28
- } from "./location-k5jjywx3.js";
26
+ ID15,
27
+ NotFoundError10
28
+ } from "./file-retention-w8y9a79x.js";
29
29
  import {
30
30
  Ref4
31
- } from "./location-ataz063g.js";
31
+ } from "./file-retention-zgqrnz3r.js";
32
32
  import {
33
- Service76,
34
- node79
35
- } from "./location-q5gbzsgk.js";
33
+ Service57,
34
+ node61
35
+ } from "./file-retention-q03excpa.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./location-gv6a8nnw.js";
39
+ } from "./file-retention-gv6a8nnw.js";
40
40
  import {
41
41
  make12
42
- } from "./location-b8hzf7nw.js";
42
+ } from "./file-retention-bb8wzrbb.js";
43
43
  import {
44
- Service19
45
- } from "./location-yjb6xngg.js";
44
+ Service22
45
+ } from "./file-retention-8csq5jz1.js";
46
46
  import {
47
47
  __export
48
- } from "./location-9rqn6x4v.js";
48
+ } from "./file-retention-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event5,
56
+ Event: () => Event6,
57
57
  Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service18,
63
+ Service: () => Service21,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node21
68
+ node: () => node24
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -83,7 +83,7 @@ var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
86
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
86
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
87
87
  }
88
88
 
89
89
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event5 = Worktree.Event;
97
+ var Event6 = Worktree.Event;
98
98
 
99
- class Service18 extends Context.Service()("@opencode/Worktree") {
99
+ class Service21 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service18, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service82;
104
104
  const db = database.db;
105
105
  const bus = yield* Service81;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service76;
107
+ const locations = yield* Service57;
108
108
  const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
112
- return yield* new NotFoundError11({ projectID });
112
+ return yield* new NotFoundError10({ projectID });
113
113
  return row;
114
114
  });
115
115
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service19).get();
123
+ return Context.get(context, Service22).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event5.Updated, { projectID });
127
+ yield* bus.publish(Event6.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service18.of({
254
+ return Service21.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node21 = Node.makeGlobalNode({
265
- service: Service18,
264
+ var node24 = Node.makeGlobalNode({
265
+ service: Service21,
266
266
  layer,
267
- deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node79]
267
+ deps: [FSUtil.node, node82, node85, node86, AppProcess.node, node61]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service18, node21, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service21, node24, exports_worktree2, OperationError2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./location-6msgmcgs.js";
4
+ } from "./file-retention-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./location-qfa1cgps.js";
7
+ } from "./file-retention-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-pvrjs4yz.js";
3
+ } from "./file-retention-k2fzxap7.js";
4
4
  import {
5
5
  OAuth3,
6
- Service66
7
- } from "./location-a2jjt3bn.js";
6
+ Service79
7
+ } from "./file-retention-0n2dkqex.js";
8
8
  import {
9
- ID13,
9
+ ID14,
10
10
  MethodID2
11
- } from "./location-s988tmsk.js";
11
+ } from "./file-retention-p4gp63td.js";
12
12
  import {
13
- ID12
14
- } from "./location-98agyze9.js";
13
+ ID13
14
+ } from "./file-retention-g515c63b.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID12.make("xai");
26
+ var providerID = ID13.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID13.make("xai"),
46
+ integrationID: ID14.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service66;
72
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
71
+ const credentials = yield* Service79;
72
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./file-retention-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./location-ataz063g.js";
5
+ Service76
6
+ } from "./file-retention-zgqrnz3r.js";
7
7
  import {
8
- Service53
9
- } from "./location-ntaf7prd.js";
8
+ Service17
9
+ } from "./file-retention-kenaddax.js";
10
10
  import {
11
- Service6
12
- } from "./location-apya2hza.js";
11
+ Service7
12
+ } from "./file-retention-vf1prd4j.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./location-2a5m3afh.js";
15
+ } from "./file-retention-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./location-2faw5ef7.js";
26
+ Service6
27
+ } from "./file-retention-zcv4gjfc.js";
28
28
  import {
29
29
  __export
30
- } from "./location-9rqn6x4v.js";
30
+ } from "./file-retention-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin27,
35
+ Input: () => Input4,
36
+ Plugin: () => Plugin23,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent4
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin27 = {
58
+ var Plugin23 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service53;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service17;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service76;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin27 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent4 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name8, Input8, Plugin27, toModelContent4, exports_read };
183
+ export { name4, Input4, Plugin23, toModelContent2, exports_read };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service78
3
- } from "./location-ataz063g.js";
2
+ Service76
3
+ } from "./file-retention-zgqrnz3r.js";
4
4
  import {
5
5
  latest2,
6
- Service59
7
- } from "./location-y70yena6.js";
6
+ Service69
7
+ } from "./file-retention-38pjs6q7.js";
8
8
  import {
9
- Service21
10
- } from "./location-kgvs6344.js";
9
+ Service20
10
+ } from "./file-retention-52tjq29f.js";
11
11
  import {
12
- make5
13
- } from "./location-r5x6zcsm.js";
12
+ make10
13
+ } from "./file-retention-73tb2d7t.js";
14
14
  import {
15
15
  observe2
16
- } from "./location-qsdy395h.js";
16
+ } from "./file-retention-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin14
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin19 = define({
33
+ var Plugin14 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service59;
37
- const formatter = yield* Service21;
36
+ const config = yield* Service69;
37
+ const formatter = yield* Service20;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service78;
40
+ const location = yield* Service76;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin19 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make5({
48
+ const builtIns = make10({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin19 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin19, exports_formatter };
77
+ export { Plugin14, exports_formatter };