@opencode/core 0.0.0-beta-19398 → 0.0.0-beta-19422

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{location-mutation-m5erp1k4.js → pty-074gn8c1.js} +2 -2
  9. package/dist/chunks/{location-mutation-zjccgr9f.js → pty-0996nyz8.js} +9 -9
  10. package/dist/chunks/{location-mutation-t5dz2dvd.js → pty-09ms4exh.js} +26 -26
  11. package/dist/chunks/{location-mutation-cyznyexp.js → pty-0a1gtahz.js} +38 -38
  12. package/dist/chunks/{location-mutation-m46exch3.js → pty-0bps82y7.js} +6 -6
  13. package/dist/chunks/{location-mutation-hrf55331.js → pty-0cgfpp4r.js} +10 -10
  14. package/dist/chunks/{location-mutation-p0kdf59p.js → pty-0dydqtd7.js} +22 -22
  15. package/dist/chunks/{location-mutation-g63tzfz2.js → pty-0egdkte1.js} +84 -84
  16. package/dist/chunks/{location-mutation-rd25f8yh.js → pty-0gvt7rgj.js} +8 -8
  17. package/dist/chunks/{location-mutation-ghv39z3q.js → pty-0jqc4bxs.js} +6 -6
  18. package/dist/chunks/{location-mutation-ey5r276z.js → pty-0mak23yj.js} +24 -24
  19. package/dist/chunks/{location-mutation-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{location-mutation-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{location-mutation-1zk7d5w4.js → pty-0q0rgwg5.js} +13 -13
  22. package/dist/chunks/{location-mutation-gkm5mcy5.js → pty-0s7p0jdy.js} +32 -32
  23. package/dist/chunks/{location-mutation-ps2ghfx6.js → pty-0sw24r53.js} +16 -16
  24. package/dist/chunks/{location-mutation-q9hbvwne.js → pty-0zs7y9px.js} +25 -25
  25. package/dist/chunks/{location-mutation-fvscxbve.js → pty-10a65abh.js} +4 -4
  26. package/dist/chunks/{location-mutation-za4kfshb.js → pty-118zhgj2.js} +41 -41
  27. package/dist/chunks/{location-mutation-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
  28. package/dist/chunks/{location-mutation-mhkvc446.js → pty-1bbkgx8g.js} +3 -3
  29. package/dist/chunks/{location-mutation-vnaah6bw.js → pty-1cept2jt.js} +35 -35
  30. package/dist/chunks/{location-mutation-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  31. package/dist/chunks/{location-mutation-1eyaby9q.js → pty-1eyaby9q.js} +2 -2
  32. package/dist/chunks/{location-mutation-tpw3wqby.js → pty-1hptgsqz.js} +8 -8
  33. package/dist/chunks/{location-mutation-p4nzc36k.js → pty-1hvj6sc5.js} +22 -22
  34. package/dist/chunks/{location-mutation-8vv3zxpc.js → pty-1j4evvde.js} +20 -20
  35. package/dist/chunks/{location-mutation-rdg9mn3e.js → pty-1p5bxmfk.js} +17 -17
  36. package/dist/chunks/{location-mutation-52r26j8c.js → pty-1pqaee8n.js} +14 -14
  37. package/dist/chunks/{location-mutation-3v97kze0.js → pty-1syfdjz1.js} +36 -36
  38. package/dist/chunks/{location-mutation-gyqj5dqq.js → pty-1vccm05t.js} +34 -34
  39. package/dist/chunks/{location-mutation-trqnt801.js → pty-1yd1r7d9.js} +9 -9
  40. package/dist/chunks/{location-mutation-mfqp6xfm.js → pty-1ygqh575.js} +6 -6
  41. package/dist/chunks/{location-mutation-21r38tys.js → pty-21r38tys.js} +1 -1
  42. package/dist/chunks/{location-mutation-1f01g00k.js → pty-21rtx38p.js} +37 -37
  43. package/dist/chunks/{location-mutation-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  44. package/dist/chunks/{location-mutation-326n6wzt.js → pty-24p38q2n.js} +4 -4
  45. package/dist/chunks/{location-mutation-26xsg9sg.js → pty-25xantg0.js} +21 -21
  46. package/dist/chunks/{location-mutation-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  47. package/dist/chunks/{location-mutation-7wdjtyr9.js → pty-2f04pwep.js} +3 -3
  48. package/dist/chunks/{location-mutation-fxqygnfa.js → pty-2tfmgkzg.js} +4 -4
  49. package/dist/chunks/{location-mutation-8y31xnqm.js → pty-2vgzs72b.js} +5 -5
  50. package/dist/chunks/{location-mutation-y871meh9.js → pty-36mqef8b.js} +14 -14
  51. package/dist/chunks/{location-mutation-zm48185g.js → pty-3806s53b.js} +34 -34
  52. package/dist/chunks/{location-mutation-1sm8r3sx.js → pty-3ez202fs.js} +86 -86
  53. package/dist/chunks/{location-mutation-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  54. package/dist/chunks/{location-mutation-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{location-mutation-bzx4zv3s.js → pty-3re90bff.js} +23 -23
  56. package/dist/chunks/{location-mutation-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  57. package/dist/chunks/{location-mutation-0mbwctnz.js → pty-3t5j4r89.js} +3 -3
  58. package/dist/chunks/{location-mutation-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  59. package/dist/chunks/{location-mutation-sd5675wn.js → pty-3yjn18yr.js} +40 -47
  60. package/dist/chunks/{location-mutation-s0hza5ac.js → pty-3ythc6yv.js} +4 -4
  61. package/dist/chunks/{location-mutation-cnymy2f0.js → pty-40t0jw83.js} +165 -165
  62. package/dist/chunks/{location-mutation-k52252t7.js → pty-46x4mgr1.js} +4 -4
  63. package/dist/chunks/{location-mutation-bs9q8pck.js → pty-47rhjnbj.js} +8 -8
  64. package/dist/chunks/{location-mutation-aggs0gse.js → pty-4bx7125q.js} +22 -22
  65. package/dist/chunks/{location-mutation-wtvz3wcx.js → pty-4g19d5n9.js} +7 -7
  66. package/dist/chunks/{location-mutation-27hkvsk8.js → pty-4hs31730.js} +7 -7
  67. package/dist/chunks/{location-mutation-m2s78sav.js → pty-4kwjx591.js} +15 -15
  68. package/dist/chunks/{location-mutation-er8gb86w.js → pty-4p6varyr.js} +26 -26
  69. package/dist/chunks/{location-mutation-qx1qep3t.js → pty-4vfmzcq2.js} +4 -4
  70. package/dist/chunks/{location-mutation-x09zjz10.js → pty-4x28bm1w.js} +17 -17
  71. package/dist/chunks/{location-mutation-3ft82nyq.js → pty-520ygn4x.js} +4 -4
  72. package/dist/chunks/{location-mutation-y6bqj6hh.js → pty-5bdfnctw.js} +3 -3
  73. package/dist/chunks/{location-mutation-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  74. package/dist/chunks/{location-mutation-5daktx2q.js → pty-5daktx2q.js} +1 -1
  75. package/dist/chunks/{location-mutation-mmxv3gw3.js → pty-5en82wpx.js} +12 -12
  76. package/dist/chunks/{location-mutation-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  77. package/dist/chunks/{location-mutation-nz1x447f.js → pty-5wtnxghh.js} +6 -6
  78. package/dist/chunks/{location-mutation-p1n7jv0z.js → pty-5xtr5t3c.js} +9 -9
  79. package/dist/chunks/{location-mutation-669tq793.js → pty-669tq793.js} +1 -1
  80. package/dist/chunks/{location-mutation-hzee8rjr.js → pty-697x4nhd.js} +9 -9
  81. package/dist/chunks/{location-mutation-cw3cq2se.js → pty-69az8s64.js} +17 -17
  82. package/dist/chunks/{location-mutation-hds58mhb.js → pty-6f93rc7r.js} +2 -2
  83. package/dist/chunks/{location-mutation-dgemy49w.js → pty-6kpj1tx7.js} +20 -20
  84. package/dist/chunks/{location-mutation-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{location-mutation-b2jx7zxs.js → pty-710w2ech.js} +1 -1
  86. package/dist/chunks/{location-mutation-4jhgwcfy.js → pty-71amxv98.js} +37 -37
  87. package/dist/chunks/{location-mutation-71q4at8m.js → pty-71q4at8m.js} +1 -1
  88. package/dist/chunks/{location-mutation-19hac7dy.js → pty-74b9qssb.js} +23 -23
  89. package/dist/chunks/{location-mutation-t61n1tw8.js → pty-7axzvjgy.js} +19 -19
  90. package/dist/chunks/{location-mutation-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{location-mutation-fcrkznn8.js → pty-7dqw4kz8.js} +5 -5
  92. package/dist/chunks/{location-mutation-w7fytw90.js → pty-7j3yyt51.js} +19 -19
  93. package/dist/chunks/{location-mutation-z1z2vb6z.js → pty-7xwree33.js} +11 -11
  94. package/dist/chunks/{location-mutation-a2ew8a62.js → pty-806j49yq.js} +4 -4
  95. package/dist/chunks/{location-mutation-kvgx6hxn.js → pty-80kf8gxa.js} +18 -18
  96. package/dist/chunks/{location-mutation-rsym84ch.js → pty-81swgkk7.js} +7 -7
  97. package/dist/chunks/{location-mutation-981wd75n.js → pty-89av3hdm.js} +23 -23
  98. package/dist/chunks/{location-mutation-51qfk2sn.js → pty-8adgct9d.js} +5 -5
  99. package/dist/chunks/{location-mutation-m75h0q20.js → pty-8c67r9ne.js} +18 -18
  100. package/dist/chunks/{location-mutation-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  101. package/dist/chunks/{location-mutation-8hmgw1ak.js → pty-8hmgw1ak.js} +1 -1
  102. package/dist/chunks/{location-mutation-ehntj2pc.js → pty-8n66hw90.js} +39 -39
  103. package/dist/chunks/{location-mutation-8ga6zesv.js → pty-8n7wwas9.js} +29 -29
  104. package/dist/chunks/{location-mutation-q1c4k7jk.js → pty-8qk9tw02.js} +1 -1
  105. package/dist/chunks/{location-mutation-t8wk4avw.js → pty-8xttkpaf.js} +9 -9
  106. package/dist/chunks/{location-mutation-v271ywhn.js → pty-98hm5tys.js} +53 -53
  107. package/dist/chunks/{location-mutation-5sz580sy.js → pty-9b10rcng.js} +22 -22
  108. package/dist/chunks/{location-mutation-jtp7wgq3.js → pty-9qn3qky1.js} +6 -6
  109. package/dist/chunks/{location-mutation-vhsk3ep2.js → pty-9qzqnsj5.js} +16 -16
  110. package/dist/chunks/{location-mutation-p1wf2k30.js → pty-a5gt7g2r.js} +9 -9
  111. package/dist/chunks/{location-mutation-xsdh20fb.js → pty-a9ab9jmj.js} +5 -5
  112. package/dist/chunks/{location-mutation-aaet6srn.js → pty-aaet6srn.js} +2 -2
  113. package/dist/chunks/{location-mutation-8k159x2e.js → pty-ayp837g2.js} +24 -24
  114. package/dist/chunks/{location-mutation-r5rdn9gc.js → pty-b0anzbtp.js} +17 -16
  115. package/dist/chunks/{location-mutation-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{location-mutation-pjedbq3k.js → pty-bdqrk2vk.js} +4 -4
  117. package/dist/chunks/{location-mutation-6qxca1fz.js → pty-bkj6dszq.js} +22 -22
  118. package/dist/chunks/{location-mutation-9b5secnr.js → pty-bmn9pzgf.js} +8 -8
  119. package/dist/chunks/{location-mutation-rm353m6a.js → pty-c2wghy26.js} +11 -11
  120. package/dist/chunks/{location-mutation-avcnr8ja.js → pty-c3grgfa4.js} +26 -26
  121. package/dist/chunks/{location-mutation-whvneb9k.js → pty-c4rpq3bt.js} +3 -3
  122. package/dist/chunks/{location-mutation-cfyxn8mg.js → pty-cff1m34y.js} +9 -9
  123. package/dist/chunks/{location-mutation-sedkckjb.js → pty-ckrdk9yx.js} +12 -12
  124. package/dist/chunks/{location-mutation-5ecgp29h.js → pty-cq2rc4ba.js} +12 -12
  125. package/dist/chunks/{location-mutation-510m7gjw.js → pty-d1khqved.js} +5 -5
  126. package/dist/chunks/{location-mutation-ka2k270b.js → pty-dc76j9wz.js} +8 -8
  127. package/dist/chunks/{location-mutation-ea47fqf8.js → pty-dda9r64d.js} +27 -27
  128. package/dist/chunks/{location-mutation-zcrspsvn.js → pty-dhmh7aw6.js} +4 -4
  129. package/dist/chunks/{location-mutation-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{location-mutation-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
  131. package/dist/chunks/{location-mutation-xn33xk03.js → pty-e1vr1ezn.js} +8 -8
  132. package/dist/chunks/{location-mutation-ydnbdpr3.js → pty-e6shh598.js} +22 -22
  133. package/dist/chunks/{location-mutation-p44d8wdy.js → pty-ead3g9p8.js} +5 -5
  134. package/dist/chunks/{location-mutation-02nrjc1r.js → pty-eaj1djv9.js} +4 -4
  135. package/dist/chunks/{location-mutation-tryp60pv.js → pty-edbbhmy9.js} +4 -4
  136. package/dist/chunks/{location-mutation-82sjhv5t.js → pty-egz44y69.js} +12 -12
  137. package/dist/chunks/{location-mutation-nzt9a98p.js → pty-ek89c1t4.js} +15 -15
  138. package/dist/chunks/{location-mutation-p14yjxpe.js → pty-esam66tc.js} +12 -12
  139. package/dist/chunks/{location-mutation-01qzhqb7.js → pty-esy06pf9.js} +43 -43
  140. package/dist/chunks/{location-mutation-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-mutation-kqg17zeb.js → pty-evwc8rkj.js} +18 -18
  142. package/dist/chunks/{location-mutation-r17fvq36.js → pty-f37g46dm.js} +31 -31
  143. package/dist/chunks/{location-mutation-1nx36s23.js → pty-f40p4esb.js} +25 -25
  144. package/dist/chunks/pty-f4wpvzrh.js +247 -0
  145. package/dist/chunks/{location-mutation-c1rv2yct.js → pty-f8pbz4jd.js} +23 -23
  146. package/dist/chunks/{location-mutation-8kwzm53y.js → pty-f9adwtm7.js} +4 -4
  147. package/dist/chunks/{location-mutation-7ybwwvvx.js → pty-fa0cr6zp.js} +3 -3
  148. package/dist/chunks/{location-mutation-rstnkd3y.js → pty-ffx4mq6v.js} +1 -1
  149. package/dist/chunks/{location-mutation-h7ygw6q4.js → pty-fhs97t90.js} +9 -9
  150. package/dist/chunks/{location-mutation-9nhtjm7a.js → pty-fmkfbeq2.js} +30 -30
  151. package/dist/chunks/{location-mutation-12fsa0de.js → pty-fnaehh3j.js} +46 -46
  152. package/dist/chunks/{location-mutation-0gaj4617.js → pty-fvanntqq.js} +4 -4
  153. package/dist/chunks/{location-mutation-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/pty-fy0kqqt2.js +22 -0
  155. package/dist/chunks/{location-mutation-yvvy1a1h.js → pty-g0eh8qf4.js} +15 -15
  156. package/dist/chunks/{location-mutation-bta0jsnn.js → pty-g5pz3fvh.js} +26 -26
  157. package/dist/chunks/{location-mutation-hhb7sktp.js → pty-gad8dwyr.js} +14 -14
  158. package/dist/chunks/{location-mutation-6ds839xg.js → pty-gbaa2wnh.js} +28 -28
  159. package/dist/chunks/{location-mutation-kqaz0ej3.js → pty-gc1qnngx.js} +1 -1
  160. package/dist/chunks/{location-mutation-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{location-mutation-zerdtc7d.js → pty-gj9xpvv3.js} +2 -2
  162. package/dist/chunks/{location-mutation-ttrnch24.js → pty-gs60z27v.js} +7 -7
  163. package/dist/chunks/{location-mutation-ppxehy7v.js → pty-gswf14xw.js} +17 -17
  164. package/dist/chunks/{location-mutation-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{location-mutation-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  166. package/dist/chunks/pty-h47he10w.js +4 -0
  167. package/dist/chunks/{location-mutation-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{location-mutation-f828m53h.js → pty-hdnk95c8.js} +2 -2
  169. package/dist/chunks/{location-mutation-dk6r9dar.js → pty-hhcdszkw.js} +33 -33
  170. package/dist/chunks/{location-mutation-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{location-mutation-j0mn1je3.js → pty-jct9c584.js} +16 -16
  172. package/dist/chunks/{location-mutation-pnhga6ht.js → pty-jdnfkhzv.js} +13 -13
  173. package/dist/chunks/{location-mutation-yed0t1d5.js → pty-jfpr744w.js} +18 -18
  174. package/dist/chunks/{location-mutation-wc0kbtjh.js → pty-jjcsnrt3.js} +32 -32
  175. package/dist/chunks/{location-mutation-9crejs1k.js → pty-jtpgvawt.js} +16 -16
  176. package/dist/chunks/{location-mutation-6nf03a2p.js → pty-jwjk5r35.js} +6 -6
  177. package/dist/chunks/{location-mutation-m512vzfg.js → pty-jwqvw401.js} +3 -3
  178. package/dist/chunks/{location-mutation-rmdyxgmk.js → pty-jypjtz10.js} +8 -8
  179. package/dist/chunks/{location-mutation-ds2mmwsg.js → pty-k0nnq3t9.js} +6 -6
  180. package/dist/chunks/{location-mutation-r6hbbyz4.js → pty-k5wm7z2v.js} +15 -15
  181. package/dist/chunks/{location-mutation-7358hqzw.js → pty-ka7qgscn.js} +5 -5
  182. package/dist/chunks/{location-mutation-wvx0h6x9.js → pty-kbm5dhv8.js} +19 -19
  183. package/dist/chunks/{location-mutation-kg06axw8.js → pty-kg06axw8.js} +1 -1
  184. package/dist/chunks/{location-mutation-b5efxae6.js → pty-kh3ehkc0.js} +4 -4
  185. package/dist/chunks/{location-mutation-t768js4p.js → pty-kh47ysn5.js} +8 -8
  186. package/dist/chunks/{location-mutation-6mv28wt3.js → pty-kpg3dnpr.js} +20 -20
  187. package/dist/chunks/{location-mutation-88x5955g.js → pty-ks2km4ey.js} +32 -32
  188. package/dist/chunks/{location-mutation-2c2zxp3e.js → pty-kvnd5f0t.js} +8 -8
  189. package/dist/chunks/{location-mutation-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  190. package/dist/chunks/{location-mutation-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{location-mutation-zx352kk7.js → pty-md7n9knh.js} +22 -22
  192. package/dist/chunks/{location-mutation-hhmedmrs.js → pty-mkar22rr.js} +37 -37
  193. package/dist/chunks/{location-mutation-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
  194. package/dist/chunks/{location-mutation-dcqbhrtj.js → pty-mzz8vzet.js} +15 -15
  195. package/dist/chunks/{location-mutation-hjt4xg1x.js → pty-nhy5jxhy.js} +4 -4
  196. package/dist/chunks/{location-mutation-k8756053.js → pty-ntqw7r1f.js} +10 -10
  197. package/dist/chunks/{location-mutation-0xtb2bpj.js → pty-nttnax9e.js} +15 -16
  198. package/dist/chunks/{location-mutation-t8r3ep1g.js → pty-p0cja4mf.js} +5 -5
  199. package/dist/chunks/{location-mutation-zf5mq5hd.js → pty-p5270nfw.js} +5 -5
  200. package/dist/chunks/{location-mutation-rk7m7srh.js → pty-p5czsp41.js} +6 -6
  201. package/dist/chunks/{location-mutation-tregh9zc.js → pty-p72z5xx6.js} +2 -2
  202. package/dist/chunks/{location-mutation-csw82taa.js → pty-pbc3mjh9.js} +50 -50
  203. package/dist/chunks/{location-mutation-kw1gmdxk.js → pty-pjdb2e90.js} +35 -35
  204. package/dist/chunks/{location-mutation-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-mutation-pknna89w.js → pty-pknna89w.js} +1 -1
  206. package/dist/chunks/{location-mutation-rtvpdrsv.js → pty-pqk2nt5r.js} +8 -8
  207. package/dist/chunks/{location-mutation-knva4kt0.js → pty-pvmn2x7n.js} +8 -8
  208. package/dist/chunks/pty-q509s3k3.js +18 -0
  209. package/dist/chunks/{location-mutation-tkfj7zmc.js → pty-q94b1st6.js} +9 -9
  210. package/dist/chunks/{location-mutation-7tms9jw2.js → pty-qads99dt.js} +10 -10
  211. package/dist/chunks/{location-mutation-mtk4wbwh.js → pty-qajrhsjs.js} +17 -17
  212. package/dist/chunks/{location-mutation-vyjfqv4t.js → pty-qbmqvd4g.js} +18 -18
  213. package/dist/chunks/{location-mutation-wvt7g9ep.js → pty-qhgcdxv6.js} +24 -24
  214. package/dist/chunks/{location-mutation-8n1yswe0.js → pty-qppnhhc2.js} +14 -14
  215. package/dist/chunks/{location-mutation-qsdy395h.js → pty-qsdy395h.js} +1 -1
  216. package/dist/chunks/{location-mutation-sb3d3j8p.js → pty-qvdq40c0.js} +7 -7
  217. package/dist/chunks/{location-mutation-57f52h2e.js → pty-qvmkbn54.js} +6 -6
  218. package/dist/chunks/{location-mutation-0v53mg2y.js → pty-r98e92ep.js} +4 -4
  219. package/dist/chunks/{location-mutation-w79zsp0s.js → pty-rfnzy394.js} +1 -1
  220. package/dist/chunks/{location-mutation-3dv89ket.js → pty-rj7dx2h5.js} +9 -9
  221. package/dist/chunks/{location-mutation-mhn5tcby.js → pty-ry3m58dy.js} +11 -11
  222. package/dist/chunks/{location-mutation-n9sdwvwy.js → pty-s198arwq.js} +35 -35
  223. package/dist/chunks/{location-mutation-y2ccry63.js → pty-s5xwk3mk.js} +13 -13
  224. package/dist/chunks/{location-mutation-380vjcmd.js → pty-s7xtjryh.js} +1 -1
  225. package/dist/chunks/{location-mutation-nwwfgs0n.js → pty-s8s1e1cz.js} +27 -25
  226. package/dist/chunks/{location-mutation-qk64x1h5.js → pty-seak0fhn.js} +11 -11
  227. package/dist/chunks/{location-mutation-5t94bsj9.js → pty-sfvqjyek.js} +6 -6
  228. package/dist/chunks/{location-mutation-tj1a712e.js → pty-sfwr2w0j.js} +9 -9
  229. package/dist/chunks/{location-mutation-vyjzrkx0.js → pty-srpeewqc.js} +9 -9
  230. package/dist/chunks/{location-mutation-xw1r19dr.js → pty-stse86ng.js} +11 -11
  231. package/dist/chunks/{location-mutation-nydj1emx.js → pty-sw07yjb5.js} +13 -13
  232. package/dist/chunks/{location-mutation-1scpfsh2.js → pty-t3kscp9x.js} +33 -33
  233. package/dist/chunks/{location-mutation-r6gw4gsf.js → pty-t7pp6j4t.js} +42 -42
  234. package/dist/chunks/{location-mutation-3xztec2w.js → pty-t97t2t7r.js} +11 -11
  235. package/dist/chunks/{location-mutation-kcwf74x3.js → pty-t9e6e84n.js} +1 -1
  236. package/dist/chunks/{location-mutation-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{location-mutation-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{location-mutation-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{location-mutation-3cfzdc8e.js → pty-tn0aqsam.js} +5 -5
  240. package/dist/chunks/{location-mutation-jtpp2ykg.js → pty-tnznc2wb.js} +25 -25
  241. package/dist/chunks/{location-mutation-tvtrv512.js → pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{location-mutation-gtsm3tea.js → pty-twcs6fsf.js} +9 -9
  243. package/dist/chunks/{location-mutation-82b3faa1.js → pty-v29tykb6.js} +15 -15
  244. package/dist/chunks/{location-mutation-mx4qes0k.js → pty-v4gcmn1h.js} +15 -15
  245. package/dist/chunks/{location-mutation-v7q5x8q4.js → pty-v84jj1d3.js} +35 -35
  246. package/dist/chunks/{location-mutation-veqvce7d.js → pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-mutation-0tpcnmcw.js → pty-vnnhbf40.js} +6 -6
  248. package/dist/chunks/{location-mutation-xmsvvm95.js → pty-vyy6b7xa.js} +20 -20
  249. package/dist/chunks/{location-mutation-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{location-mutation-paegk39x.js → pty-w1k39n5e.js} +4 -4
  251. package/dist/chunks/{location-mutation-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{location-mutation-ch56cc6g.js → pty-wagd5xb7.js} +32 -32
  253. package/dist/chunks/{location-mutation-b83fz2rh.js → pty-wbck336m.js} +9 -9
  254. package/dist/chunks/{location-mutation-gvcpdg76.js → pty-wcvnc3wq.js} +18 -18
  255. package/dist/chunks/{location-mutation-wd87259q.js → pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{location-mutation-7yg93r1e.js → pty-wfjxtpcj.js} +24 -24
  257. package/dist/chunks/{location-mutation-gxw8tk06.js → pty-whr1jkby.js} +18 -18
  258. package/dist/chunks/{location-mutation-j55g5gc5.js → pty-wk58jv74.js} +10 -10
  259. package/dist/chunks/{location-mutation-dmpamw93.js → pty-wp4jr60n.js} +5 -5
  260. package/dist/chunks/{location-mutation-gy8bp4n5.js → pty-wqkncbjv.js} +3 -3
  261. package/dist/chunks/{location-mutation-fqj9nv8j.js → pty-x0vzmp4x.js} +8 -8
  262. package/dist/chunks/{location-mutation-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{location-mutation-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{location-mutation-pzpywyfj.js → pty-xay24vqs.js} +38 -38
  265. package/dist/chunks/{location-mutation-a33f6fh4.js → pty-xhcbj5xc.js} +11 -11
  266. package/dist/chunks/pty-xz4tz1py.js +462 -0
  267. package/dist/chunks/{location-mutation-fra1pztx.js → pty-y09ge0g8.js} +11 -11
  268. package/dist/chunks/{location-mutation-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-mutation-jwcy2c2z.js → pty-y71avatq.js} +4 -4
  270. package/dist/chunks/{location-mutation-jah5aqqf.js → pty-ydpc6wdy.js} +7 -7
  271. package/dist/chunks/{location-mutation-cwkw9hxx.js → pty-yhp80jsc.js} +13 -13
  272. package/dist/chunks/{location-mutation-p6cfp1ja.js → pty-yjq2qjwg.js} +30 -30
  273. package/dist/chunks/{location-mutation-3ey06gfw.js → pty-yme990fg.js} +14 -14
  274. package/dist/chunks/{location-mutation-00zne7qa.js → pty-yn742g3f.js} +23 -23
  275. package/dist/chunks/{location-mutation-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-mutation-yrznvahk.js → pty-yrznvahk.js} +2 -2
  277. package/dist/chunks/{location-mutation-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-mutation-1z2mvqeh.js → pty-z0wxwbgt.js} +76 -76
  279. package/dist/chunks/{location-mutation-36ch212h.js → pty-z3pg8v1h.js} +8 -8
  280. package/dist/chunks/{location-mutation-z63w68vq.js → pty-z63w68vq.js} +2 -2
  281. package/dist/chunks/pty-z7by1xyg.js +260 -0
  282. package/dist/chunks/{location-mutation-sy45pk4d.js → pty-zd1mjem4.js} +9 -9
  283. package/dist/chunks/{location-mutation-zbqs32x3.js → pty-zdxpjn9v.js} +56 -56
  284. package/dist/chunks/{location-mutation-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-mutation-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-mutation-gz0k60p5.js → pty-zt549x9j.js} +11 -11
  287. package/dist/chunks/{location-mutation-4b6bntqd.js → pty-zxgnc9zk.js} +1 -1
  288. package/dist/chunks/{location-mutation-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +113 -113
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +88 -88
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +76 -76
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +87 -87
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +80 -80
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +98 -98
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +115 -115
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +209 -209
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +100 -100
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +115 -115
  636. package/dist/tool/plugin/question.js +100 -100
  637. package/dist/tool/plugin/read.js +115 -115
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +104 -104
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +11 -11
  648. package/dist/types/session/compaction.d.ts +2 -2
  649. package/dist/types/session/context.d.ts +1 -1
  650. package/dist/types/session/model-request.d.ts +18 -37
  651. package/dist/types/session/runner/step.d.ts +1 -1
  652. package/dist/types/session/store.d.ts +1 -0
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +85 -85
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +74 -74
  682. package/dist/wellknown.js +71 -71
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +76 -76
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +7 -7
  688. package/dist/worktree/refresh.js +342 -342
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +87 -87
  691. package/package.json +8 -8
  692. package/dist/chunks/location-mutation-0mesazry.js +0 -4
  693. package/dist/chunks/location-mutation-8amm28tb.js +0 -462
  694. package/dist/chunks/location-mutation-8c4fmeec.js +0 -247
  695. package/dist/chunks/location-mutation-ht5y0zrb.js +0 -18
  696. package/dist/chunks/location-mutation-hv8hjp39.js +0 -270
  697. package/dist/chunks/location-mutation-pv53ra6t.js +0 -22
  698. /package/dist/chunks/{location-mutation-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{location-mutation-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{location-mutation-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{location-mutation-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{location-mutation-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{location-mutation-2710q6r3.js → pty-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{location-mutation-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{location-mutation-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{location-mutation-359p4xyc.js → pty-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{location-mutation-3asan66x.js → pty-3asan66x.js} +0 -0
  708. /package/dist/chunks/{location-mutation-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{location-mutation-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{location-mutation-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{location-mutation-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{location-mutation-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{location-mutation-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{location-mutation-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{location-mutation-53557ph1.js → pty-53557ph1.js} +0 -0
  716. /package/dist/chunks/{location-mutation-550bvhaj.js → pty-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{location-mutation-6prwharc.js → pty-6prwharc.js} +0 -0
  718. /package/dist/chunks/{location-mutation-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-mutation-7m9af43g.js → pty-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-mutation-822emrt2.js → pty-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-mutation-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{location-mutation-8n3pysct.js → pty-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{location-mutation-922hggd3.js → pty-922hggd3.js} +0 -0
  724. /package/dist/chunks/{location-mutation-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{location-mutation-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{location-mutation-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{location-mutation-af5trqkr.js → pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{location-mutation-afrmfg78.js → pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{location-mutation-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{location-mutation-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{location-mutation-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{location-mutation-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{location-mutation-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{location-mutation-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{location-mutation-d9fn303g.js → pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{location-mutation-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{location-mutation-dajrwvna.js → pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{location-mutation-dap0rakb.js → pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{location-mutation-df08tz66.js → pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{location-mutation-dy18nga0.js → pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{location-mutation-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{location-mutation-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{location-mutation-ec1grn59.js → pty-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{location-mutation-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{location-mutation-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{location-mutation-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{location-mutation-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{location-mutation-faypxj3z.js → pty-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{location-mutation-fd410y7t.js → pty-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{location-mutation-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{location-mutation-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-mutation-g86h250q.js → pty-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-mutation-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-mutation-gftt206x.js → pty-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-mutation-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{location-mutation-hk9envan.js → pty-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-mutation-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  758. /package/dist/chunks/{location-mutation-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-mutation-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-mutation-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-mutation-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-mutation-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{location-mutation-mp448xyj.js → pty-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{location-mutation-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{location-mutation-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{location-mutation-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{location-mutation-njntx4h6.js → pty-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{location-mutation-paphc93g.js → pty-paphc93g.js} +0 -0
  769. /package/dist/chunks/{location-mutation-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{location-mutation-q74kybfr.js → pty-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{location-mutation-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{location-mutation-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{location-mutation-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{location-mutation-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{location-mutation-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{location-mutation-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{location-mutation-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{location-mutation-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{location-mutation-twg0f83k.js → pty-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{location-mutation-w803qqfp.js → pty-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{location-mutation-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{location-mutation-wtztk69x.js → pty-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{location-mutation-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{location-mutation-x61499pn.js → pty-x61499pn.js} +0 -0
  785. /package/dist/chunks/{location-mutation-y44na4kk.js → pty-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{location-mutation-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{location-mutation-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{location-mutation-ym463w8f.js → pty-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{location-mutation-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service64,
3
- node69
4
- } from "./location-mutation-gvcpdg76.js";
2
+ Service65,
3
+ node70
4
+ } from "./pty-wcvnc3wq.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./location-mutation-ps2ghfx6.js";
6
+ Service76,
7
+ node81
8
+ } from "./pty-0sw24r53.js";
9
9
  import {
10
- Service63,
11
- node68
12
- } from "./location-mutation-gyqj5dqq.js";
10
+ Service64,
11
+ node69
12
+ } from "./pty-1vccm05t.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./location-mutation-zxq2ej10.js";
16
+ } from "./pty-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./location-mutation-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service6,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node6
28
+ node: () => node8
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service63;
40
- const watcher = yield* Service64;
38
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
39
+ const config = yield* Service64;
40
+ const watcher = yield* Service65;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service74;
42
+ const location = yield* Service76;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service6.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service3,
73
+ var node8 = makeLocationNode({
74
+ service: Service6,
75
75
  layer: layer5,
76
- deps: [node68, FSUtil.node, node69, node79]
76
+ deps: [node69, FSUtil.node, node70, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service6,
80
+ layer: Layer.succeed(Service6, Service6.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer5, node6, empty2, exports_source };
140
+ export { Service6, layer5, node8, empty2, exports_source };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node79
3
+ } from "./pty-jdnfkhzv.js";
4
+ import {
5
+ node74
6
+ } from "./pty-zt549x9j.js";
7
+ import {
8
+ node61
9
+ } from "./pty-0dydqtd7.js";
10
+ import {
11
+ node60
12
+ } from "./pty-1hvj6sc5.js";
13
+ import {
14
+ node59
15
+ } from "./pty-09ms4exh.js";
16
+ import {
17
+ node40
18
+ } from "./pty-tnznc2wb.js";
19
+ import {
20
+ node81,
21
+ boundNode2
22
+ } from "./pty-0sw24r53.js";
23
+ import {
24
+ configured10,
25
+ node69
26
+ } from "./pty-1vccm05t.js";
27
+ import {
28
+ node63
29
+ } from "./pty-qhgcdxv6.js";
30
+ import {
31
+ node34
32
+ } from "./pty-yhp80jsc.js";
33
+ import {
34
+ node32
35
+ } from "./pty-4kwjx591.js";
36
+ import {
37
+ node36
38
+ } from "./pty-yjq2qjwg.js";
39
+ import {
40
+ node35
41
+ } from "./pty-25xantg0.js";
42
+ import {
43
+ node58
44
+ } from "./pty-0a1gtahz.js";
45
+ import {
46
+ node57
47
+ } from "./pty-v29tykb6.js";
48
+ import {
49
+ node43
50
+ } from "./pty-srpeewqc.js";
51
+ import {
52
+ node26
53
+ } from "./pty-98hm5tys.js";
54
+ import {
55
+ Service49,
56
+ node53
57
+ } from "./pty-0bps82y7.js";
58
+ import {
59
+ node29
60
+ } from "./pty-g0eh8qf4.js";
61
+ import {
62
+ node80
63
+ } from "./pty-dc76j9wz.js";
64
+ import {
65
+ node76
66
+ } from "./pty-s198arwq.js";
67
+ import {
68
+ node52
69
+ } from "./pty-gad8dwyr.js";
70
+ import {
71
+ configured3,
72
+ node33
73
+ } from "./pty-gbaa2wnh.js";
74
+ import {
75
+ node21
76
+ } from "./pty-jct9c584.js";
77
+ import {
78
+ node42
79
+ } from "./pty-9b10rcng.js";
80
+ import {
81
+ node25
82
+ } from "./pty-ks2km4ey.js";
83
+ import {
84
+ node48
85
+ } from "./pty-8n7wwas9.js";
86
+ import {
87
+ node22
88
+ } from "./pty-jfpr744w.js";
89
+ import {
90
+ node30
91
+ } from "./pty-c3grgfa4.js";
92
+ import {
93
+ node24
94
+ } from "./pty-gswf14xw.js";
95
+ import {
96
+ node20
97
+ } from "./pty-3ez202fs.js";
98
+ import {
99
+ node31
100
+ } from "./pty-wfjxtpcj.js";
101
+ import {
102
+ node68
103
+ } from "./pty-qajrhsjs.js";
104
+ import {
105
+ node47
106
+ } from "./pty-cq2rc4ba.js";
107
+ import {
108
+ node45
109
+ } from "./pty-pbc3mjh9.js";
110
+ import {
111
+ node66
112
+ } from "./pty-whr1jkby.js";
113
+ import {
114
+ node38
115
+ } from "./pty-74b9qssb.js";
116
+ import {
117
+ node39
118
+ } from "./pty-dda9r64d.js";
119
+ import {
120
+ node37
121
+ } from "./pty-pjdb2e90.js";
122
+ import {
123
+ node16
124
+ } from "./pty-4bx7125q.js";
125
+ import {
126
+ node2
127
+ } from "./pty-v84jj1d3.js";
128
+ import {
129
+ node75
130
+ } from "./pty-evwc8rkj.js";
131
+ import {
132
+ node5,
133
+ bound2
134
+ } from "./pty-dv1qgsyq.js";
135
+ import {
136
+ node13
137
+ } from "./pty-3yjn18yr.js";
138
+ import {
139
+ node15
140
+ } from "./pty-bkj6dszq.js";
141
+ import {
142
+ node11
143
+ } from "./pty-mzz8vzet.js";
144
+ import {
145
+ node4
146
+ } from "./pty-t7pp6j4t.js";
147
+ import {
148
+ node3
149
+ } from "./pty-6kpj1tx7.js";
150
+ import {
151
+ node67
152
+ } from "./pty-21rtx38p.js";
153
+ import {
154
+ node14
155
+ } from "./pty-mkar22rr.js";
156
+ import {
157
+ node12
158
+ } from "./pty-z0wxwbgt.js";
159
+ import {
160
+ __export
161
+ } from "./pty-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service49,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node53
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node81,
177
+ node63,
178
+ node69,
179
+ node79,
180
+ node40,
181
+ node48,
182
+ node66,
183
+ node39,
184
+ node60,
185
+ node59,
186
+ node58,
187
+ node74,
188
+ node16,
189
+ node80,
190
+ node5,
191
+ node4,
192
+ node3,
193
+ node37,
194
+ node36,
195
+ node35,
196
+ node68,
197
+ node67,
198
+ node45,
199
+ node30,
200
+ node21,
201
+ node33,
202
+ node75,
203
+ node34,
204
+ node32,
205
+ node26,
206
+ node76,
207
+ node42,
208
+ node47,
209
+ node43,
210
+ node24,
211
+ node22,
212
+ node29,
213
+ node61,
214
+ node57,
215
+ node11,
216
+ node25,
217
+ node15,
218
+ node52,
219
+ node13,
220
+ node14,
221
+ node20,
222
+ node31,
223
+ node12,
224
+ node38,
225
+ node2
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node69.replace(configured10({ project: false, global: false })),
230
+ node33.replace(configured3({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node81.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node5.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./location-mutation-m512vzfg.js";
3
+ } from "./pty-jwqvw401.js";
4
4
  import {
5
- Service77
6
- } from "./location-mutation-sedkckjb.js";
5
+ Service79
6
+ } from "./pty-ckrdk9yx.js";
7
7
  import {
8
- Service44
9
- } from "./location-mutation-m46exch3.js";
8
+ Service49
9
+ } from "./pty-0bps82y7.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./location-mutation-922hggd3.js";
12
+ } from "./pty-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service53
16
- } from "./location-mutation-7yg93r1e.js";
14
+ ID4,
15
+ Service27
16
+ } from "./pty-wfjxtpcj.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-mutation-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./location-mutation-gftt206x.js";
22
+ } from "./pty-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./location-mutation-gy8bp4n5.js";
25
+ } from "./pty-wqkncbjv.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./location-mutation-a1bz86dw.js";
28
+ } from "./pty-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./location-mutation-9rqn6x4v.js";
31
+ } from "./pty-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service44;
45
+ const instances = yield* Service49;
46
46
  const database = yield* Service80;
47
- const bus = yield* Service77;
47
+ const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service53;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service27;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service44;
78
- const bus = yield* Service77;
77
+ const instances = yield* Service49;
78
+ const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service53;
80
+ const snapshot = yield* Service27;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./location-mutation-gy8bp4n5.js";
5
+ } from "./pty-wqkncbjv.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./location-mutation-n9sdwvwy.js";
8
+ } from "./pty-s198arwq.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./location-mutation-p4nzc36k.js";
11
+ } from "./pty-1hvj6sc5.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./location-mutation-hhb7sktp.js";
19
+ } from "./pty-gad8dwyr.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID11,
2
+ ID12,
3
3
  packageName2
4
- } from "./location-mutation-jtp7wgq3.js";
4
+ } from "./pty-9qn3qky1.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID11.amazonBedrock,
25
+ integrationID: ID12.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-mutation-jtp7wgq3.js";
4
+ } from "./pty-9qn3qky1.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-mutation-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service12.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node15, exports_discovery };
155
+ export { Service8, node10, exports_discovery };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./location-mutation-jtp7wgq3.js";
5
+ } from "./pty-9qn3qky1.js";
6
6
  import {
7
- ID10
8
- } from "./location-mutation-p14yjxpe.js";
7
+ ID11
8
+ } from "./pty-esam66tc.js";
9
9
  import {
10
- Service77
11
- } from "./location-mutation-sedkckjb.js";
10
+ Service79
11
+ } from "./pty-ckrdk9yx.js";
12
12
  import {
13
13
  OAuth3,
14
- Event15
15
- } from "./location-mutation-r17fvq36.js";
14
+ Event17
15
+ } from "./pty-f37g46dm.js";
16
16
  import {
17
- ID7,
17
+ ID6,
18
18
  MethodID2
19
- } from "./location-mutation-p4nzc36k.js";
19
+ } from "./pty-1hvj6sc5.js";
20
20
  import {
21
- Service51
22
- } from "./location-mutation-t5dz2dvd.js";
21
+ Service55
22
+ } from "./pty-09ms4exh.js";
23
23
  import {
24
24
  get2
25
- } from "./location-mutation-qk64x1h5.js";
25
+ } from "./pty-seak0fhn.js";
26
26
  import {
27
27
  useragent2
28
- } from "./location-mutation-ttrnch24.js";
28
+ } from "./pty-gs60z27v.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID7.make("github-copilot"),
60
+ integrationID: ID6.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service51;
159
- const bus = yield* Service77;
158
+ const catalog = yield* Service55;
159
+ const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID11.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID12.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID12.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID11.githubCopilot);
190
+ const item = evt.provider.get(ID12.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID10.make(id)))
195
+ if (!loaded.models.has(ID11.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID10.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID10.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID11.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID11.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID11.githubCopilot)
220
+ if (evt.model.providerID !== ID12.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID11.githubCopilot)
229
+ if (evt.model.providerID !== ID12.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID11.githubCopilot });
239
+ }), { providerID: ID12.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID11.githubCopilot)
241
+ if (evt.model.providerID !== ID12.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID11.githubCopilot });
249
+ }), { providerID: ID12.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID11.githubCopilot)
251
+ if (evt.model.providerID !== ID12.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);