@opencode/core 0.0.0-dev-21603 → 0.0.0-dev-21614

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-pe681sea.js → wellknown-076c863b.js} +29 -29
  8. package/dist/chunks/{filesystem-r6wgv8c9.js → wellknown-0gka690g.js} +6 -6
  9. package/dist/chunks/{filesystem-tasvem1v.js → wellknown-0ks2n9jf.js} +6 -6
  10. package/dist/chunks/{filesystem-vq1p6kkc.js → wellknown-10e9m0pt.js} +19 -19
  11. package/dist/chunks/{filesystem-a9mr4pbf.js → wellknown-14ywxsr7.js} +24 -24
  12. package/dist/chunks/{filesystem-p6brcwvv.js → wellknown-17d0ztjt.js} +5 -5
  13. package/dist/chunks/{filesystem-ed5h55sq.js → wellknown-17m52qnf.js} +16 -16
  14. package/dist/chunks/{filesystem-rfytqs76.js → wellknown-1afthse9.js} +79 -79
  15. package/dist/chunks/{filesystem-6w1z0afp.js → wellknown-1aqx0n7f.js} +45 -45
  16. package/dist/chunks/{filesystem-my4zabxr.js → wellknown-1aykj8gn.js} +3 -3
  17. package/dist/chunks/{filesystem-fx5d1n8y.js → wellknown-1bgqzpz0.js} +2 -2
  18. package/dist/chunks/{filesystem-942936k7.js → wellknown-1dbgwwb0.js} +48 -48
  19. package/dist/chunks/{filesystem-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{filesystem-z2g46f5b.js → wellknown-1yj5qhdy.js} +4 -4
  21. package/dist/chunks/{filesystem-5zrxpy3q.js → wellknown-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{filesystem-b4rme3tx.js → wellknown-210p74nv.js} +6 -6
  23. package/dist/chunks/{filesystem-jx3jy26a.js → wellknown-25zhe1e5.js} +14 -14
  24. package/dist/chunks/{filesystem-fjqbqs01.js → wellknown-27dh21s1.js} +15 -15
  25. package/dist/chunks/{filesystem-1ep2p91f.js → wellknown-27w5k9zf.js} +2 -2
  26. package/dist/chunks/{filesystem-57r3w4mg.js → wellknown-2ka2xw9j.js} +33 -33
  27. package/dist/chunks/{filesystem-2xm0hnd3.js → wellknown-2vk9k41n.js} +9 -9
  28. package/dist/chunks/{filesystem-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{filesystem-v6ssz0w4.js → wellknown-34s5tdcd.js} +4 -4
  30. package/dist/chunks/{filesystem-61g7nd3s.js → wellknown-385mwvv9.js} +10 -10
  31. package/dist/chunks/{filesystem-ayjs7tqn.js → wellknown-3cbjf1nt.js} +2 -2
  32. package/dist/chunks/{filesystem-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{filesystem-0s34gk3x.js → wellknown-3hw3272a.js} +8 -8
  34. package/dist/chunks/{filesystem-szcgc7h4.js → wellknown-3kdbrncp.js} +5 -5
  35. package/dist/chunks/{filesystem-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{filesystem-wh56f0xg.js → wellknown-3vvv9mv5.js} +14 -14
  37. package/dist/chunks/{filesystem-qxd0vyyx.js → wellknown-41b3382c.js} +7 -7
  38. package/dist/chunks/{filesystem-7ag3s6hb.js → wellknown-4pw98qd4.js} +4 -4
  39. package/dist/chunks/{filesystem-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  40. package/dist/chunks/{filesystem-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
  41. package/dist/chunks/{filesystem-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  42. package/dist/chunks/{filesystem-b6vsg801.js → wellknown-5nnwax6m.js} +5 -5
  43. package/dist/chunks/{filesystem-gmxp0tf2.js → wellknown-5nrmz00j.js} +26 -26
  44. package/dist/chunks/{filesystem-zqe6np9v.js → wellknown-5tpm11qt.js} +41 -41
  45. package/dist/chunks/{filesystem-zj8h54zn.js → wellknown-5vcjq1d8.js} +7 -7
  46. package/dist/chunks/{filesystem-81852ppe.js → wellknown-6bssvd5f.js} +28 -28
  47. package/dist/chunks/{filesystem-vgk61ywp.js → wellknown-6c5cd6ez.js} +9 -9
  48. package/dist/chunks/{filesystem-7f5nwzj1.js → wellknown-6ca4ym0t.js} +28 -28
  49. package/dist/chunks/{filesystem-nzhn8ym0.js → wellknown-6dmetk4g.js} +15 -15
  50. package/dist/chunks/{filesystem-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
  51. package/dist/chunks/{filesystem-1c8e1z5t.js → wellknown-6gbmgfj5.js} +5 -5
  52. package/dist/chunks/{filesystem-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
  53. package/dist/chunks/{filesystem-8wxy6m1c.js → wellknown-6q5pcj1n.js} +10 -10
  54. package/dist/chunks/{filesystem-bhk5af8b.js → wellknown-6vhvgjh4.js} +22 -22
  55. package/dist/chunks/{filesystem-4ef8bwn9.js → wellknown-6vqxkcd0.js} +12 -12
  56. package/dist/chunks/{filesystem-d5rem3a1.js → wellknown-6wdcbwmk.js} +7 -7
  57. package/dist/chunks/{filesystem-3v1362xg.js → wellknown-6xcwddbm.js} +26 -26
  58. package/dist/chunks/{filesystem-q45ckesn.js → wellknown-6ysjzz3p.js} +33 -33
  59. package/dist/chunks/{filesystem-m07e8bkf.js → wellknown-6yzvmzd3.js} +15 -15
  60. package/dist/chunks/{filesystem-w8qtt4th.js → wellknown-76cb1hcw.js} +4 -4
  61. package/dist/chunks/{filesystem-ty2sm10g.js → wellknown-772qq538.js} +23 -23
  62. package/dist/chunks/{filesystem-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{filesystem-7n2s0hvn.js → wellknown-7dwrvf5h.js} +1 -1
  64. package/dist/chunks/{filesystem-g1sdaffb.js → wellknown-7nkdcysn.js} +27 -27
  65. package/dist/chunks/{filesystem-cc5x4asw.js → wellknown-7pcsvk8m.js} +18 -18
  66. package/dist/chunks/{filesystem-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  67. package/dist/chunks/{filesystem-5wkrvrk3.js → wellknown-7w8fhshn.js} +23 -23
  68. package/dist/chunks/{filesystem-t7e7c0ah.js → wellknown-8682byc1.js} +6 -6
  69. package/dist/chunks/{filesystem-c3mghmzq.js → wellknown-8hzjd0j9.js} +17 -17
  70. package/dist/chunks/{filesystem-qjgzc4b4.js → wellknown-8jztxfpf.js} +4 -4
  71. package/dist/chunks/{filesystem-3dedk1s0.js → wellknown-8qkyrtnb.js} +28 -28
  72. package/dist/chunks/{filesystem-4ap0d51q.js → wellknown-8sqhc7vc.js} +6 -6
  73. package/dist/chunks/{filesystem-2qc03bdv.js → wellknown-8v3etk6p.js} +10 -10
  74. package/dist/chunks/{filesystem-ggdzy5vb.js → wellknown-8vttfty6.js} +13 -13
  75. package/dist/chunks/{filesystem-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  76. package/dist/chunks/{filesystem-1w51vxkz.js → wellknown-8xmmsc9p.js} +13 -13
  77. package/dist/chunks/{filesystem-spa8vgy8.js → wellknown-8ykqf5wm.js} +11 -11
  78. package/dist/chunks/{filesystem-91rj84md.js → wellknown-91rj84md.js} +1 -1
  79. package/dist/chunks/{filesystem-2j6zzxrf.js → wellknown-9a61gpeh.js} +5 -5
  80. package/dist/chunks/wellknown-9cmrt7xy.js +26 -0
  81. package/dist/chunks/{filesystem-7fvw33xg.js → wellknown-9dtj3gwf.js} +12 -12
  82. package/dist/chunks/{filesystem-3k4jc8v0.js → wellknown-9g4cv0f3.js} +5 -5
  83. package/dist/chunks/{filesystem-ggm2jm67.js → wellknown-9smwdb2z.js} +14 -14
  84. package/dist/chunks/{filesystem-z5hhap5m.js → wellknown-9v7dz4xn.js} +12 -12
  85. package/dist/chunks/{filesystem-p53t1m50.js → wellknown-9vbx93zb.js} +30 -30
  86. package/dist/chunks/{filesystem-65k60evq.js → wellknown-a5y3wh5q.js} +5 -5
  87. package/dist/chunks/{filesystem-8p2axgtb.js → wellknown-aa2zaxkm.js} +14 -14
  88. package/dist/chunks/{filesystem-r2skbm8f.js → wellknown-ae027wx8.js} +9 -9
  89. package/dist/chunks/{filesystem-034tev2y.js → wellknown-aj7mw0zk.js} +2 -2
  90. package/dist/chunks/{filesystem-v11fj23z.js → wellknown-am41y27b.js} +11 -11
  91. package/dist/chunks/{filesystem-r66x192s.js → wellknown-aqc37f1k.js} +35 -35
  92. package/dist/chunks/{filesystem-dvebtgfn.js → wellknown-axjrj1bz.js} +18 -18
  93. package/dist/chunks/{filesystem-8fg642az.js → wellknown-ayxev8a3.js} +2 -2
  94. package/dist/chunks/{filesystem-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
  95. package/dist/chunks/{filesystem-9e4mvsvc.js → wellknown-b0t89xxr.js} +37 -37
  96. package/dist/chunks/{filesystem-axbw4nz1.js → wellknown-b30fx7c5.js} +21 -21
  97. package/dist/chunks/{filesystem-5s0q14pj.js → wellknown-b5tvc8h0.js} +5 -5
  98. package/dist/chunks/{filesystem-bmk2h0av.js → wellknown-b692ze95.js} +8 -8
  99. package/dist/chunks/{filesystem-ze4vdf9h.js → wellknown-beqsqb4f.js} +1 -1
  100. package/dist/chunks/{filesystem-gkkwf9ek.js → wellknown-bmd0we0e.js} +23 -23
  101. package/dist/chunks/{filesystem-v7ecd1j3.js → wellknown-c3v55vft.js} +18 -18
  102. package/dist/chunks/{filesystem-nv7qnqx3.js → wellknown-c6gg2d7g.js} +9 -9
  103. package/dist/chunks/{filesystem-nt6ka9fm.js → wellknown-cdehd1dv.js} +11 -11
  104. package/dist/chunks/{filesystem-zkgq49d1.js → wellknown-cfkc8wvf.js} +4 -4
  105. package/dist/chunks/{filesystem-t2wr9q9z.js → wellknown-cjqg7s82.js} +13 -13
  106. package/dist/chunks/{filesystem-s1w5fnqx.js → wellknown-cmceae6s.js} +18 -18
  107. package/dist/chunks/{filesystem-nftmt6w7.js → wellknown-cqf8794w.js} +23 -23
  108. package/dist/chunks/{filesystem-8k7htary.js → wellknown-ctz21g80.js} +10 -10
  109. package/dist/chunks/{filesystem-kw88awxx.js → wellknown-cwqd4yek.js} +6 -6
  110. package/dist/chunks/wellknown-d2bq0fh0.js +257 -0
  111. package/dist/chunks/{filesystem-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  112. package/dist/chunks/{filesystem-hw3tvpxd.js → wellknown-d9rjxn1q.js} +13 -13
  113. package/dist/chunks/{filesystem-ek8mq45z.js → wellknown-dcbbhpwf.js} +16 -16
  114. package/dist/chunks/{filesystem-edvrbgb7.js → wellknown-dcxf72cj.js} +14 -14
  115. package/dist/chunks/{filesystem-7zaqb5eb.js → wellknown-dmg81fze.js} +11 -11
  116. package/dist/chunks/{filesystem-998yhzzq.js → wellknown-dvj9ct8m.js} +3 -3
  117. package/dist/chunks/{filesystem-9dzxay90.js → wellknown-dzbgzh8d.js} +24 -24
  118. package/dist/chunks/{filesystem-vck145x8.js → wellknown-e0977wyg.js} +15 -15
  119. package/dist/chunks/{filesystem-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
  120. package/dist/chunks/{filesystem-hx2kfbk2.js → wellknown-e5azydyz.js} +7 -7
  121. package/dist/chunks/{filesystem-jneg3k74.js → wellknown-e5dqjz6v.js} +4 -4
  122. package/dist/chunks/{filesystem-e834z07m.js → wellknown-e834z07m.js} +1 -1
  123. package/dist/chunks/{filesystem-c1xd845s.js → wellknown-e94x7tnv.js} +11 -11
  124. package/dist/chunks/{filesystem-kybr559y.js → wellknown-ebhqaeer.js} +20 -20
  125. package/dist/chunks/{filesystem-xh3hzw7q.js → wellknown-ebqxajpa.js} +8 -8
  126. package/dist/chunks/{filesystem-ya1e3r6x.js → wellknown-ee49148j.js} +18 -18
  127. package/dist/chunks/{filesystem-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{filesystem-d0adv3wn.js → wellknown-ek216raq.js} +4 -4
  129. package/dist/chunks/{filesystem-t0861qrz.js → wellknown-em09g0j4.js} +11 -11
  130. package/dist/chunks/{filesystem-qnm4ee5f.js → wellknown-et702fqy.js} +6 -6
  131. package/dist/chunks/wellknown-ezna1kdx.js +18 -0
  132. package/dist/chunks/{filesystem-8xs7txxn.js → wellknown-f8brgmmr.js} +1 -1
  133. package/dist/chunks/{filesystem-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{filesystem-mgd76wh1.js → wellknown-ffp3ehby.js} +15 -15
  135. package/dist/chunks/{filesystem-ewt411c3.js → wellknown-fhpwcnq5.js} +16 -16
  136. package/dist/chunks/{filesystem-zjbp7710.js → wellknown-fmt9wnsp.js} +28 -28
  137. package/dist/chunks/{filesystem-be4y46ka.js → wellknown-fyzdnt29.js} +18 -18
  138. package/dist/chunks/{filesystem-rntrk4q6.js → wellknown-fzrg86r1.js} +10 -10
  139. package/dist/chunks/{filesystem-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
  140. package/dist/chunks/{filesystem-zmwx25fz.js → wellknown-gbnff0zv.js} +2 -2
  141. package/dist/chunks/{filesystem-k2swmk98.js → wellknown-gcc7dp33.js} +15 -15
  142. package/dist/chunks/{filesystem-7e5ts14b.js → wellknown-gcj3kjtw.js} +29 -24
  143. package/dist/chunks/{filesystem-jhe7xhev.js → wellknown-ge2s7166.js} +18 -18
  144. package/dist/chunks/{filesystem-eq3fc1qc.js → wellknown-gj8x1tda.js} +5 -5
  145. package/dist/chunks/{filesystem-6825m99s.js → wellknown-gm2e9k17.js} +15 -15
  146. package/dist/chunks/{filesystem-6je74zf0.js → wellknown-gpgh1ne9.js} +13 -13
  147. package/dist/chunks/{filesystem-4k0n4aqd.js → wellknown-h4qn0q0n.js} +25 -25
  148. package/dist/chunks/{filesystem-edpv0694.js → wellknown-h9zzwr9p.js} +4 -4
  149. package/dist/chunks/{filesystem-7h2wc5qt.js → wellknown-hnc1mdqv.js} +13 -13
  150. package/dist/chunks/{filesystem-rs61zdpp.js → wellknown-htb7qhsb.js} +11 -11
  151. package/dist/chunks/{filesystem-j113cymg.js → wellknown-j113cymg.js} +1 -1
  152. package/dist/chunks/{filesystem-0kew33c2.js → wellknown-j693j56p.js} +7 -7
  153. package/dist/chunks/{filesystem-pvg6n8yd.js → wellknown-j9sfyafe.js} +26 -26
  154. package/dist/chunks/{filesystem-wxf6pp3z.js → wellknown-jdv93er6.js} +29 -29
  155. package/dist/chunks/{filesystem-epqb75p6.js → wellknown-jtx0gzs1.js} +8 -8
  156. package/dist/chunks/{filesystem-033a0jkt.js → wellknown-jx89vj1k.js} +3 -3
  157. package/dist/chunks/{filesystem-3trpca19.js → wellknown-k4t14cac.js} +10 -10
  158. package/dist/chunks/{filesystem-dt3jkxpv.js → wellknown-k6n8wf1h.js} +15 -15
  159. package/dist/chunks/{filesystem-1tpn6myv.js → wellknown-k6wk3r5t.js} +37 -37
  160. package/dist/chunks/{filesystem-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
  161. package/dist/chunks/{filesystem-jgmj0zrj.js → wellknown-k8w4kbf3.js} +41 -41
  162. package/dist/chunks/{filesystem-ps833y8c.js → wellknown-k97tdqzj.js} +6 -6
  163. package/dist/chunks/{filesystem-2n0h6mem.js → wellknown-k9cky2s3.js} +11 -11
  164. package/dist/chunks/{filesystem-2q14gge3.js → wellknown-kf4k70c8.js} +27 -27
  165. package/dist/chunks/{filesystem-xxwqbg00.js → wellknown-ksj071wv.js} +25 -25
  166. package/dist/chunks/{filesystem-4b4zxyy8.js → wellknown-kv86bdab.js} +9 -9
  167. package/dist/chunks/{filesystem-m1714858.js → wellknown-m1714858.js} +1 -1
  168. package/dist/chunks/{filesystem-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{filesystem-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
  170. package/dist/chunks/{filesystem-2f3z3cr8.js → wellknown-mchcfyvf.js} +328 -328
  171. package/dist/chunks/{filesystem-116ca35p.js → wellknown-mj6xf4g5.js} +24 -24
  172. package/dist/chunks/{filesystem-9d47vacw.js → wellknown-mkg5me76.js} +19 -19
  173. package/dist/chunks/{filesystem-ypxm9172.js → wellknown-msqmy3gp.js} +4 -4
  174. package/dist/chunks/{filesystem-k4p9vzj4.js → wellknown-mtxwg59p.js} +6 -6
  175. package/dist/chunks/{filesystem-y6v2r02b.js → wellknown-mw1fpszq.js} +40 -40
  176. package/dist/chunks/{filesystem-22qxr633.js → wellknown-my2wpxcm.js} +18 -18
  177. package/dist/chunks/{filesystem-6cxhfye1.js → wellknown-mz3hfnzx.js} +26 -26
  178. package/dist/chunks/{filesystem-n0p0277s.js → wellknown-n0p0277s.js} +1 -1
  179. package/dist/chunks/{filesystem-b55rpsr5.js → wellknown-n9a7rh5w.js} +4 -4
  180. package/dist/chunks/{filesystem-a0pqy3jv.js → wellknown-n9n70ej9.js} +9 -9
  181. package/dist/chunks/{filesystem-770pw0s1.js → wellknown-nah043kf.js} +4 -4
  182. package/dist/chunks/{filesystem-pmr385ej.js → wellknown-nfha22dk.js} +11 -11
  183. package/dist/chunks/{filesystem-bmz6t6pq.js → wellknown-nk7afy6y.js} +16 -16
  184. package/dist/chunks/{filesystem-y9xrhqjb.js → wellknown-nt8bw4me.js} +6 -6
  185. package/dist/chunks/{filesystem-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
  186. package/dist/chunks/{filesystem-an558sqv.js → wellknown-p0tsr9h6.js} +4 -4
  187. package/dist/chunks/{filesystem-7k3s3q4g.js → wellknown-p7q4x3ve.js} +34 -34
  188. package/dist/chunks/{filesystem-bcrvt9qa.js → wellknown-p900kj0g.js} +68 -68
  189. package/dist/chunks/{filesystem-pyeqa8z9.js → wellknown-pa73zsyv.js} +13 -13
  190. package/dist/chunks/{filesystem-fartem3k.js → wellknown-pgeh2d1w.js} +6 -6
  191. package/dist/chunks/{filesystem-exnmcfra.js → wellknown-pj7zvz06.js} +16 -16
  192. package/dist/chunks/{filesystem-pknna89w.js → wellknown-pknna89w.js} +1 -1
  193. package/dist/chunks/{filesystem-f2de68n6.js → wellknown-pmxxkv03.js} +1 -1
  194. package/dist/chunks/{filesystem-s4s6vne1.js → wellknown-q27fbm3z.js} +7 -7
  195. package/dist/chunks/{filesystem-vzmjdaw1.js → wellknown-qaz4f448.js} +9 -9
  196. package/dist/chunks/{filesystem-yjzq9vex.js → wellknown-qffbzpjd.js} +27 -27
  197. package/dist/chunks/{filesystem-rbj8gs5v.js → wellknown-qjwcge9s.js} +3 -3
  198. package/dist/chunks/{filesystem-gc4rcfsx.js → wellknown-qkc3z5ds.js} +4 -4
  199. package/dist/chunks/{filesystem-w65kmk12.js → wellknown-qrpbmy32.js} +11 -11
  200. package/dist/chunks/{filesystem-xcspg1bc.js → wellknown-r06a3q58.js} +18 -18
  201. package/dist/chunks/{filesystem-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
  202. package/dist/chunks/{filesystem-xw9sjbq7.js → wellknown-r711frth.js} +6 -6
  203. package/dist/chunks/{filesystem-v714my2j.js → wellknown-r7hn3bee.js} +34 -34
  204. package/dist/chunks/{filesystem-xxecem69.js → wellknown-r8bt6dxp.js} +22 -22
  205. package/dist/chunks/{filesystem-pta84ypa.js → wellknown-r8f6rk3c.js} +8 -8
  206. package/dist/chunks/{filesystem-w6e33p3k.js → wellknown-r9eyfrc3.js} +16 -16
  207. package/dist/chunks/{filesystem-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  208. package/dist/chunks/{filesystem-5ajak8ts.js → wellknown-rbhxz4gb.js} +30 -30
  209. package/dist/chunks/{filesystem-p1qvkr9d.js → wellknown-ressjymw.js} +24 -24
  210. package/dist/chunks/{filesystem-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
  211. package/dist/chunks/{filesystem-azwwy65a.js → wellknown-s4vbyw3x.js} +20 -20
  212. package/dist/chunks/{filesystem-rrad2nt9.js → wellknown-s626qfae.js} +4 -4
  213. package/dist/chunks/{filesystem-1y0wdj51.js → wellknown-s7kyse9r.js} +9 -9
  214. package/dist/chunks/{filesystem-43jry69q.js → wellknown-s9qqqswp.js} +14 -14
  215. package/dist/chunks/{filesystem-d4r2kcv6.js → wellknown-schbm4ma.js} +45 -45
  216. package/dist/chunks/{filesystem-rhkbbz1f.js → wellknown-skywmwjb.js} +4 -4
  217. package/dist/chunks/{filesystem-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
  218. package/dist/chunks/{filesystem-cp6v88n8.js → wellknown-sr7feaek.js} +29 -29
  219. package/dist/chunks/{filesystem-ntshrafh.js → wellknown-srwcj12q.js} +11 -11
  220. package/dist/chunks/{filesystem-mtkfycnh.js → wellknown-ssfehs1z.js} +4 -4
  221. package/dist/chunks/{filesystem-kmx603z6.js → wellknown-sv14dtn5.js} +50 -50
  222. package/dist/chunks/{filesystem-r7bm2ta5.js → wellknown-t3zdfkz5.js} +10 -10
  223. package/dist/chunks/{filesystem-7csthhj8.js → wellknown-t5x9ax0g.js} +4 -4
  224. package/dist/chunks/{filesystem-cash41ab.js → wellknown-t79pfcy2.js} +11 -11
  225. package/dist/chunks/{filesystem-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{filesystem-q0d1t4r8.js → wellknown-tfztb0br.js} +21 -21
  227. package/dist/chunks/{filesystem-w4ey5q3y.js → wellknown-tgppvydt.js} +18 -18
  228. package/dist/chunks/{filesystem-mmkbt6v3.js → wellknown-tkmwn4n3.js} +9 -9
  229. package/dist/chunks/{filesystem-c3rhye5x.js → wellknown-tmpacpwf.js} +20 -20
  230. package/dist/chunks/{filesystem-79yxn91x.js → wellknown-tvbkyf9p.js} +15 -15
  231. package/dist/chunks/{filesystem-tw8zr1ps.js → wellknown-tw8zr1ps.js} +1 -1
  232. package/dist/chunks/{filesystem-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
  233. package/dist/chunks/{filesystem-xrd94v26.js → wellknown-txwdtw55.js} +11 -11
  234. package/dist/chunks/{filesystem-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  235. package/dist/chunks/{filesystem-kmzgegqq.js → wellknown-v5hpj9dd.js} +8 -8
  236. package/dist/chunks/{filesystem-qjhdweq9.js → wellknown-v8vd993n.js} +8 -8
  237. package/dist/chunks/{filesystem-k0rz3mv5.js → wellknown-v9see6sy.js} +16 -16
  238. package/dist/chunks/{filesystem-nad4mkqt.js → wellknown-vbhy04yp.js} +8 -8
  239. package/dist/chunks/{filesystem-32tacxf9.js → wellknown-vcvnp0q3.js} +4 -4
  240. package/dist/chunks/{filesystem-vd3b3yk9.js → wellknown-vd3b3yk9.js} +1 -1
  241. package/dist/chunks/{filesystem-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  242. package/dist/chunks/{filesystem-vmfhgzt5.js → wellknown-vmfhgzt5.js} +1 -1
  243. package/dist/chunks/{filesystem-s0jq7590.js → wellknown-vq3ad26g.js} +24 -24
  244. package/dist/chunks/{filesystem-vrcsa8qx.js → wellknown-vrcsa8qx.js} +2 -2
  245. package/dist/chunks/{filesystem-hj2jsaw9.js → wellknown-vxjbe68y.js} +15 -15
  246. package/dist/chunks/{filesystem-8j62s4y7.js → wellknown-w0s8kcs1.js} +33 -33
  247. package/dist/chunks/{filesystem-r41sfy63.js → wellknown-w2eysc6j.js} +6 -6
  248. package/dist/chunks/{filesystem-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{filesystem-qmhe942t.js → wellknown-w9704mzh.js} +2 -2
  250. package/dist/chunks/{filesystem-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  251. package/dist/chunks/{filesystem-ndfn0p5e.js → wellknown-wbbgvkty.js} +25 -25
  252. package/dist/chunks/{filesystem-wd87259q.js → wellknown-wd87259q.js} +1 -1
  253. package/dist/chunks/{filesystem-f17hsh48.js → wellknown-wfa1ttd4.js} +14 -14
  254. package/dist/chunks/{filesystem-xs9f9c89.js → wellknown-wnvqne7d.js} +26 -26
  255. package/dist/chunks/{filesystem-yznjjmbw.js → wellknown-wqj0b1m2.js} +166 -166
  256. package/dist/chunks/{filesystem-fznmdakp.js → wellknown-wr3re1en.js} +4 -4
  257. package/dist/chunks/{filesystem-mqqgcg93.js → wellknown-wsccfv8x.js} +4 -4
  258. package/dist/chunks/{filesystem-3af2h6f6.js → wellknown-wwsd659t.js} +14 -14
  259. package/dist/chunks/{filesystem-w3hdzqmq.js → wellknown-wy65z4t5.js} +9 -9
  260. package/dist/chunks/{filesystem-6xsqtwm9.js → wellknown-x0m7sghc.js} +38 -38
  261. package/dist/chunks/{filesystem-jzckctm7.js → wellknown-x5b2bey3.js} +24 -24
  262. package/dist/chunks/{filesystem-ea8rv3yk.js → wellknown-x9720knc.js} +15 -15
  263. package/dist/chunks/{filesystem-jr7k77qs.js → wellknown-xbf8tvh1.js} +3 -3
  264. package/dist/chunks/{filesystem-r5q168xg.js → wellknown-xc76h6b6.js} +52 -52
  265. package/dist/chunks/{filesystem-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
  266. package/dist/chunks/{filesystem-nh58hc9m.js → wellknown-xrbr151j.js} +82 -82
  267. package/dist/chunks/{filesystem-2bxs16p1.js → wellknown-xs6gfkjp.js} +43 -43
  268. package/dist/chunks/{filesystem-1byvm3vx.js → wellknown-xvs7wkqm.js} +9 -9
  269. package/dist/chunks/{filesystem-93cw99tk.js → wellknown-xw56b1c2.js} +41 -41
  270. package/dist/chunks/{filesystem-ma48de29.js → wellknown-y906m0ew.js} +5 -5
  271. package/dist/chunks/{filesystem-7kvsvhsr.js → wellknown-yaqxkf8p.js} +8 -8
  272. package/dist/chunks/{filesystem-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{filesystem-bps13hr4.js → wellknown-ydkqfst9.js} +11 -11
  274. package/dist/chunks/{filesystem-f5pe5xbd.js → wellknown-ypqhzgty.js} +11 -11
  275. package/dist/chunks/{filesystem-4y366mta.js → wellknown-yt87mgee.js} +2 -2
  276. package/dist/chunks/{filesystem-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{filesystem-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
  278. package/dist/chunks/{filesystem-7he63rq2.js → wellknown-z4y6rart.js} +5 -5
  279. package/dist/chunks/{filesystem-yyn8wt6y.js → wellknown-z5axs658.js} +9 -9
  280. package/dist/chunks/{filesystem-0t2efqex.js → wellknown-z704znn1.js} +21 -21
  281. package/dist/chunks/{filesystem-esjx5599.js → wellknown-z9hy4jc9.js} +13 -13
  282. package/dist/chunks/{filesystem-cd9vvngm.js → wellknown-zk32jm74.js} +2 -2
  283. package/dist/chunks/{filesystem-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{filesystem-shzcewxt.js → wellknown-zns6ke8q.js} +14 -14
  285. package/dist/chunks/{filesystem-w0ng8sb4.js → wellknown-zre18969.js} +14 -14
  286. package/dist/chunks/{filesystem-b6kqqew2.js → wellknown-zteftdt1.js} +8 -8
  287. package/dist/chunks/{filesystem-jghabtcw.js → wellknown-zwj0rqkv.js} +24 -24
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +136 -136
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +84 -84
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +11 -4
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +93 -93
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +136 -136
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +130 -130
  586. package/dist/session/generate.js +166 -166
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +97 -97
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +81 -81
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +165 -165
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +105 -105
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +214 -214
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +8 -8
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +2 -2
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +126 -126
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +124 -124
  646. package/dist/tool/plugin/question.js +107 -107
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +115 -115
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +111 -111
  653. package/dist/tool/plugin/websearch.js +116 -116
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +102 -102
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +14 -14
  659. package/dist/types/pty/ticket.d.ts +7 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +7 -7
  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/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +79 -79
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/filesystem-87sqwm80.js +0 -18
  692. package/dist/chunks/filesystem-9jjtdp7g.js +0 -26
  693. package/dist/chunks/filesystem-h15n1nxh.js +0 -257
  694. /package/dist/chunks/{filesystem-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{filesystem-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{filesystem-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{filesystem-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{filesystem-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{filesystem-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{filesystem-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{filesystem-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{filesystem-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{filesystem-3asan66x.js → wellknown-3asan66x.js} +0 -0
  704. /package/dist/chunks/{filesystem-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{filesystem-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{filesystem-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{filesystem-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{filesystem-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{filesystem-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{filesystem-53557ph1.js → wellknown-53557ph1.js} +0 -0
  711. /package/dist/chunks/{filesystem-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{filesystem-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{filesystem-6prwharc.js → wellknown-6prwharc.js} +0 -0
  714. /package/dist/chunks/{filesystem-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{filesystem-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{filesystem-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{filesystem-822emrt2.js → wellknown-822emrt2.js} +0 -0
  718. /package/dist/chunks/{filesystem-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{filesystem-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{filesystem-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{filesystem-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{filesystem-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{filesystem-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{filesystem-a058387c.js → wellknown-a058387c.js} +0 -0
  725. /package/dist/chunks/{filesystem-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{filesystem-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{filesystem-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{filesystem-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{filesystem-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{filesystem-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{filesystem-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{filesystem-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{filesystem-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{filesystem-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{filesystem-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{filesystem-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{filesystem-df08tz66.js → wellknown-df08tz66.js} +0 -0
  739. /package/dist/chunks/{filesystem-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{filesystem-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{filesystem-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{filesystem-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{filesystem-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{filesystem-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{filesystem-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{filesystem-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{filesystem-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{filesystem-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{filesystem-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{filesystem-g86h250q.js → wellknown-g86h250q.js} +0 -0
  751. /package/dist/chunks/{filesystem-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{filesystem-gftt206x.js → wellknown-gftt206x.js} +0 -0
  753. /package/dist/chunks/{filesystem-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{filesystem-hk9envan.js → wellknown-hk9envan.js} +0 -0
  755. /package/dist/chunks/{filesystem-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{filesystem-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{filesystem-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{filesystem-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{filesystem-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{filesystem-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{filesystem-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{filesystem-m18g726c.js → wellknown-m18g726c.js} +0 -0
  763. /package/dist/chunks/{filesystem-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{filesystem-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{filesystem-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{filesystem-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{filesystem-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{filesystem-pkyv6v7h.js → wellknown-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{filesystem-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{filesystem-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{filesystem-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{filesystem-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{filesystem-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{filesystem-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{filesystem-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{filesystem-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{filesystem-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{filesystem-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{filesystem-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{filesystem-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{filesystem-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{filesystem-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{filesystem-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{filesystem-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{filesystem-x61499pn.js → wellknown-x61499pn.js} +0 -0
  787. /package/dist/chunks/{filesystem-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{filesystem-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{filesystem-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{filesystem-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{filesystem-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{filesystem-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./filesystem-7fvw33xg.js";
3
+ } from "./wellknown-9dtj3gwf.js";
4
4
  import {
5
- Service67
6
- } from "./filesystem-jgmj0zrj.js";
5
+ Service62
6
+ } from "./wellknown-k8w4kbf3.js";
7
7
  import {
8
- Service41
9
- } from "./filesystem-k2swmk98.js";
8
+ Service13
9
+ } from "./wellknown-gcc7dp33.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./filesystem-d4v9tmah.js";
12
+ } from "./wellknown-d4v9tmah.js";
13
13
  import {
14
- Info16,
14
+ Info25,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./filesystem-6xsqtwm9.js";
19
+ } from "./wellknown-x0m7sghc.js";
20
20
  import {
21
21
  __export
22
- } from "./filesystem-9rqn6x4v.js";
22
+ } from "./wellknown-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin14,
30
+ Plugin: () => Plugin28,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin14 = {
100
+ var Plugin28 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service41;
104
- const permission = yield* Service67;
103
+ const access = yield* Service13;
104
+ const permission = yield* Service62;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin14 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info16,
156
+ output: Info25,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin14, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin28, exports_opencode };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./filesystem-rbj8gs5v.js";
4
+ } from "./wellknown-qjwcge9s.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./filesystem-edpv0694.js";
8
+ } from "./wellknown-h9zzwr9p.js";
9
9
  import {
10
- Service39,
11
- node41
12
- } from "./filesystem-exnmcfra.js";
10
+ Service59,
11
+ node63
12
+ } from "./wellknown-pj7zvz06.js";
13
13
  import {
14
- Service33,
15
- node35
16
- } from "./filesystem-t7e7c0ah.js";
14
+ Service58,
15
+ node62
16
+ } from "./wellknown-8682byc1.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./filesystem-ec1grn59.js";
19
+ } from "./wellknown-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./filesystem-mtkfycnh.js";
21
+ make18
22
+ } from "./wellknown-ssfehs1z.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service31
26
- } from "./filesystem-gc4rcfsx.js";
25
+ Service55
26
+ } from "./wellknown-qkc3z5ds.js";
27
27
  import {
28
- Service68,
29
- node72
30
- } from "./filesystem-ggm2jm67.js";
28
+ Service64,
29
+ node68
30
+ } from "./wellknown-9smwdb2z.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./filesystem-p6brcwvv.js";
33
+ } from "./wellknown-17d0ztjt.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./filesystem-9dzxay90.js";
36
+ } from "./wellknown-dzbgzh8d.js";
37
37
  import {
38
38
  __export
39
- } from "./filesystem-9rqn6x4v.js";
39
+ } from "./wellknown-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service30,
44
+ Service: () => Service54,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer16,
47
- node: () => node33,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer21,
47
+ node: () => node59,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service30 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service54 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer16 = Layer.effect(Service30, Effect.gen(function* () {
63
- const store = yield* Service68;
64
- const instances = yield* Service33;
62
+ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
63
+ const store = yield* Service64;
64
+ const instances = yield* Service58;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service39;
66
+ const jobs = yield* Service59;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer16 = Layer.effect(Service30, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service31.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make15({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service30, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service30.of({
107
+ return Service54.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer16 = Layer.effect(Service30, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node33 = makeGlobalNode({
127
- service: Service30,
128
- layer: layer16,
129
- deps: [node72, node35, node89, node90, node41]
126
+ var node59 = makeGlobalNode({
127
+ service: Service54,
128
+ layer: layer21,
129
+ deps: [node68, node62, node89, node90, node63]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service30, Service30.of({
131
+ var noopLayer3 = Layer.succeed(Service54, Service54.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service30, Service30.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service30, terminal2, layer16, node33, noopLayer2, exports_execution };
140
+ export { Service54, terminal2, layer21, node59, noopLayer3, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-edpv0694.js";
4
+ } from "./wellknown-h9zzwr9p.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./filesystem-fartem3k.js";
8
+ } from "./wellknown-pgeh2d1w.js";
9
9
  import {
10
- Service70,
11
- node74
12
- } from "./filesystem-bhk5af8b.js";
10
+ Service65,
11
+ node69
12
+ } from "./wellknown-6vhvgjh4.js";
13
13
  import {
14
- NotFoundError9
15
- } from "./filesystem-qnm4ee5f.js";
14
+ NotFoundError10
15
+ } from "./wellknown-et702fqy.js";
16
16
  import {
17
- Service68,
18
- node72
19
- } from "./filesystem-ggm2jm67.js";
17
+ Service64,
18
+ node68
19
+ } from "./wellknown-9smwdb2z.js";
20
20
  import {
21
21
  match2
22
- } from "./filesystem-z38nccrw.js";
22
+ } from "./wellknown-z38nccrw.js";
23
23
  import {
24
- Service69,
25
- node73
26
- } from "./filesystem-k0rz3mv5.js";
24
+ Service63,
25
+ node67
26
+ } from "./wellknown-v9see6sy.js";
27
27
  import {
28
- Service71,
29
- node75
30
- } from "./filesystem-nad4mkqt.js";
28
+ Service66,
29
+ node70
30
+ } from "./wellknown-vbhy04yp.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./wellknown-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
- var exports_permission2 = {};
37
- __export(exports_permission2, {
36
+ var exports_permission = {};
37
+ __export(exports_permission, {
38
38
  BlockedError: () => BlockedError2,
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event11,
42
+ Event: () => Event10,
43
43
  ID: () => ID8,
44
44
  NotFoundError: () => NotFoundError8,
45
- Permission: () => exports_permission2,
45
+ Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request2,
48
- Rule: () => Rule3,
48
+ Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service67,
51
- Source: () => Source5,
50
+ Service: () => Service62,
51
+ Source: () => Source4,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node71
54
+ node: () => node66
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event11 } from "@opencode/schema/permission";
59
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
+ import { Event as Event10 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
63
  var ID8 = Permission.ID;
64
- var Source5 = Permission.Source;
64
+ var Source4 = Permission.Source;
65
65
  var Request2 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
67
67
 
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service67 extends Context.Service()("@opencode/Permission") {
102
+ class Service62 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service67, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
105
105
  const bus = yield* Service85;
106
106
  const location = yield* Service79;
107
- const agents = yield* Service70;
108
- const sessions = yield* Service68;
109
- const saved = yield* Service69;
110
- const hooks = yield* Service71;
107
+ const agents = yield* Service65;
108
+ const sessions = yield* Service64;
109
+ const saved = yield* Service63;
110
+ const hooks = yield* Service66;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError9({ sessionID });
133
+ return yield* new NotFoundError10({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service67.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service62.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node71 = makeLocationNode({
277
- service: Service67,
276
+ var node66 = makeLocationNode({
277
+ service: Service62,
278
278
  layer,
279
- deps: [node89, node83, node74, node72, node73, node75]
279
+ deps: [node89, node83, node69, node68, node67, node70]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID8, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service67, node71, exports_permission2, Rule3, Ruleset2, Event11 };
282
+ export { PermissionEffect, ID8, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node66, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./filesystem-xxwqbg00.js";
3
+ } from "./wellknown-ksj071wv.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./filesystem-p1qvkr9d.js";
6
+ } from "./wellknown-ressjymw.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve4,
15
+ resolve: () => resolve3,
16
16
  supports: () => supports2
17
17
  });
18
18
  function supports2(reasoning) {
@@ -24,7 +24,7 @@ function supports2(reasoning) {
24
24
  ...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
25
25
  ];
26
26
  }
27
- function resolve4(model, supports = [{ type: "effort" }]) {
27
+ function resolve3(model, supports = [{ type: "effort" }]) {
28
28
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
29
29
  if (!protocol)
30
30
  return [];
@@ -584,4 +584,4 @@ var PROTOCOLS = {
584
584
  [aisdk2("gitlab-ai-provider")]: gitlab
585
585
  };
586
586
 
587
- export { supports2, resolve4, exports_variant };
587
+ export { supports2, resolve3, exports_variant };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Ref3
3
- } from "./filesystem-fartem3k.js";
2
+ Ref4
3
+ } from "./wellknown-pgeh2d1w.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service72,
12
+ Service: () => Service78,
13
13
  canonical: () => canonical3,
14
- node: () => node76,
14
+ node: () => node82,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service72 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service78 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service72, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service78, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node76 = LayerNode.unbound(Service72, Node.tags.values.global);
27
+ var node82 = LayerNode.unbound(Service78, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service72;
29
+ const locations = yield* Service78;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
39
39
  yield* Effect.logInfo("location services reloaded", { count: refs.length });
40
40
  });
41
41
  function canonical3(ref) {
42
- return Ref3.make({
42
+ return Ref4.make({
43
43
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
44
44
  workspaceID: ref.workspaceID
45
45
  });
46
46
  }
47
47
 
48
- export { Service72, node76, reload2, canonical3, exports_location_service_map };
48
+ export { Service78, node82, reload2, canonical3, exports_location_service_map };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service84
3
- } from "./filesystem-ty2sm10g.js";
2
+ Service75
3
+ } from "./wellknown-772qq538.js";
4
4
  import {
5
- Service67
6
- } from "./filesystem-jgmj0zrj.js";
5
+ Service62
6
+ } from "./wellknown-k8w4kbf3.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service42
14
- } from "./filesystem-c3rhye5x.js";
13
+ Service17
14
+ } from "./wellknown-tmpacpwf.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./wellknown-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input4,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input10,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin4,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name4
24
+ Plugin: () => Plugin31,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description4,
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name4 = "websearch";
32
+ var name10 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input4 = Schema.Struct({
42
+ var Input10 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin4 = {
49
+ var Plugin31 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service67;
53
- const forms = yield* Service84;
54
- const websearch = yield* Service42;
52
+ const permission = yield* Service62;
53
+ const forms = yield* Service75;
54
+ const websearch = yield* Service17;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name4,
56
+ name: name10,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input4,
58
+ description: description4,
59
+ input: Input10,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name4,
63
+ action: name10,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name4];
179
+ delete event.tools[name10];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name4, NO_RESULTS2, description2, Input4, Plugin4, exports_websearch };
187
+ export { name10, NO_RESULTS2, description4, Input10, Plugin31, exports_websearch2 };