@opencode/core 0.0.0-dev-20126 → 0.0.0-dev-20130

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-w8kkwjfy.js → location-activity-00chxmw1.js} +18 -18
  8. package/dist/chunks/{file-mutation-dbw36xtc.js → location-activity-00qn05c1.js} +4 -4
  9. package/dist/chunks/location-activity-047swmqf.js +252 -0
  10. package/dist/chunks/{file-mutation-qnjd433t.js → location-activity-0b6t5wcs.js} +89 -89
  11. package/dist/chunks/{file-mutation-wpg3r5fy.js → location-activity-0db657ns.js} +14 -14
  12. package/dist/chunks/{file-mutation-72rb9p64.js → location-activity-0e5ragzw.js} +13 -13
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-3bc8czyk.js → location-activity-0ryd0fps.js} +5 -5
  15. package/dist/chunks/{file-mutation-r7hn1375.js → location-activity-14wqat3s.js} +14 -14
  16. package/dist/chunks/{file-mutation-sb57s57d.js → location-activity-14zyb830.js} +14 -14
  17. package/dist/chunks/{file-mutation-er7g126a.js → location-activity-199rync5.js} +20 -20
  18. package/dist/chunks/{file-mutation-rr3c0cyq.js → location-activity-1ck70pg6.js} +8 -8
  19. package/dist/chunks/{file-mutation-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-mutation-h53p64px.js → location-activity-1dq87ffp.js} +16 -16
  21. package/dist/chunks/{file-mutation-80scg3y3.js → location-activity-1y283654.js} +4 -4
  22. package/dist/chunks/{file-mutation-21r38tys.js → location-activity-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-mutation-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{file-mutation-3r6ehhfq.js → location-activity-2e15xxab.js} +11 -11
  25. package/dist/chunks/{file-mutation-57ez7d0k.js → location-activity-2fgn2we9.js} +9 -9
  26. package/dist/chunks/{file-mutation-7dqw4kz8.js → location-activity-2k8khapm.js} +5 -5
  27. package/dist/chunks/{file-mutation-nn73askr.js → location-activity-2tchcg9b.js} +42 -42
  28. package/dist/chunks/{file-mutation-7w3s9kd0.js → location-activity-2y34zzjz.js} +4 -4
  29. package/dist/chunks/{file-mutation-qfbfp1v0.js → location-activity-2yhh0s17.js} +4 -4
  30. package/dist/chunks/{file-mutation-g7n3fm64.js → location-activity-3ezyz0fw.js} +23 -23
  31. package/dist/chunks/{file-mutation-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{file-mutation-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{file-mutation-mzga79vb.js → location-activity-3m2ryb9k.js} +9 -9
  34. package/dist/chunks/{file-mutation-7gzfq6z6.js → location-activity-3rzha7fy.js} +11 -11
  35. package/dist/chunks/{file-mutation-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{file-mutation-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{file-mutation-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{file-mutation-5qwkxp89.js → location-activity-4eq8w0dz.js} +4 -4
  39. package/dist/chunks/{file-mutation-gy8ga202.js → location-activity-4jqmmxmr.js} +26 -26
  40. package/dist/chunks/{file-mutation-2p8k3371.js → location-activity-4wev17cz.js} +8 -8
  41. package/dist/chunks/{file-mutation-33w4ejhs.js → location-activity-56gdpj1q.js} +6 -6
  42. package/dist/chunks/{file-mutation-v9zq9qxn.js → location-activity-58as8d0q.js} +25 -25
  43. package/dist/chunks/{file-mutation-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  44. package/dist/chunks/{file-mutation-jtx09q4b.js → location-activity-5mebx48e.js} +5 -5
  45. package/dist/chunks/{file-mutation-4jk0qxj4.js → location-activity-5shjer5g.js} +8 -8
  46. package/dist/chunks/{file-mutation-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  47. package/dist/chunks/{file-mutation-wq4mmp7m.js → location-activity-5xpznt2d.js} +4 -4
  48. package/dist/chunks/{file-mutation-9jx8908j.js → location-activity-63qq03z2.js} +20 -20
  49. package/dist/chunks/{file-mutation-a917t0md.js → location-activity-65fm8wzg.js} +27 -27
  50. package/dist/chunks/{file-mutation-669tq793.js → location-activity-669tq793.js} +1 -1
  51. package/dist/chunks/{file-mutation-8e2atk35.js → location-activity-67k3rpgw.js} +30 -30
  52. package/dist/chunks/{file-mutation-t1c0b4ed.js → location-activity-6azsd9bz.js} +32 -32
  53. package/dist/chunks/{file-mutation-tzf2xzra.js → location-activity-6fkemk79.js} +17 -17
  54. package/dist/chunks/{file-mutation-rwd5573c.js → location-activity-6gsk2t1b.js} +11 -11
  55. package/dist/chunks/{file-mutation-2402vzrj.js → location-activity-6h73sxmp.js} +5 -5
  56. package/dist/chunks/{file-mutation-hdy211xa.js → location-activity-6hs6gz2x.js} +16 -16
  57. package/dist/chunks/{file-mutation-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
  58. package/dist/chunks/{file-mutation-st1j8ztb.js → location-activity-6p40mn3d.js} +18 -18
  59. package/dist/chunks/{file-mutation-wavqdc1d.js → location-activity-6pqk5efw.js} +25 -25
  60. package/dist/chunks/{file-mutation-zj5k55ky.js → location-activity-6t769dak.js} +10 -10
  61. package/dist/chunks/{file-mutation-08w54g8k.js → location-activity-6vhdmhzn.js} +13 -13
  62. package/dist/chunks/{file-mutation-qkb8ch3h.js → location-activity-6y72mser.js} +4 -4
  63. package/dist/chunks/{file-mutation-v0t54ggg.js → location-activity-74gt6f1z.js} +21 -21
  64. package/dist/chunks/{file-mutation-55ayhf34.js → location-activity-76g3e01w.js} +12 -12
  65. package/dist/chunks/{file-mutation-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{file-mutation-yecq0v11.js → location-activity-7fpezg28.js} +11 -11
  67. package/dist/chunks/{file-mutation-6w51mpm2.js → location-activity-7p4ftmzw.js} +24 -24
  68. package/dist/chunks/{file-mutation-gr6t64sj.js → location-activity-7r8cvc0t.js} +47 -47
  69. package/dist/chunks/{file-mutation-3c7f6ssd.js → location-activity-7vyrv1p0.js} +12 -12
  70. package/dist/chunks/{file-mutation-tfp9qs7d.js → location-activity-7y43tzef.js} +4 -4
  71. package/dist/chunks/{file-mutation-dqsr6cvb.js → location-activity-7yn1p3wv.js} +1 -1
  72. package/dist/chunks/{file-mutation-j5155tgc.js → location-activity-83edzhmt.js} +10 -10
  73. package/dist/chunks/{file-mutation-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{file-mutation-zz9ajb7v.js → location-activity-8jdbpnmb.js} +17 -17
  75. package/dist/chunks/{file-mutation-v6ghzfeb.js → location-activity-8ryk0bb9.js} +5 -5
  76. package/dist/chunks/{file-mutation-ers6jmne.js → location-activity-8xnd8qdj.js} +1 -1
  77. package/dist/chunks/{file-mutation-7x5j9h8t.js → location-activity-8zgh370v.js} +15 -15
  78. package/dist/chunks/{file-mutation-k7v2hf9f.js → location-activity-8zgrq2cs.js} +32 -32
  79. package/dist/chunks/{file-mutation-94ek1h2f.js → location-activity-94ek1h2f.js} +2 -2
  80. package/dist/chunks/{file-mutation-cd6bm0sq.js → location-activity-9b8z7fn3.js} +9 -9
  81. package/dist/chunks/{file-mutation-5h1gmvy4.js → location-activity-9c8hdrd1.js} +31 -31
  82. package/dist/chunks/{file-mutation-x22cg2sb.js → location-activity-9jhz8kf9.js} +20 -20
  83. package/dist/chunks/{file-mutation-tq0nabwy.js → location-activity-9rc41y3y.js} +33 -33
  84. package/dist/chunks/{file-mutation-f0dqn4g8.js → location-activity-9vavq7z6.js} +51 -51
  85. package/dist/chunks/{file-mutation-ratrq7cm.js → location-activity-a2ew8a62.js} +4 -4
  86. package/dist/chunks/{file-mutation-jca4demv.js → location-activity-a3r4dcrj.js} +2 -2
  87. package/dist/chunks/{file-mutation-hxg545me.js → location-activity-a3y6actq.js} +20 -20
  88. package/dist/chunks/{file-mutation-h1yars53.js → location-activity-a5xw7h9s.js} +24 -24
  89. package/dist/chunks/{file-mutation-6y91m51w.js → location-activity-a7vnenep.js} +16 -16
  90. package/dist/chunks/{file-mutation-jw80jp6b.js → location-activity-a8bn8zg0.js} +4 -4
  91. package/dist/chunks/{file-mutation-h2r7bbkd.js → location-activity-a8zr1srk.js} +8 -8
  92. package/dist/chunks/{file-mutation-68gs9314.js → location-activity-a99hzwg3.js} +3 -3
  93. package/dist/chunks/{file-mutation-etcxff87.js → location-activity-aa29ehy4.js} +45 -45
  94. package/dist/chunks/{file-mutation-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  95. package/dist/chunks/{file-mutation-9t03g7zr.js → location-activity-ab7ys0mb.js} +17 -17
  96. package/dist/chunks/{file-mutation-qknka9dr.js → location-activity-adfrr8rx.js} +18 -18
  97. package/dist/chunks/{file-mutation-8443f5nj.js → location-activity-afpx0ag9.js} +8 -8
  98. package/dist/chunks/{file-mutation-r4jpc7y8.js → location-activity-amh0jneg.js} +25 -25
  99. package/dist/chunks/{file-mutation-1813d5zh.js → location-activity-ay8pchpw.js} +8 -8
  100. package/dist/chunks/{file-mutation-nz6ejssm.js → location-activity-b5thdwh1.js} +24 -24
  101. package/dist/chunks/{file-mutation-bxn4xr1t.js → location-activity-b689z5pv.js} +13 -13
  102. package/dist/chunks/{file-mutation-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-mutation-ve4pfa0n.js → location-activity-bct739vz.js} +4 -4
  104. package/dist/chunks/{file-mutation-j4nwb9pe.js → location-activity-brnskypg.js} +51 -51
  105. package/dist/chunks/{file-mutation-a1szppz9.js → location-activity-bv81my1a.js} +3 -3
  106. package/dist/chunks/{file-mutation-0996nyz8.js → location-activity-bydnjh3t.js} +9 -9
  107. package/dist/chunks/{file-mutation-248sfqkf.js → location-activity-byngnetv.js} +12 -12
  108. package/dist/chunks/{file-mutation-zdngn9xm.js → location-activity-c0cxdtjh.js} +10 -10
  109. package/dist/chunks/{file-mutation-h32yg4c8.js → location-activity-chb9j7xe.js} +17 -17
  110. package/dist/chunks/{file-mutation-4x86753r.js → location-activity-cjx17cy4.js} +15 -15
  111. package/dist/chunks/{file-mutation-ckecvw8r.js → location-activity-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{file-mutation-tpw6cwsb.js → location-activity-cmwkp3r5.js} +8 -8
  113. package/dist/chunks/{file-mutation-6r966qhx.js → location-activity-d5rxy5ps.js} +16 -16
  114. package/dist/chunks/{file-mutation-cs08gwkb.js → location-activity-dbmgmdhy.js} +33 -33
  115. package/dist/chunks/{file-mutation-4zvwzfyb.js → location-activity-dfg0xrkq.js} +11 -11
  116. package/dist/chunks/{file-mutation-cwa6csj7.js → location-activity-djszqvmq.js} +9 -9
  117. package/dist/chunks/{file-mutation-b9jeenbt.js → location-activity-dkbv0pwm.js} +6 -6
  118. package/dist/chunks/{file-mutation-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{file-mutation-xfkkasph.js → location-activity-drwq78ky.js} +4 -4
  120. package/dist/chunks/{file-mutation-y8z3vmm6.js → location-activity-dsdbtt6k.js} +5 -5
  121. package/dist/chunks/{file-mutation-y1y63myq.js → location-activity-dx9z5cmm.js} +11 -11
  122. package/dist/chunks/location-activity-dxj72tfx.js +18 -0
  123. package/dist/chunks/{file-mutation-h9bgfx4d.js → location-activity-e15wb2e6.js} +27 -27
  124. package/dist/chunks/{file-mutation-ds82e11p.js → location-activity-e1vfp9dd.js} +23 -23
  125. package/dist/chunks/{file-mutation-h2y3yhav.js → location-activity-e3d78gy1.js} +41 -41
  126. package/dist/chunks/{file-mutation-22y2m3bg.js → location-activity-e3sr3c5m.js} +37 -37
  127. package/dist/chunks/{file-mutation-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
  128. package/dist/chunks/{file-mutation-cjnmt50d.js → location-activity-ef5pvmp6.js} +10 -10
  129. package/dist/chunks/{file-mutation-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{file-mutation-q0frpy02.js → location-activity-ekqdgrnf.js} +11 -11
  131. package/dist/chunks/{file-mutation-4hz2mmtn.js → location-activity-emz89tv7.js} +6 -6
  132. package/dist/chunks/{file-mutation-rwx7wstb.js → location-activity-en5pf5hy.js} +3 -3
  133. package/dist/chunks/{file-mutation-1n1tx8h8.js → location-activity-enxhs170.js} +6 -6
  134. package/dist/chunks/{file-mutation-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{file-mutation-khddj82n.js → location-activity-ey8s4w80.js} +21 -21
  136. package/dist/chunks/{file-mutation-ttqh24zm.js → location-activity-f73rjn58.js} +4 -4
  137. package/dist/chunks/{file-mutation-21mj4bn4.js → location-activity-fbde30ze.js} +10 -10
  138. package/dist/chunks/{file-mutation-vy4zg7qh.js → location-activity-fd43cwvv.js} +12 -12
  139. package/dist/chunks/{file-mutation-kbszyzqp.js → location-activity-ffmx0s91.js} +16 -16
  140. package/dist/chunks/{file-mutation-ckv2q7n9.js → location-activity-fj5x83me.js} +5 -5
  141. package/dist/chunks/{file-mutation-qw2jr3s2.js → location-activity-fm1aaaph.js} +15 -15
  142. package/dist/chunks/{file-mutation-hpx69k21.js → location-activity-fnb938sq.js} +11 -11
  143. package/dist/chunks/{file-mutation-sd5f6jdk.js → location-activity-fpq9acqp.js} +6 -6
  144. package/dist/chunks/{file-mutation-t2tp239d.js → location-activity-fr709x3m.js} +15 -15
  145. package/dist/chunks/{file-mutation-9ckhw4yx.js → location-activity-fyvrxnzz.js} +36 -36
  146. package/dist/chunks/{file-mutation-vz0rnvv0.js → location-activity-g22nky7s.js} +5 -5
  147. package/dist/chunks/{file-mutation-8trrbr72.js → location-activity-gb1pw9e8.js} +8 -8
  148. package/dist/chunks/{file-mutation-en7c0xf8.js → location-activity-gcn6ae9w.js} +22 -22
  149. package/dist/chunks/{file-mutation-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-mutation-vkk8vd4a.js → location-activity-ge1tey9b.js} +5 -5
  151. package/dist/chunks/{file-mutation-fntxa7wr.js → location-activity-gemqz5qk.js} +5 -5
  152. package/dist/chunks/{file-mutation-tprfwfyz.js → location-activity-gmj22zjr.js} +22 -22
  153. package/dist/chunks/{file-mutation-0tmgye68.js → location-activity-gr1f03ws.js} +9 -9
  154. package/dist/chunks/{file-mutation-eeaf82dq.js → location-activity-grxcxy9j.js} +8 -8
  155. package/dist/chunks/{file-mutation-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-mutation-zz4yapdm.js → location-activity-gvj374je.js} +15 -15
  157. package/dist/chunks/{file-mutation-xvjsxppn.js → location-activity-gwm3vqk0.js} +10 -10
  158. package/dist/chunks/{file-mutation-0jg22twd.js → location-activity-h3fcj642.js} +18 -18
  159. package/dist/chunks/{file-mutation-d0rz62a2.js → location-activity-h64d2q1d.js} +20 -20
  160. package/dist/chunks/{file-mutation-44h5tttr.js → location-activity-h6r3nrb9.js} +4 -4
  161. package/dist/chunks/{file-mutation-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{file-mutation-agdwaq9x.js → location-activity-he29wk0d.js} +26 -26
  163. package/dist/chunks/{file-mutation-4whvt6s6.js → location-activity-hgh9aenx.js} +35 -35
  164. package/dist/chunks/{file-mutation-4fpbqhmf.js → location-activity-hpy43wkc.js} +9 -9
  165. package/dist/chunks/{file-mutation-8jptg25a.js → location-activity-hr3exm48.js} +4 -4
  166. package/dist/chunks/{file-mutation-dh52qfvh.js → location-activity-hsqj81tw.js} +26 -26
  167. package/dist/chunks/{file-mutation-ksxdz0cj.js → location-activity-j32gb99b.js} +11 -11
  168. package/dist/chunks/{file-mutation-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  169. package/dist/chunks/{file-mutation-q3t37ft6.js → location-activity-jexxy024.js} +3 -3
  170. package/dist/chunks/{file-mutation-qx0wyz6f.js → location-activity-jg48dxtz.js} +6 -6
  171. package/dist/chunks/{file-mutation-sh6458vc.js → location-activity-jgwhhbxj.js} +32 -32
  172. package/dist/chunks/{file-mutation-wn4wqpvw.js → location-activity-jhtjz7ka.js} +24 -24
  173. package/dist/chunks/{file-mutation-fhtpvx45.js → location-activity-jr6cb19j.js} +6 -6
  174. package/dist/chunks/{file-mutation-v303bt05.js → location-activity-jyj8kx70.js} +86 -86
  175. package/dist/chunks/{file-mutation-hvmbg5dq.js → location-activity-k1ays8z9.js} +9 -9
  176. package/dist/chunks/{file-mutation-e37h8kwf.js → location-activity-k307gc3k.js} +12 -12
  177. package/dist/chunks/{file-mutation-k3c624dm.js → location-activity-k3c624dm.js} +3 -3
  178. package/dist/chunks/{file-mutation-fxxdr4p9.js → location-activity-k7cmxszw.js} +29 -29
  179. package/dist/chunks/{file-mutation-36dfs4g1.js → location-activity-kcy5db85.js} +43 -43
  180. package/dist/chunks/{file-mutation-nktykkx9.js → location-activity-kktanpgg.js} +22 -22
  181. package/dist/chunks/{file-mutation-f5gy8qwh.js → location-activity-kpawa755.js} +8 -8
  182. package/dist/chunks/{file-mutation-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{file-mutation-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{file-mutation-a3hc19rv.js → location-activity-mk7fb71e.js} +48 -48
  185. package/dist/chunks/{file-mutation-djgt5fnj.js → location-activity-mmqvtx9a.js} +11 -11
  186. package/dist/chunks/{file-mutation-jrpt1xcd.js → location-activity-mp0cjcyf.js} +26 -26
  187. package/dist/chunks/{file-mutation-s4q9yqp5.js → location-activity-ms3y4yc7.js} +60 -60
  188. package/dist/chunks/{file-mutation-73tb2d7t.js → location-activity-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{file-mutation-b2p42515.js → location-activity-my9qc6c5.js} +5 -5
  190. package/dist/chunks/{file-mutation-hb5spttd.js → location-activity-mzekc7h7.js} +26 -26
  191. package/dist/chunks/location-activity-mzr8x4ym.js +507 -0
  192. package/dist/chunks/location-activity-n2a38hdv.js +26 -0
  193. package/dist/chunks/{file-mutation-4n5421a4.js → location-activity-n69ejrn2.js} +18 -18
  194. package/dist/chunks/{file-mutation-f3vt2bxc.js → location-activity-n6faef6a.js} +40 -40
  195. package/dist/chunks/{file-mutation-xwnmf787.js → location-activity-nb5897zr.js} +10 -10
  196. package/dist/chunks/{file-mutation-688x7pqg.js → location-activity-nd16t2w9.js} +17 -17
  197. package/dist/chunks/{file-mutation-ss0awb04.js → location-activity-p0b4ytnr.js} +4 -4
  198. package/dist/chunks/{file-mutation-sra9araw.js → location-activity-p44d8wdy.js} +5 -5
  199. package/dist/chunks/{file-mutation-sd3a96zz.js → location-activity-p4v3fsfm.js} +24 -24
  200. package/dist/chunks/{file-mutation-v8fkb6at.js → location-activity-p9kt6re1.js} +11 -11
  201. package/dist/chunks/{file-mutation-5ns2bjf8.js → location-activity-p9q2mgq8.js} +32 -32
  202. package/dist/chunks/{file-mutation-1sedp1z2.js → location-activity-pe89x1zs.js} +43 -43
  203. package/dist/chunks/{file-mutation-tx9w5tca.js → location-activity-pedttwxr.js} +8 -8
  204. package/dist/chunks/{file-mutation-8gh9a73j.js → location-activity-pjg633hx.js} +25 -25
  205. package/dist/chunks/{file-mutation-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-mutation-pknna89w.js → location-activity-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-mutation-nscznvay.js → location-activity-pnv527nz.js} +9 -9
  208. package/dist/chunks/{file-mutation-3t6g7wkp.js → location-activity-qa5tgt8t.js} +15 -15
  209. package/dist/chunks/{file-mutation-6d2d39e9.js → location-activity-qc7kyr9k.js} +24 -24
  210. package/dist/chunks/{file-mutation-k7k78j8n.js → location-activity-qf0e5n9s.js} +9 -9
  211. package/dist/chunks/{file-mutation-vz7d5c1g.js → location-activity-qpbc7zwf.js} +8 -8
  212. package/dist/chunks/{file-mutation-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-mutation-epa3bmw4.js → location-activity-qyrkrrpg.js} +13 -13
  214. package/dist/chunks/{file-mutation-dsxey55j.js → location-activity-r0tgc7by.js} +9 -9
  215. package/dist/chunks/{file-mutation-1acjjqhc.js → location-activity-r8xr0va3.js} +4 -4
  216. package/dist/chunks/{file-mutation-mjdddjem.js → location-activity-rbdxswwe.js} +181 -181
  217. package/dist/chunks/{file-mutation-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-mutation-wngw2qw7.js → location-activity-rev86p13.js} +20 -20
  219. package/dist/chunks/{file-mutation-3m353frz.js → location-activity-rk68jqwy.js} +6 -6
  220. package/dist/chunks/{file-mutation-8sze2n9a.js → location-activity-rkprpv83.js} +6 -6
  221. package/dist/chunks/{file-mutation-zf5bw61z.js → location-activity-rmeaczgp.js} +11 -11
  222. package/dist/chunks/{file-mutation-n2ethy7h.js → location-activity-rvdwaktm.js} +2 -2
  223. package/dist/chunks/{file-mutation-4cdew6sp.js → location-activity-rvkgzh6z.js} +4 -4
  224. package/dist/chunks/{file-mutation-4tpa30t3.js → location-activity-rzre3xs7.js} +33 -33
  225. package/dist/chunks/{file-mutation-eaj1djv9.js → location-activity-s8d7rejh.js} +6 -6
  226. package/dist/chunks/{file-mutation-kg2qn9rr.js → location-activity-s8zv1qq9.js} +27 -27
  227. package/dist/chunks/{file-mutation-vy0eyd8e.js → location-activity-s9ygz4m4.js} +7 -10
  228. package/dist/chunks/{file-mutation-jgwpfrf8.js → location-activity-sb6908jt.js} +35 -35
  229. package/dist/chunks/{file-mutation-k9d40v1y.js → location-activity-ssdqnhy0.js} +4 -4
  230. package/dist/chunks/{file-mutation-mjsk7061.js → location-activity-svaserhn.js} +15 -15
  231. package/dist/chunks/{file-mutation-x5793zcz.js → location-activity-svca6bhs.js} +46 -46
  232. package/dist/chunks/{file-mutation-ae1rh8jg.js → location-activity-svem01f7.js} +32 -32
  233. package/dist/chunks/{file-mutation-x8jha37b.js → location-activity-svqz55f3.js} +7 -7
  234. package/dist/chunks/{file-mutation-z4vrctzg.js → location-activity-t5mh7rab.js} +21 -21
  235. package/dist/chunks/{file-mutation-jp0n41mz.js → location-activity-t8sq68e4.js} +3 -3
  236. package/dist/chunks/{file-mutation-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{file-mutation-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-mutation-tdstcens.js → location-activity-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-mutation-3pdjw33a.js → location-activity-tgm43k3g.js} +15 -15
  240. package/dist/chunks/{file-mutation-hr3q54ky.js → location-activity-thqq6fyk.js} +44 -44
  241. package/dist/chunks/{file-mutation-6mfh7f1f.js → location-activity-tjd23wwa.js} +3 -3
  242. package/dist/chunks/{file-mutation-evbgk2k8.js → location-activity-tn0aqsam.js} +5 -5
  243. package/dist/chunks/{file-mutation-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
  244. package/dist/chunks/{file-mutation-wyhm8gxt.js → location-activity-v24wjx7c.js} +5 -5
  245. package/dist/chunks/{file-mutation-5afv1qet.js → location-activity-v2rz7h9m.js} +10 -10
  246. package/dist/chunks/{file-mutation-sqy4ahhk.js → location-activity-v3sgzvyr.js} +1 -1
  247. package/dist/chunks/{file-mutation-1p2kvy81.js → location-activity-v56t4fyc.js} +6 -6
  248. package/dist/chunks/{file-mutation-s0hycazx.js → location-activity-v9n6xkdt.js} +23 -23
  249. package/dist/chunks/{file-mutation-w0wrcbs3.js → location-activity-vemj8v7h.js} +19 -19
  250. package/dist/chunks/{file-mutation-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-mutation-tjja5a9k.js → location-activity-vsy7cpk0.js} +22 -22
  252. package/dist/chunks/{file-mutation-mfa1dnmq.js → location-activity-vtt194rr.js} +13 -13
  253. package/dist/chunks/{file-mutation-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{file-mutation-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{file-mutation-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-mutation-0nd9yvwt.js → location-activity-w4ec0zv4.js} +8 -8
  257. package/dist/chunks/{file-mutation-qte5z7bc.js → location-activity-wbkyxrgf.js} +5 -5
  258. package/dist/chunks/{file-mutation-wd3x2cqz.js → location-activity-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{file-mutation-wd87259q.js → location-activity-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-mutation-fj10zqs3.js → location-activity-wh2p7wnd.js} +10 -10
  261. package/dist/chunks/{file-mutation-k8eg9jwz.js → location-activity-wvwh7dvb.js} +5 -5
  262. package/dist/chunks/{file-mutation-yen1bsc2.js → location-activity-wyvh16fs.js} +16 -16
  263. package/dist/chunks/{file-mutation-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{file-mutation-8ag1zg7r.js → location-activity-x281atxp.js} +15 -15
  265. package/dist/chunks/{file-mutation-dnzwjmsp.js → location-activity-x33npz3x.js} +20 -20
  266. package/dist/chunks/{file-mutation-zy43x3f1.js → location-activity-x3gqap9d.js} +4 -4
  267. package/dist/chunks/{file-mutation-v23j6r7v.js → location-activity-x6zbs7cd.js} +22 -22
  268. package/dist/chunks/{file-mutation-zx7xtja6.js → location-activity-xbd1cfx7.js} +16 -16
  269. package/dist/chunks/{file-mutation-zbvb58e6.js → location-activity-xbrw7k0h.js} +8 -8
  270. package/dist/chunks/{file-mutation-xkntkrq7.js → location-activity-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{file-mutation-r2qgc71p.js → location-activity-xpcx82f9.js} +13 -13
  272. package/dist/chunks/{file-mutation-fmp81qfg.js → location-activity-xyrqpqc7.js} +32 -32
  273. package/dist/chunks/{file-mutation-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{file-mutation-9w1tyxn7.js → location-activity-yadxyp5v.js} +8 -8
  275. package/dist/chunks/{file-mutation-gmjjhz4f.js → location-activity-ybhbtxjg.js} +3 -3
  276. package/dist/chunks/{file-mutation-ht0r88e0.js → location-activity-ybj1xhjk.js} +15 -15
  277. package/dist/chunks/{file-mutation-tvedvvzn.js → location-activity-yctj4ypy.js} +10 -10
  278. package/dist/chunks/{file-mutation-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-mutation-yrznvahk.js → location-activity-yrznvahk.js} +2 -2
  280. package/dist/chunks/{file-mutation-z07pqspn.js → location-activity-z07pqspn.js} +3 -3
  281. package/dist/chunks/{file-mutation-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-mutation-5mf3y8mk.js → location-activity-z1hgn6m3.js} +20 -20
  283. package/dist/chunks/{file-mutation-s7cavm8f.js → location-activity-z4b9a0f8.js} +7 -7
  284. package/dist/chunks/{file-mutation-z63w68vq.js → location-activity-z63w68vq.js} +2 -2
  285. package/dist/chunks/{file-mutation-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-mutation-qawdn968.js → location-activity-zfp7e1er.js} +26 -26
  287. package/dist/chunks/{file-mutation-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-mutation-e2artx0a.js → location-activity-zsrz5tex.js} +11 -11
  289. package/dist/chunks/{file-mutation-54xs9e4z.js → location-activity-ztxf5yj9.js} +29 -29
  290. package/dist/chunks/{file-mutation-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +81 -81
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +221 -221
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +97 -97
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +82 -82
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +101 -101
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +223 -223
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +94 -94
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +134 -134
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +3 -3
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +229 -229
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +124 -124
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +150 -150
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +214 -214
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +11 -11
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +3 -3
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/file-mutation-2ab25d2y.js +0 -26
  700. package/dist/chunks/file-mutation-54ytyew1.js +0 -507
  701. package/dist/chunks/file-mutation-97gjng12.js +0 -252
  702. package/dist/chunks/file-mutation-by5v678g.js +0 -18
  703. /package/dist/chunks/{file-mutation-0mesazry.js → location-activity-0mesazry.js} +0 -0
  704. /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{file-mutation-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{file-mutation-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{file-mutation-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{file-mutation-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{file-mutation-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{file-mutation-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{file-mutation-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{file-mutation-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{file-mutation-3asan66x.js → location-activity-3asan66x.js} +0 -0
  716. /package/dist/chunks/{file-mutation-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{file-mutation-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{file-mutation-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{file-mutation-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{file-mutation-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{file-mutation-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{file-mutation-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{file-mutation-53557ph1.js → location-activity-53557ph1.js} +0 -0
  724. /package/dist/chunks/{file-mutation-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{file-mutation-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{file-mutation-6prwharc.js → location-activity-6prwharc.js} +0 -0
  727. /package/dist/chunks/{file-mutation-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{file-mutation-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{file-mutation-822emrt2.js → location-activity-822emrt2.js} +0 -0
  730. /package/dist/chunks/{file-mutation-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{file-mutation-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{file-mutation-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{file-mutation-922hggd3.js → location-activity-922hggd3.js} +0 -0
  734. /package/dist/chunks/{file-mutation-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{file-mutation-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{file-mutation-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{file-mutation-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{file-mutation-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{file-mutation-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{file-mutation-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{file-mutation-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{file-mutation-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{file-mutation-df08tz66.js → location-activity-df08tz66.js} +0 -0
  750. /package/dist/chunks/{file-mutation-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{file-mutation-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{file-mutation-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{file-mutation-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{file-mutation-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{file-mutation-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{file-mutation-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{file-mutation-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{file-mutation-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{file-mutation-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{file-mutation-g86h250q.js → location-activity-g86h250q.js} +0 -0
  763. /package/dist/chunks/{file-mutation-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{file-mutation-gftt206x.js → location-activity-gftt206x.js} +0 -0
  765. /package/dist/chunks/{file-mutation-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{file-mutation-hk9envan.js → location-activity-hk9envan.js} +0 -0
  767. /package/dist/chunks/{file-mutation-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{file-mutation-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{file-mutation-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{file-mutation-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{file-mutation-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{file-mutation-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{file-mutation-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{file-mutation-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{file-mutation-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{file-mutation-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{file-mutation-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{file-mutation-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{file-mutation-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{file-mutation-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{file-mutation-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{file-mutation-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{file-mutation-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{file-mutation-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{file-mutation-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{file-mutation-x61499pn.js → location-activity-x61499pn.js} +0 -0
  795. /package/dist/chunks/{file-mutation-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{file-mutation-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{file-mutation-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{file-mutation-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{file-mutation-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID14,
3
- Service77
4
- } from "./file-mutation-khddj82n.js";
2
+ ID10,
3
+ Service67
4
+ } from "./location-activity-ey8s4w80.js";
5
5
  import {
6
6
  Ref2,
7
- Service65
8
- } from "./file-mutation-k7v2hf9f.js";
7
+ Service71
8
+ } from "./location-activity-8zgrq2cs.js";
9
9
  import {
10
10
  latest2,
11
- Service63
12
- } from "./file-mutation-1sedp1z2.js";
11
+ Service48
12
+ } from "./location-activity-pe89x1zs.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./file-mutation-q3t37ft6.js";
15
+ } from "./location-activity-jexxy024.js";
16
16
  import {
17
- Service59
18
- } from "./file-mutation-tzf2xzra.js";
17
+ Service61
18
+ } from "./location-activity-6fkemk79.js";
19
19
  import {
20
20
  evaluate2,
21
- Service74
22
- } from "./file-mutation-gr6t64sj.js";
21
+ Service64
22
+ } from "./location-activity-7r8cvc0t.js";
23
23
  import {
24
- Service25
25
- } from "./file-mutation-v303bt05.js";
24
+ Service20
25
+ } from "./location-activity-jyj8kx70.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./file-mutation-x1ezjp6w.js";
28
+ } from "./location-activity-x1ezjp6w.js";
29
29
  import {
30
- make8
31
- } from "./file-mutation-7gzfq6z6.js";
30
+ make5
31
+ } from "./location-activity-3rzha7fy.js";
32
32
  import {
33
33
  __export
34
- } from "./file-mutation-9rqn6x4v.js";
34
+ } from "./location-activity-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input6,
40
- Output: () => Output5,
41
- Plugin: () => Plugin7,
39
+ Input: () => Input9,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin10,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name6
43
+ description: () => description5,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name6 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input6 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input6 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin7 = {
89
+ var Plugin10 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service59;
94
- const agents = yield* Service77;
95
- const config = yield* Service63;
96
- const permission = yield* Service74;
97
- const models = yield* Service65;
98
- const subagents = yield* make8;
92
+ const sessions = yield* Service20;
93
+ const jobs = yield* Service61;
94
+ const agents = yield* Service67;
95
+ const config = yield* Service48;
96
+ const permission = yield* Service64;
97
+ const models = yield* Service71;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin7 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name6,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input6,
122
- output: Output5,
120
+ description: description5,
121
+ input: Input9,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin7 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name6,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin7 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID14.make(input.agent),
171
+ agent: ID10.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name6 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name6];
233
+ const tool = event.tools[name9];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name6, Input6, Output5, description2, Plugin7, exports_subagent };
256
+ export { name9, Input9, Output6, description5, Plugin10, exports_subagent };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./location-activity-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-mutation-9rqn6x4v.js";
8
+ } from "./location-activity-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service80
3
- } from "./file-mutation-h53p64px.js";
2
+ Service75
3
+ } from "./location-activity-1dq87ffp.js";
4
4
  import {
5
5
  latest2,
6
- Service63
7
- } from "./file-mutation-1sedp1z2.js";
6
+ Service48
7
+ } from "./location-activity-pe89x1zs.js";
8
8
  import {
9
- Service20
10
- } from "./file-mutation-7x5j9h8t.js";
9
+ Service38
10
+ } from "./location-activity-8zgh370v.js";
11
11
  import {
12
- make10
13
- } from "./file-mutation-73tb2d7t.js";
12
+ make4
13
+ } from "./location-activity-mvfsc1pv.js";
14
14
  import {
15
15
  observe2
16
- } from "./file-mutation-qsdy395h.js";
16
+ } from "./location-activity-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin44
25
+ Plugin: () => Plugin22
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin44 = define({
33
+ var Plugin22 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service63;
37
- const formatter = yield* Service20;
36
+ const config = yield* Service48;
37
+ const formatter = yield* Service38;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service80;
40
+ const location = yield* Service75;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin44 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make10({
48
+ const builtIns = make4({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin44 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin44, exports_formatter };
77
+ export { Plugin22, exports_formatter };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-4cdew6sp.js";
4
+ } from "./location-activity-rvkgzh6z.js";
5
5
  import {
6
6
  create3
7
- } from "./file-mutation-rdw6cm16.js";
7
+ } from "./location-activity-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event7,
16
+ Event: () => Event9,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info6,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service38,
21
- layer: () => layer17,
22
- node: () => node41
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service39,
21
+ layer: () => layer16,
22
+ node: () => node42
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event7 } from "@opencode/schema/command";
27
+ import { Event as Event9 } from "@opencode/schema/command";
28
28
  var Info6 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service38 extends Context.Service()("@opencode/Command") {
42
+ class Service39 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service38, Effect.gen(function* () {
44
+ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -55,7 +55,7 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service38.of({
58
+ return Service39.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node41 = makeLocationNode({
75
- service: Service38,
76
- layer: layer17,
74
+ var node42 = makeLocationNode({
75
+ service: Service39,
76
+ layer: layer16,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError6, ExecutionError2, Service38, layer17, node41, exports_command4, Event7 };
89
+ export { Info6, NotFoundError5, ExecutionError2, Service39, layer16, node42, exports_command4, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
@@ -9,16 +9,16 @@ __export(exports_app, {
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured7,
11
11
  layer: () => layer18,
12
- make: () => make16,
13
- node: () => node48,
12
+ make: () => make15,
13
+ node: () => node46,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make15()
20
20
  });
21
- function make16(input = {}) {
21
+ function make15(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
31
+ var layer18 = (input) => Layer.succeed(Metadata2, make15(input));
32
32
  var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
- var node48 = configured7();
33
+ var node46 = configured7();
34
34
 
35
- export { Metadata2, make16, useragent2, layer18, configured7, node48, exports_app };
35
+ export { Metadata2, make15, useragent2, layer18, configured7, node46, exports_app };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-mutation-5t3nmthw.js";
3
+ } from "./location-activity-5t3nmthw.js";
4
4
  import {
5
- Service57,
6
- node60
7
- } from "./file-mutation-hr3q54ky.js";
5
+ Service69,
6
+ node73
7
+ } from "./location-activity-thqq6fyk.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service23,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer10,
20
- node: () => node26
17
+ Service: () => Service68,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer23,
20
+ node: () => node72
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service23 extends Context.Service()("@opencode/Generate") {
36
+ class Service68 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer10 = Layer.effect(Service23, Effect.gen(function* () {
38
+ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service57;
40
+ const resolver = yield* Service69;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service23.of({ text });
66
+ return Service68.of({ text });
67
67
  }));
68
- var node26 = makeLocationNode({
69
- service: Service23,
70
- layer: layer10,
71
- deps: [node60, llmClient2]
68
+ var node72 = makeLocationNode({
69
+ service: Service68,
70
+ layer: layer23,
71
+ deps: [node73, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service23, layer10, node26, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError3, Service68, layer23, node72, exports_generate2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./file-mutation-eaj1djv9.js";
6
+ } from "./location-activity-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./file-mutation-3fc6dm20.js";
11
+ } from "./location-activity-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./location-activity-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions5 = {};
18
18
  __export(exports_instructions5, {
19
19
  CodeModeInstructions: () => exports_instructions5,
20
- make: () => make14,
20
+ make: () => make13,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -109,9 +109,9 @@ ${render2(current)}`;
109
109
  return delta;
110
110
  return replacement;
111
111
  }
112
- var key = Key4.make("core/codemode");
112
+ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make14 = (inventory) => {
114
+ var make13 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
116
  return make21({
117
117
  key,
@@ -125,4 +125,4 @@ var make14 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make14, exports_instructions5 };
128
+ export { render2, update3, make13, exports_instructions5 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./location-activity-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-mutation-jw80jp6b.js";
6
+ } from "./location-activity-a8bn8zg0.js";
7
7
  import {
8
- Info16
9
- } from "./file-mutation-h2r7bbkd.js";
8
+ Info11
9
+ } from "./location-activity-a8zr1srk.js";
10
10
  import {
11
- Info13
12
- } from "./file-mutation-evbgk2k8.js";
11
+ Info17
12
+ } from "./location-activity-tn0aqsam.js";
13
13
  import {
14
- Info15
15
- } from "./file-mutation-ratrq7cm.js";
14
+ Info18
15
+ } from "./location-activity-a2ew8a62.js";
16
16
  import {
17
- Info21
18
- } from "./file-mutation-sra9araw.js";
17
+ Info14
18
+ } from "./location-activity-p44d8wdy.js";
19
19
  import {
20
20
  Spec2
21
- } from "./file-mutation-7dqw4kz8.js";
21
+ } from "./location-activity-2k8khapm.js";
22
22
  import {
23
- Info19
24
- } from "./file-mutation-qte5z7bc.js";
23
+ Info15
24
+ } from "./location-activity-wbkyxrgf.js";
25
25
  import {
26
- Info12
27
- } from "./file-mutation-36dfs4g1.js";
26
+ Info10
27
+ } from "./location-activity-kcy5db85.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 "./file-mutation-8jptg25a.js";
36
+ } from "./location-activity-hr3exm48.js";
37
37
  import {
38
38
  __export
39
- } from "./file-mutation-9rqn6x4v.js";
39
+ } from "./location-activity-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(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.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(Info13, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info17, 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, Info15, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info18, ["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, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["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, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["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(Info21, value, path, diagnostics);
228
+ const server = decodeValue(Info14, 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(Info19, raw, path, diagnostics);
424
+ const provider = decodeValue(Info15, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);