@opencode/core 0.0.0-dev-19915 → 0.0.0-dev-19918

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{generate-b01c3z2q.js → snapshot-01va1f3z.js} +11 -11
  8. package/dist/chunks/{generate-vtq71d35.js → snapshot-08q4gqz4.js} +33 -33
  9. package/dist/chunks/{generate-0996nyz8.js → snapshot-0996nyz8.js} +2 -2
  10. package/dist/chunks/{generate-p3nvtprr.js → snapshot-0dxxpvrv.js} +297 -297
  11. package/dist/chunks/{generate-0en0hh3r.js → snapshot-0en0hh3r.js} +1 -1
  12. package/dist/chunks/{generate-ptzf6svk.js → snapshot-0f1qz0xp.js} +1 -1
  13. package/dist/chunks/{generate-s9na07f2.js → snapshot-0j7qrmec.js} +9 -9
  14. package/dist/chunks/{generate-je62fjgn.js → snapshot-0n2pct96.js} +13 -13
  15. package/dist/chunks/{generate-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{generate-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{generate-z4snjgfg.js → snapshot-0s6p893r.js} +12 -12
  18. package/dist/chunks/{generate-gtg525qf.js → snapshot-12nx056f.js} +20 -20
  19. package/dist/chunks/{generate-fgrsbrs2.js → snapshot-1bjkr610.js} +20 -20
  20. package/dist/chunks/{generate-kt71pmwz.js → snapshot-1cxyh013.js} +38 -38
  21. package/dist/chunks/{generate-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{generate-0fem12h8.js → snapshot-1k0p56b5.js} +25 -25
  23. package/dist/chunks/{generate-9np3zvmg.js → snapshot-1paqn7pb.js} +3 -3
  24. package/dist/chunks/{generate-gx16nh21.js → snapshot-1pfd9v32.js} +4 -4
  25. package/dist/chunks/{generate-6jcx2vqk.js → snapshot-1qvnrgnm.js} +5 -5
  26. package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
  27. package/dist/chunks/{generate-468wfx9w.js → snapshot-1tsw6z5q.js} +23 -23
  28. package/dist/chunks/{generate-gbf09wq5.js → snapshot-1wy5n9az.js} +14 -14
  29. package/dist/chunks/{generate-1ygqh575.js → snapshot-1ygqh575.js} +2 -2
  30. package/dist/chunks/{generate-tdpndm1c.js → snapshot-207ajt2h.js} +5 -5
  31. package/dist/chunks/{generate-21r38tys.js → snapshot-21r38tys.js} +1 -1
  32. package/dist/chunks/{generate-bk82wy0q.js → snapshot-227yvkjk.js} +18 -18
  33. package/dist/chunks/{generate-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  34. package/dist/chunks/snapshot-240vr0zv.js +26 -0
  35. package/dist/chunks/{generate-bcpk7r0m.js → snapshot-297h1t6n.js} +6 -6
  36. package/dist/chunks/{generate-z63w68vq.js → snapshot-29x78va6.js} +6 -6
  37. package/dist/chunks/{generate-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{generate-0jwsre1p.js → snapshot-2k8khapm.js} +5 -5
  39. package/dist/chunks/{generate-9j0bgnvq.js → snapshot-2nwtcrtm.js} +15 -15
  40. package/dist/chunks/{generate-fjkt0sjh.js → snapshot-2qvabp3y.js} +90 -90
  41. package/dist/chunks/{generate-h8yerwe6.js → snapshot-2yhh3qjr.js} +45 -45
  42. package/dist/chunks/{generate-s1sn43f6.js → snapshot-2zb7hvef.js} +11 -11
  43. package/dist/chunks/{generate-p38k89q1.js → snapshot-32e100es.js} +295 -295
  44. package/dist/chunks/{generate-4wtgdyea.js → snapshot-36nfz72w.js} +5 -5
  45. package/dist/chunks/{generate-yt0fqk68.js → snapshot-3cz8rj72.js} +5 -5
  46. package/dist/chunks/{generate-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{generate-fnwyw2er.js → snapshot-3g4cjerq.js} +24 -24
  48. package/dist/chunks/{generate-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{generate-0h7mncab.js → snapshot-3hm6b6w1.js} +43 -43
  50. package/dist/chunks/{generate-m5r3e6sc.js → snapshot-3jrpcqd5.js} +11 -11
  51. package/dist/chunks/{generate-wktdcmn3.js → snapshot-3kvfbz1t.js} +13 -13
  52. package/dist/chunks/{generate-2gjqtbpb.js → snapshot-3qecda58.js} +16 -16
  53. package/dist/chunks/{generate-qb9204h6.js → snapshot-3rjv2ezq.js} +7 -7
  54. package/dist/chunks/{generate-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{generate-zqx8wcya.js → snapshot-3tq5qxbk.js} +6 -6
  56. package/dist/chunks/{generate-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  57. package/dist/chunks/{generate-qk3skfh1.js → snapshot-49hnhagb.js} +3 -3
  58. package/dist/chunks/{generate-ebe9bak5.js → snapshot-4dgbcxzg.js} +4 -4
  59. package/dist/chunks/{generate-et344232.js → snapshot-4mr0ayfy.js} +11 -11
  60. package/dist/chunks/{generate-s4qtke3p.js → snapshot-4v3djrtk.js} +41 -41
  61. package/dist/chunks/{generate-2km7m4mh.js → snapshot-4xwq6ydp.js} +21 -21
  62. package/dist/chunks/{generate-ahk33sx3.js → snapshot-515kh3g7.js} +24 -24
  63. package/dist/chunks/{generate-4137199z.js → snapshot-54rgykb4.js} +34 -34
  64. package/dist/chunks/{generate-qqeeq2t9.js → snapshot-57b9ws8p.js} +4 -4
  65. package/dist/chunks/{generate-nf3r8qb2.js → snapshot-57ez7d0k.js} +9 -9
  66. package/dist/chunks/{generate-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  67. package/dist/chunks/{generate-y2a6ds97.js → snapshot-5mysqa8q.js} +13 -13
  68. package/dist/chunks/{generate-eev6jqyc.js → snapshot-5q4hds9b.js} +12 -12
  69. package/dist/chunks/{generate-hjkhkj6y.js → snapshot-5sdk1ksb.js} +5 -5
  70. package/dist/chunks/{generate-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{generate-ewv48zmm.js → snapshot-5wkzkny2.js} +82 -82
  72. package/dist/chunks/{generate-cwem3g1g.js → snapshot-5wm9afx8.js} +5 -5
  73. package/dist/chunks/{generate-669tq793.js → snapshot-669tq793.js} +1 -1
  74. package/dist/chunks/{generate-kenng7k5.js → snapshot-6cjy68b4.js} +8 -8
  75. package/dist/chunks/{generate-467s6nxb.js → snapshot-6k2q6075.js} +11 -11
  76. package/dist/chunks/{generate-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{generate-2q8c0gm7.js → snapshot-6pzw4973.js} +9 -9
  78. package/dist/chunks/{generate-spt9fbav.js → snapshot-6sh1ew48.js} +4 -4
  79. package/dist/chunks/{generate-006zyfbw.js → snapshot-6yja57a1.js} +11 -11
  80. package/dist/chunks/{generate-025avdj6.js → snapshot-72q5tb77.js} +25 -25
  81. package/dist/chunks/{generate-4bzdzhey.js → snapshot-77zp8ekx.js} +3 -3
  82. package/dist/chunks/{generate-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{generate-eqnqgvn0.js → snapshot-7eg6dqxg.js} +15 -15
  84. package/dist/chunks/{generate-8mnt8kwt.js → snapshot-7ewn52v4.js} +9 -9
  85. package/dist/chunks/{generate-jw5e50e7.js → snapshot-7qqexqse.js} +4 -4
  86. package/dist/chunks/{generate-8aaqm6qj.js → snapshot-7sbn2nrf.js} +8 -8
  87. package/dist/chunks/{generate-1w2rgvgc.js → snapshot-7v11ez50.js} +41 -41
  88. package/dist/chunks/{generate-pg7dzk1q.js → snapshot-83v594et.js} +23 -23
  89. package/dist/chunks/{generate-a5gjdttc.js → snapshot-8481wvek.js} +11 -11
  90. package/dist/chunks/{generate-cs075kwz.js → snapshot-87pcjbpk.js} +11 -11
  91. package/dist/chunks/{generate-mfhfdr54.js → snapshot-88sz8qcd.js} +4 -4
  92. package/dist/chunks/{generate-89znhe33.js → snapshot-89znhe33.js} +1 -1
  93. package/dist/chunks/{generate-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{generate-66mcxdya.js → snapshot-8hx3mgak.js} +7 -7
  95. package/dist/chunks/{generate-05xfxpq7.js → snapshot-8mfdap3f.js} +8 -8
  96. package/dist/chunks/{generate-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
  97. package/dist/chunks/{generate-j2s4fcjm.js → snapshot-8xm8h2fj.js} +35 -35
  98. package/dist/chunks/{generate-1swhfer2.js → snapshot-8z0pbs4j.js} +24 -24
  99. package/dist/chunks/{generate-xhyfjham.js → snapshot-926bkgeb.js} +10 -10
  100. package/dist/chunks/{generate-34k4z2mf.js → snapshot-9775ehqa.js} +11 -11
  101. package/dist/chunks/{generate-kjktbwf3.js → snapshot-99jn3w6h.js} +5 -5
  102. package/dist/chunks/{generate-fygh9jmr.js → snapshot-9a33zaq7.js} +37 -37
  103. package/dist/chunks/{generate-3f4vjzp5.js → snapshot-9e5kb4vq.js} +15 -15
  104. package/dist/chunks/{generate-52w8ykvs.js → snapshot-9z9vq71f.js} +5 -5
  105. package/dist/chunks/{generate-08x19res.js → snapshot-9zzvxnk4.js} +27 -27
  106. package/dist/chunks/{generate-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
  107. package/dist/chunks/{generate-9qzpz6ej.js → snapshot-a3dv7zdb.js} +11 -11
  108. package/dist/chunks/{generate-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  109. package/dist/chunks/{generate-k7zzwya2.js → snapshot-acv47zt7.js} +20 -20
  110. package/dist/chunks/{generate-jm843vy5.js → snapshot-add3qbra.js} +24 -24
  111. package/dist/chunks/{generate-eq20ba7x.js → snapshot-ak9msbxp.js} +6 -6
  112. package/dist/chunks/{generate-7etmzzkb.js → snapshot-asm6nkhw.js} +22 -22
  113. package/dist/chunks/{generate-zsnh4763.js → snapshot-avc8n21j.js} +11 -11
  114. package/dist/chunks/{generate-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-bab96271.js → snapshot-b8r0xcn3.js} +15 -15
  116. package/dist/chunks/{generate-6x2rtf6n.js → snapshot-basfgcpb.js} +9 -9
  117. package/dist/chunks/{generate-ve4pfa0n.js → snapshot-bct739vz.js} +4 -4
  118. package/dist/chunks/{generate-r8572ydm.js → snapshot-c24025a3.js} +33 -33
  119. package/dist/chunks/{generate-djszqvmq.js → snapshot-c765mh8b.js} +9 -9
  120. package/dist/chunks/{generate-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{generate-5gygmtrp.js → snapshot-chmxcbh0.js} +2 -2
  122. package/dist/chunks/{generate-r90t3skp.js → snapshot-cymrx2yv.js} +10 -10
  123. package/dist/chunks/{generate-qte5z7bc.js → snapshot-d1khqved.js} +5 -5
  124. package/dist/chunks/{generate-gyecctkc.js → snapshot-d5nv655v.js} +13 -13
  125. package/dist/chunks/{generate-n7cnqe0p.js → snapshot-d6njtwzp.js} +15 -15
  126. package/dist/chunks/{generate-a4140sej.js → snapshot-dgdmz9dk.js} +42 -42
  127. package/dist/chunks/{generate-et8hxw0a.js → snapshot-dkkfh4ym.js} +10 -10
  128. package/dist/chunks/{generate-6vd6cxtp.js → snapshot-dtdk40xf.js} +20 -20
  129. package/dist/chunks/{generate-92c128b4.js → snapshot-dz8n4239.js} +2 -2
  130. package/dist/chunks/{generate-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{generate-s6bwzk9r.js → snapshot-eb4b5bz3.js} +16 -16
  132. package/dist/chunks/{generate-ec87kc5z.js → snapshot-ec87kc5z.js} +1 -1
  133. package/dist/chunks/{generate-020j3mp2.js → snapshot-edxk8hxa.js} +6 -6
  134. package/dist/chunks/{generate-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{generate-6anwy9fs.js → snapshot-efv4s0g0.js} +4 -4
  136. package/dist/chunks/{generate-bry9ga0b.js → snapshot-em9d1scw.js} +2 -2
  137. package/dist/chunks/{generate-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{generate-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{generate-nqyk3grw.js → snapshot-eyqz59yv.js} +27 -27
  140. package/dist/chunks/{generate-9e6qvnjr.js → snapshot-f1wamhh9.js} +3 -3
  141. package/dist/chunks/{generate-1tsjn6cx.js → snapshot-f79v0g24.js} +8 -8
  142. package/dist/chunks/{generate-f828m53h.js → snapshot-f828m53h.js} +2 -2
  143. package/dist/chunks/{generate-5aqxh65v.js → snapshot-fcrbte1a.js} +17 -17
  144. package/dist/chunks/{generate-zs994txj.js → snapshot-ffk3sqjz.js} +175 -175
  145. package/dist/chunks/{generate-fhs97t90.js → snapshot-fhs97t90.js} +2 -2
  146. package/dist/chunks/{generate-ttm2705a.js → snapshot-fkd6hgre.js} +4 -4
  147. package/dist/chunks/{generate-9mayah99.js → snapshot-fktrzxv2.js} +23 -23
  148. package/dist/chunks/{generate-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{generate-cg8mw5ap.js → snapshot-g2scjc1h.js} +16 -16
  150. package/dist/chunks/{generate-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{generate-fystd85k.js → snapshot-gf7f2369.js} +8 -8
  152. package/dist/chunks/{generate-rygtch4c.js → snapshot-gkn3qjca.js} +10 -10
  153. package/dist/chunks/{generate-wac2p1pk.js → snapshot-grvxsv8g.js} +44 -44
  154. package/dist/chunks/{generate-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{generate-3sstnap9.js → snapshot-gw4jaga4.js} +17 -17
  156. package/dist/chunks/{generate-ct9qn75j.js → snapshot-h08xbcwy.js} +16 -16
  157. package/dist/chunks/{generate-qwasgp8v.js → snapshot-h1qn8583.js} +16 -16
  158. package/dist/chunks/{generate-b2jrkcgy.js → snapshot-h3tvpw8w.js} +10 -10
  159. package/dist/chunks/{generate-0wd91se4.js → snapshot-h5gg2zpa.js} +11 -11
  160. package/dist/chunks/{generate-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{generate-5dqhbf4t.js → snapshot-hpmk596y.js} +5 -5
  162. package/dist/chunks/{generate-qgsdwrdp.js → snapshot-hwpj14yn.js} +11 -11
  163. package/dist/chunks/{generate-zhsvargz.js → snapshot-j1fmzt34.js} +23 -23
  164. package/dist/chunks/{generate-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  165. package/dist/chunks/{generate-vqfzq50h.js → snapshot-j5w2yx54.js} +6 -6
  166. package/dist/chunks/{generate-fetmcry8.js → snapshot-j6h2gdpk.js} +7 -7
  167. package/dist/chunks/{generate-m4p4mhce.js → snapshot-jcmgjywg.js} +18 -18
  168. package/dist/chunks/{generate-63m47ghd.js → snapshot-jet8hdqn.js} +3 -3
  169. package/dist/chunks/{generate-qa3qhgw8.js → snapshot-jfqtm2ew.js} +4 -4
  170. package/dist/chunks/{generate-jvnghvnw.js → snapshot-jvnghvnw.js} +1 -1
  171. package/dist/chunks/{generate-aefrgm9z.js → snapshot-jxgt6pbb.js} +5 -5
  172. package/dist/chunks/{generate-mm9gyng9.js → snapshot-k0d1xxqk.js} +21 -21
  173. package/dist/chunks/{generate-7raq9vyn.js → snapshot-k37p5nkb.js} +54 -54
  174. package/dist/chunks/{generate-7n8gnwtg.js → snapshot-k8k832mz.js} +10 -10
  175. package/dist/chunks/{generate-ctwst137.js → snapshot-kngk7ekq.js} +43 -43
  176. package/dist/chunks/{generate-hym83zep.js → snapshot-kpg05k00.js} +9 -9
  177. package/dist/chunks/{generate-qrcs80c4.js → snapshot-kpnvzqmk.js} +32 -32
  178. package/dist/chunks/{generate-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{generate-hn57h045.js → snapshot-m70sbz6t.js} +4 -4
  180. package/dist/chunks/{generate-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{generate-khhfmx5f.js → snapshot-mbd1g1gn.js} +11 -11
  182. package/dist/chunks/{generate-73tb2d7t.js → snapshot-mhkvc446.js} +3 -3
  183. package/dist/chunks/{generate-4x1pakvw.js → snapshot-n42ba9gn.js} +17 -17
  184. package/dist/chunks/{generate-rj4tp187.js → snapshot-n7bp00a9.js} +9 -9
  185. package/dist/chunks/{generate-p261ekdc.js → snapshot-n8jdpmyw.js} +21 -21
  186. package/dist/chunks/{generate-ba4w6g48.js → snapshot-nfpfdzzq.js} +12 -12
  187. package/dist/chunks/{generate-gc9j7k3x.js → snapshot-ngcseqx6.js} +24 -24
  188. package/dist/chunks/{generate-er20hz79.js → snapshot-ns7y5gsg.js} +24 -24
  189. package/dist/chunks/{generate-nzks3jc8.js → snapshot-nzks3jc8.js} +3 -3
  190. package/dist/chunks/{generate-p28j5sbe.js → snapshot-p28j5sbe.js} +2 -2
  191. package/dist/chunks/{generate-8tqgka7y.js → snapshot-p5sb783n.js} +24 -24
  192. package/dist/chunks/{generate-dv1qgsyq.js → snapshot-pa8pe2x7.js} +8 -8
  193. package/dist/chunks/{generate-81wr8hqp.js → snapshot-peessvmh.js} +17 -17
  194. package/dist/chunks/{generate-phz3h32g.js → snapshot-phz3h32g.js} +1 -1
  195. package/dist/chunks/{generate-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{generate-pknna89w.js → snapshot-pknna89w.js} +1 -1
  197. package/dist/chunks/{generate-czmjnx84.js → snapshot-ppw6hb80.js} +3 -3
  198. package/dist/chunks/{generate-dzpn4m2j.js → snapshot-pvd1aac5.js} +9 -9
  199. package/dist/chunks/{generate-fs7vq6tk.js → snapshot-pxnx3jws.js} +10 -10
  200. package/dist/chunks/{generate-8k4wrnk2.js → snapshot-q4fb8v0s.js} +6 -6
  201. package/dist/chunks/{generate-wc0dzmvn.js → snapshot-q7eva1bt.js} +7 -7
  202. package/dist/chunks/{generate-680r6an6.js → snapshot-q8c31t1h.js} +9 -9
  203. package/dist/chunks/{generate-17wbgvpj.js → snapshot-q8r3tany.js} +10 -10
  204. package/dist/chunks/{generate-ttm1q0kg.js → snapshot-qcg269cc.js} +9 -9
  205. package/dist/chunks/{generate-1b1ysvrc.js → snapshot-qfkr68h4.js} +33 -33
  206. package/dist/chunks/{generate-4nqr3vv7.js → snapshot-qg8gzcn5.js} +52 -52
  207. package/dist/chunks/{generate-g8jasmdt.js → snapshot-qs001aqx.js} +11 -11
  208. package/dist/chunks/{generate-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  209. package/dist/chunks/{generate-fhz5gfgy.js → snapshot-qsr9synt.js} +5 -5
  210. package/dist/chunks/{generate-cypq54sk.js → snapshot-qxnqqz71.js} +23 -23
  211. package/dist/chunks/{generate-txx9st8t.js → snapshot-r07hx0qa.js} +4 -4
  212. package/dist/chunks/{generate-b4pq521n.js → snapshot-r40m3trx.js} +23 -23
  213. package/dist/chunks/{generate-ndzcbbvx.js → snapshot-r6gyp0hg.js} +8 -8
  214. package/dist/chunks/{generate-16f0abez.js → snapshot-ra5z4ps1.js} +26 -26
  215. package/dist/chunks/{generate-4gya7rk6.js → snapshot-rag8xjjp.js} +9 -9
  216. package/dist/chunks/{generate-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{generate-5k92hdxp.js → snapshot-res40x03.js} +9 -9
  218. package/dist/chunks/{generate-r09kcce2.js → snapshot-rjz2ptqc.js} +4 -4
  219. package/dist/chunks/{generate-ed737rsr.js → snapshot-rt9qxada.js} +14 -14
  220. package/dist/chunks/{generate-dx7v3b91.js → snapshot-rv482cw3.js} +13 -13
  221. package/dist/chunks/{generate-7hwhf7n5.js → snapshot-ry6ysv5n.js} +8 -8
  222. package/dist/chunks/{generate-ptjg6r5v.js → snapshot-s2fmxh4v.js} +6 -6
  223. package/dist/chunks/{generate-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
  224. package/dist/chunks/{generate-67baksp2.js → snapshot-sbb8y8tx.js} +17 -17
  225. package/dist/chunks/{generate-fch79rh9.js → snapshot-scq4khx8.js} +1 -1
  226. package/dist/chunks/{generate-8krsydjn.js → snapshot-sfef216m.js} +11 -11
  227. package/dist/chunks/{generate-56c5b5gd.js → snapshot-sfjrng7c.js} +5 -5
  228. package/dist/chunks/{generate-fdmdcz0h.js → snapshot-skh45krj.js} +20 -20
  229. package/dist/chunks/{generate-m9k0wbax.js → snapshot-sm6sfq52.js} +35 -35
  230. package/dist/chunks/{generate-h3pyx580.js → snapshot-swz6y1sy.js} +25 -25
  231. package/dist/chunks/{generate-vkxpz7g2.js → snapshot-szgy4byf.js} +4 -4
  232. package/dist/chunks/{generate-50xhyj86.js → snapshot-t3xjshrx.js} +15 -15
  233. package/dist/chunks/{generate-gxqczrrk.js → snapshot-t4zheh1d.js} +12 -12
  234. package/dist/chunks/{generate-0gdmqesm.js → snapshot-t550f9t1.js} +4 -4
  235. package/dist/chunks/{generate-1ptm6hmd.js → snapshot-t64dppmy.js} +47 -47
  236. package/dist/chunks/{generate-kwqhvt42.js → snapshot-tab08rms.js} +20 -20
  237. package/dist/chunks/{generate-39s7s8pm.js → snapshot-tamx2nm7.js} +15 -15
  238. package/dist/chunks/{generate-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{generate-tdstcens.js → snapshot-tdstcens.js} +1 -1
  240. package/dist/chunks/{generate-6b60be2p.js → snapshot-tdwctzr1.js} +4 -4
  241. package/dist/chunks/{generate-9f95htjy.js → snapshot-tea21kc4.js} +3 -3
  242. package/dist/chunks/{generate-tjedn1bk.js → snapshot-tjedn1bk.js} +1 -1
  243. package/dist/chunks/{generate-88adn62y.js → snapshot-tm43hzvw.js} +20 -20
  244. package/dist/chunks/{generate-dj9sq318.js → snapshot-tn0aqsam.js} +5 -5
  245. package/dist/chunks/{generate-9cck0fs0.js → snapshot-ttd2td3m.js} +3 -3
  246. package/dist/chunks/{generate-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  247. package/dist/chunks/{generate-pmzfczzx.js → snapshot-v8kmk7mn.js} +3 -3
  248. package/dist/chunks/{generate-gzj5kv74.js → snapshot-vd7s2rzk.js} +37 -37
  249. package/dist/chunks/{generate-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  250. package/dist/chunks/{generate-8n32ahfj.js → snapshot-vj2pcnzd.js} +25 -25
  251. package/dist/chunks/{generate-z78j2g86.js → snapshot-vsn3eh9m.js} +13 -13
  252. package/dist/chunks/{generate-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{generate-a725016h.js → snapshot-w1szzbf4.js} +6 -6
  254. package/dist/chunks/{generate-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{generate-wd87259q.js → snapshot-wd87259q.js} +1 -1
  256. package/dist/chunks/{generate-qb623j79.js → snapshot-wdab569y.js} +15 -15
  257. package/dist/chunks/snapshot-whsnckpq.js +252 -0
  258. package/dist/chunks/{generate-w4pr70gm.js → snapshot-wxyacwk8.js} +11 -11
  259. package/dist/chunks/{generate-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{generate-8s3794y9.js → snapshot-x433czyk.js} +19 -19
  261. package/dist/chunks/{generate-va4cvfc3.js → snapshot-x94jh6a9.js} +20 -20
  262. package/dist/chunks/{generate-cavr175a.js → snapshot-xdk9p2qn.js} +21 -21
  263. package/dist/chunks/{generate-z46y8a13.js → snapshot-xp108yq8.js} +17 -17
  264. package/dist/chunks/{generate-fj02ctk5.js → snapshot-xqm1j7tf.js} +25 -25
  265. package/dist/chunks/{generate-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{generate-cnvnzs5z.js → snapshot-y5df08dr.js} +12 -12
  267. package/dist/chunks/{generate-y71avatq.js → snapshot-y71avatq.js} +1 -1
  268. package/dist/chunks/{generate-mtpgkgh0.js → snapshot-y7vaxdze.js} +9 -9
  269. package/dist/chunks/{generate-ev47vst9.js → snapshot-y8bxsnf7.js} +24 -24
  270. package/dist/chunks/{generate-9s7dwqjf.js → snapshot-y8ezxhwv.js} +28 -28
  271. package/dist/chunks/{generate-n4v58wv0.js → snapshot-ya3n45hn.js} +4 -4
  272. package/dist/chunks/{generate-6z4h7bb7.js → snapshot-yft1494k.js} +14 -14
  273. package/dist/chunks/{generate-537bw0gn.js → snapshot-yhasxqe7.js} +3 -3
  274. package/dist/chunks/{generate-f2n192rq.js → snapshot-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{generate-fmvs6bfp.js → snapshot-yqvr5hzh.js} +1 -1
  276. package/dist/chunks/{generate-y8tj7gpt.js → snapshot-yr0r9rzs.js} +43 -43
  277. package/dist/chunks/{generate-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{generate-bfemdc8w.js → snapshot-ywk686kv.js} +13 -13
  279. package/dist/chunks/{generate-9a43fp12.js → snapshot-yykb4za3.js} +17 -17
  280. package/dist/chunks/{generate-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{generate-t19r84ws.js → snapshot-z3r5zwpy.js} +12 -12
  282. package/dist/chunks/{generate-80gttzr5.js → snapshot-z8ctqpjx.js} +33 -33
  283. package/dist/chunks/{generate-gv35t99p.js → snapshot-zbbb3ea3.js} +31 -31
  284. package/dist/chunks/{generate-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{generate-0bxbewg9.js → snapshot-zeqcvq2v.js} +24 -24
  286. package/dist/chunks/{generate-m22w3jkd.js → snapshot-zg39cdtn.js} +30 -30
  287. package/dist/chunks/{generate-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{generate-8g6jyz2b.js → snapshot-ztx2p85y.js} +17 -17
  289. package/dist/chunks/{generate-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{generate-qra1vg7x.js → snapshot-zztpwz1h.js} +64 -64
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +122 -122
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +99 -99
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +74 -74
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +86 -86
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +101 -101
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  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 +79 -79
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +1 -1
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +1 -1
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +5 -5
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +69 -69
  542. package/dist/plugin/service.js +1 -1
  543. package/dist/plugin/skill.js +136 -136
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +226 -226
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +98 -98
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +116 -116
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +122 -122
  637. package/dist/tool/plugin/edit.js +113 -113
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +1 -1
  642. package/dist/tool/plugin/patch.js +119 -119
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +214 -214
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +109 -109
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +95 -95
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +76 -76
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/generate-0mesazry.js +0 -4
  697. package/dist/chunks/generate-qp2n6zp9.js +0 -26
  698. package/dist/chunks/generate-x90gshdg.js +0 -252
  699. /package/dist/chunks/{generate-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{generate-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{generate-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{generate-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{generate-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{generate-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{generate-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{generate-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{generate-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{generate-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{generate-3asan66x.js → snapshot-3asan66x.js} +0 -0
  710. /package/dist/chunks/{generate-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{generate-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{generate-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{generate-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{generate-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{generate-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{generate-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{generate-53557ph1.js → snapshot-53557ph1.js} +0 -0
  718. /package/dist/chunks/{generate-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{generate-6prwharc.js → snapshot-6prwharc.js} +0 -0
  720. /package/dist/chunks/{generate-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{generate-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{generate-822emrt2.js → snapshot-822emrt2.js} +0 -0
  723. /package/dist/chunks/{generate-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{generate-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{generate-922hggd3.js → snapshot-922hggd3.js} +0 -0
  726. /package/dist/chunks/{generate-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{generate-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{generate-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{generate-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{generate-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{generate-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{generate-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{generate-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{generate-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{generate-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{generate-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{generate-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{generate-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{generate-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{generate-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{generate-df08tz66.js → snapshot-df08tz66.js} +0 -0
  742. /package/dist/chunks/{generate-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{generate-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{generate-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{generate-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{generate-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{generate-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{generate-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{generate-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{generate-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{generate-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{generate-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{generate-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{generate-g86h250q.js → snapshot-g86h250q.js} +0 -0
  755. /package/dist/chunks/{generate-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{generate-gftt206x.js → snapshot-gftt206x.js} +0 -0
  757. /package/dist/chunks/{generate-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{generate-hk9envan.js → snapshot-hk9envan.js} +0 -0
  759. /package/dist/chunks/{generate-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{generate-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{generate-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{generate-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{generate-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{generate-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{generate-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{generate-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{generate-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{generate-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{generate-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{generate-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{generate-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{generate-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{generate-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{generate-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{generate-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{generate-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{generate-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{generate-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{generate-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{generate-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{generate-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{generate-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{generate-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{generate-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{generate-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{generate-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{generate-x61499pn.js → snapshot-x61499pn.js} +0 -0
  788. /package/dist/chunks/{generate-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{generate-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{generate-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{generate-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{generate-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{generate-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./generate-ttm2705a.js";
4
+ } from "./snapshot-fkd6hgre.js";
5
5
  import {
6
6
  create3
7
- } from "./generate-rdw6cm16.js";
7
+ } from "./snapshot-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./snapshot-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event6,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service32,
21
- layer: () => layer15,
22
- node: () => node35
18
+ Info: () => Info13,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service54,
21
+ layer: () => layer19,
22
+ node: () => node56
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event6 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info13 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service32 extends Context.Service()("@opencode/Command") {
42
+ class Service54 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer15 = Layer.effect(Service32, Effect.gen(function* () {
44
+ var layer19 = Layer.effect(Service54, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info13.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service32.of({
58
+ return Service54.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node35 = makeLocationNode({
75
- service: Service32,
76
- layer: layer15,
74
+ var node56 = makeLocationNode({
75
+ service: Service54,
76
+ layer: layer19,
77
77
  deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError5, ExecutionError2, Service32, layer15, node35, exports_command4, Event6 };
89
+ export { Info13, NotFoundError7, ExecutionError2, Service54, layer19, node56, exports_command4, Event10 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-537bw0gn.js";
4
+ } from "./snapshot-yhasxqe7.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./generate-ttm2705a.js";
8
+ } from "./snapshot-fkd6hgre.js";
9
9
  import {
10
- Service41,
11
- node43
12
- } from "./generate-vqfzq50h.js";
10
+ Service36,
11
+ node38
12
+ } from "./snapshot-j5w2yx54.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./generate-922hggd3.js";
16
+ } from "./snapshot-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./generate-1w2rgvgc.js";
18
+ Service80,
19
+ node84
20
+ } from "./snapshot-7v11ez50.js";
21
21
  import {
22
22
  Ref4
23
- } from "./generate-qwasgp8v.js";
23
+ } from "./snapshot-h1qn8583.js";
24
24
  import {
25
- Service44,
26
- node46
27
- } from "./generate-rj4tp187.js";
25
+ Service46,
26
+ node48
27
+ } from "./snapshot-n7bp00a9.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./generate-gftt206x.js";
30
+ } from "./snapshot-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./generate-5k92hdxp.js";
32
+ NotFoundError5
33
+ } from "./snapshot-res40x03.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./generate-ec1grn59.js";
36
+ } from "./snapshot-ec1grn59.js";
37
37
  import {
38
- Service38
39
- } from "./generate-hn57h045.js";
38
+ Service34
39
+ } from "./snapshot-m70sbz6t.js";
40
40
  import {
41
- Service56,
42
- node58
43
- } from "./generate-2gjqtbpb.js";
41
+ Service51,
42
+ node53
43
+ } from "./snapshot-3qecda58.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service39,
48
- node41,
47
+ Service35,
48
+ node37,
49
49
  moveIDs2
50
- } from "./generate-6vd6cxtp.js";
50
+ } from "./snapshot-dtdk40xf.js";
51
51
  import {
52
- Service37,
53
- node40
54
- } from "./generate-gzj5kv74.js";
52
+ Service33,
53
+ node36
54
+ } from "./snapshot-vd7s2rzk.js";
55
55
  import {
56
- node22
57
- } from "./generate-cg8mw5ap.js";
56
+ node23
57
+ } from "./snapshot-g2scjc1h.js";
58
58
  import {
59
59
  __export
60
- } from "./generate-9rqn6x4v.js";
60
+ } from "./snapshot-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service18,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node21
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service18 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service18, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service76;
92
- const locations = yield* Service44;
93
- const store = yield* Service56;
94
- const execution = yield* Service37;
95
- const instances = yield* Service41;
96
- const admission = yield* Service39;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service46;
93
+ const store = yield* Service51;
94
+ const execution = yield* Service33;
95
+ const instances = yield* Service36;
96
+ const admission = yield* Service35;
97
97
  const database = yield* Service83;
98
98
  const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError5({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service18.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node21 = makeGlobalNode({
167
- service: Service18,
166
+ var node22 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node80,
173
- node46,
174
- node58,
175
- node40,
176
- node43,
177
- node41,
172
+ node84,
173
+ node48,
174
+ node53,
175
+ node36,
176
+ node38,
177
+ node37,
178
178
  node87,
179
179
  node86,
180
- node22
180
+ node23
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID9
3
- } from "./generate-gv35t99p.js";
2
+ ID11
3
+ } from "./snapshot-zbbb3ea3.js";
4
4
  import {
5
- Service49
6
- } from "./generate-s4qtke3p.js";
5
+ Service61
6
+ } from "./snapshot-4v3djrtk.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./generate-a725016h.js";
9
+ } from "./snapshot-w1szzbf4.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service49;
29
+ const config = yield* Service61;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID9.make(item.id);
56
+ model.modelID = ID11.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make7();
115
+ var VLLMPlugin2 = make5();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make7, VLLMPlugin2 };
137
+ export { make5, VLLMPlugin2 };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./generate-ttm2705a.js";
4
+ } from "./snapshot-fkd6hgre.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./generate-qwasgp8v.js";
6
+ Service79,
7
+ node83
8
+ } from "./snapshot-h1qn8583.js";
9
9
  import {
10
- Service72,
11
- node75
12
- } from "./generate-ahk33sx3.js";
10
+ Service77,
11
+ node80
12
+ } from "./snapshot-515kh3g7.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./generate-gd4qta3r.js";
15
+ } from "./snapshot-gd4qta3r.js";
16
16
  import {
17
- Service51,
17
+ Service60,
18
18
  args2,
19
- node53
20
- } from "./generate-3f4vjzp5.js";
19
+ node62
20
+ } from "./snapshot-9e5kb4vq.js";
21
21
  import {
22
22
  Service59,
23
23
  node61
24
- } from "./generate-jvnghvnw.js";
24
+ } from "./snapshot-jvnghvnw.js";
25
25
  import {
26
- Service48,
27
- node50
28
- } from "./generate-8aaqm6qj.js";
26
+ Service57,
27
+ node59
28
+ } from "./snapshot-7sbn2nrf.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./generate-czmjnx84.js";
31
+ } from "./snapshot-ppw6hb80.js";
32
32
  import {
33
33
  latest2,
34
- Service49,
35
- node51
36
- } from "./generate-s4qtke3p.js";
34
+ Service61,
35
+ node63
36
+ } from "./snapshot-4v3djrtk.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./generate-ba4w6g48.js";
40
+ } from "./snapshot-nfpfdzzq.js";
41
41
  import {
42
42
  __export
43
- } from "./generate-9rqn6x4v.js";
43
+ } from "./snapshot-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError8,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service47,
51
+ Service: () => Service56,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node49
54
+ node: () => node58
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service47 extends Context.Service()("@opencode/Shell") {
73
+ class Service56 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service47, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service56, Effect.gen(function* () {
90
90
  const bus = yield* Service82;
91
- const location = yield* Service75;
91
+ const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service51;
94
- const environment = yield* Service72;
93
+ const shell = yield* Service60;
94
+ const environment = yield* Service77;
95
95
  const hooks = yield* Service59;
96
- const environments = yield* Service48;
97
- const config = yield* Service49;
96
+ const environments = yield* Service57;
97
+ const config = yield* Service61;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError6({ id });
118
+ return yield* new NotFoundError8({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError8({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service47.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service56.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node49 = makeLocationNode({
320
- service: Service47,
319
+ var node58 = makeLocationNode({
320
+ service: Service56,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node86,
324
- node79,
324
+ node83,
325
325
  Global.node,
326
- node53,
327
- node75,
326
+ node62,
327
+ node80,
328
328
  node61,
329
- node50,
330
- node51,
329
+ node59,
330
+ node63,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
335
+ export { NotFoundError8, RETENTION2, DIRECTORY2, Service56, cleanup2, node58, exports_shell4 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service49
3
- } from "./generate-s4qtke3p.js";
2
+ Service61
3
+ } from "./snapshot-4v3djrtk.js";
4
4
  import {
5
5
  match2
6
- } from "./generate-y1fvbwt7.js";
6
+ } from "./snapshot-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./generate-qsdy395h.js";
9
+ } from "./snapshot-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./generate-9rqn6x4v.js";
12
+ } from "./snapshot-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin29
18
+ Plugin: () => Plugin31
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin29 = define({
22
+ var Plugin31 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service49;
25
+ const config = yield* Service61;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
27
27
  const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
28
28
  yield* ctx.provider.transform((providers) => {
@@ -46,4 +46,4 @@ var Plugin29 = define({
46
46
  })
47
47
  });
48
48
 
49
- export { Plugin29, exports_policy };
49
+ export { Plugin31, exports_policy };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service72
3
- } from "./generate-ahk33sx3.js";
2
+ Service77
3
+ } from "./snapshot-515kh3g7.js";
4
4
  import {
5
- Service15,
5
+ Service76,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./generate-je62fjgn.js";
8
+ } from "./snapshot-0n2pct96.js";
9
9
  import {
10
- Service14
11
- } from "./generate-9j0bgnvq.js";
10
+ Service47
11
+ } from "./snapshot-2nwtcrtm.js";
12
12
  import {
13
- Service55
14
- } from "./generate-4nqr3vv7.js";
13
+ Service49
14
+ } from "./snapshot-qg8gzcn5.js";
15
15
  import {
16
- Service46
17
- } from "./generate-m4p4mhce.js";
16
+ Service48
17
+ } from "./snapshot-jcmgjywg.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./generate-6prwharc.js";
20
+ } from "./snapshot-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input9,
29
- Output: () => Output7,
30
- Plugin: () => Plugin45,
28
+ Input: () => Input6,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin41,
31
31
  WriteTool: () => exports_write,
32
- name: () => name9,
33
- toModelContent: () => toModelContent5
32
+ name: () => name6,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name9 = "write";
39
- var Input9 = Schema.Struct({
38
+ var name6 = "write";
39
+ var Input6 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin45 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin41 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service46;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service72;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service55;
55
+ const access = yield* Service48;
56
+ const fileMutation = yield* Service76;
57
+ const environment = yield* Service77;
58
+ const formatter = yield* Service47;
59
+ const permission = yield* Service49;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name9,
61
+ name: name6,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input9,
69
- output: Output7,
68
+ input: Input6,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name9, Input9, Output7, toModelContent5, Plugin45, exports_write };
101
+ export { name6, Input6, Output5, toModelContent4, Plugin41, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};