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

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{skill-y9b9bf3r.js → generate-006zyfbw.js} +11 -11
  8. package/dist/chunks/{skill-p4b86tx8.js → generate-020j3mp2.js} +6 -6
  9. package/dist/chunks/{skill-6nmvbewf.js → generate-025avdj6.js} +25 -25
  10. package/dist/chunks/{skill-m3zza4qd.js → generate-05xfxpq7.js} +8 -8
  11. package/dist/chunks/{skill-vd7qdfbw.js → generate-08x19res.js} +27 -27
  12. package/dist/chunks/{skill-11dqjexa.js → generate-0996nyz8.js} +9 -9
  13. package/dist/chunks/{skill-b86eggf9.js → generate-0bxbewg9.js} +26 -26
  14. package/dist/chunks/{skill-baasw9zs.js → generate-0en0hh3r.js} +4 -4
  15. package/dist/chunks/{skill-rey9eyyn.js → generate-0fem12h8.js} +25 -25
  16. package/dist/chunks/{skill-eaj1djv9.js → generate-0gdmqesm.js} +8 -8
  17. package/dist/chunks/{skill-zfj4vk7j.js → generate-0h7mncab.js} +43 -43
  18. package/dist/chunks/{skill-2k8khapm.js → generate-0jwsre1p.js} +5 -5
  19. package/dist/chunks/{skill-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{skill-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{skill-f4dwq1rr.js → generate-0wd91se4.js} +11 -11
  22. package/dist/chunks/{skill-a9gn0e0y.js → generate-16f0abez.js} +30 -30
  23. package/dist/chunks/{skill-xzhffq4e.js → generate-17wbgvpj.js} +10 -10
  24. package/dist/chunks/{skill-vwvt0yj4.js → generate-1b1ysvrc.js} +30 -30
  25. package/dist/chunks/{skill-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{skill-wgr18wbf.js → generate-1ptm6hmd.js} +47 -47
  27. package/dist/chunks/{skill-07rx9135.js → generate-1swhfer2.js} +32 -32
  28. package/dist/chunks/{skill-6c1cfgpc.js → generate-1tsjn6cx.js} +8 -8
  29. package/dist/chunks/{skill-wxms7b7s.js → generate-1w2rgvgc.js} +41 -41
  30. package/dist/chunks/{skill-1ygqh575.js → generate-1ygqh575.js} +2 -2
  31. package/dist/chunks/{skill-21r38tys.js → generate-21r38tys.js} +1 -1
  32. package/dist/chunks/{skill-2402vzrj.js → generate-2402vzrj.js} +1 -1
  33. package/dist/chunks/{skill-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{skill-2m0fs58m.js → generate-2gjqtbpb.js} +14 -14
  35. package/dist/chunks/{skill-24w993ac.js → generate-2km7m4mh.js} +32 -32
  36. package/dist/chunks/{skill-5rnnm2b5.js → generate-2q8c0gm7.js} +9 -9
  37. package/dist/chunks/{skill-yrtjmt84.js → generate-34k4z2mf.js} +11 -11
  38. package/dist/chunks/{skill-v8amwdt9.js → generate-39s7s8pm.js} +15 -15
  39. package/dist/chunks/{skill-7f8094m0.js → generate-3f4vjzp5.js} +18 -18
  40. package/dist/chunks/{skill-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{skill-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{skill-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{skill-e16nms22.js → generate-3sstnap9.js} +17 -17
  44. package/dist/chunks/{skill-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{skill-gdgxt1ms.js → generate-4137199z.js} +26 -26
  46. package/dist/chunks/{skill-e3r3h2ca.js → generate-467s6nxb.js} +11 -11
  47. package/dist/chunks/{skill-csejk48n.js → generate-468wfx9w.js} +23 -23
  48. package/dist/chunks/{skill-brx9q7m9.js → generate-4bzdzhey.js} +6 -6
  49. package/dist/chunks/{skill-1zrp9yhc.js → generate-4gya7rk6.js} +15 -15
  50. package/dist/chunks/{skill-kp4nff0n.js → generate-4nqr3vv7.js} +55 -55
  51. package/dist/chunks/{skill-4mazw847.js → generate-4wtgdyea.js} +8 -8
  52. package/dist/chunks/{skill-6a8p6m8g.js → generate-4x1pakvw.js} +17 -17
  53. package/dist/chunks/{skill-e89vryre.js → generate-50xhyj86.js} +15 -15
  54. package/dist/chunks/{skill-j9wq27ye.js → generate-52w8ykvs.js} +10 -10
  55. package/dist/chunks/{skill-zm048y03.js → generate-537bw0gn.js} +3 -3
  56. package/dist/chunks/{skill-6aezskgs.js → generate-56c5b5gd.js} +5 -5
  57. package/dist/chunks/{skill-9thjjcjr.js → generate-5aqxh65v.js} +17 -17
  58. package/dist/chunks/{skill-5daktx2q.js → generate-5daktx2q.js} +1 -1
  59. package/dist/chunks/{skill-t3bphv2x.js → generate-5dqhbf4t.js} +5 -5
  60. package/dist/chunks/{skill-5g0t074s.js → generate-5gygmtrp.js} +10 -10
  61. package/dist/chunks/{skill-3ktbe3hf.js → generate-5k92hdxp.js} +6 -6
  62. package/dist/chunks/{skill-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{skill-wjybtq75.js → generate-63m47ghd.js} +6 -6
  64. package/dist/chunks/{skill-669tq793.js → generate-669tq793.js} +1 -1
  65. package/dist/chunks/{skill-4hj495k6.js → generate-66mcxdya.js} +7 -7
  66. package/dist/chunks/{skill-4zf4scdz.js → generate-67baksp2.js} +15 -15
  67. package/dist/chunks/{skill-rqtkra6z.js → generate-680r6an6.js} +9 -9
  68. package/dist/chunks/{skill-nqnxh7mc.js → generate-6anwy9fs.js} +6 -6
  69. package/dist/chunks/{skill-rn5b7vpn.js → generate-6b60be2p.js} +4 -4
  70. package/dist/chunks/{skill-s93198yw.js → generate-6jcx2vqk.js} +5 -5
  71. package/dist/chunks/{skill-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{skill-pfnv69sy.js → generate-6vd6cxtp.js} +24 -24
  73. package/dist/chunks/{skill-c3vm0mcc.js → generate-6x2rtf6n.js} +9 -9
  74. package/dist/chunks/{skill-304pnd68.js → generate-6z4h7bb7.js} +14 -14
  75. package/dist/chunks/{skill-eq1pz5kg.js → generate-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{skill-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{skill-m4jh79cr.js → generate-7etmzzkb.js} +20 -20
  78. package/dist/chunks/{skill-qnhrprtx.js → generate-7hwhf7n5.js} +10 -10
  79. package/dist/chunks/{skill-664pnj4b.js → generate-7n8gnwtg.js} +10 -10
  80. package/dist/chunks/{skill-w308r9zr.js → generate-7raq9vyn.js} +53 -53
  81. package/dist/chunks/{skill-wrz8ygnx.js → generate-80gttzr5.js} +33 -33
  82. package/dist/chunks/{skill-jqpk3fxs.js → generate-81wr8hqp.js} +15 -15
  83. package/dist/chunks/{skill-bjjsqnba.js → generate-88adn62y.js} +20 -20
  84. package/dist/chunks/{skill-tcezcvh9.js → generate-89znhe33.js} +4 -4
  85. package/dist/chunks/{skill-rzs3gq0x.js → generate-8aaqm6qj.js} +8 -8
  86. package/dist/chunks/{skill-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{skill-3gne4zes.js → generate-8g6jyz2b.js} +17 -17
  88. package/dist/chunks/{skill-mt1ghr90.js → generate-8k4wrnk2.js} +6 -6
  89. package/dist/chunks/{skill-mdm24dv9.js → generate-8krsydjn.js} +8 -8
  90. package/dist/chunks/{skill-jbqe4h8z.js → generate-8mnt8kwt.js} +11 -11
  91. package/dist/chunks/{skill-vfshnhmq.js → generate-8n32ahfj.js} +27 -27
  92. package/dist/chunks/{skill-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{skill-0xj4wdgx.js → generate-8s3794y9.js} +25 -25
  94. package/dist/chunks/{skill-53ttffxc.js → generate-8tqgka7y.js} +21 -21
  95. package/dist/chunks/{skill-p23qv2qc.js → generate-92c128b4.js} +2 -2
  96. package/dist/chunks/{skill-nw7tcscr.js → generate-9a43fp12.js} +24 -24
  97. package/dist/chunks/{skill-d4jy01b2.js → generate-9cck0fs0.js} +3 -3
  98. package/dist/chunks/{skill-ffmy44as.js → generate-9e6qvnjr.js} +3 -3
  99. package/dist/chunks/{skill-z2r3ywn4.js → generate-9f95htjy.js} +6 -6
  100. package/dist/chunks/{skill-8v82sp9j.js → generate-9j0bgnvq.js} +15 -15
  101. package/dist/chunks/{skill-fcb1rjb3.js → generate-9mayah99.js} +25 -25
  102. package/dist/chunks/{skill-97qrqnrp.js → generate-9np3zvmg.js} +5 -5
  103. package/dist/chunks/{skill-bxgz0t0h.js → generate-9qzpz6ej.js} +11 -11
  104. package/dist/chunks/{skill-n9cn112f.js → generate-9s7dwqjf.js} +24 -24
  105. package/dist/chunks/{skill-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{skill-56ffp7pp.js → generate-a4140sej.js} +40 -40
  107. package/dist/chunks/{skill-vrb8d36f.js → generate-a5gjdttc.js} +26 -26
  108. package/dist/chunks/{skill-az4xf6ed.js → generate-a725016h.js} +6 -6
  109. package/dist/chunks/{skill-aaet6srn.js → generate-aaet6srn.js} +2 -2
  110. package/dist/chunks/{skill-q965a9pk.js → generate-aefrgm9z.js} +5 -5
  111. package/dist/chunks/{skill-dwpmf8cp.js → generate-ahk33sx3.js} +24 -24
  112. package/dist/chunks/{skill-7567q7fa.js → generate-b01c3z2q.js} +8 -8
  113. package/dist/chunks/{skill-9p8kwvhj.js → generate-b2jrkcgy.js} +12 -12
  114. package/dist/chunks/{skill-zwjr63rt.js → generate-b4pq521n.js} +23 -23
  115. package/dist/chunks/{skill-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{skill-vcrvjhtj.js → generate-ba4w6g48.js} +12 -12
  117. package/dist/chunks/{skill-zpk379h4.js → generate-bab96271.js} +20 -20
  118. package/dist/chunks/{skill-6k9034wm.js → generate-bcpk7r0m.js} +9 -9
  119. package/dist/chunks/{skill-bswtr64f.js → generate-bfemdc8w.js} +13 -13
  120. package/dist/chunks/{skill-dwbq2wq0.js → generate-bk82wy0q.js} +17 -17
  121. package/dist/chunks/{skill-jca4demv.js → generate-bry9ga0b.js} +2 -2
  122. package/dist/chunks/{skill-50mzsvk4.js → generate-cavr175a.js} +4 -4
  123. package/dist/chunks/{skill-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{skill-cs7wv0cd.js → generate-cg8mw5ap.js} +16 -16
  125. package/dist/chunks/{skill-db54agdm.js → generate-cnvnzs5z.js} +12 -12
  126. package/dist/chunks/{skill-8hcc4vms.js → generate-cs075kwz.js} +11 -11
  127. package/dist/chunks/{skill-31cw5505.js → generate-ct9qn75j.js} +19 -19
  128. package/dist/chunks/{skill-qdttw7q6.js → generate-ctwst137.js} +46 -46
  129. package/dist/chunks/{skill-fftzdnxd.js → generate-cwem3g1g.js} +5 -5
  130. package/dist/chunks/{skill-tsksnvtb.js → generate-cypq54sk.js} +26 -26
  131. package/dist/chunks/{skill-q3t37ft6.js → generate-czmjnx84.js} +3 -3
  132. package/dist/chunks/{skill-tz2bjj40.js → generate-dj9sq318.js} +5 -5
  133. package/dist/chunks/{skill-c765mh8b.js → generate-djszqvmq.js} +9 -9
  134. package/dist/chunks/{skill-p37cw4rj.js → generate-dv1qgsyq.js} +6 -6
  135. package/dist/chunks/{skill-vyjrmqhg.js → generate-dx7v3b91.js} +15 -15
  136. package/dist/chunks/{skill-fdb6da93.js → generate-dzpn4m2j.js} +9 -9
  137. package/dist/chunks/{skill-cpj0znwe.js → generate-ebe9bak5.js} +4 -4
  138. package/dist/chunks/{skill-ec87kc5z.js → generate-ec87kc5z.js} +1 -1
  139. package/dist/chunks/{skill-9knd8yy1.js → generate-ed737rsr.js} +18 -18
  140. package/dist/chunks/{skill-z3gx4d74.js → generate-eev6jqyc.js} +12 -12
  141. package/dist/chunks/{skill-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{skill-s8wmpz1b.js → generate-eq20ba7x.js} +6 -6
  143. package/dist/chunks/{skill-ycjsjtpe.js → generate-eqnqgvn0.js} +15 -15
  144. package/dist/chunks/{skill-cz4v21yz.js → generate-er20hz79.js} +33 -33
  145. package/dist/chunks/{skill-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
  146. package/dist/chunks/{skill-s98dmevz.js → generate-et344232.js} +11 -11
  147. package/dist/chunks/{skill-xnqsar2x.js → generate-et8hxw0a.js} +10 -10
  148. package/dist/chunks/{skill-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{skill-sse271b5.js → generate-ev47vst9.js} +24 -24
  150. package/dist/chunks/{skill-4zrsw0za.js → generate-ewv48zmm.js} +86 -86
  151. package/dist/chunks/{skill-yp2x3t23.js → generate-f2n192rq.js} +4 -4
  152. package/dist/chunks/{skill-f828m53h.js → generate-f828m53h.js} +2 -2
  153. package/dist/chunks/{skill-4jc5c4h4.js → generate-fch79rh9.js} +1 -1
  154. package/dist/chunks/{skill-z7wqewzp.js → generate-fdmdcz0h.js} +20 -20
  155. package/dist/chunks/{skill-vq7xavc1.js → generate-fetmcry8.js} +7 -7
  156. package/dist/chunks/{skill-tzj19fy0.js → generate-fgrsbrs2.js} +20 -20
  157. package/dist/chunks/{skill-pnv527nz.js → generate-fhs97t90.js} +9 -9
  158. package/dist/chunks/{skill-qsr9synt.js → generate-fhz5gfgy.js} +5 -5
  159. package/dist/chunks/{skill-w5nmfj9j.js → generate-fj02ctk5.js} +25 -25
  160. package/dist/chunks/{skill-ty7mxw4w.js → generate-fjkt0sjh.js} +90 -90
  161. package/dist/chunks/{skill-5b573h0t.js → generate-fmvs6bfp.js} +1 -1
  162. package/dist/chunks/{skill-zzw84r5z.js → generate-fnwyw2er.js} +24 -24
  163. package/dist/chunks/{skill-8wdwjc3c.js → generate-fs7vq6tk.js} +10 -10
  164. package/dist/chunks/{skill-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  165. package/dist/chunks/{skill-3eds432b.js → generate-fygh9jmr.js} +37 -37
  166. package/dist/chunks/{skill-3nyy4eqj.js → generate-fystd85k.js} +8 -8
  167. package/dist/chunks/{skill-nbzsj80d.js → generate-g8jasmdt.js} +8 -8
  168. package/dist/chunks/{skill-jyt2tpej.js → generate-gbf09wq5.js} +16 -16
  169. package/dist/chunks/{skill-zg35pp16.js → generate-gc9j7k3x.js} +26 -26
  170. package/dist/chunks/{skill-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  171. package/dist/chunks/{skill-edc26kb2.js → generate-gtg525qf.js} +20 -20
  172. package/dist/chunks/{skill-drk835a9.js → generate-gv35t99p.js} +30 -30
  173. package/dist/chunks/{skill-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  174. package/dist/chunks/{skill-pk38dg6j.js → generate-gx16nh21.js} +4 -4
  175. package/dist/chunks/{skill-ethbcf4m.js → generate-gxqczrrk.js} +12 -12
  176. package/dist/chunks/{skill-htt7d1qe.js → generate-gyecctkc.js} +20 -20
  177. package/dist/chunks/{skill-k2d1yzqh.js → generate-gzj5kv74.js} +38 -38
  178. package/dist/chunks/{skill-0z587mdr.js → generate-h3pyx580.js} +32 -32
  179. package/dist/chunks/{skill-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  180. package/dist/chunks/{skill-91antst5.js → generate-h8yerwe6.js} +43 -43
  181. package/dist/chunks/{skill-qvzs7hvg.js → generate-hjkhkj6y.js} +5 -5
  182. package/dist/chunks/{skill-ckf8nxjz.js → generate-hn57h045.js} +4 -4
  183. package/dist/chunks/{skill-3navmtz4.js → generate-hym83zep.js} +9 -9
  184. package/dist/chunks/{skill-c3g7xerj.js → generate-j2s4fcjm.js} +34 -34
  185. package/dist/chunks/{skill-j56e64zr.js → generate-j56e64zr.js} +1 -1
  186. package/dist/chunks/{skill-pq0ex9bk.js → generate-je62fjgn.js} +13 -13
  187. package/dist/chunks/{skill-4h9vc7zt.js → generate-jm843vy5.js} +26 -26
  188. package/dist/chunks/{skill-2eegacq4.js → generate-jvnghvnw.js} +8 -8
  189. package/dist/chunks/{skill-4m50v4jg.js → generate-jw5e50e7.js} +4 -4
  190. package/dist/chunks/{skill-7pc088kn.js → generate-k7zzwya2.js} +24 -24
  191. package/dist/chunks/{skill-nx6th6bc.js → generate-kenng7k5.js} +8 -8
  192. package/dist/chunks/{skill-5qey08j8.js → generate-khhfmx5f.js} +11 -11
  193. package/dist/chunks/{skill-zqjwjz6j.js → generate-kjktbwf3.js} +5 -5
  194. package/dist/chunks/{skill-nprga9fx.js → generate-kt71pmwz.js} +44 -44
  195. package/dist/chunks/{skill-130qywb0.js → generate-kwqhvt42.js} +20 -20
  196. package/dist/chunks/{skill-wzsdv5th.js → generate-m22w3jkd.js} +32 -32
  197. package/dist/chunks/{skill-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  198. package/dist/chunks/{skill-yk124667.js → generate-m4p4mhce.js} +18 -18
  199. package/dist/chunks/{skill-jrdspvxq.js → generate-m5r3e6sc.js} +11 -11
  200. package/dist/chunks/{skill-nvw2kphd.js → generate-m9k0wbax.js} +37 -37
  201. package/dist/chunks/{skill-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  202. package/dist/chunks/{skill-w1k39n5e.js → generate-mfhfdr54.js} +4 -4
  203. package/dist/chunks/{skill-9wh8t9n9.js → generate-mm9gyng9.js} +21 -21
  204. package/dist/chunks/{skill-3bn7mw29.js → generate-mtpgkgh0.js} +9 -9
  205. package/dist/chunks/{skill-sth16pks.js → generate-n4v58wv0.js} +4 -4
  206. package/dist/chunks/{skill-18fyr48k.js → generate-n7cnqe0p.js} +22 -22
  207. package/dist/chunks/{skill-w43dcfxw.js → generate-ndzcbbvx.js} +8 -8
  208. package/dist/chunks/{skill-2fgn2we9.js → generate-nf3r8qb2.js} +9 -9
  209. package/dist/chunks/{skill-19828knf.js → generate-nqyk3grw.js} +38 -38
  210. package/dist/chunks/{skill-k3c624dm.js → generate-nzks3jc8.js} +3 -3
  211. package/dist/chunks/{skill-22hs4wst.js → generate-p261ekdc.js} +21 -21
  212. package/dist/chunks/{skill-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
  213. package/dist/chunks/{skill-nqnp5e2q.js → generate-p38k89q1.js} +290 -290
  214. package/dist/chunks/{skill-r7he9cn9.js → generate-p3nvtprr.js} +32 -32
  215. package/dist/chunks/{skill-mxkmbcpx.js → generate-pg7dzk1q.js} +26 -26
  216. package/dist/chunks/generate-phz3h32g.js +18 -0
  217. package/dist/chunks/{skill-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{skill-pknna89w.js → generate-pknna89w.js} +1 -1
  219. package/dist/chunks/{skill-v8dh4nz3.js → generate-pmzfczzx.js} +3 -3
  220. package/dist/chunks/{skill-99e5sepg.js → generate-ptjg6r5v.js} +6 -6
  221. package/dist/chunks/{skill-txtfabjx.js → generate-ptzf6svk.js} +1 -1
  222. package/dist/chunks/{skill-k76krqzs.js → generate-qa3qhgw8.js} +4 -4
  223. package/dist/chunks/{skill-3ta993pv.js → generate-qb623j79.js} +18 -18
  224. package/dist/chunks/{skill-j78ak35t.js → generate-qb9204h6.js} +7 -7
  225. package/dist/chunks/{skill-wrp2dx04.js → generate-qgsdwrdp.js} +11 -11
  226. package/dist/chunks/{skill-8qjmfq2h.js → generate-qk3skfh1.js} +3 -3
  227. package/dist/chunks/generate-qp2n6zp9.js +26 -0
  228. package/dist/chunks/{skill-drwq78ky.js → generate-qqeeq2t9.js} +7 -7
  229. package/dist/chunks/{skill-1nht4ms1.js → generate-qra1vg7x.js} +70 -70
  230. package/dist/chunks/{skill-wbcfvnt4.js → generate-qrcs80c4.js} +27 -27
  231. package/dist/chunks/{skill-qsdy395h.js → generate-qsdy395h.js} +1 -1
  232. package/dist/chunks/{skill-wbkyxrgf.js → generate-qte5z7bc.js} +5 -5
  233. package/dist/chunks/{skill-abgq2xrr.js → generate-qwasgp8v.js} +16 -16
  234. package/dist/chunks/{skill-b5dyyh20.js → generate-r09kcce2.js} +4 -4
  235. package/dist/chunks/{skill-d8dssnap.js → generate-r8572ydm.js} +31 -31
  236. package/dist/chunks/{skill-s86qnaav.js → generate-r90t3skp.js} +13 -13
  237. package/dist/chunks/{skill-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  238. package/dist/chunks/{skill-s2f2q6g5.js → generate-rj4tp187.js} +9 -9
  239. package/dist/chunks/{skill-jczzady9.js → generate-rygtch4c.js} +10 -10
  240. package/dist/chunks/{skill-xv1v2zqz.js → generate-s1sn43f6.js} +22 -22
  241. package/dist/chunks/{skill-bgk5qnzj.js → generate-s4qtke3p.js} +43 -43
  242. package/dist/chunks/{skill-zytaxaq1.js → generate-s6bwzk9r.js} +16 -16
  243. package/dist/chunks/{skill-p6kr751s.js → generate-s9na07f2.js} +11 -11
  244. package/dist/chunks/{skill-va5qff5x.js → generate-spt9fbav.js} +6 -6
  245. package/dist/chunks/{skill-zzp4szp6.js → generate-t19r84ws.js} +23 -23
  246. package/dist/chunks/{skill-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{skill-dtqg9ce1.js → generate-tdpndm1c.js} +5 -5
  248. package/dist/chunks/{skill-tdstcens.js → generate-tdstcens.js} +1 -1
  249. package/dist/chunks/{skill-d858xzj7.js → generate-tjedn1bk.js} +4 -4
  250. package/dist/chunks/{skill-yxpb66jc.js → generate-ttm1q0kg.js} +9 -9
  251. package/dist/chunks/{skill-445xt372.js → generate-ttm2705a.js} +4 -4
  252. package/dist/chunks/{skill-tvtrv512.js → generate-tvtrv512.js} +1 -1
  253. package/dist/chunks/{skill-w6c82y4z.js → generate-txx9st8t.js} +4 -4
  254. package/dist/chunks/{skill-kn352ak5.js → generate-va4cvfc3.js} +19 -19
  255. package/dist/chunks/{skill-sx1n432n.js → generate-ve4pfa0n.js} +4 -4
  256. package/dist/chunks/{skill-veqvce7d.js → generate-veqvce7d.js} +1 -1
  257. package/dist/chunks/{skill-022zszfk.js → generate-vkxpz7g2.js} +4 -4
  258. package/dist/chunks/{skill-zdwe30dy.js → generate-vqfzq50h.js} +6 -6
  259. package/dist/chunks/{skill-nc9sjc15.js → generate-vtq71d35.js} +28 -28
  260. package/dist/chunks/{skill-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{skill-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{skill-kpmbepaz.js → generate-w4pr70gm.js} +9 -9
  263. package/dist/chunks/{skill-913gb3cq.js → generate-wac2p1pk.js} +42 -42
  264. package/dist/chunks/{skill-hpm39920.js → generate-wc0dzmvn.js} +7 -7
  265. package/dist/chunks/{skill-wd87259q.js → generate-wd87259q.js} +1 -1
  266. package/dist/chunks/{skill-3avz2e6f.js → generate-wktdcmn3.js} +15 -15
  267. package/dist/chunks/{skill-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/generate-x90gshdg.js +252 -0
  269. package/dist/chunks/{skill-k9scbgz4.js → generate-xhyfjham.js} +10 -10
  270. package/dist/chunks/{skill-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{skill-ga07bkf0.js → generate-y2a6ds97.js} +17 -17
  272. package/dist/chunks/{skill-dpkg50ah.js → generate-y71avatq.js} +4 -4
  273. package/dist/chunks/{skill-haa2pb9w.js → generate-y8tj7gpt.js} +43 -43
  274. package/dist/chunks/{skill-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{skill-yrznvahk.js → generate-yrznvahk.js} +2 -2
  276. package/dist/chunks/{skill-hkfg6fzm.js → generate-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{skill-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{skill-emy0xer2.js → generate-z46y8a13.js} +17 -17
  279. package/dist/chunks/{skill-rjcwc11h.js → generate-z4snjgfg.js} +12 -12
  280. package/dist/chunks/{skill-z63w68vq.js → generate-z63w68vq.js} +2 -2
  281. package/dist/chunks/{skill-g4p7jhbz.js → generate-z78j2g86.js} +13 -13
  282. package/dist/chunks/{skill-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{skill-jxzgsp22.js → generate-zhsvargz.js} +23 -23
  284. package/dist/chunks/{skill-knb7evpn.js → generate-zqx8wcya.js} +4 -4
  285. package/dist/chunks/{skill-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{skill-q8q6jdt8.js → generate-zs994txj.js} +182 -182
  287. package/dist/chunks/{skill-t97t2t7r.js → generate-zsnh4763.js} +14 -14
  288. package/dist/chunks/{skill-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +80 -80
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +74 -74
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +86 -86
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +92 -92
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +5 -5
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +219 -219
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +115 -115
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +117 -117
  649. package/dist/tool/read-filesystem.js +95 -95
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/skill-1x11rq2a.js +0 -18
  695. package/dist/chunks/skill-80q1jvf3.js +0 -26
  696. package/dist/chunks/skill-h5b51rs2.js +0 -252
  697. /package/dist/chunks/{skill-0mesazry.js → generate-0mesazry.js} +0 -0
  698. /package/dist/chunks/{skill-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{skill-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{skill-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{skill-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{skill-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{skill-24dcb14g.js → generate-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{skill-2710q6r3.js → generate-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{skill-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{skill-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{skill-359p4xyc.js → generate-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{skill-3asan66x.js → generate-3asan66x.js} +0 -0
  709. /package/dist/chunks/{skill-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{skill-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{skill-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{skill-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{skill-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{skill-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{skill-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{skill-53557ph1.js → generate-53557ph1.js} +0 -0
  717. /package/dist/chunks/{skill-550bvhaj.js → generate-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{skill-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{skill-6prwharc.js → generate-6prwharc.js} +0 -0
  720. /package/dist/chunks/{skill-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{skill-7m9af43g.js → generate-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{skill-822emrt2.js → generate-822emrt2.js} +0 -0
  723. /package/dist/chunks/{skill-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{skill-8n3pysct.js → generate-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{skill-922hggd3.js → generate-922hggd3.js} +0 -0
  726. /package/dist/chunks/{skill-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{skill-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{skill-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{skill-af5trqkr.js → generate-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{skill-afrmfg78.js → generate-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{skill-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{skill-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{skill-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{skill-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{skill-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{skill-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{skill-d9fn303g.js → generate-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{skill-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{skill-dajrwvna.js → generate-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{skill-dap0rakb.js → generate-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{skill-df08tz66.js → generate-df08tz66.js} +0 -0
  742. /package/dist/chunks/{skill-dy18nga0.js → generate-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{skill-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{skill-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{skill-ec1grn59.js → generate-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{skill-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{skill-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{skill-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{skill-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{skill-faypxj3z.js → generate-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{skill-fd410y7t.js → generate-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{skill-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{skill-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{skill-g86h250q.js → generate-g86h250q.js} +0 -0
  755. /package/dist/chunks/{skill-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{skill-gftt206x.js → generate-gftt206x.js} +0 -0
  757. /package/dist/chunks/{skill-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{skill-hk9envan.js → generate-hk9envan.js} +0 -0
  759. /package/dist/chunks/{skill-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{skill-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{skill-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{skill-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{skill-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{skill-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{skill-mp448xyj.js → generate-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{skill-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{skill-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{skill-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{skill-njntx4h6.js → generate-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{skill-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{skill-q74kybfr.js → generate-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{skill-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{skill-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{skill-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{skill-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{skill-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{skill-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{skill-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{skill-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{skill-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{skill-twg0f83k.js → generate-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{skill-w803qqfp.js → generate-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{skill-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{skill-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{skill-wtztk69x.js → generate-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{skill-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{skill-x61499pn.js → generate-x61499pn.js} +0 -0
  788. /package/dist/chunks/{skill-y44na4kk.js → generate-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{skill-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{skill-y8f7s663.js → generate-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{skill-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{skill-ym463w8f.js → generate-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{skill-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./skill-445xt372.js";
5
+ } from "./generate-ttm2705a.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./skill-xnqsar2x.js";
7
+ Service80,
8
+ node84
9
+ } from "./generate-et8hxw0a.js";
10
10
  import {
11
11
  __export
12
- } from "./skill-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service62,
22
+ Service: () => Service60,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node65,
26
- resolve: () => resolve4
25
+ node: () => node62,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service62 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service60 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service62, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service63;
80
+ const kv = yield* Service80;
81
81
  const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service62.of({
115
+ return Service60.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [httpClient, node66, node86] });
146
+ var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node84, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service62, Event11, inspect2, resolve4, node65, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve3, node62, exports_wellknown };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./skill-zm048y03.js";
4
+ } from "./generate-537bw0gn.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./skill-445xt372.js";
8
+ } from "./generate-ttm2705a.js";
9
9
  import {
10
- Service59,
11
- node62
12
- } from "./skill-9thjjcjr.js";
10
+ Service78,
11
+ node82
12
+ } from "./generate-5aqxh65v.js";
13
13
  import {
14
- Service58,
15
- node61
16
- } from "./skill-zdwe30dy.js";
14
+ Service41,
15
+ node43
16
+ } from "./generate-vqfzq50h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./skill-ec1grn59.js";
19
+ } from "./generate-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./skill-yp2x3t23.js";
21
+ make15
22
+ } from "./generate-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service55
26
- } from "./skill-ckf8nxjz.js";
25
+ Service38
26
+ } from "./generate-hn57h045.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./skill-3ktbe3hf.js";
29
+ } from "./generate-5k92hdxp.js";
30
30
  import {
31
- Service75,
32
- node79
33
- } from "./skill-2m0fs58m.js";
31
+ Service56,
32
+ node58
33
+ } from "./generate-2gjqtbpb.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./skill-sth16pks.js";
36
+ } from "./generate-n4v58wv0.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./skill-pfnv69sy.js";
39
+ } from "./generate-6vd6cxtp.js";
40
40
  import {
41
41
  __export
42
- } from "./skill-9rqn6x4v.js";
42
+ } from "./generate-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service54,
47
+ Service: () => Service37,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node58,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer16,
50
+ node: () => node40,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service54 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service37 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service54, Effect.gen(function* () {
69
- const store = yield* Service75;
70
- const instances = yield* Service58;
68
+ var layer16 = Layer.effect(Service37, Effect.gen(function* () {
69
+ const store = yield* Service56;
70
+ const instances = yield* Service41;
71
71
  const bus = yield* Service82;
72
- const jobs = yield* Service59;
72
+ const jobs = yield* Service78;
73
73
  const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make15({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service54.of({
113
+ return Service37.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node58 = makeGlobalNode({
133
- service: Service54,
134
- layer: layer21,
135
- deps: [node79, node61, node86, node87, node62]
132
+ var node40 = makeGlobalNode({
133
+ service: Service37,
134
+ layer: layer16,
135
+ deps: [node58, node43, node86, node87, node82]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service54, Service54.of({
137
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service54, Service54.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service54, terminal2, layer21, node58, noopLayer3, exports_execution };
146
+ export { Service37, terminal2, layer16, node40, noopLayer2, exports_execution };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node73
5
- } from "./skill-mdm24dv9.js";
4
+ node64
5
+ } from "./generate-8krsydjn.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./skill-w1k39n5e.js";
9
+ } from "./generate-mfhfdr54.js";
10
10
  import {
11
- Service77,
12
- node81
13
- } from "./skill-2eegacq4.js";
11
+ Service59,
12
+ node61
13
+ } from "./generate-jvnghvnw.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./skill-kp4nff0n.js";
16
+ } from "./generate-4nqr3vv7.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./skill-vq7xavc1.js";
19
+ } from "./generate-fetmcry8.js";
20
20
  import {
21
- Error4
22
- } from "./skill-0xj4wdgx.js";
21
+ Error2
22
+ } from "./generate-8s3794y9.js";
23
23
  import {
24
- Service29,
25
- node32
26
- } from "./skill-p6kr751s.js";
24
+ Service25,
25
+ node28
26
+ } from "./generate-s9na07f2.js";
27
27
  import {
28
- make14
29
- } from "./skill-drwq78ky.js";
28
+ make13
29
+ } from "./generate-qqeeq2t9.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./skill-4jc5c4h4.js";
32
+ } from "./generate-fch79rh9.js";
33
33
  import {
34
34
  __export
35
- } from "./skill-9rqn6x4v.js";
35
+ } from "./generate-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: () => Service28,
40
+ Service: () => Service24,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node31,
44
+ layer: () => layer10,
45
+ node: () => node27,
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 : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(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 Service28 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service28, Effect.gen(function* () {
156
- const hooks = yield* Service77;
157
- const transport = yield* Service29;
155
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
156
+ const hooks = yield* Service59;
157
+ const transport = yield* Service25;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error4({ message: "Tools are not available for this request" })
165
+ execute: () => new Error2({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service28.of({
255
+ return Service24.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 node31 = makeLocationNode({
263
- service: Service28,
264
- layer: layer11,
265
- deps: [node81, node32, node73]
262
+ var node27 = makeLocationNode({
263
+ service: Service24,
264
+ layer: layer10,
265
+ deps: [node61, node28, node64]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer11, node31, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./skill-dpkg50ah.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./skill-445xt372.js";
7
+ } from "./generate-ttm2705a.js";
8
8
  import {
9
- Event16,
9
+ Event17,
10
10
  Service68,
11
11
  node71
12
- } from "./skill-n9cn112f.js";
12
+ } from "./generate-9s7dwqjf.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./skill-abgq2xrr.js";
14
+ Service75,
15
+ node79
16
+ } from "./generate-qwasgp8v.js";
17
17
  import {
18
- Service47,
19
- node50
20
- } from "./skill-dwpmf8cp.js";
18
+ Service72,
19
+ node75
20
+ } from "./generate-ahk33sx3.js";
21
21
  import {
22
- ID10,
23
- Service67,
24
- node70
25
- } from "./skill-tsksnvtb.js";
22
+ ID18,
23
+ Service81,
24
+ node85
25
+ } from "./generate-cypq54sk.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./skill-rdw6cm16.js";
29
+ } from "./generate-rdw6cm16.js";
30
30
  import {
31
- ID9,
31
+ ID11,
32
32
  MethodID2,
33
- Service66,
34
- node69
35
- } from "./skill-rey9eyyn.js";
33
+ Service67,
34
+ node70
35
+ } from "./generate-0fem12h8.js";
36
36
  import {
37
37
  __export
38
- } from "./skill-9rqn6x4v.js";
38
+ } from "./generate-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service31,
53
+ Service: () => Service28,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured4,
57
- layer: () => layer14,
58
- node: () => node34
56
+ configured: () => configured3,
57
+ layer: () => layer13,
58
+ node: () => node31
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -93,20 +93,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service31 extends Context.Service()("@opencode/MCP") {
96
+ class Service28 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options4 = Schema.Struct({
98
+ var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
105
- const location = yield* Service78;
106
- const environment = yield* Service47;
104
+ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
105
+ const location = yield* Service75;
106
+ const environment = yield* Service72;
107
107
  const bus = yield* Service82;
108
- const forms = yield* Service67;
109
- const integration = yield* Service66;
108
+ const forms = yield* Service81;
109
+ const integration = yield* Service67;
110
110
  const credentials = yield* Service68;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID9.make(suffix);
122
+ const integrationID = ID11.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -156,7 +156,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID10.create();
159
+ const formID = ID18.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service47, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service31.of({
394
+ return Service28.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured4(options) {
513
+ function configured3(options) {
514
514
  return makeLocationNode({
515
- service: Service31,
516
- layer: layer14(options),
517
- deps: [node82, node50, node86, node70, node69, node71]
515
+ service: Service28,
516
+ layer: layer13(options),
517
+ deps: [node79, node75, node86, node85, node70, node71]
518
518
  });
519
519
  }
520
- var node34 = configured4();
520
+ var node31 = configured3();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer14, configured4, node34, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID9,
3
- Service66
4
- } from "./skill-rey9eyyn.js";
2
+ ID11,
3
+ Service67
4
+ } from "./generate-0fem12h8.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service66;
12
+ const integrations = yield* Service67;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID9.make(item.provider.id)))
22
+ if (!configured.has(ID11.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service55,
9
+ Service: () => Service38,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service55 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service38 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service55, exports_runner };
18
+ export { DrainResult2, Service38, exports_runner };