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

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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-t9rs90mq.js → pty-04bs6xrx.js} +11 -11
  8. package/dist/chunks/{location-5trsz9mg.js → pty-04kq0c7x.js} +11 -11
  9. package/dist/chunks/{location-77cx0ag9.js → pty-0czgmh5m.js} +6 -6
  10. package/dist/chunks/{location-ptvmhbww.js → pty-0gdya7rn.js} +31 -31
  11. package/dist/chunks/{location-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-kgvs6344.js → pty-0pk2jhda.js} +15 -15
  13. package/dist/chunks/{location-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-q7tjfjkg.js → pty-15q9afzf.js} +15 -15
  15. package/dist/chunks/{location-87deq66t.js → pty-1603qf85.js} +6 -6
  16. package/dist/chunks/{location-qa3qhgw8.js → pty-19vf66h0.js} +4 -4
  17. package/dist/chunks/{location-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{location-t89gs4p7.js → pty-1dtwba70.js} +10 -10
  19. package/dist/chunks/{location-98agyze9.js → pty-1f50zkgk.js} +30 -30
  20. package/dist/chunks/{location-an394p75.js → pty-1rmrbrg3.js} +35 -35
  21. package/dist/chunks/{location-b4frb2y3.js → pty-1sfcqhhy.js} +19 -19
  22. package/dist/chunks/{location-bk6zst5d.js → pty-1t48jgda.js} +16 -16
  23. package/dist/chunks/{location-21r38tys.js → pty-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-6d9c79xp.js → pty-22321kh4.js} +47 -47
  25. package/dist/chunks/{location-ke0dmmcw.js → pty-265qpxfd.js} +9 -9
  26. package/dist/chunks/{location-0560ktsj.js → pty-269wx4qw.js} +13 -13
  27. package/dist/chunks/{location-29x78va6.js → pty-29x78va6.js} +2 -2
  28. package/dist/chunks/{location-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-1v2ecy8h.js → pty-2bx55675.js} +8 -8
  30. package/dist/chunks/{location-wckfp198.js → pty-2e6e6kva.js} +24 -24
  31. package/dist/chunks/{location-5zn0h1ac.js → pty-2jtkxc1j.js} +5 -5
  32. package/dist/chunks/{location-20m6xvm3.js → pty-2q9g3xfa.js} +7 -7
  33. package/dist/chunks/{location-y70yena6.js → pty-2qk91kwd.js} +46 -46
  34. package/dist/chunks/{location-b80qvjyn.js → pty-2tstmrdm.js} +24 -24
  35. package/dist/chunks/{location-evrvk863.js → pty-2zc1mzmv.js} +1 -1
  36. package/dist/chunks/{location-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{location-aet9ygne.js → pty-3fnq4smn.js} +22 -22
  38. package/dist/chunks/{location-2sm5km0b.js → pty-3gm7q0qp.js} +8 -8
  39. package/dist/chunks/{location-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-sz52d1qk.js → pty-3hvf1h1m.js} +36 -36
  41. package/dist/chunks/{location-3apyeffz.js → pty-3sd4rb0z.js} +30 -30
  42. package/dist/chunks/{location-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-hxm7e6ac.js → pty-3vt2r2mp.js} +13 -13
  45. package/dist/chunks/{location-84xgtnpg.js → pty-3ysc0688.js} +14 -14
  46. package/dist/chunks/pty-45th5jwr.js +18 -0
  47. package/dist/chunks/{location-96b9akrn.js → pty-47ms443m.js} +7 -7
  48. package/dist/chunks/{location-9s1y3sqz.js → pty-4c10g6d9.js} +35 -35
  49. package/dist/chunks/{location-ebe9bak5.js → pty-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{location-a3ftg8j6.js → pty-4nj4bn9q.js} +9 -9
  51. package/dist/chunks/{location-pyn48w4n.js → pty-4ph2weht.js} +17 -17
  52. package/dist/chunks/{location-5kgdvgf5.js → pty-4t14qv7d.js} +26 -26
  53. package/dist/chunks/{location-apya2hza.js → pty-4xat34hg.js} +19 -19
  54. package/dist/chunks/{location-z5r1kv61.js → pty-4y17mfxp.js} +16 -16
  55. package/dist/chunks/{location-nb3h35dd.js → pty-5273xt8y.js} +16 -16
  56. package/dist/chunks/{location-ybr7evyj.js → pty-560fm0yr.js} +20 -20
  57. package/dist/chunks/{location-wtyrbjce.js → pty-57jy6g3z.js} +5 -5
  58. package/dist/chunks/{location-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  59. package/dist/chunks/{location-5daktx2q.js → pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-vanjjjrm.js → pty-5dyx496h.js} +11 -11
  61. package/dist/chunks/{location-8k62qdcz.js → pty-5jymwptv.js} +18 -18
  62. package/dist/chunks/{location-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{location-669tq793.js → pty-669tq793.js} +1 -1
  64. package/dist/chunks/{location-rgtq0qy6.js → pty-6bymh0k8.js} +29 -29
  65. package/dist/chunks/{location-j3qk5xq3.js → pty-6c80fjdq.js} +9 -9
  66. package/dist/chunks/{location-yvmcjsry.js → pty-6da1v5x0.js} +1 -1
  67. package/dist/chunks/{location-4wjrfpfr.js → pty-6gdcyvbq.js} +34 -34
  68. package/dist/chunks/{location-6h73sxmp.js → pty-6h73sxmp.js} +1 -1
  69. package/dist/chunks/{location-6ezq3ad5.js → pty-6jqjnndr.js} +23 -23
  70. package/dist/chunks/{location-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{location-gdfwdqg1.js → pty-6p272qmj.js} +20 -20
  72. package/dist/chunks/{location-ntaf7prd.js → pty-745a2tvp.js} +18 -18
  73. package/dist/chunks/{location-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-jva4mgym.js → pty-7j92jdde.js} +4 -4
  75. package/dist/chunks/{location-7hqq4yr5.js → pty-7k4h75n7.js} +5 -5
  76. package/dist/chunks/{location-t0gchcch.js → pty-7v7z07mj.js} +16 -16
  77. package/dist/chunks/{location-51eea56x.js → pty-7xdz4a7r.js} +10 -10
  78. package/dist/chunks/{location-b8hzf7nw.js → pty-7yygdjqk.js} +6 -6
  79. package/dist/chunks/{location-f5avtzec.js → pty-80nfq4qt.js} +14 -14
  80. package/dist/chunks/{location-57ez7d0k.js → pty-81swgkk7.js} +7 -7
  81. package/dist/chunks/{location-16jp76s9.js → pty-88zqydxa.js} +4 -4
  82. package/dist/chunks/{location-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{location-y6y1fb4b.js → pty-8dacsgkb.js} +25 -25
  84. package/dist/chunks/{location-fjs5xx1d.js → pty-8jmaqybk.js} +3 -3
  85. package/dist/chunks/{location-2hr5nhwa.js → pty-8s1fj8xg.js} +8 -8
  86. package/dist/chunks/{location-njekgcg0.js → pty-96apsh6e.js} +23 -23
  87. package/dist/chunks/{location-r8apmgv6.js → pty-96hebhth.js} +8 -8
  88. package/dist/chunks/{location-f4tgg2kc.js → pty-9c2qq6zd.js} +1 -1
  89. package/dist/chunks/{location-yqm0cks0.js → pty-9ej2vq3a.js} +47 -47
  90. package/dist/chunks/{location-zzvq861e.js → pty-9h7evhkc.js} +9 -9
  91. package/dist/chunks/{location-7a9xqb56.js → pty-9hm81gvk.js} +32 -32
  92. package/dist/chunks/{location-r7mqfzj6.js → pty-9q9yqw35.js} +27 -27
  93. package/dist/chunks/{location-vacs20e4.js → pty-9qvcdm02.js} +19 -19
  94. package/dist/chunks/{location-06jkk7ah.js → pty-9yp60h8y.js} +4 -4
  95. package/dist/chunks/{location-aaet6srn.js → pty-aaet6srn.js} +2 -2
  96. package/dist/chunks/{location-c9qmmsf5.js → pty-af9twatk.js} +5 -5
  97. package/dist/chunks/{location-q5gbzsgk.js → pty-afs310a1.js} +8 -8
  98. package/dist/chunks/{location-xj4s9w93.js → pty-apwz9w6v.js} +10 -10
  99. package/dist/chunks/pty-avkswajw.js +247 -0
  100. package/dist/chunks/{location-q8qvj88j.js → pty-b2yd8hps.js} +63 -63
  101. package/dist/chunks/{location-e5b7myd9.js → pty-b68c1mkf.js} +4 -4
  102. package/dist/chunks/{location-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{location-k42bcvs9.js → pty-b7a7q96r.js} +39 -39
  104. package/dist/chunks/{location-pd1sw0zy.js → pty-b98gxjfa.js} +25 -25
  105. package/dist/chunks/{location-43yrs188.js → pty-ba2esg0k.js} +32 -32
  106. package/dist/chunks/{location-pvrjs4yz.js → pty-bfddptag.js} +11 -11
  107. package/dist/chunks/{location-bnfttzv1.js → pty-bsd4kq7r.js} +31 -31
  108. package/dist/chunks/{location-ch13e4p5.js → pty-byg1vfgh.js} +87 -87
  109. package/dist/chunks/{location-k0hm0ppj.js → pty-bzv935yq.js} +8 -8
  110. package/dist/chunks/{location-wfwy58wd.js → pty-c1e8wyn8.js} +24 -24
  111. package/dist/chunks/{location-s6b4aker.js → pty-cbtxs2t3.js} +8 -8
  112. package/dist/chunks/{location-hvab6fp8.js → pty-ccxvsmm1.js} +27 -27
  113. package/dist/chunks/{location-bccb6npm.js → pty-csf2jhsg.js} +4 -4
  114. package/dist/chunks/{location-h5wzna0j.js → pty-cv016f9e.js} +11 -11
  115. package/dist/chunks/{location-xk7exet4.js → pty-d6493rm2.js} +5 -5
  116. package/dist/chunks/{location-4y72ap3v.js → pty-db54agdm.js} +5 -5
  117. package/dist/chunks/{location-ataz063g.js → pty-de14jcft.js} +16 -16
  118. package/dist/chunks/{location-5dx64r44.js → pty-dhwr7h25.js} +8 -8
  119. package/dist/chunks/{location-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  120. package/dist/chunks/{location-y71avatq.js → pty-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{location-57b9ws8p.js → pty-drwq78ky.js} +5 -5
  122. package/dist/chunks/{location-7r7r939x.js → pty-dwax96b2.js} +2 -2
  123. package/dist/chunks/{location-ga80df03.js → pty-dxcwrgb8.js} +11 -11
  124. package/dist/chunks/{location-e5nv3ght.js → pty-e5nv3ght.js} +2 -2
  125. package/dist/chunks/pty-e6j17fg9.js +26 -0
  126. package/dist/chunks/{location-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{location-ez1qr559.js → pty-ep44vwp9.js} +3 -3
  128. package/dist/chunks/{location-3w83s82x.js → pty-es9gr8ew.js} +43 -43
  129. package/dist/chunks/{location-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{location-6e1xyr9h.js → pty-f8p08egg.js} +22 -22
  131. package/dist/chunks/{location-bajakh74.js → pty-fab8hzt3.js} +4 -4
  132. package/dist/chunks/{location-2k8khapm.js → pty-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{location-kjg745n7.js → pty-fgfv3zgn.js} +6 -6
  134. package/dist/chunks/{location-3tq5qxbk.js → pty-fkjmw100.js} +4 -4
  135. package/dist/chunks/{location-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{location-pzs0ev6d.js → pty-g01xz703.js} +18 -18
  137. package/dist/chunks/{location-0jv1ejcq.js → pty-g05fqrxf.js} +32 -32
  138. package/dist/chunks/{location-2kdpwj1f.js → pty-g1x4ag33.js} +6 -6
  139. package/dist/chunks/{location-4vzfa14d.js → pty-g7hs1n9w.js} +23 -23
  140. package/dist/chunks/{location-j27ga05e.js → pty-g8v17drp.js} +15 -15
  141. package/dist/chunks/pty-gbadjzag.js +4 -0
  142. package/dist/chunks/{location-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{location-bm4d4wv8.js → pty-gg1mvr65.js} +36 -36
  144. package/dist/chunks/{location-dw6r0y9k.js → pty-ghp6atvr.js} +16 -16
  145. package/dist/chunks/{location-et96cwk7.js → pty-gr74bzj8.js} +174 -174
  146. package/dist/chunks/{location-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{location-jhhychjc.js → pty-gvkqbys6.js} +10 -10
  148. package/dist/chunks/{location-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{location-mtj0w11y.js → pty-h55jx3fv.js} +4 -4
  150. package/dist/chunks/{location-m5970q9f.js → pty-h6g5nf3k.js} +9 -9
  151. package/dist/chunks/{location-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{location-f828m53h.js → pty-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{location-510m7gjw.js → pty-hnr5yq9h.js} +5 -5
  154. package/dist/chunks/{location-m0y35jh4.js → pty-hx0tmcbf.js} +21 -21
  155. package/dist/chunks/{location-t4bxqr6c.js → pty-hy8cpyhv.js} +8 -8
  156. package/dist/chunks/{location-yjb6xngg.js → pty-j375qb82.js} +20 -20
  157. package/dist/chunks/{location-vkjtt5mp.js → pty-j3deyfsj.js} +8 -8
  158. package/dist/chunks/{location-j56e64zr.js → pty-j56e64zr.js} +1 -1
  159. package/dist/chunks/{location-wgsyq2g2.js → pty-ja4wy4ee.js} +3 -3
  160. package/dist/chunks/{location-nca7p386.js → pty-jbjr1a4g.js} +6 -6
  161. package/dist/chunks/{location-xa0zhpnz.js → pty-jjd03mtq.js} +25 -25
  162. package/dist/chunks/{location-9r7xpw87.js → pty-jjhhf8t1.js} +81 -81
  163. package/dist/chunks/{location-sg5fy40w.js → pty-knyjwg4b.js} +32 -32
  164. package/dist/chunks/{location-rzkgkfj2.js → pty-kzqcaydz.js} +8 -8
  165. package/dist/chunks/{location-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  166. package/dist/chunks/{location-563gk52j.js → pty-m3fvcdnn.js} +10 -10
  167. package/dist/chunks/{location-ngy3nxrq.js → pty-m4gv7951.js} +6 -6
  168. package/dist/chunks/{location-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{location-0h4w7d7c.js → pty-md73wrxd.js} +11 -11
  170. package/dist/chunks/{location-56gdpj1q.js → pty-mfqp6xfm.js} +6 -6
  171. package/dist/chunks/{location-hxr4ws4r.js → pty-mhaczvzm.js} +8 -8
  172. package/dist/chunks/{location-xv1g2w1w.js → pty-mhs55g1f.js} +39 -39
  173. package/dist/chunks/{location-r5x6zcsm.js → pty-mvfsc1pv.js} +3 -3
  174. package/dist/chunks/{location-mx09shfg.js → pty-n4nzzcpz.js} +12 -12
  175. package/dist/chunks/{location-2rphr397.js → pty-n4vcx0q5.js} +11 -11
  176. package/dist/chunks/{location-s988tmsk.js → pty-np9zq865.js} +25 -25
  177. package/dist/chunks/{location-7x2gvtfy.js → pty-nrk5vjbf.js} +5 -5
  178. package/dist/chunks/{location-5n6xmq0y.js → pty-nzz37pb4.js} +5 -5
  179. package/dist/chunks/{location-1ajx6rf5.js → pty-p37cw4rj.js} +8 -8
  180. package/dist/chunks/{location-zvp4yy8h.js → pty-p49bz645.js} +14 -14
  181. package/dist/chunks/{location-sf4dfcqt.js → pty-p4w4r7dh.js} +17 -17
  182. package/dist/chunks/{location-qv6dpkjj.js → pty-p693jj1c.js} +4 -4
  183. package/dist/chunks/{location-9m52ezb2.js → pty-p796yvag.js} +47 -47
  184. package/dist/chunks/{location-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  185. package/dist/chunks/{location-pknna89w.js → pty-pknna89w.js} +1 -1
  186. package/dist/chunks/{location-ce87bwtv.js → pty-pmtnxrty.js} +27 -27
  187. package/dist/chunks/{location-37ea9c2d.js → pty-pnaxc6j9.js} +8 -8
  188. package/dist/chunks/{location-tgks2w6d.js → pty-prxmybba.js} +10 -10
  189. package/dist/chunks/{location-6mr3pvkp.js → pty-q0mc0b5w.js} +15 -15
  190. package/dist/chunks/{location-gfpndgpb.js → pty-q3hf676f.js} +37 -37
  191. package/dist/chunks/{location-ednp5hmx.js → pty-q6d53jre.js} +8 -8
  192. package/dist/chunks/{location-sx9refc1.js → pty-q7vngajz.js} +4 -4
  193. package/dist/chunks/{location-12wed8mm.js → pty-q90tpkk7.js} +11 -11
  194. package/dist/chunks/{location-zmy1vr96.js → pty-qe5ndvxn.js} +31 -31
  195. package/dist/chunks/{location-3qchzd5j.js → pty-qhbr658c.js} +10 -10
  196. package/dist/chunks/{location-qc88351s.js → pty-qpr8cphr.js} +26 -26
  197. package/dist/chunks/{location-qsdy395h.js → pty-qsdy395h.js} +1 -1
  198. package/dist/chunks/{location-f6y5ddnz.js → pty-qsrmn293.js} +14 -14
  199. package/dist/chunks/{location-8710dda9.js → pty-qt5k3wn1.js} +16 -16
  200. package/dist/chunks/{location-wnen7h7y.js → pty-qvn71t82.js} +43 -43
  201. package/dist/chunks/{location-cwa6csj7.js → pty-r2m716tb.js} +9 -9
  202. package/dist/chunks/{location-5xjbzt31.js → pty-r4c8zd7v.js} +20 -20
  203. package/dist/chunks/{location-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
  204. package/dist/chunks/{location-r9mregkx.js → pty-r9mregkx.js} +2 -2
  205. package/dist/chunks/{location-gwhebp1x.js → pty-rb2n45pq.js} +23 -23
  206. package/dist/chunks/{location-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{location-v1mb79rm.js → pty-rec5x2c9.js} +15 -15
  208. package/dist/chunks/{location-avc8n21j.js → pty-reqevd7p.js} +15 -15
  209. package/dist/chunks/{location-gaq06wk0.js → pty-rgy7ctyq.js} +6 -6
  210. package/dist/chunks/{location-t550f9t1.js → pty-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{location-1nzs1dt7.js → pty-rph3zd4r.js} +6 -6
  212. package/dist/chunks/{location-7zebv8z5.js → pty-rtjhe620.js} +13 -13
  213. package/dist/chunks/{location-aqbbe05p.js → pty-rx7f9tze.js} +3 -3
  214. package/dist/chunks/{location-j0rfc03s.js → pty-rxth5jgn.js} +3 -3
  215. package/dist/chunks/{location-ymez039j.js → pty-s3efxrkp.js} +8 -8
  216. package/dist/chunks/{location-s4enseaf.js → pty-s4enseaf.js} +2 -2
  217. package/dist/chunks/{location-pe0jfpdy.js → pty-sc8yhsfz.js} +11 -11
  218. package/dist/chunks/{location-cfqzvftk.js → pty-st6vffwr.js} +25 -25
  219. package/dist/chunks/{location-2faw5ef7.js → pty-swye7zsf.js} +16 -16
  220. package/dist/chunks/{location-nq6ygtzk.js → pty-t1w33hkx.js} +24 -24
  221. package/dist/chunks/{location-6sbe3e33.js → pty-t63vnq2n.js} +18 -18
  222. package/dist/chunks/{location-y3smxrvk.js → pty-t918kx73.js} +17 -17
  223. package/dist/chunks/{location-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{location-89znhe33.js → pty-tcezcvh9.js} +4 -4
  225. package/dist/chunks/{location-tdstcens.js → pty-tdstcens.js} +1 -1
  226. package/dist/chunks/{location-tsr2crch.js → pty-tf51b0d7.js} +11 -11
  227. package/dist/chunks/{location-23e0sdpc.js → pty-tjyfaxz9.js} +3 -3
  228. package/dist/chunks/{location-6y0140gn.js → pty-tkdspmrw.js} +20 -20
  229. package/dist/chunks/{location-xsvdyt0s.js → pty-tpz8kgav.js} +13 -13
  230. package/dist/chunks/{location-ryt7pzqc.js → pty-ts2x07a1.js} +1 -1
  231. package/dist/chunks/{location-qq1336c3.js → pty-ttcg97r3.js} +5 -5
  232. package/dist/chunks/{location-tvtrv512.js → pty-tvtrv512.js} +1 -1
  233. package/dist/chunks/{location-s9swp5qq.js → pty-v5m3chc5.js} +17 -17
  234. package/dist/chunks/{location-94etgqzd.js → pty-v8qx4mjf.js} +10 -10
  235. package/dist/chunks/{location-w0ejc12g.js → pty-v9shy27a.js} +14 -14
  236. package/dist/chunks/{location-an7cqtb7.js → pty-ve4pfa0n.js} +4 -4
  237. package/dist/chunks/{location-sxzvkvgj.js → pty-ve6nm2s5.js} +6 -6
  238. package/dist/chunks/{location-veqvce7d.js → pty-veqvce7d.js} +1 -1
  239. package/dist/chunks/{location-50hhjvx3.js → pty-vh4jega5.js} +4 -4
  240. package/dist/chunks/{location-4mjrf905.js → pty-vjmzn78y.js} +6 -6
  241. package/dist/chunks/{location-2pnhn36q.js → pty-vsp1fds9.js} +4 -4
  242. package/dist/chunks/{location-a2jjt3bn.js → pty-vsv8ttad.js} +28 -28
  243. package/dist/chunks/{location-1medja8d.js → pty-vyq5g53q.js} +13 -13
  244. package/dist/chunks/{location-w1p3n6tm.js → pty-vyxkaerb.js} +3 -3
  245. package/dist/chunks/{location-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{location-13r97ts9.js → pty-vzvreeh0.js} +26 -26
  247. package/dist/chunks/{location-9kgqg1se.js → pty-w3k8r67b.js} +5 -5
  248. package/dist/chunks/{location-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{location-j1wra8w6.js → pty-wb1q4cb2.js} +9 -9
  250. package/dist/chunks/{location-wd87259q.js → pty-wd87259q.js} +1 -1
  251. package/dist/chunks/{location-f561ery6.js → pty-wgpcemkv.js} +14 -14
  252. package/dist/chunks/{location-r8ste1ck.js → pty-x0600czv.js} +2 -2
  253. package/dist/chunks/{location-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{location-jhq2w8nd.js → pty-xbvm8yz7.js} +16 -16
  255. package/dist/chunks/{location-k5jjywx3.js → pty-xcz499sa.js} +22 -22
  256. package/dist/chunks/{location-1qxzdp14.js → pty-xg627qy4.js} +35 -35
  257. package/dist/chunks/{location-ywkfy99j.js → pty-xk747vep.js} +9 -9
  258. package/dist/chunks/{location-f66j0bjc.js → pty-xp45px1z.js} +6 -6
  259. package/dist/chunks/{location-w27pm9me.js → pty-xqrhjvfz.js} +15 -15
  260. package/dist/chunks/{location-02khppbe.js → pty-y0mc46pw.js} +9 -9
  261. package/dist/chunks/{location-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{location-bzszcmd6.js → pty-y56erjdm.js} +9 -9
  263. package/dist/chunks/{location-70h1mw8z.js → pty-y9pa59c6.js} +311 -311
  264. package/dist/chunks/{location-9mek4kv0.js → pty-yg8nzkpe.js} +17 -17
  265. package/dist/chunks/{location-2czyrpcs.js → pty-yj0qx3n0.js} +13 -13
  266. package/dist/chunks/{location-5cxtm7bs.js → pty-yktp2w1r.js} +15 -15
  267. package/dist/chunks/{location-2rqy6js5.js → pty-ym31zdqs.js} +17 -17
  268. package/dist/chunks/{location-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{location-mtft99cd.js → pty-yt0fqk68.js} +5 -5
  270. package/dist/chunks/{location-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{location-d61der1w.js → pty-z0yx8wna.js} +25 -25
  272. package/dist/chunks/{location-3w2b2yj4.js → pty-z3pw5915.js} +5 -5
  273. package/dist/chunks/{location-wbakrcvj.js → pty-z94pkk3z.js} +10 -10
  274. package/dist/chunks/{location-06x8he3q.js → pty-zcrspsvn.js} +4 -4
  275. package/dist/chunks/{location-yty395xw.js → pty-zd7rxry8.js} +9 -9
  276. package/dist/chunks/{location-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{location-dc2d58h7.js → pty-zet8ehz1.js} +21 -21
  278. package/dist/chunks/{location-5x5d8tg1.js → pty-zm0k5bkg.js} +27 -27
  279. package/dist/chunks/{location-3f9dyp3c.js → pty-zper1j5h.js} +8 -8
  280. package/dist/chunks/{location-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-kw8thyfa.js → pty-zrqpdph7.js} +51 -51
  282. package/dist/chunks/{location-vc4e6k4r.js → pty-zt03gkt5.js} +4 -4
  283. package/dist/chunks/{location-bxf8tdej.js → pty-ztwfyng4.js} +4 -4
  284. package/dist/chunks/{location-zx93qmfr.js → pty-zw77fwag.js} +37 -37
  285. package/dist/chunks/{location-zxq2ej10.js → pty-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 +78 -78
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +122 -122
  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 +129 -129
  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 +124 -124
  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 +127 -127
  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 +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +3 -3
  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 +3 -3
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +86 -86
  427. package/dist/generate.js +104 -104
  428. package/dist/git.js +6 -6
  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 +84 -84
  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 +85 -85
  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 +124 -124
  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 +95 -95
  474. package/dist/model.js +95 -95
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +75 -75
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  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 +87 -87
  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 +2 -2
  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 +91 -91
  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 +6 -6
  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 +8 -8
  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 +225 -225
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +85 -85
  553. package/dist/provider.js +98 -98
  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 +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  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 +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +151 -151
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +83 -83
  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 +115 -115
  585. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +86 -86
  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 +214 -214
  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 +11 -11
  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 +123 -123
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +104 -104
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +217 -217
  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 +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  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 +4 -4
  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 +5 -5
  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 +90 -90
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +83 -83
  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 +95 -95
  686. package/package.json +8 -8
  687. package/dist/chunks/location-0mesazry.js +0 -4
  688. package/dist/chunks/location-8pz1rfxz.js +0 -26
  689. package/dist/chunks/location-jbw61t34.js +0 -247
  690. package/dist/chunks/location-rap9a73h.js +0 -18
  691. /package/dist/chunks/{location-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{location-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{location-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{location-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{location-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{location-24dcb14g.js → pty-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{location-2710q6r3.js → pty-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{location-359p4xyc.js → pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-3asan66x.js → pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{location-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{location-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{location-53557ph1.js → pty-53557ph1.js} +0 -0
  710. /package/dist/chunks/{location-550bvhaj.js → pty-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{location-6prwharc.js → pty-6prwharc.js} +0 -0
  712. /package/dist/chunks/{location-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{location-7m9af43g.js → pty-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{location-822emrt2.js → pty-822emrt2.js} +0 -0
  715. /package/dist/chunks/{location-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{location-8n3pysct.js → pty-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{location-922hggd3.js → pty-922hggd3.js} +0 -0
  718. /package/dist/chunks/{location-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{location-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{location-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{location-af5trqkr.js → pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{location-afrmfg78.js → pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{location-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{location-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{location-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{location-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{location-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{location-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{location-d9fn303g.js → pty-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{location-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{location-dajrwvna.js → pty-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{location-dap0rakb.js → pty-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{location-df08tz66.js → pty-df08tz66.js} +0 -0
  734. /package/dist/chunks/{location-dy18nga0.js → pty-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{location-e3qxr5gk.js → pty-e3qxr5gk.js} +0 -0
  736. /package/dist/chunks/{location-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-ec1grn59.js → pty-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{location-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-faypxj3z.js → pty-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-fd410y7t.js → pty-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{location-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{location-g86h250q.js → pty-g86h250q.js} +0 -0
  748. /package/dist/chunks/{location-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{location-gftt206x.js → pty-gftt206x.js} +0 -0
  750. /package/dist/chunks/{location-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{location-hk9envan.js → pty-hk9envan.js} +0 -0
  752. /package/dist/chunks/{location-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{location-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{location-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{location-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{location-mp448xyj.js → pty-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{location-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{location-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{location-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{location-njntx4h6.js → pty-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{location-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-q74kybfr.js → pty-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{location-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{location-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{location-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{location-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{location-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{location-twg0f83k.js → pty-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{location-w803qqfp.js → pty-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{location-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{location-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{location-wtztk69x.js → pty-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{location-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{location-x61499pn.js → pty-x61499pn.js} +0 -0
  781. /package/dist/chunks/{location-y44na4kk.js → pty-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{location-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{location-y8f7s663.js → pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{location-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{location-ym463w8f.js → pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{location-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service54
3
- } from "./location-9s1y3sqz.js";
2
+ Service56
3
+ } from "./pty-4c10g6d9.js";
4
4
  import {
5
- ID6,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service45
10
- } from "./location-aet9ygne.js";
9
+ Service49
10
+ } from "./pty-3fnq4smn.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
18
  Input: () => Input9,
19
- Output: () => Output6,
20
- Plugin: () => Plugin28,
21
- SkillTool: () => exports_skill2,
22
- description: () => description4,
19
+ Output: () => Output5,
20
+ Plugin: () => Plugin42,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description5,
23
23
  name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
@@ -28,14 +28,14 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name9 = "skill";
30
30
  var Input9 = Schema.Struct({
31
- id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output5 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description4 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,18 +43,18 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin28 = {
46
+ var Plugin42 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service45;
51
- const permission = yield* Service54;
50
+ const skills = yield* Service49;
51
+ const permission = yield* Service56;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name9,
54
54
  options: { codemode: false },
55
- description: description4,
55
+ description: description5,
56
56
  input: Input9,
57
- output: Output6,
57
+ output: Output5,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
@@ -79,4 +79,4 @@ var Plugin28 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output6, description4, toModelOutput2, Plugin28, exports_skill2 };
82
+ export { name9, Input9, Output5, description5, toModelOutput2, Plugin42, exports_skill3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-922hggd3.js";
4
+ } from "./pty-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service80,
9
9
  node84
10
- } from "./location-4y72ap3v.js";
10
+ } from "./pty-db54agdm.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./location-ataz063g.js";
12
+ Service75,
13
+ node79
14
+ } from "./pty-de14jcft.js";
15
15
  import {
16
16
  create3
17
- } from "./location-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
25
+ Error: () => Error3,
26
26
  ID: () => ID5,
27
- Service: () => Service35,
27
+ Service: () => Service51,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node38,
30
- noopLayer: () => noopLayer2
29
+ node: () => node54,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service35 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service51 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service35, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service75;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service35.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node38 = makeLocationNode({
144
- service: Service35,
143
+ var node54 = makeLocationNode({
144
+ service: Service51,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node84, Global.node, node79]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service35, Service35.of({
148
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error2, Service35, node38, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error3, Service51, node54, noopLayer3, exports_snapshot2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./location-tazgh4e4.js";
3
+ } from "./pty-tazgh4e4.js";
4
4
  import {
5
5
  ID5,
6
- Service35
7
- } from "./location-5x5d8tg1.js";
6
+ Service51
7
+ } from "./pty-zm0k5bkg.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./location-fjs5xx1d.js";
10
+ } from "./pty-8jmaqybk.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./location-wgsyq2g2.js";
13
+ } from "./pty-ja4wy4ee.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./location-a1bz86dw.js";
16
+ } from "./pty-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service35;
84
+ const snapshot = yield* Service51;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-j0rfc03s.js";
4
+ } from "./pty-rxth5jgn.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./location-mtj0w11y.js";
8
+ } from "./pty-h55jx3fv.js";
9
9
  import {
10
- Service42,
11
- node44
12
- } from "./location-sxzvkvgj.js";
10
+ Service43,
11
+ node46
12
+ } from "./pty-ve6nm2s5.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./location-922hggd3.js";
16
+ } from "./pty-922hggd3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./location-k5jjywx3.js";
18
+ Service76,
19
+ node80
20
+ } from "./pty-xcz499sa.js";
21
21
  import {
22
22
  Ref4
23
- } from "./location-ataz063g.js";
23
+ } from "./pty-de14jcft.js";
24
24
  import {
25
- Service76,
26
- node79
27
- } from "./location-q5gbzsgk.js";
25
+ Service45,
26
+ node48
27
+ } from "./pty-afs310a1.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./location-gftt206x.js";
30
+ } from "./pty-gftt206x.js";
31
31
  import {
32
32
  NotFoundError8
33
- } from "./location-wgsyq2g2.js";
33
+ } from "./pty-ja4wy4ee.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./location-ec1grn59.js";
36
+ } from "./pty-ec1grn59.js";
37
37
  import {
38
- Service39
39
- } from "./location-06x8he3q.js";
38
+ Service41
39
+ } from "./pty-zcrspsvn.js";
40
40
  import {
41
- Service55,
42
- node57
43
- } from "./location-zvp4yy8h.js";
41
+ Service58,
42
+ node61
43
+ } from "./pty-p49bz645.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service40,
48
- node42,
47
+ Service42,
48
+ node45,
49
49
  moveIDs2
50
- } from "./location-9mek4kv0.js";
50
+ } from "./pty-yg8nzkpe.js";
51
51
  import {
52
- Service38,
53
- node41
54
- } from "./location-sz52d1qk.js";
52
+ Service40,
53
+ node44
54
+ } from "./pty-3hvf1h1m.js";
55
55
  import {
56
- node27
57
- } from "./location-z5r1kv61.js";
56
+ node23
57
+ } from "./pty-4y17mfxp.js";
58
58
  import {
59
59
  __export
60
- } from "./location-9rqn6x4v.js";
60
+ } from "./pty-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service23,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node26
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service23 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service23, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service79;
92
- const locations = yield* Service76;
93
- const store = yield* Service55;
94
- const execution = yield* Service38;
95
- const instances = yield* Service42;
96
- const admission = yield* Service40;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service45;
93
+ const store = yield* Service58;
94
+ const execution = yield* Service40;
95
+ const instances = yield* Service43;
96
+ const admission = yield* Service42;
97
97
  const database = yield* Service82;
98
98
  const bus = yield* Service81;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service39.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service23.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node26 = makeGlobalNode({
167
- service: Service23,
166
+ var node22 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node83,
173
- node79,
174
- node57,
175
- node41,
172
+ node80,
173
+ node48,
174
+ node61,
176
175
  node44,
177
- node42,
176
+ node46,
177
+ node45,
178
178
  node86,
179
179
  node85,
180
- node27
180
+ node23
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin31,
10
+ Plugin: () => Plugin39,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin31 = {
29
+ var Plugin39 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
32
  const hook = (event) => Effect.sync(() => {
@@ -77,4 +77,4 @@ var Plugin31 = {
77
77
  })
78
78
  };
79
79
 
80
- export { RenameInput2, MoveInput2, Plugin31, exports_opencode };
80
+ export { RenameInput2, MoveInput2, Plugin39, exports_opencode };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./location-550bvhaj.js";
3
+ } from "./pty-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./location-j5zkgpj8.js";
6
+ } from "./pty-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./location-3asan66x.js";
9
+ } from "./pty-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./location-7x2gvtfy.js";
12
+ } from "./pty-nrk5vjbf.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-2a5m3afh.js";
3
+ } from "./pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./pty-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./location-ataz063g.js";
8
+ Service75
9
+ } from "./pty-de14jcft.js";
10
10
  import {
11
- Service70
12
- } from "./location-b80qvjyn.js";
11
+ Service64
12
+ } from "./pty-2tstmrdm.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service69
16
- } from "./location-w0ejc12g.js";
15
+ Service54
16
+ } from "./pty-v9shy27a.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./location-43yrs188.js";
23
+ } from "./pty-ba2esg0k.js";
24
24
  import {
25
- Service54
26
- } from "./location-9s1y3sqz.js";
25
+ Service56
26
+ } from "./pty-4c10g6d9.js";
27
27
  import {
28
- Service53
29
- } from "./location-ntaf7prd.js";
28
+ Service55
29
+ } from "./pty-745a2tvp.js";
30
30
  import {
31
31
  __export
32
- } from "./location-9rqn6x4v.js";
32
+ } from "./pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input11,
39
- Output: () => Output7,
40
- Plugin: () => Plugin30,
41
- name: () => name11,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input10,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin43,
41
+ name: () => name10,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name11 = "grep";
48
- var Input11 = Schema.Struct({
47
+ var name10 = "grep";
48
+ var Input10 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output6 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin30 = {
86
+ var Plugin43 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service70;
90
- const ripgrep = yield* Service69;
91
- const location = yield* Service78;
92
- const access = yield* Service53;
93
- const permission = yield* Service54;
89
+ const environment = yield* Service64;
90
+ const ripgrep = yield* Service54;
91
+ const location = yield* Service75;
92
+ const access = yield* Service55;
93
+ const permission = yield* Service56;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name11,
95
+ name: name10,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input11,
99
- output: Output7,
98
+ input: Input10,
99
+ output: Output6,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name11,
105
+ action: name10,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin30 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin30 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin30 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name11, Input11, Output7, toModelContent5, Plugin30, exports_grep };
157
+ export { name10, Input10, Output6, toModelContent4, Plugin43, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/location-3fc6dm20.js";
7
+ } from "../chunks/pty-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,