@opencode/core 0.0.0-dev-19459 → 0.0.0-dev-19461

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{kv-4y66k410.js → location-0ajdgxne.js} +5 -5
  9. package/dist/chunks/{kv-kzd68pqg.js → location-0bps82y7.js} +6 -6
  10. package/dist/chunks/{kv-0yz71n10.js → location-0ge7vg41.js} +19 -19
  11. package/dist/chunks/{kv-h6z8d5tn.js → location-0gr7cw0d.js} +4 -4
  12. package/dist/chunks/location-0mesazry.js +4 -0
  13. package/dist/chunks/{kv-rwtq93ad.js → location-0n9gyfew.js} +4 -4
  14. package/dist/chunks/{kv-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{kv-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{kv-s6awdsy0.js → location-0q1bg550.js} +7 -7
  17. package/dist/chunks/{kv-59qrh9ax.js → location-0q77j2hf.js} +30 -30
  18. package/dist/chunks/{kv-8w7wj211.js → location-0tn02ksk.js} +65 -65
  19. package/dist/chunks/{kv-37pkes6r.js → location-0xv9r4rc.js} +36 -36
  20. package/dist/chunks/{kv-cwx08fmw.js → location-0zf2whzq.js} +32 -32
  21. package/dist/chunks/{kv-a2ew8a62.js → location-19vf66h0.js} +4 -4
  22. package/dist/chunks/{kv-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{kv-pasxfhjk.js → location-1an81ev3.js} +7 -7
  24. package/dist/chunks/{kv-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{kv-zbb7c5wr.js → location-1e3xc6ve.js} +27 -27
  26. package/dist/chunks/{kv-t6rmzs9c.js → location-1fzcnh6v.js} +17 -17
  27. package/dist/chunks/{kv-vrx6ppv4.js → location-1ja8qtne.js} +24 -24
  28. package/dist/chunks/{kv-v4wxntct.js → location-1pqsyb9r.js} +11 -11
  29. package/dist/chunks/{kv-7fda20w6.js → location-1t7mpxg8.js} +5 -5
  30. package/dist/chunks/{kv-ezn8zr4k.js → location-1wxb385z.js} +1 -1
  31. package/dist/chunks/{kv-33w4ejhs.js → location-1ygqh575.js} +6 -6
  32. package/dist/chunks/{kv-21r38tys.js → location-21r38tys.js} +1 -1
  33. package/dist/chunks/{kv-6h73sxmp.js → location-2402vzrj.js} +5 -5
  34. package/dist/chunks/{kv-dvvjdwja.js → location-29cddch4.js} +43 -43
  35. package/dist/chunks/{kv-z63w68vq.js → location-29x78va6.js} +6 -6
  36. package/dist/chunks/{kv-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{kv-b3xeh6c9.js → location-2dpa94xe.js} +8 -8
  38. package/dist/chunks/{kv-5755hzzr.js → location-2naaymgq.js} +20 -20
  39. package/dist/chunks/{kv-e8mc6xww.js → location-2nfqgr27.js} +7 -7
  40. package/dist/chunks/{kv-mntm3pyc.js → location-2nqpnpx3.js} +23 -23
  41. package/dist/chunks/{kv-nygmpey9.js → location-2rwqw19q.js} +27 -27
  42. package/dist/chunks/{kv-qyy1k97r.js → location-2s8c9txd.js} +18 -18
  43. package/dist/chunks/{kv-zxxfqb5b.js → location-38grcwtr.js} +14 -14
  44. package/dist/chunks/{kv-s3r3b7q0.js → location-3dn8y05b.js} +11 -11
  45. package/dist/chunks/{kv-ax7cneaf.js → location-3gfxcggk.js} +9 -9
  46. package/dist/chunks/{kv-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{kv-7nff8x50.js → location-3ncmaxct.js} +30 -30
  48. package/dist/chunks/{kv-6r8zamjg.js → location-3pgnpxjv.js} +10 -10
  49. package/dist/chunks/{kv-98bbrenc.js → location-3r86hrp4.js} +16 -16
  50. package/dist/chunks/{kv-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{kv-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{kv-zdeqbp5y.js → location-3vq2j3j3.js} +38 -38
  53. package/dist/chunks/{kv-n3fvjmy7.js → location-443jp2h5.js} +11 -11
  54. package/dist/chunks/{kv-4eh77v0x.js → location-4d6zvh3y.js} +17 -17
  55. package/dist/chunks/{kv-f5xpd0e7.js → location-4gjq1w3h.js} +39 -39
  56. package/dist/chunks/{kv-njyck951.js → location-4mkcvr19.js} +5 -5
  57. package/dist/chunks/{kv-qj0wk3h6.js → location-4nkvv82w.js} +9 -9
  58. package/dist/chunks/{kv-pepqf6ga.js → location-4pdm3gpn.js} +20 -20
  59. package/dist/chunks/{kv-1ym52s0g.js → location-4vm55rjt.js} +18 -18
  60. package/dist/chunks/{kv-3j6dd1ze.js → location-4vp014ph.js} +16 -16
  61. package/dist/chunks/{kv-5h4p6p65.js → location-4yz38106.js} +34 -34
  62. package/dist/chunks/{kv-gr5gf9xe.js → location-4yzhf524.js} +13 -13
  63. package/dist/chunks/location-51teaz73.js +247 -0
  64. package/dist/chunks/{kv-32t7e08w.js → location-5bcts36j.js} +84 -84
  65. package/dist/chunks/{kv-5daktx2q.js → location-5daktx2q.js} +1 -1
  66. package/dist/chunks/{kv-5b2ja83v.js → location-5emdt044.js} +10 -10
  67. package/dist/chunks/{kv-kge3p68p.js → location-5k5btewg.js} +20 -20
  68. package/dist/chunks/{kv-t0x5rdq8.js → location-5kptn8c0.js} +9 -9
  69. package/dist/chunks/{kv-g6ew7cqr.js → location-5nsrms9d.js} +1 -1
  70. package/dist/chunks/{kv-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{kv-8ykkmn9r.js → location-5wxnan0q.js} +4 -4
  72. package/dist/chunks/{kv-9v1bvhx1.js → location-61gb32ev.js} +24 -24
  73. package/dist/chunks/{kv-paegk39x.js → location-64kphnzf.js} +4 -4
  74. package/dist/chunks/{kv-669tq793.js → location-669tq793.js} +1 -1
  75. package/dist/chunks/{kv-swe4yj3v.js → location-6711snrz.js} +16 -16
  76. package/dist/chunks/{kv-gt76p7gm.js → location-689rwdfb.js} +20 -20
  77. package/dist/chunks/{kv-9r3t3x4q.js → location-6arvyfpk.js} +5 -5
  78. package/dist/chunks/{kv-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{kv-q6trkzsx.js → location-6p2j0xaj.js} +14 -14
  80. package/dist/chunks/{kv-qrek7wem.js → location-6ry05z8r.js} +22 -22
  81. package/dist/chunks/{kv-j438vazm.js → location-6ttajnb0.js} +4 -4
  82. package/dist/chunks/{kv-5ta5rkt1.js → location-711d7g3x.js} +18 -18
  83. package/dist/chunks/{kv-71q4at8m.js → location-71q4at8m.js} +1 -1
  84. package/dist/chunks/{kv-qvav3tk2.js → location-742mfkhf.js} +23 -23
  85. package/dist/chunks/{kv-q26tgv94.js → location-7b15y959.js} +8 -8
  86. package/dist/chunks/{kv-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{kv-p3ke781q.js → location-7k2b160c.js} +5 -5
  88. package/dist/chunks/{kv-gke945h8.js → location-7ra4c6gm.js} +17 -17
  89. package/dist/chunks/{kv-sj7m3pc4.js → location-7tepnm88.js} +20 -20
  90. package/dist/chunks/location-7wbnq2vq.js +22 -0
  91. package/dist/chunks/{kv-qpny3c6v.js → location-7zezh56x.js} +23 -23
  92. package/dist/chunks/{kv-4whayx0s.js → location-83x6p9kd.js} +1 -1
  93. package/dist/chunks/{kv-8jjhk1q2.js → location-88skwtww.js} +24 -24
  94. package/dist/chunks/{kv-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{kv-54envfdg.js → location-8kvx5c4t.js} +12 -12
  96. package/dist/chunks/{kv-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  97. package/dist/chunks/{kv-mn5tqr63.js → location-8z17e00v.js} +6 -6
  98. package/dist/chunks/{kv-hm2z15f1.js → location-9gbkhhyb.js} +17 -17
  99. package/dist/chunks/{kv-3xjx3nnr.js → location-9mx1cntf.js} +16 -16
  100. package/dist/chunks/{kv-pzb7ssjr.js → location-9nyx0xzb.js} +20 -20
  101. package/dist/chunks/{kv-v6ee2h3v.js → location-9vhx2d4h.js} +11 -11
  102. package/dist/chunks/{kv-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{kv-x82mgsnk.js → location-a3fmdkp8.js} +1 -1
  104. package/dist/chunks/{kv-x9zkcjgp.js → location-a3kgfrx0.js} +11 -11
  105. package/dist/chunks/{kv-aaet6srn.js → location-aaet6srn.js} +2 -2
  106. package/dist/chunks/{kv-ead3g9p8.js → location-avm8jn6n.js} +5 -5
  107. package/dist/chunks/{kv-vt44rdpy.js → location-awbtvej0.js} +8 -8
  108. package/dist/chunks/{kv-j41a475f.js → location-b3frasm9.js} +8 -8
  109. package/dist/chunks/{kv-vxfhm8bf.js → location-b4phpgjh.js} +10 -10
  110. package/dist/chunks/{kv-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{kv-6s9eyz9r.js → location-bajakh74.js} +4 -4
  112. package/dist/chunks/{kv-khbrytmr.js → location-bdyczj2g.js} +20 -20
  113. package/dist/chunks/{kv-qtmr6th1.js → location-bysfyz6c.js} +37 -37
  114. package/dist/chunks/{kv-yt2qvb82.js → location-c7ecgrk6.js} +8 -8
  115. package/dist/chunks/{kv-jmpfmt8q.js → location-cabjg3g0.js} +16 -16
  116. package/dist/chunks/{kv-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{kv-t8bhz2vr.js → location-chnmz1hg.js} +8 -8
  118. package/dist/chunks/{kv-pjedbq3k.js → location-cmbqfntm.js} +6 -6
  119. package/dist/chunks/{kv-23k62ntz.js → location-cncarfnr.js} +6 -6
  120. package/dist/chunks/{kv-n91raeq2.js → location-crg35gqk.js} +2 -2
  121. package/dist/chunks/{kv-98wca9vv.js → location-ctysr86j.js} +19 -19
  122. package/dist/chunks/{kv-1h6gjd8c.js → location-cv28m94p.js} +30 -30
  123. package/dist/chunks/{kv-5xcehd92.js → location-cwjhdd4w.js} +25 -25
  124. package/dist/chunks/{kv-a04mvahc.js → location-cz5ya5dx.js} +6 -6
  125. package/dist/chunks/{kv-v79g31x1.js → location-d0rxe8vc.js} +12 -12
  126. package/dist/chunks/{kv-711jmqzf.js → location-deq2xmw7.js} +3 -3
  127. package/dist/chunks/{kv-b63ht0s6.js → location-dg7qpz4p.js} +20 -20
  128. package/dist/chunks/{kv-jg1xt47z.js → location-djamvv4a.js} +26 -26
  129. package/dist/chunks/{kv-rmk2c50f.js → location-dtqg9ce1.js} +5 -5
  130. package/dist/chunks/{kv-j7wq2tw5.js → location-dv250zvr.js} +3 -3
  131. package/dist/chunks/location-dxj72tfx.js +18 -0
  132. package/dist/chunks/{kv-n1r2whpk.js → location-e02shwjk.js} +46 -46
  133. package/dist/chunks/{kv-pwb1y8eh.js → location-e0paksqa.js} +21 -21
  134. package/dist/chunks/{kv-ccgygnta.js → location-e37jza6a.js} +3 -3
  135. package/dist/chunks/{kv-fafk78t6.js → location-e4dde0bf.js} +8 -8
  136. package/dist/chunks/{kv-ehrv1rgr.js → location-ecwj8few.js} +8 -8
  137. package/dist/chunks/{kv-ktqs2y9f.js → location-ejn237hk.js} +41 -41
  138. package/dist/chunks/{kv-gey3b743.js → location-en74w496.js} +5 -5
  139. package/dist/chunks/{kv-73tb2d7t.js → location-eq1pz5kg.js} +3 -3
  140. package/dist/chunks/{kv-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{kv-mqh518cc.js → location-f06x8t7g.js} +24 -24
  142. package/dist/chunks/{kv-0evvd92y.js → location-f6pdpkc8.js} +55 -55
  143. package/dist/chunks/{kv-f828m53h.js → location-f828m53h.js} +2 -2
  144. package/dist/chunks/{kv-d38t1zvd.js → location-f8jykge8.js} +25 -25
  145. package/dist/chunks/{kv-386yacj4.js → location-fffsb91j.js} +4 -4
  146. package/dist/chunks/{kv-818pfwc9.js → location-fg7rbsd2.js} +11 -11
  147. package/dist/chunks/{kv-q08m8exk.js → location-fj5qtafa.js} +35 -35
  148. package/dist/chunks/{kv-q4vcefqv.js → location-fm2g78m8.js} +11 -11
  149. package/dist/chunks/{kv-tn0aqsam.js → location-fpmq6gma.js} +5 -5
  150. package/dist/chunks/{kv-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{kv-c09xw0p7.js → location-g0m9gjz9.js} +59 -59
  152. package/dist/chunks/{kv-gqawmzqm.js → location-g2y161wv.js} +8 -8
  153. package/dist/chunks/{kv-yhpgskpg.js → location-g5d9kagx.js} +167 -167
  154. package/dist/chunks/{kv-576fhmq5.js → location-gbxr56d2.js} +17 -17
  155. package/dist/chunks/{kv-b1fbxvtj.js → location-gbxx1qdc.js} +35 -35
  156. package/dist/chunks/{kv-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{kv-3fc6dm20.js → location-gdvy8fx6.js} +4 -4
  158. package/dist/chunks/{kv-jmqs6zxy.js → location-grg0ht9d.js} +37 -37
  159. package/dist/chunks/{kv-m2d0j7c0.js → location-gsx0ryk4.js} +9 -9
  160. package/dist/chunks/{kv-hx55d56e.js → location-gt0cxfk7.js} +1 -1
  161. package/dist/chunks/{kv-th5km1p3.js → location-gv6a8nnw.js} +5 -5
  162. package/dist/chunks/{kv-b49wezdf.js → location-gwm9h4t4.js} +22 -22
  163. package/dist/chunks/{kv-w79zsp0s.js → location-gx1zhcta.js} +1 -1
  164. package/dist/chunks/{kv-979jzsrn.js → location-gxx6jc0s.js} +3 -3
  165. package/dist/chunks/{kv-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{kv-pmk1pqd6.js → location-h5z8kjx1.js} +4 -4
  167. package/dist/chunks/{kv-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{kv-d8j2ny38.js → location-hgxcmmev.js} +27 -27
  169. package/dist/chunks/{kv-hm622x1n.js → location-hhbxt1mp.js} +8 -8
  170. package/dist/chunks/{kv-45h5n6eh.js → location-hj81pfz7.js} +9 -9
  171. package/dist/chunks/{kv-6qk3rsrc.js → location-hjsevywp.js} +11 -11
  172. package/dist/chunks/{kv-nhy5jxhy.js → location-hjt4xg1x.js} +4 -4
  173. package/dist/chunks/{kv-kgxz8xde.js → location-hkqcgn21.js} +7 -7
  174. package/dist/chunks/{kv-8b7x386w.js → location-hpf6vjwp.js} +24 -24
  175. package/dist/chunks/{kv-j56e64zr.js → location-j56e64zr.js} +1 -1
  176. package/dist/chunks/{kv-244ny2pf.js → location-j5bzq3k2.js} +18 -18
  177. package/dist/chunks/{kv-paphc93g.js → location-j935v87r.js} +2 -2
  178. package/dist/chunks/{kv-23279rje.js → location-j9g8tyqb.js} +8 -8
  179. package/dist/chunks/{kv-e1czfjpt.js → location-jfk1xeys.js} +17 -17
  180. package/dist/chunks/{kv-11xwek3f.js → location-jg27de1v.js} +15 -15
  181. package/dist/chunks/{kv-tph2fk4h.js → location-jgffvrzd.js} +6 -6
  182. package/dist/chunks/{kv-47r3zz0x.js → location-jhetwysa.js} +3 -3
  183. package/dist/chunks/{kv-wc35t2q8.js → location-jm1m0h68.js} +17 -17
  184. package/dist/chunks/{kv-mn0apyfm.js → location-k2ez8jpr.js} +22 -22
  185. package/dist/chunks/{kv-acz5m649.js → location-k881w53b.js} +40 -40
  186. package/dist/chunks/{kv-kg06axw8.js → location-kg06axw8.js} +1 -1
  187. package/dist/chunks/{kv-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{kv-fj3qsqhh.js → location-mb2t11pg.js} +3 -3
  189. package/dist/chunks/{kv-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{kv-h5e4r8jw.js → location-mset8fj1.js} +41 -41
  191. package/dist/chunks/{kv-909q3sbg.js → location-n38wpmpz.js} +28 -28
  192. package/dist/chunks/{kv-035y26vf.js → location-n46wdk6t.js} +15 -15
  193. package/dist/chunks/{kv-baymfvbz.js → location-n94hfmyp.js} +4 -4
  194. package/dist/chunks/{kv-n017zbq8.js → location-nhnfdq9p.js} +13 -13
  195. package/dist/chunks/{kv-xk03nfws.js → location-nnejmx3z.js} +29 -29
  196. package/dist/chunks/{kv-sp3462fq.js → location-nvnjvff3.js} +24 -24
  197. package/dist/chunks/{kv-6x37xp33.js → location-p05b7svp.js} +19 -19
  198. package/dist/chunks/{kv-ytfav154.js → location-p7g16bt6.js} +9 -9
  199. package/dist/chunks/{kv-wvt7nan9.js → location-p9pbejt8.js} +26 -26
  200. package/dist/chunks/{kv-mg3wmayr.js → location-padgxnv1.js} +5 -5
  201. package/dist/chunks/{kv-py5wtr6h.js → location-pcg8y0q6.js} +10 -10
  202. package/dist/chunks/{kv-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{kv-34pkvy5y.js → location-pjxwef55.js} +30 -30
  204. package/dist/chunks/{kv-pknna89w.js → location-pknna89w.js} +1 -1
  205. package/dist/chunks/{kv-g8few7yj.js → location-pxq7pqqx.js} +20 -20
  206. package/dist/chunks/{kv-qpxqmgt2.js → location-q5j1bp2v.js} +4 -4
  207. package/dist/chunks/{kv-20y2msxf.js → location-q5nc2w3s.js} +26 -26
  208. package/dist/chunks/{kv-q123vns4.js → location-q6r6ry4n.js} +20 -20
  209. package/dist/chunks/{kv-9z6bc1tk.js → location-qe9wkc6t.js} +10 -10
  210. package/dist/chunks/{kv-9pv0dm11.js → location-qg6emqy4.js} +7 -7
  211. package/dist/chunks/{kv-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{kv-qwkytnft.js → location-qkh2avww.js} +9 -9
  213. package/dist/chunks/{kv-1a6p2twq.js → location-qq11w61w.js} +4 -4
  214. package/dist/chunks/{kv-qz49fwgp.js → location-qqtwvk4z.js} +6 -6
  215. package/dist/chunks/{kv-qsdy395h.js → location-qsdy395h.js} +1 -1
  216. package/dist/chunks/{kv-vmq7ehpy.js → location-qte5z7bc.js} +5 -5
  217. package/dist/chunks/{kv-b5kvjmnm.js → location-r4tq48pt.js} +11 -11
  218. package/dist/chunks/{kv-r9mregkx.js → location-r9mregkx.js} +2 -2
  219. package/dist/chunks/{kv-mrn7qyex.js → location-ra3vsbfe.js} +9 -9
  220. package/dist/chunks/{kv-w2xthqm8.js → location-rabb6kfb.js} +7 -7
  221. package/dist/chunks/{kv-nbddwgy7.js → location-rme5v0wm.js} +10 -10
  222. package/dist/chunks/{kv-rh0baf1b.js → location-s0tc2krz.js} +17 -17
  223. package/dist/chunks/{kv-b6xmsvfe.js → location-s2dhjhqs.js} +30 -30
  224. package/dist/chunks/{kv-yrznvahk.js → location-s4enseaf.js} +2 -2
  225. package/dist/chunks/{kv-2tavq0r4.js → location-sgfkh1bp.js} +4 -4
  226. package/dist/chunks/{kv-wzq4pq7r.js → location-srpeewqc.js} +9 -9
  227. package/dist/chunks/{kv-7fsaq6e9.js → location-swegyzdq.js} +14 -14
  228. package/dist/chunks/{kv-mymqxebx.js → location-szyk33kk.js} +2 -2
  229. package/dist/chunks/{kv-992nrvv2.js → location-t41sh3fy.js} +18 -18
  230. package/dist/chunks/{kv-eaj1djv9.js → location-t550f9t1.js} +8 -8
  231. package/dist/chunks/{kv-m6qnr7jw.js → location-t78ymf7t.js} +16 -16
  232. package/dist/chunks/{kv-g9245y80.js → location-t8mcaem5.js} +1 -1
  233. package/dist/chunks/{kv-ddgw6qpw.js → location-t9kz6j3c.js} +26 -26
  234. package/dist/chunks/{kv-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{kv-2kty7x0k.js → location-tc7ec7w9.js} +34 -34
  236. package/dist/chunks/{kv-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{kv-tdstcens.js → location-tdstcens.js} +1 -1
  238. package/dist/chunks/{kv-va68n4y2.js → location-tgcnfkqc.js} +25 -25
  239. package/dist/chunks/{kv-d0vn5wzd.js → location-thkpvahy.js} +24 -24
  240. package/dist/chunks/{kv-ebea0m75.js → location-tj2vbr09.js} +287 -287
  241. package/dist/chunks/{kv-35nm4m8d.js → location-tkgdp0re.js} +13 -13
  242. package/dist/chunks/{kv-71d1h0hm.js → location-tqzea4nr.js} +30 -30
  243. package/dist/chunks/{kv-tvtrv512.js → location-tvtrv512.js} +1 -1
  244. package/dist/chunks/{kv-0bp11ksp.js → location-v54nzcw9.js} +22 -22
  245. package/dist/chunks/{kv-pevfk95c.js → location-vbk940s3.js} +22 -22
  246. package/dist/chunks/{kv-12v07r08.js → location-vccwxyms.js} +12 -12
  247. package/dist/chunks/{kv-veqvce7d.js → location-veqvce7d.js} +1 -1
  248. package/dist/chunks/{kv-thtv50x5.js → location-vjq66stf.js} +9 -9
  249. package/dist/chunks/{kv-a1haqd7r.js → location-vjqy2pak.js} +6 -6
  250. package/dist/chunks/{kv-m9xbxedm.js → location-vkkzdp2q.js} +6 -6
  251. package/dist/chunks/{kv-zwy6c5hz.js → location-vpsgd2jw.js} +9 -9
  252. package/dist/chunks/{kv-rckresz4.js → location-vtnam11j.js} +17 -17
  253. package/dist/chunks/{kv-zx4zts51.js → location-vzcbq1w3.js} +47 -47
  254. package/dist/chunks/{kv-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{kv-4b1heq7g.js → location-w34f8myg.js} +28 -28
  256. package/dist/chunks/{kv-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{kv-8ytb3y3t.js → location-wc4t234n.js} +15 -15
  258. package/dist/chunks/{kv-wd87259q.js → location-wd87259q.js} +1 -1
  259. package/dist/chunks/{kv-g9gcz8s8.js → location-wj7cshxw.js} +42 -42
  260. package/dist/chunks/{kv-gmqjg5t3.js → location-wmq45nfe.js} +85 -85
  261. package/dist/chunks/{kv-432xgzw3.js → location-wwa04tag.js} +33 -33
  262. package/dist/chunks/{kv-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{kv-k1867beh.js → location-x27ytnxh.js} +9 -9
  264. package/dist/chunks/{kv-7amrkpe1.js → location-xfrbke8t.js} +47 -47
  265. package/dist/chunks/{kv-wk5z6jzv.js → location-xhmq8qgk.js} +5 -5
  266. package/dist/chunks/{kv-4zph1b4r.js → location-xya91wz4.js} +2 -2
  267. package/dist/chunks/{kv-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{kv-dam6jesc.js → location-y3ex4pz8.js} +15 -15
  269. package/dist/chunks/{kv-1ze9rnbj.js → location-y4424x0p.js} +4 -4
  270. package/dist/chunks/{kv-y71avatq.js → location-y71avatq.js} +1 -1
  271. package/dist/chunks/{kv-m8rz97y9.js → location-yfhpaps7.js} +17 -17
  272. package/dist/chunks/{kv-ev7pw2j0.js → location-ymm454xd.js} +6 -6
  273. package/dist/chunks/{kv-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{kv-z7xewpzj.js → location-yrrczd0w.js} +11 -11
  275. package/dist/chunks/{kv-hw39y2t2.js → location-yvmq8qxx.js} +14 -14
  276. package/dist/chunks/{kv-fy32pdpb.js → location-yzn2jey8.js} +8 -8
  277. package/dist/chunks/{kv-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{kv-3x2xmk5f.js → location-z24k1rmt.js} +23 -23
  279. package/dist/chunks/{kv-y6j5wgpg.js → location-z8y5r8b4.js} +20 -20
  280. package/dist/chunks/{kv-gst7axd9.js → location-zav06jzw.js} +4 -4
  281. package/dist/chunks/{kv-c156ep7e.js → location-zd6k41k9.js} +11 -11
  282. package/dist/chunks/{kv-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{kv-g190xswt.js → location-zepncfka.js} +21 -21
  284. package/dist/chunks/{kv-hthfj41c.js → location-zghxhb3h.js} +6 -6
  285. package/dist/chunks/{kv-xg9t41r3.js → location-zpd6x7fe.js} +2 -2
  286. package/dist/chunks/{kv-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{kv-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{kv-mp045f7j.js → location-zxwpk2nb.js} +1 -1
  289. package/dist/chunks/{kv-79fkffh7.js → location-zyyf3ne3.js} +18 -18
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +78 -78
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +208 -208
  299. package/dist/config/plugin/compaction.js +156 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +118 -118
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +86 -86
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +119 -119
  310. package/dist/config/plugin/skill-file.js +98 -98
  311. package/dist/config/plugin/skill.js +137 -137
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +118 -118
  314. package/dist/config/plugin/tool-output.js +118 -118
  315. package/dist/config/plugin/websearch.js +116 -116
  316. package/dist/config/plugin/worktree.js +119 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +118 -118
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +89 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +91 -91
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +100 -100
  412. package/dist/file-mutation.js +86 -86
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +223 -223
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +100 -100
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +99 -99
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +83 -83
  430. package/dist/generate.js +94 -94
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +83 -83
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +100 -100
  466. package/dist/location-service-map.js +84 -84
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +85 -85
  469. package/dist/mcp/client.js +87 -87
  470. package/dist/mcp/index.js +96 -96
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +86 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +10 -10
  478. package/dist/models-dev.js +75 -75
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +113 -113
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +98 -98
  489. package/dist/plugin/command.js +95 -95
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +214 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +98 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/anthropic.js +2 -2
  503. package/dist/plugin/provider/azure.js +119 -119
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +115 -115
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +118 -118
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +118 -118
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +81 -81
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +118 -118
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +134 -134
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +344 -344
  543. package/dist/plugin/update.js +4 -4
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +113 -113
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +225 -225
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +7 -7
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +85 -85
  564. package/dist/reference.js +85 -85
  565. package/dist/repository-cache.js +77 -77
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +82 -82
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +128 -128
  573. package/dist/session/context.js +148 -148
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +149 -149
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +114 -114
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +127 -127
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +101 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +86 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +122 -122
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +168 -168
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +99 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +204 -204
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +152 -152
  615. package/dist/session/to-session-error.js +108 -108
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +214 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +103 -103
  626. package/dist/skill.js +106 -106
  627. package/dist/snapshot.js +85 -85
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +118 -118
  632. package/dist/tool/plugin/edit.js +116 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +118 -118
  638. package/dist/tool/plugin/question.js +101 -101
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +213 -213
  641. package/dist/tool/plugin/skill.js +109 -109
  642. package/dist/tool/plugin/subagent.js +215 -215
  643. package/dist/tool/plugin/webfetch.js +108 -108
  644. package/dist/tool/plugin/websearch.js +110 -110
  645. package/dist/tool/plugin/write.js +118 -118
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +13 -13
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +80 -80
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +4 -4
  684. package/dist/worktree/git.js +7 -7
  685. package/dist/worktree/refresh.js +343 -343
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +92 -92
  688. package/package.json +8 -8
  689. package/dist/chunks/kv-0kwcw7fy.js +0 -4
  690. package/dist/chunks/kv-18nhnycp.js +0 -22
  691. package/dist/chunks/kv-715d9qs0.js +0 -247
  692. package/dist/chunks/kv-pf31ssb9.js +0 -18
  693. /package/dist/chunks/{kv-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{kv-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{kv-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{kv-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{kv-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{kv-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{kv-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{kv-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{kv-359p4xyc.js → location-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{kv-3asan66x.js → location-3asan66x.js} +0 -0
  703. /package/dist/chunks/{kv-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{kv-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{kv-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{kv-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{kv-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{kv-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{kv-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{kv-53557ph1.js → location-53557ph1.js} +0 -0
  711. /package/dist/chunks/{kv-550bvhaj.js → location-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{kv-6prwharc.js → location-6prwharc.js} +0 -0
  713. /package/dist/chunks/{kv-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{kv-7m9af43g.js → location-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{kv-822emrt2.js → location-822emrt2.js} +0 -0
  716. /package/dist/chunks/{kv-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{kv-8n3pysct.js → location-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{kv-922hggd3.js → location-922hggd3.js} +0 -0
  719. /package/dist/chunks/{kv-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{kv-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{kv-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{kv-af5trqkr.js → location-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{kv-afrmfg78.js → location-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{kv-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{kv-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{kv-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{kv-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{kv-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{kv-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{kv-d9fn303g.js → location-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{kv-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{kv-dajrwvna.js → location-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{kv-dap0rakb.js → location-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{kv-df08tz66.js → location-df08tz66.js} +0 -0
  735. /package/dist/chunks/{kv-dy18nga0.js → location-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{kv-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{kv-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{kv-ec1grn59.js → location-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{kv-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{kv-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{kv-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{kv-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{kv-faypxj3z.js → location-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{kv-fd410y7t.js → location-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{kv-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{kv-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{kv-g86h250q.js → location-g86h250q.js} +0 -0
  748. /package/dist/chunks/{kv-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{kv-gftt206x.js → location-gftt206x.js} +0 -0
  750. /package/dist/chunks/{kv-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{kv-hk9envan.js → location-hk9envan.js} +0 -0
  752. /package/dist/chunks/{kv-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{kv-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{kv-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{kv-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{kv-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{kv-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{kv-mp448xyj.js → location-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{kv-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{kv-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{kv-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{kv-njntx4h6.js → location-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{kv-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{kv-q74kybfr.js → location-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{kv-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{kv-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{kv-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{kv-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{kv-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{kv-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{kv-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{kv-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{kv-twg0f83k.js → location-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{kv-w803qqfp.js → location-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{kv-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{kv-wtztk69x.js → location-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{kv-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{kv-x61499pn.js → location-x61499pn.js} +0 -0
  779. /package/dist/chunks/{kv-y44na4kk.js → location-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{kv-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{kv-y8f7s663.js → location-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{kv-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{kv-ym463w8f.js → location-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{kv-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  AlibabaPlugin2
3
- } from "./kv-71q4at8m.js";
3
+ } from "./location-71q4at8m.js";
4
4
  import {
5
5
  AmazonBedrockPlugin2
6
- } from "./kv-47r3zz0x.js";
6
+ } from "./location-jhetwysa.js";
7
7
  import {
8
8
  AnthropicPlugin2
9
- } from "./kv-mp045f7j.js";
9
+ } from "./location-zxwpk2nb.js";
10
10
  import {
11
11
  AzurePlugin2
12
- } from "./kv-qrek7wem.js";
12
+ } from "./location-6ry05z8r.js";
13
13
  import {
14
14
  CerebrasPlugin2
15
- } from "./kv-g6ew7cqr.js";
15
+ } from "./location-5nsrms9d.js";
16
16
  import {
17
17
  CloudflareAIGatewayPlugin2
18
- } from "./kv-hthfj41c.js";
18
+ } from "./location-zghxhb3h.js";
19
19
  import {
20
20
  CloudflareWorkersAIPlugin2
21
- } from "./kv-m9xbxedm.js";
21
+ } from "./location-vkkzdp2q.js";
22
22
  import {
23
23
  CoherePlugin2
24
- } from "./kv-z0bkrqjs.js";
24
+ } from "./location-z0bkrqjs.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./kv-35nm4m8d.js";
27
+ } from "./location-tkgdp0re.js";
28
28
  import {
29
29
  DynamicProviderPlugin2
30
- } from "./kv-vzcthcp8.js";
30
+ } from "./location-vzcthcp8.js";
31
31
  import {
32
32
  GatewayPlugin2
33
- } from "./kv-669tq793.js";
33
+ } from "./location-669tq793.js";
34
34
  import {
35
35
  GithubCopilotPlugin2
36
- } from "./kv-59qrh9ax.js";
36
+ } from "./location-0q77j2hf.js";
37
37
  import {
38
38
  GitLabPlugin2
39
- } from "./kv-386yacj4.js";
39
+ } from "./location-fffsb91j.js";
40
40
  import {
41
41
  GoogleVertexPlugin2
42
- } from "./kv-njyck951.js";
42
+ } from "./location-4mkcvr19.js";
43
43
  import {
44
44
  KiloPlugin2
45
- } from "./kv-g9245y80.js";
45
+ } from "./location-t8mcaem5.js";
46
46
  import {
47
47
  LLMGatewayPlugin2
48
- } from "./kv-23k62ntz.js";
48
+ } from "./location-cncarfnr.js";
49
49
  import {
50
50
  LMStudioPlugin2
51
- } from "./kv-py5wtr6h.js";
51
+ } from "./location-pcg8y0q6.js";
52
52
  import {
53
53
  MistralPlugin2
54
- } from "./kv-mkcjrzeh.js";
54
+ } from "./location-mkcjrzeh.js";
55
55
  import {
56
56
  ModalPlugin2
57
- } from "./kv-5ta5rkt1.js";
57
+ } from "./location-711d7g3x.js";
58
58
  import {
59
59
  NvidiaPlugin2
60
- } from "./kv-hx55d56e.js";
60
+ } from "./location-gt0cxfk7.js";
61
61
  import {
62
62
  OllamaPlugin2
63
- } from "./kv-vxfhm8bf.js";
63
+ } from "./location-b4phpgjh.js";
64
64
  import {
65
- OpenAIPlugin2
66
- } from "./kv-3xjx3nnr.js";
65
+ OpenAIPlugin3
66
+ } from "./location-9mx1cntf.js";
67
67
  import {
68
68
  SnowflakeCortexPlugin2
69
- } from "./kv-4eh77v0x.js";
69
+ } from "./location-4d6zvh3y.js";
70
70
  import {
71
71
  OpenAICompatiblePlugin2
72
- } from "./kv-hrnqkpcd.js";
72
+ } from "./location-hrnqkpcd.js";
73
73
  import {
74
74
  OpencodePlugin2
75
- } from "./kv-m6qnr7jw.js";
75
+ } from "./location-t78ymf7t.js";
76
76
  import {
77
77
  OpenRouterPlugin2
78
- } from "./kv-rwtq93ad.js";
78
+ } from "./location-0n9gyfew.js";
79
79
  import {
80
80
  PerplexityPlugin2
81
- } from "./kv-veqvce7d.js";
81
+ } from "./location-veqvce7d.js";
82
82
  import {
83
83
  PoePlugin2
84
- } from "./kv-7fda20w6.js";
84
+ } from "./location-1t7mpxg8.js";
85
85
  import {
86
86
  SapAICorePlugin2
87
- } from "./kv-gey3b743.js";
87
+ } from "./location-en74w496.js";
88
88
  import {
89
89
  VercelPlugin2
90
- } from "./kv-4whayx0s.js";
90
+ } from "./location-83x6p9kd.js";
91
91
  import {
92
92
  VenicePlugin2
93
- } from "./kv-yrhqyw5v.js";
93
+ } from "./location-yrhqyw5v.js";
94
94
  import {
95
95
  VLLMPlugin2
96
- } from "./kv-5b2ja83v.js";
96
+ } from "./location-5emdt044.js";
97
97
  import {
98
98
  XAIPlugin2
99
- } from "./kv-v6ee2h3v.js";
99
+ } from "./location-9vhx2d4h.js";
100
100
  import {
101
101
  ZenmuxPlugin2
102
- } from "./kv-ezn8zr4k.js";
102
+ } from "./location-1wxb385z.js";
103
103
 
104
104
  // src/plugin/provider.ts
105
105
  var ProviderPlugins2 = [
@@ -126,7 +126,7 @@ var ProviderPlugins2 = [
126
126
  OpencodePlugin2,
127
127
  SnowflakeCortexPlugin2,
128
128
  OpenAICompatiblePlugin2,
129
- OpenAIPlugin2,
129
+ OpenAIPlugin3,
130
130
  OpenRouterPlugin2,
131
131
  PerplexityPlugin2,
132
132
  PoePlugin2,
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node39
5
- } from "./kv-j41a475f.js";
4
+ node44
5
+ } from "./location-b3frasm9.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./kv-paegk39x.js";
9
+ } from "./location-64kphnzf.js";
10
10
  import {
11
- Service76,
12
- node81
13
- } from "./kv-t8bhz2vr.js";
11
+ Service66,
12
+ node71
13
+ } from "./location-chnmz1hg.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./kv-c09xw0p7.js";
16
+ } from "./location-g0m9gjz9.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./kv-q6trkzsx.js";
19
+ } from "./location-6p2j0xaj.js";
20
20
  import {
21
- Error5
22
- } from "./kv-8b7x386w.js";
21
+ Error3
22
+ } from "./location-hpf6vjwp.js";
23
23
  import {
24
- Service25,
25
- node30
26
- } from "./kv-c156ep7e.js";
24
+ Service35,
25
+ node39
26
+ } from "./location-zd6k41k9.js";
27
27
  import {
28
- make14
29
- } from "./kv-nhy5jxhy.js";
28
+ make15
29
+ } from "./location-hjt4xg1x.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./kv-w79zsp0s.js";
32
+ } from "./location-gx1zhcta.js";
33
33
  import {
34
34
  __export
35
- } from "./kv-9rqn6x4v.js";
35
+ } from "./location-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: () => Service34,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node29,
44
+ layer: () => layer13,
45
+ node: () => node38,
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 : make15(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 Service34 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
156
- const hooks = yield* Service76;
157
- const transport = yield* Service25;
155
+ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
156
+ const hooks = yield* Service66;
157
+ const transport = yield* Service35;
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(Service24, 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 Error5({ message: "Tools are not available for this request" })
165
+ execute: () => new Error3({ 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])));
@@ -244,17 +244,17 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service24.of({
247
+ return Service34.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node29 = makeLocationNode({
255
- service: Service24,
256
- layer: layer11,
257
- deps: [node81, node30, node39]
254
+ var node38 = makeLocationNode({
255
+ service: Service34,
256
+ layer: layer13,
257
+ deps: [node71, node39, node44]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer11, node29, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer13, node38, exports_model_request };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info18
9
+ Info: () => Info22
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info22 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command5 };
21
+ export { Info22, exports_command5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./kv-yt2qvb82.js";
3
+ } from "./location-c7ecgrk6.js";
4
4
  import {
5
- Service42
6
- } from "./kv-va68n4y2.js";
5
+ Service59
6
+ } from "./location-tgcnfkqc.js";
7
7
  import {
8
- Service60
9
- } from "./kv-h5e4r8jw.js";
8
+ Service67
9
+ } from "./location-mset8fj1.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service42;
14
+ const catalog = yield* Service59;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service60);
16
+ const service = yield* Effect.serviceOption(Service67);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./kv-2a5m3afh.js";
5
+ } from "./location-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./kv-9rqn6x4v.js";
8
+ } from "./location-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service61,
3
- node66
4
- } from "./kv-pepqf6ga.js";
2
+ Service68,
3
+ node73
4
+ } from "./location-4pdm3gpn.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./kv-m8rz97y9.js";
6
+ Service71,
7
+ node76
8
+ } from "./location-yfhpaps7.js";
9
9
  import {
10
- Service60,
11
- node65
12
- } from "./kv-h5e4r8jw.js";
10
+ Service67,
11
+ node72
12
+ } from "./location-mset8fj1.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./kv-zxq2ej10.js";
16
+ } from "./location-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service6,
25
+ Service: () => Service7,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node8
27
+ layer: () => layer6,
28
+ node: () => node10
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
39
- const config = yield* Service60;
40
- const watcher = yield* Service61;
38
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
39
+ const config = yield* Service67;
40
+ const watcher = yield* Service68;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service74;
42
+ const location = yield* Service71;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service6.of({
61
+ return Service7.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node8 = makeLocationNode({
74
- service: Service6,
75
- layer: layer5,
76
- deps: [node65, FSUtil.node, node66, node79]
73
+ var node10 = makeLocationNode({
74
+ service: Service7,
75
+ layer: layer6,
76
+ deps: [node72, FSUtil.node, node73, node76]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service6,
80
- layer: Layer.succeed(Service6, Service6.of({
79
+ service: Service7,
80
+ layer: Layer.succeed(Service7, Service7.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service6, layer5, node8, empty2, exports_source };
140
+ export { Service7, layer6, node10, empty2, exports_source };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./kv-mqh518cc.js";
2
+ ID9
3
+ } from "./location-f06x8t7g.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./kv-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Info15
9
- } from "./kv-818pfwc9.js";
8
+ Info26
9
+ } from "./location-fg7rbsd2.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./kv-2tavq0r4.js";
12
+ } from "./location-sgfkh1bp.js";
13
13
  import {
14
14
  latest2,
15
- Service60
16
- } from "./kv-h5e4r8jw.js";
15
+ Service67
16
+ } from "./location-mset8fj1.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./kv-5daktx2q.js";
19
+ } from "./location-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./kv-9rqn6x4v.js";
22
+ } from "./location-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin39
28
+ Plugin: () => Plugin29
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info26);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin39 = define({
47
+ var Plugin29 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service60;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin39 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin39, exports_agent2 };
164
+ export { Plugin29, exports_agent2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./kv-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./kv-g190xswt.js";
6
+ } from "./location-zepncfka.js";
7
7
  import {
8
- Info15
9
- } from "./kv-818pfwc9.js";
8
+ Info26
9
+ } from "./location-fg7rbsd2.js";
10
10
  import {
11
- Info17
12
- } from "./kv-tn0aqsam.js";
11
+ Info25
12
+ } from "./location-fpmq6gma.js";
13
13
  import {
14
- Info18
15
- } from "./kv-a2ew8a62.js";
14
+ Info22
15
+ } from "./location-19vf66h0.js";
16
16
  import {
17
- Info20
18
- } from "./kv-ead3g9p8.js";
17
+ Info23
18
+ } from "./location-avm8jn6n.js";
19
19
  import {
20
20
  Spec2
21
- } from "./kv-7dqw4kz8.js";
21
+ } from "./location-qgn6gcr1.js";
22
22
  import {
23
- Info21
24
- } from "./kv-vmq7ehpy.js";
23
+ Info19
24
+ } from "./location-qte5z7bc.js";
25
25
  import {
26
- Info14
27
- } from "./kv-dvvjdwja.js";
26
+ Info18
27
+ } from "./location-29cddch4.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./kv-2tavq0r4.js";
36
+ } from "./location-sgfkh1bp.js";
37
37
  import {
38
38
  __export
39
- } from "./kv-9rqn6x4v.js";
39
+ } from "./location-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info18.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info25, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info26, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info26, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info20, value, path, diagnostics);
228
+ const server = decodeValue(Info23, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info21, raw, path, diagnostics);
424
+ const provider = decodeValue(Info19, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);