@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,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-8krsydjn.js";
3
+ } from "./snapshot-sfef216m.js";
4
4
  import {
5
5
  Service82
6
- } from "./generate-ttm2705a.js";
6
+ } from "./snapshot-fkd6hgre.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service68
11
- } from "./generate-9s7dwqjf.js";
9
+ Event19,
10
+ Service73
11
+ } from "./snapshot-y8ezxhwv.js";
12
12
  import {
13
- ID11,
13
+ ID13,
14
14
  MethodID2,
15
- Service67
16
- } from "./generate-0fem12h8.js";
15
+ Service72
16
+ } from "./snapshot-1k0p56b5.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./generate-pjvnvgmy.js";
20
+ } from "./snapshot-pjvnvgmy.js";
21
21
  import {
22
- ID10
23
- } from "./generate-p3nvtprr.js";
22
+ ID12
23
+ } from "./snapshot-0dxxpvrv.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./generate-a725016h.js";
26
+ } from "./snapshot-w1szzbf4.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID10.make("snowflake-cortex");
34
- var integrationID = ID11.make(providerID);
33
+ var providerID = ID12.make("snowflake-cortex");
34
+ var integrationID = ID13.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service68;
57
- const integrations = yield* Service67;
56
+ const credentials = yield* Service73;
57
+ const integrations = yield* Service72;
58
58
  const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./generate-mfhfdr54.js";
4
+ } from "./snapshot-88sz8qcd.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured9,
11
- layer: () => layer21,
12
- make: () => make19,
13
- node: () => node64,
10
+ configured: () => configured10,
11
+ layer: () => layer24,
12
+ make: () => make20,
13
+ node: () => node72,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make19(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node64 = configured9();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node72 = configured10();
34
34
 
35
- export { Metadata2, make19, useragent2, layer21, configured9, node64, exports_app };
35
+ export { Metadata2, make20, useragent2, layer24, configured10, node72, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID10
3
- } from "./generate-p3nvtprr.js";
2
+ ID12
3
+ } from "./snapshot-0dxxpvrv.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./generate-hjbc5kem.js";
6
+ } from "./snapshot-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID10.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID10.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./generate-ttm2705a.js";
4
+ } from "./snapshot-fkd6hgre.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./generate-tazgh4e4.js";
9
+ } from "./snapshot-tazgh4e4.js";
10
10
  import {
11
- Service75,
12
- node79
13
- } from "./generate-qwasgp8v.js";
11
+ Service79,
12
+ node83
13
+ } from "./snapshot-h1qn8583.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./generate-rdw6cm16.js";
17
+ } from "./snapshot-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./generate-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info29,
29
+ Info: () => Info7,
30
30
  Mode: () => Mode2,
31
- Service: () => Service74,
31
+ Service: () => Service39,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node78
33
+ node: () => node41
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info29, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service74 extends Context.Service()("@opencode/Vcs") {
48
+ class Service39 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service74, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
52
+ const location = yield* Service79;
53
53
  const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info29));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service74.of({
121
+ return Service39.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node78 = makeLocationNode({
168
- service: Service74,
167
+ var node41 = makeLocationNode({
168
+ service: Service39,
169
169
  layer,
170
- deps: [FSUtil.node, node79, node86]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info29, Mode2, DiffError2, Service74, node78, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service39, node41, exports_vcs };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./generate-2a5m3afh.js";
3
+ } from "./snapshot-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./snapshot-922hggd3.js";
7
7
  import {
8
- Service75
9
- } from "./generate-qwasgp8v.js";
8
+ Service79
9
+ } from "./snapshot-h1qn8583.js";
10
10
  import {
11
- Service72
12
- } from "./generate-ahk33sx3.js";
11
+ Service77
12
+ } from "./snapshot-515kh3g7.js";
13
13
  import {
14
- Service71
15
- } from "./generate-ed737rsr.js";
14
+ Service67
15
+ } from "./snapshot-rt9qxada.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry4
21
- } from "./generate-2km7m4mh.js";
21
+ } from "./snapshot-4xwq6ydp.js";
22
22
  import {
23
- Service55
24
- } from "./generate-4nqr3vv7.js";
23
+ Service49
24
+ } from "./snapshot-qg8gzcn5.js";
25
25
  import {
26
- Service46
27
- } from "./generate-m4p4mhce.js";
26
+ Service48
27
+ } from "./snapshot-jcmgjywg.js";
28
28
  import {
29
29
  __export
30
- } from "./generate-9rqn6x4v.js";
30
+ } from "./snapshot-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input8,
37
- Output: () => Output6,
38
- Plugin: () => Plugin43,
39
- name: () => name8,
40
- toModelContent: () => toModelContent4
36
+ Input: () => Input3,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin38,
39
+ name: () => name3,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name8 = "glob";
46
- var Input8 = Schema.Struct({
45
+ var name3 = "glob";
46
+ var Input3 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry4);
59
- var toModelContent4 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry4);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin43 = {
66
+ var Plugin38 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service72;
70
- const ripgrep = yield* Service71;
71
- const location = yield* Service75;
72
- const access = yield* Service46;
73
- const permission = yield* Service55;
69
+ const environment = yield* Service77;
70
+ const ripgrep = yield* Service67;
71
+ const location = yield* Service79;
72
+ const access = yield* Service48;
73
+ const permission = yield* Service49;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name8,
75
+ name: name3,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input8,
79
- output: Output6,
78
+ input: Input3,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name8,
86
+ action: name3,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin43 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name8, Input8, Output6, toModelContent4, Plugin43, exports_glob };
128
+ export { name3, Input3, Output2, toModelContent2, Plugin38, exports_glob };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node64
5
- } from "./generate-8krsydjn.js";
4
+ node72
5
+ } from "./snapshot-sfef216m.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./generate-mfhfdr54.js";
9
+ } from "./snapshot-88sz8qcd.js";
10
10
  import {
11
11
  Service59,
12
12
  node61
13
- } from "./generate-jvnghvnw.js";
13
+ } from "./snapshot-jvnghvnw.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./generate-4nqr3vv7.js";
16
+ } from "./snapshot-qg8gzcn5.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./generate-fetmcry8.js";
19
+ } from "./snapshot-j6h2gdpk.js";
20
20
  import {
21
21
  Error2
22
- } from "./generate-8s3794y9.js";
22
+ } from "./snapshot-x433czyk.js";
23
23
  import {
24
- Service25,
25
- node28
26
- } from "./generate-s9na07f2.js";
24
+ Service27,
25
+ node30
26
+ } from "./snapshot-0j7qrmec.js";
27
27
  import {
28
- make13
29
- } from "./generate-qqeeq2t9.js";
28
+ make14
29
+ } from "./snapshot-57b9ws8p.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./generate-fch79rh9.js";
32
+ } from "./snapshot-scq4khx8.js";
33
33
  import {
34
34
  __export
35
- } from "./generate-9rqn6x4v.js";
35
+ } from "./snapshot-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service24,
40
+ Service: () => Service26,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer10,
45
- node: () => node27,
45
+ node: () => node29,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer10 = Layer.effect(Service24, Effect.gen(function* () {
155
+ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
156
156
  const hooks = yield* Service59;
157
- const transport = yield* Service25;
157
+ const transport = yield* Service27;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -252,17 +252,17 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service24.of({
255
+ return Service26.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node27 = makeLocationNode({
263
- service: Service24,
262
+ var node29 = makeLocationNode({
263
+ service: Service26,
264
264
  layer: layer10,
265
- deps: [node61, node28, node64]
265
+ deps: [node61, node30, node72]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer10, node29, exports_model_request };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./generate-0gdmqesm.js";
8
+ } from "./snapshot-t550f9t1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./generate-ec1grn59.js";
11
+ } from "./snapshot-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./generate-a1bz86dw.js";
15
+ } from "./snapshot-a1bz86dw.js";
16
16
  import {
17
17
  __export
18
- } from "./generate-9rqn6x4v.js";
18
+ } from "./snapshot-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -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
  optional2,
7
7
  statics2
8
- } from "./generate-922hggd3.js";
8
+ } from "./snapshot-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service75,
12
- node79
13
- } from "./generate-qwasgp8v.js";
11
+ Service79,
12
+ node83
13
+ } from "./snapshot-h1qn8583.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./snapshot-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service54,
22
+ Service: () => Service17,
23
23
  define: () => define2,
24
- node: () => node56
24
+ node: () => node20
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service54 extends Context.Service()("@opencode/Rpc") {
30
+ class Service17 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service54, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
43
43
  const bus = yield* Service82;
44
- const location = yield* Service75;
44
+ const location = yield* Service79;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service54.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service17.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node56 = makeLocationNode({ service: Service54, layer, deps: [node86, node79] });
128
+ var node20 = makeLocationNode({ service: Service17, layer, deps: [node86, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service54, node56, exports_rpc, define2 };
213
+ export { Service17, node20, exports_rpc, define2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./generate-537bw0gn.js";
3
+ } from "./snapshot-yhasxqe7.js";
4
4
  import {
5
- Service41
6
- } from "./generate-vqfzq50h.js";
5
+ Service36
6
+ } from "./snapshot-j5w2yx54.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./generate-phz3h32g.js";
9
+ } from "./snapshot-phz3h32g.js";
10
10
  import {
11
11
  provenance2
12
- } from "./generate-mfhfdr54.js";
12
+ } from "./snapshot-88sz8qcd.js";
13
13
  import {
14
14
  preview2
15
- } from "./generate-b01c3z2q.js";
15
+ } from "./snapshot-01va1f3z.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./generate-h3pyx580.js";
18
+ } from "./snapshot-swz6y1sy.js";
19
19
  import {
20
- Service19
21
- } from "./generate-ewv48zmm.js";
20
+ Service20
21
+ } from "./snapshot-5wkzkny2.js";
22
22
  import {
23
23
  __export
24
- } from "./generate-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service41;
35
+ const instances = yield* Service36;
36
36
  const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service19;
40
+ const context = yield* Service20;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");