@opencode/core 0.0.0-dev-20544 → 0.0.0-dev-20546

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 (782) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-lifecycle-b4q8b87x.js → tool-0b5fx6ax.js} +50 -50
  8. package/dist/chunks/{location-lifecycle-r2jqd7kh.js → tool-0bgxsef1.js} +4 -4
  9. package/dist/chunks/{location-lifecycle-wykvkkng.js → tool-0f5zvaaa.js} +27 -27
  10. package/dist/chunks/{location-lifecycle-n2amha0h.js → tool-0fewaqv1.js} +11 -11
  11. package/dist/chunks/{location-lifecycle-1hpkm8ay.js → tool-0gc3e589.js} +23 -23
  12. package/dist/chunks/{location-lifecycle-x1v8p9tg.js → tool-0kq1vnt2.js} +19 -19
  13. package/dist/chunks/{location-lifecycle-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-lifecycle-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{location-lifecycle-dwm69vz7.js → tool-0xn4eefx.js} +20 -20
  16. package/dist/chunks/{location-lifecycle-tvft88yj.js → tool-0xq2rqz7.js} +12 -12
  17. package/dist/chunks/{location-lifecycle-dc0c81ep.js → tool-105phwgw.js} +16 -16
  18. package/dist/chunks/{location-lifecycle-mthz10xn.js → tool-130d0t9b.js} +24 -24
  19. package/dist/chunks/{location-lifecycle-1y3ncvm9.js → tool-17qe7d48.js} +40 -40
  20. package/dist/chunks/{location-lifecycle-1acjjqhc.js → tool-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{location-lifecycle-910czmnb.js → tool-1aq3p2fw.js} +17 -17
  22. package/dist/chunks/{location-lifecycle-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{location-lifecycle-1dvck2a7.js → tool-1dvck2a7.js} +2 -2
  24. package/dist/chunks/{location-lifecycle-744vtqj3.js → tool-1gpb38yh.js} +6 -6
  25. package/dist/chunks/{location-lifecycle-3grjawsb.js → tool-1j8zt5zt.js} +5 -5
  26. package/dist/chunks/{location-lifecycle-yh47nrta.js → tool-1sxecr9b.js} +9 -9
  27. package/dist/chunks/{location-lifecycle-rjskn9df.js → tool-21x7xb6a.js} +43 -43
  28. package/dist/chunks/{location-lifecycle-7cwqg3jv.js → tool-29vra2hc.js} +42 -42
  29. package/dist/chunks/{location-lifecycle-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{location-lifecycle-2k8khapm.js → tool-2k8khapm.js} +1 -1
  31. package/dist/chunks/{location-lifecycle-6gnb6hk1.js → tool-2mmss7gn.js} +18 -18
  32. package/dist/chunks/{location-lifecycle-f8asj3v0.js → tool-2ptc9fn1.js} +10 -10
  33. package/dist/chunks/{location-lifecycle-21hs5cwd.js → tool-2wh4yf7q.js} +16 -16
  34. package/dist/chunks/{location-lifecycle-k1crjkkb.js → tool-30ddhjt6.js} +10 -10
  35. package/dist/chunks/{location-lifecycle-vw7wvyac.js → tool-31aerb0s.js} +16 -16
  36. package/dist/chunks/{location-lifecycle-48qyzgv8.js → tool-34y0nsfd.js} +10 -10
  37. package/dist/chunks/{location-lifecycle-gsf4mfvw.js → tool-3aqn2ebh.js} +24 -24
  38. package/dist/chunks/{location-lifecycle-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-lifecycle-gsjpzxb5.js → tool-3ffx6953.js} +5 -5
  40. package/dist/chunks/{location-lifecycle-rernm79y.js → tool-3gv4e0z7.js} +15 -15
  41. package/dist/chunks/{location-lifecycle-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{location-lifecycle-7hhqs9ev.js → tool-3maez1s4.js} +11 -11
  43. package/dist/chunks/{location-lifecycle-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{location-lifecycle-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{location-lifecycle-dtka71h2.js → tool-3yysf8sw.js} +22 -22
  46. package/dist/chunks/{location-lifecycle-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{location-lifecycle-kbqjp078.js → tool-49exe669.js} +5 -5
  48. package/dist/chunks/{location-lifecycle-h9qs4w9g.js → tool-4p0zdh5f.js} +12 -12
  49. package/dist/chunks/{location-lifecycle-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/{location-lifecycle-gs88pkvr.js → tool-4vp46et4.js} +6 -6
  51. package/dist/chunks/{location-lifecycle-4ht2td90.js → tool-4x25yqhm.js} +44 -44
  52. package/dist/chunks/{location-lifecycle-k4a7v8bn.js → tool-50hs44sv.js} +8 -8
  53. package/dist/chunks/{location-lifecycle-e6avgvqk.js → tool-544bd9dc.js} +14 -14
  54. package/dist/chunks/{location-lifecycle-bddk7pqm.js → tool-54fnz2xn.js} +28 -28
  55. package/dist/chunks/{location-lifecycle-54ma36ye.js → tool-54ma36ye.js} +1 -1
  56. package/dist/chunks/{location-lifecycle-5tp5mc0z.js → tool-59nf0k73.js} +18 -18
  57. package/dist/chunks/{location-lifecycle-2296s1c0.js → tool-5b84avn1.js} +8 -8
  58. package/dist/chunks/{location-lifecycle-5daktx2q.js → tool-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-lifecycle-ewwc48x6.js → tool-5qgdse83.js} +5 -5
  60. package/dist/chunks/{location-lifecycle-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-lifecycle-x27mk1f7.js → tool-5v4tq1pr.js} +2 -2
  62. package/dist/chunks/{location-lifecycle-2h4bcnjm.js → tool-62qykytd.js} +26 -26
  63. package/dist/chunks/{location-lifecycle-669tq793.js → tool-669tq793.js} +1 -1
  64. package/dist/chunks/{location-lifecycle-gd9afk0s.js → tool-6ckhwffg.js} +18 -18
  65. package/dist/chunks/{location-lifecycle-5a1bwj15.js → tool-6g22x1cx.js} +17 -17
  66. package/dist/chunks/{location-lifecycle-ryr25ayn.js → tool-6hh8tjw2.js} +4 -4
  67. package/dist/chunks/{location-lifecycle-gwwnqsk8.js → tool-6j114ajh.js} +1 -1
  68. package/dist/chunks/{location-lifecycle-tx3jtc6f.js → tool-6kcqjz9a.js} +35 -35
  69. package/dist/chunks/{location-lifecycle-c1wfn033.js → tool-6kd4vhpq.js} +10 -10
  70. package/dist/chunks/{location-lifecycle-x3gqap9d.js → tool-6rm5yzkt.js} +4 -4
  71. package/dist/chunks/{location-lifecycle-71az546q.js → tool-71az546q.js} +2 -2
  72. package/dist/chunks/{location-lifecycle-x8dzr4wn.js → tool-7aqqc3we.js} +3 -3
  73. package/dist/chunks/{location-lifecycle-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-lifecycle-rhygb5vz.js → tool-7frfzztj.js} +34 -34
  75. package/dist/chunks/{location-lifecycle-xn2taqs8.js → tool-7jm88nzg.js} +13 -13
  76. package/dist/chunks/{location-lifecycle-f348dfqp.js → tool-7nztcbt0.js} +15 -15
  77. package/dist/chunks/{location-lifecycle-xqq1v675.js → tool-7t6j2s4e.js} +71 -71
  78. package/dist/chunks/{location-lifecycle-p2svhgs8.js → tool-7w0c1qzs.js} +18 -18
  79. package/dist/chunks/{location-lifecycle-4gpqapdf.js → tool-7wyknn3n.js} +44 -44
  80. package/dist/chunks/{location-lifecycle-1p2zhkn0.js → tool-7xersvtf.js} +11 -11
  81. package/dist/chunks/{location-lifecycle-jr83h071.js → tool-81j4nbmx.js} +16 -16
  82. package/dist/chunks/{location-lifecycle-5mtaxy7e.js → tool-83xtr5qh.js} +36 -36
  83. package/dist/chunks/{location-lifecycle-84txncab.js → tool-84txncab.js} +1 -1
  84. package/dist/chunks/{location-lifecycle-1ksexcmn.js → tool-8563jwpe.js} +11 -11
  85. package/dist/chunks/{location-lifecycle-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-lifecycle-cn4rk5mp.js → tool-8fejdm01.js} +4 -4
  87. package/dist/chunks/{location-lifecycle-j3r1f5f2.js → tool-8n3m7eek.js} +17 -17
  88. package/dist/chunks/tool-8ty7ydja.js +253 -0
  89. package/dist/chunks/{location-lifecycle-3cv4wgvw.js → tool-8w6rjg68.js} +9 -9
  90. package/dist/chunks/{location-lifecycle-0m08kv58.js → tool-8y7m5rtw.js} +25 -25
  91. package/dist/chunks/{location-lifecycle-h4e8knmw.js → tool-95jzr6md.js} +8 -8
  92. package/dist/chunks/tool-9ahwsrv3.js +26 -0
  93. package/dist/chunks/{location-lifecycle-9e5bzkjp.js → tool-9e5bzkjp.js} +3 -3
  94. package/dist/chunks/{location-lifecycle-qd06wrk4.js → tool-9g3b7e36.js} +46 -46
  95. package/dist/chunks/{location-lifecycle-n0qpbrq0.js → tool-9qqkxast.js} +41 -41
  96. package/dist/chunks/{location-lifecycle-mf34zbxj.js → tool-9zkmnpa0.js} +8 -8
  97. package/dist/chunks/{location-lifecycle-s4f6agx1.js → tool-a1yrwfg3.js} +10 -10
  98. package/dist/chunks/{location-lifecycle-dwf6zmnn.js → tool-a2z3evab.js} +10 -10
  99. package/dist/chunks/{location-lifecycle-npxhwpaz.js → tool-a7r9jb6t.js} +23 -23
  100. package/dist/chunks/tool-a9tf878g.js +507 -0
  101. package/dist/chunks/{location-lifecycle-aaet6srn.js → tool-aaet6srn.js} +2 -2
  102. package/dist/chunks/{location-lifecycle-v1xty7y4.js → tool-abe982cs.js} +8 -8
  103. package/dist/chunks/{location-lifecycle-880gxvw7.js → tool-adzfz996.js} +3 -3
  104. package/dist/chunks/{location-lifecycle-yj4pw853.js → tool-ahe9zwyk.js} +8 -8
  105. package/dist/chunks/{location-lifecycle-2m8jawch.js → tool-as7cf5zz.js} +4 -4
  106. package/dist/chunks/{location-lifecycle-88dsh8x0.js → tool-axvnfcqc.js} +11 -11
  107. package/dist/chunks/{location-lifecycle-gwznxh9r.js → tool-aydwcdnc.js} +4 -4
  108. package/dist/chunks/{location-lifecycle-47jkzegy.js → tool-b674v2dg.js} +5 -5
  109. package/dist/chunks/{location-lifecycle-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{location-lifecycle-n0a89n4g.js → tool-bmhb8y01.js} +23 -23
  111. package/dist/chunks/{location-lifecycle-crahewxf.js → tool-bsdt1m9e.js} +7 -7
  112. package/dist/chunks/{location-lifecycle-f1kjpmaz.js → tool-bsjtdjkq.js} +3 -3
  113. package/dist/chunks/{location-lifecycle-4434d9q2.js → tool-btvs9fn2.js} +9 -9
  114. package/dist/chunks/{location-lifecycle-37r0976v.js → tool-bvx99qdh.js} +7 -7
  115. package/dist/chunks/{location-lifecycle-1mgv3v64.js → tool-bw6g5bvn.js} +26 -26
  116. package/dist/chunks/{location-lifecycle-prq7hedt.js → tool-bydnjh3t.js} +9 -9
  117. package/dist/chunks/{location-lifecycle-35k2916m.js → tool-bzjcg73h.js} +20 -20
  118. package/dist/chunks/{location-lifecycle-mpr4bnn1.js → tool-c93yrxa6.js} +17 -17
  119. package/dist/chunks/{location-lifecycle-d0apkz1x.js → tool-cbpj3q1n.js} +16 -16
  120. package/dist/chunks/{location-lifecycle-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
  121. package/dist/chunks/{location-lifecycle-w5dhw84v.js → tool-cjhbag6k.js} +8 -8
  122. package/dist/chunks/{location-lifecycle-ram0ygt7.js → tool-cjp93f4e.js} +6 -6
  123. package/dist/chunks/{location-lifecycle-g0445xdp.js → tool-cmwkp3r5.js} +4 -4
  124. package/dist/chunks/{location-lifecycle-r2zbaadd.js → tool-cvskdek3.js} +10 -10
  125. package/dist/chunks/{location-lifecycle-w9c3fasb.js → tool-d6efkfyd.js} +9 -9
  126. package/dist/chunks/{location-lifecycle-cpneeje0.js → tool-djszqvmq.js} +9 -9
  127. package/dist/chunks/{location-lifecycle-dmqcgk4z.js → tool-dmqcgk4z.js} +2 -2
  128. package/dist/chunks/{location-lifecycle-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{location-lifecycle-9y9sk2j9.js → tool-drnf6xwf.js} +2 -2
  130. package/dist/chunks/{location-lifecycle-qg1dxwny.js → tool-drtsxde7.js} +5 -5
  131. package/dist/chunks/{location-lifecycle-1pj67zbx.js → tool-dygb53dv.js} +8 -8
  132. package/dist/chunks/{location-lifecycle-aar7s3mw.js → tool-e91ztryz.js} +11 -11
  133. package/dist/chunks/{location-lifecycle-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{location-lifecycle-gwy9g9cp.js → tool-erezfsje.js} +15 -15
  135. package/dist/chunks/{location-lifecycle-ycnt8qav.js → tool-esqy5ctd.js} +11 -11
  136. package/dist/chunks/{location-lifecycle-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{location-lifecycle-061q4pce.js → tool-ew325twr.js} +89 -89
  138. package/dist/chunks/{location-lifecycle-6a4qhw64.js → tool-eymvbjgc.js} +32 -32
  139. package/dist/chunks/{location-lifecycle-z4vapwce.js → tool-f49rpt0h.js} +18 -18
  140. package/dist/chunks/tool-f81tjggh.js +18 -0
  141. package/dist/chunks/{location-lifecycle-911kytge.js → tool-f8yfhtys.js} +20 -20
  142. package/dist/chunks/{location-lifecycle-0tp00n3f.js → tool-fb0xn3fq.js} +13 -13
  143. package/dist/chunks/{location-lifecycle-5gb8v3q0.js → tool-fvz0khbb.js} +3 -3
  144. package/dist/chunks/{location-lifecycle-5sb37669.js → tool-g461mq4r.js} +20 -20
  145. package/dist/chunks/{location-lifecycle-wrqhzqe6.js → tool-g5gfjdv3.js} +18 -18
  146. package/dist/chunks/{location-lifecycle-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
  147. package/dist/chunks/{location-lifecycle-kjdm35cs.js → tool-g6yfr6ja.js} +5 -5
  148. package/dist/chunks/{location-lifecycle-d5ywaays.js → tool-g78cewbc.js} +40 -40
  149. package/dist/chunks/{location-lifecycle-67j6pqag.js → tool-gc9bwprx.js} +15 -15
  150. package/dist/chunks/{location-lifecycle-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-lifecycle-34njhhe5.js → tool-gfdr60m0.js} +10 -10
  152. package/dist/chunks/{location-lifecycle-3zbwexce.js → tool-gmmdfr2g.js} +8 -8
  153. package/dist/chunks/{location-lifecycle-qd53sc6s.js → tool-gnmk0d0j.js} +21 -21
  154. package/dist/chunks/{location-lifecycle-c8cgfd79.js → tool-gwys9v9v.js} +4 -4
  155. package/dist/chunks/{location-lifecycle-59k0xwsj.js → tool-h19eb42x.js} +37 -37
  156. package/dist/chunks/{location-lifecycle-h2b79v29.js → tool-h2b79v29.js} +2 -2
  157. package/dist/chunks/{location-lifecycle-2tzrr9s8.js → tool-h67113sj.js} +24 -24
  158. package/dist/chunks/{location-lifecycle-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-lifecycle-3szpxf4e.js → tool-hbftnxjp.js} +5 -5
  160. package/dist/chunks/{location-lifecycle-9ae44cfy.js → tool-hdab2k61.js} +6 -6
  161. package/dist/chunks/{location-lifecycle-b3f8fkhc.js → tool-hdkng2sj.js} +5 -5
  162. package/dist/chunks/{location-lifecycle-4x76qkv8.js → tool-hfm4ryn4.js} +34 -34
  163. package/dist/chunks/{location-lifecycle-cv53qt83.js → tool-hnh533wc.js} +11 -11
  164. package/dist/chunks/{location-lifecycle-7zdfbm64.js → tool-hqn60twj.js} +3 -3
  165. package/dist/chunks/{location-lifecycle-58296w7g.js → tool-hr7m8caa.js} +8 -8
  166. package/dist/chunks/{location-lifecycle-g8nb572c.js → tool-j32e3heq.js} +182 -182
  167. package/dist/chunks/{location-lifecycle-rwzfmm4e.js → tool-j3s83qj1.js} +4 -4
  168. package/dist/chunks/{location-lifecycle-j56e64zr.js → tool-j56e64zr.js} +1 -1
  169. package/dist/chunks/{location-lifecycle-d29p5ncg.js → tool-jm32gaew.js} +16 -16
  170. package/dist/chunks/{location-lifecycle-nms2wt4g.js → tool-jmh888fr.js} +11 -11
  171. package/dist/chunks/{location-lifecycle-pn3cc07s.js → tool-k1gkpfdk.js} +8 -8
  172. package/dist/chunks/{location-lifecycle-nxeekfv0.js → tool-k2nxqkde.js} +23 -23
  173. package/dist/chunks/{location-lifecycle-p9cwmtnh.js → tool-k82aj4rb.js} +3 -3
  174. package/dist/chunks/{location-lifecycle-qzzs1xc5.js → tool-kearqegd.js} +12 -12
  175. package/dist/chunks/{location-lifecycle-xkqvhxkq.js → tool-kjw8fq0d.js} +37 -37
  176. package/dist/chunks/{location-lifecycle-ywxshz3p.js → tool-kmgma77j.js} +5 -5
  177. package/dist/chunks/{location-lifecycle-gbvvt2rd.js → tool-kn319mpc.js} +21 -21
  178. package/dist/chunks/{location-lifecycle-6hpcj5v3.js → tool-kq17zeba.js} +13 -13
  179. package/dist/chunks/{location-lifecycle-afkvkv10.js → tool-kq9ercpw.js} +11 -11
  180. package/dist/chunks/{location-lifecycle-axyv4psh.js → tool-m08rtf02.js} +13 -13
  181. package/dist/chunks/{location-lifecycle-cz5mp6zw.js → tool-m0nk61gg.js} +13 -13
  182. package/dist/chunks/{location-lifecycle-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{location-lifecycle-1fnjp5k2.js → tool-m406kgbt.js} +9 -9
  184. package/dist/chunks/{location-lifecycle-a9b67nrv.js → tool-m72e62eq.js} +26 -26
  185. package/dist/chunks/{location-lifecycle-fg14c903.js → tool-m7zns4k5.js} +10 -10
  186. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{location-lifecycle-cavr175a.js → tool-magykp64.js} +4 -4
  188. package/dist/chunks/{location-lifecycle-56gdpj1q.js → tool-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{location-lifecycle-m164ajwd.js → tool-mhtvex29.js} +12 -12
  190. package/dist/chunks/{location-lifecycle-pnvzdt63.js → tool-mmds1kx3.js} +6 -6
  191. package/dist/chunks/{location-lifecycle-82017kgq.js → tool-mnhe0asj.js} +22 -22
  192. package/dist/chunks/{location-lifecycle-py94dew6.js → tool-msz05mbq.js} +55 -55
  193. package/dist/chunks/{location-lifecycle-z2qbjhyn.js → tool-mtrbqqrq.js} +5 -5
  194. package/dist/chunks/{location-lifecycle-5tgwtrb4.js → tool-mxp2wkr3.js} +25 -25
  195. package/dist/chunks/{location-lifecycle-axe3mf62.js → tool-my4zabxr.js} +3 -3
  196. package/dist/chunks/{location-lifecycle-9tkrmsrp.js → tool-n0pp1gq0.js} +26 -26
  197. package/dist/chunks/{location-lifecycle-zpva5yp6.js → tool-nbfyeqag.js} +12 -12
  198. package/dist/chunks/{location-lifecycle-ns3eape4.js → tool-ncnm8wen.js} +1 -1
  199. package/dist/chunks/{location-lifecycle-819n4xfa.js → tool-p7sh5qae.js} +32 -32
  200. package/dist/chunks/{location-lifecycle-z4knkhav.js → tool-p8fxgfb9.js} +3 -3
  201. package/dist/chunks/{location-lifecycle-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{location-lifecycle-pknna89w.js → tool-pknna89w.js} +1 -1
  203. package/dist/chunks/{location-lifecycle-5d9gfxm5.js → tool-ppkw63qq.js} +33 -33
  204. package/dist/chunks/{location-lifecycle-dkrtd87p.js → tool-pt3xaqgj.js} +8 -8
  205. package/dist/chunks/{location-lifecycle-9naf3h3b.js → tool-pyfenggm.js} +11 -11
  206. package/dist/chunks/{location-lifecycle-hmx5nkgf.js → tool-q0bsvjra.js} +48 -48
  207. package/dist/chunks/{location-lifecycle-xysr0336.js → tool-q0pz77ry.js} +29 -29
  208. package/dist/chunks/{location-lifecycle-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{location-lifecycle-96zzk72z.js → tool-q33hc3az.js} +6 -6
  210. package/dist/chunks/{location-lifecycle-hdcxjhkc.js → tool-qgj7yrzy.js} +21 -21
  211. package/dist/chunks/{location-lifecycle-xdggbtd6.js → tool-qkdffjrw.js} +17 -17
  212. package/dist/chunks/{location-lifecycle-sz9gegs6.js → tool-qkdpfp31.js} +22 -22
  213. package/dist/chunks/{location-lifecycle-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{location-lifecycle-qsdy395h.js → tool-qsdy395h.js} +1 -1
  215. package/dist/chunks/{location-lifecycle-xyafkbt0.js → tool-qxjc9qry.js} +3 -3
  216. package/dist/chunks/{location-lifecycle-be7qvw84.js → tool-qxmaq0sm.js} +8 -8
  217. package/dist/chunks/{location-lifecycle-n8vwsn6h.js → tool-qxz2f3rt.js} +14 -14
  218. package/dist/chunks/{location-lifecycle-v68g6wmz.js → tool-r1n3g566.js} +37 -37
  219. package/dist/chunks/{location-lifecycle-mvfsc1pv.js → tool-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{location-lifecycle-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-lifecycle-t550f9t1.js → tool-rhjbct0v.js} +4 -4
  222. package/dist/chunks/{location-lifecycle-hw3b7921.js → tool-rj37jpce.js} +24 -24
  223. package/dist/chunks/{location-lifecycle-yb7hkqdw.js → tool-rszfxwsg.js} +8 -8
  224. package/dist/chunks/{location-lifecycle-sn3cptvh.js → tool-rztnjz0s.js} +9 -9
  225. package/dist/chunks/{location-lifecycle-6rfy7r9d.js → tool-s027k0rf.js} +33 -33
  226. package/dist/chunks/{location-lifecycle-zbdj16p8.js → tool-s0596caj.js} +9 -9
  227. package/dist/chunks/{location-lifecycle-cm3wj67j.js → tool-s4ebpbt7.js} +25 -25
  228. package/dist/chunks/{location-lifecycle-8e28aty2.js → tool-s9d5z7w1.js} +12 -12
  229. package/dist/chunks/{location-lifecycle-yfnz24wt.js → tool-sbtfeqxe.js} +34 -34
  230. package/dist/chunks/{location-lifecycle-2a4f6v5q.js → tool-sgwh5nyn.js} +8 -8
  231. package/dist/chunks/{location-lifecycle-c01nkytp.js → tool-srq8z0b0.js} +5 -5
  232. package/dist/chunks/{location-lifecycle-rtx7nsaa.js → tool-stdkdhj9.js} +10 -10
  233. package/dist/chunks/{location-lifecycle-0dbjc75y.js → tool-sxysp3dr.js} +12 -12
  234. package/dist/chunks/{location-lifecycle-qgdsxw13.js → tool-t6yz5g0a.js} +18 -18
  235. package/dist/chunks/{location-lifecycle-rxbw1nce.js → tool-t9t0jv1h.js} +33 -33
  236. package/dist/chunks/{location-lifecycle-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{location-lifecycle-89znhe33.js → tool-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{location-lifecycle-tdstcens.js → tool-tdstcens.js} +1 -1
  239. package/dist/chunks/{location-lifecycle-zjbv19xv.js → tool-thye16kd.js} +1 -1
  240. package/dist/chunks/{location-lifecycle-jdayrf5p.js → tool-tv3z232p.js} +25 -25
  241. package/dist/chunks/{location-lifecycle-nbe4w6xg.js → tool-ty1e6sjz.js} +18 -18
  242. package/dist/chunks/{location-lifecycle-b7p9mmcs.js → tool-v32h9fqj.js} +13 -13
  243. package/dist/chunks/{location-lifecycle-893rahry.js → tool-v50kha1c.js} +32 -32
  244. package/dist/chunks/{location-lifecycle-veqvce7d.js → tool-veqvce7d.js} +1 -1
  245. package/dist/chunks/{location-lifecycle-nt5yg2md.js → tool-vf6n3kbk.js} +30 -30
  246. package/dist/chunks/{location-lifecycle-38571c3c.js → tool-vjbhnzss.js} +4 -4
  247. package/dist/chunks/{location-lifecycle-g08z8dq8.js → tool-vk2pwt7v.js} +91 -91
  248. package/dist/chunks/{location-lifecycle-33r5dz8z.js → tool-vrwhxzcp.js} +11 -11
  249. package/dist/chunks/{location-lifecycle-te0t49k2.js → tool-vsja1s7z.js} +26 -26
  250. package/dist/chunks/{location-lifecycle-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{location-lifecycle-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-lifecycle-en9087x0.js → tool-w5h262jq.js} +12 -12
  254. package/dist/chunks/{location-lifecycle-wd87259q.js → tool-wd87259q.js} +1 -1
  255. package/dist/chunks/{location-lifecycle-525bad6w.js → tool-wy4z08by.js} +18 -18
  256. package/dist/chunks/{location-lifecycle-ae40vj86.js → tool-x05pqzzn.js} +13 -13
  257. package/dist/chunks/{location-lifecycle-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-lifecycle-z6kn09km.js → tool-x5cr8ne6.js} +11 -11
  259. package/dist/chunks/{location-lifecycle-3y377wv9.js → tool-x661k3y3.js} +4 -4
  260. package/dist/chunks/{location-lifecycle-s7jc9pwx.js → tool-x6xy5z7t.js} +3 -3
  261. package/dist/chunks/{location-lifecycle-6x0v3epy.js → tool-x9rf5mb3.js} +17 -17
  262. package/dist/chunks/{location-lifecycle-wdtanhag.js → tool-xdyxb27p.js} +29 -29
  263. package/dist/chunks/{location-lifecycle-2b4fjshv.js → tool-xph0hbvx.js} +5 -5
  264. package/dist/chunks/{location-lifecycle-xb50yt4b.js → tool-xxndcd6m.js} +4 -4
  265. package/dist/chunks/{location-lifecycle-84wsetqv.js → tool-xxrhtzpv.js} +21 -21
  266. package/dist/chunks/{location-lifecycle-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-lifecycle-3ewed21c.js → tool-y6mhz57t.js} +4 -4
  268. package/dist/chunks/{location-lifecycle-ea16cwsk.js → tool-ycmwc3zb.js} +20 -20
  269. package/dist/chunks/{location-lifecycle-11fe6sx3.js → tool-ycvgqbex.js} +5 -5
  270. package/dist/chunks/{location-lifecycle-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{location-lifecycle-gy00b4px.js → tool-ytj3j3zq.js} +31 -31
  272. package/dist/chunks/{location-lifecycle-qnxksr5a.js → tool-ywr1xztk.js} +29 -29
  273. package/dist/chunks/{location-lifecycle-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{location-lifecycle-kwctbf7w.js → tool-z7yfvg9g.js} +9 -9
  275. package/dist/chunks/{location-lifecycle-w5rka97k.js → tool-zab19jja.js} +9 -9
  276. package/dist/chunks/{location-lifecycle-k2v0xxpy.js → tool-zah869sz.js} +32 -32
  277. package/dist/chunks/{location-lifecycle-t2az9yje.js → tool-zav06jzw.js} +4 -4
  278. package/dist/chunks/{location-lifecycle-rrd4qz5h.js → tool-zgc7nk2q.js} +17 -17
  279. package/dist/chunks/{location-lifecycle-1hwney77.js → tool-zm4ejasx.js} +10 -10
  280. package/dist/chunks/{location-lifecycle-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-lifecycle-n1n192bv.js → tool-zsr4wwhv.js} +4 -4
  282. package/dist/chunks/{location-lifecycle-8ff8zvrx.js → tool-zwekp0gr.js} +14 -14
  283. package/dist/chunks/{location-lifecycle-2nyffpph.js → tool-zxfp7yka.js} +6 -6
  284. package/dist/chunks/{location-lifecycle-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +73 -73
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +83 -83
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +75 -75
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +98 -98
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +3 -3
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +115 -115
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +90 -90
  555. package/dist/provider.js +97 -97
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +97 -97
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +214 -214
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +79 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +93 -93
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +87 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +201 -201
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +210 -210
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +89 -89
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +105 -105
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +111 -111
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +106 -106
  643. package/dist/tool/plugin/websearch.js +112 -112
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +84 -84
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/location-lifecycle-8fx7c703.js +0 -26
  683. package/dist/chunks/location-lifecycle-aw5p1bzv.js +0 -253
  684. package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
  685. package/dist/chunks/location-lifecycle-ytgd15hp.js +0 -507
  686. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{location-lifecycle-24dcb14g.js → tool-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{location-lifecycle-2710q6r3.js → tool-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{location-lifecycle-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{location-lifecycle-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{location-lifecycle-359p4xyc.js → tool-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{location-lifecycle-3asan66x.js → tool-3asan66x.js} +0 -0
  698. /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{location-lifecycle-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{location-lifecycle-53557ph1.js → tool-53557ph1.js} +0 -0
  707. /package/dist/chunks/{location-lifecycle-550bvhaj.js → tool-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{location-lifecycle-6prwharc.js → tool-6prwharc.js} +0 -0
  710. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-lifecycle-7m9af43g.js → tool-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-lifecycle-822emrt2.js → tool-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{location-lifecycle-8n3pysct.js → tool-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{location-lifecycle-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{location-lifecycle-af5trqkr.js → tool-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{location-lifecycle-afrmfg78.js → tool-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{location-lifecycle-d9fn303g.js → tool-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{location-lifecycle-dajrwvna.js → tool-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{location-lifecycle-dap0rakb.js → tool-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{location-lifecycle-df08tz66.js → tool-df08tz66.js} +0 -0
  732. /package/dist/chunks/{location-lifecycle-dy18nga0.js → tool-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{location-lifecycle-ec1grn59.js → tool-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{location-lifecycle-faypxj3z.js → tool-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{location-lifecycle-fd410y7t.js → tool-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{location-lifecycle-g86h250q.js → tool-g86h250q.js} +0 -0
  745. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{location-lifecycle-gftt206x.js → tool-gftt206x.js} +0 -0
  747. /package/dist/chunks/{location-lifecycle-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{location-lifecycle-hk9envan.js → tool-hk9envan.js} +0 -0
  749. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{location-lifecycle-mp448xyj.js → tool-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{location-lifecycle-njntx4h6.js → tool-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{location-lifecycle-q74kybfr.js → tool-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{location-lifecycle-w803qqfp.js → tool-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{location-lifecycle-wtztk69x.js → tool-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{location-lifecycle-x61499pn.js → tool-x61499pn.js} +0 -0
  776. /package/dist/chunks/{location-lifecycle-y44na4kk.js → tool-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{location-lifecycle-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{location-lifecycle-y8f7s663.js → tool-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-lifecycle-ym463w8f.js → tool-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{location-lifecycle-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-lifecycle-fg14c903.js";
3
+ } from "./tool-m7zns4k5.js";
4
4
  import {
5
5
  Service83
6
- } from "./location-lifecycle-38571c3c.js";
6
+ } from "./tool-vjbhnzss.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20,
10
10
  Service81
11
- } from "./location-lifecycle-ewwc48x6.js";
11
+ } from "./tool-5qgdse83.js";
12
12
  import {
13
- ID16,
13
+ ID13,
14
14
  MethodID2,
15
- Service80
16
- } from "./location-lifecycle-mthz10xn.js";
15
+ Service76
16
+ } from "./tool-130d0t9b.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./location-lifecycle-pjvnvgmy.js";
20
+ } from "./tool-pjvnvgmy.js";
21
21
  import {
22
- ID11
23
- } from "./location-lifecycle-bddk7pqm.js";
22
+ ID12
23
+ } from "./tool-54fnz2xn.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-lifecycle-ram0ygt7.js";
26
+ } from "./tool-cjp93f4e.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID11.make("snowflake-cortex");
34
- var integrationID = ID16.make(providerID);
33
+ var providerID = ID12.make("snowflake-cortex");
34
+ var integrationID = ID13.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -54,7 +54,7 @@ var SnowflakeCortexPlugin2 = define({
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
56
  const credentials = yield* Service81;
57
- const integrations = yield* Service80;
57
+ const integrations = yield* Service76;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./location-lifecycle-hmx5nkgf.js";
3
+ } from "./tool-q0bsvjra.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./location-lifecycle-34c7v6d4.js";
6
+ } from "./tool-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./location-lifecycle-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-lifecycle-38571c3c.js";
4
+ } from "./tool-vjbhnzss.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-lifecycle-z5v4ffb3.js";
8
+ } from "./tool-z5v4ffb3.js";
9
9
  import {
10
- Ref3,
11
- Service77,
12
- node81
13
- } from "./location-lifecycle-910czmnb.js";
10
+ Ref4,
11
+ Service78,
12
+ node82
13
+ } from "./tool-1aq3p2fw.js";
14
14
  import {
15
15
  __export
16
- } from "./location-lifecycle-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service58,
22
+ Service: () => Service17,
23
23
  define: () => define2,
24
- node: () => node60
24
+ node: () => node20
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service58 extends Context.Service()("@opencode/Rpc") {
30
+ class Service17 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service58, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
- const location = yield* Service77;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service78;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service58.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service17.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node60 = makeLocationNode({ service: Service58, layer, deps: [node87, node81] });
128
+ var node20 = makeLocationNode({ service: Service17, layer, deps: [node87, node82] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref3)
133
+ location: optional2(Ref4)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service58, node60, exports_rpc, define2 };
213
+ export { Service17, node20, exports_rpc, define2 };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./location-lifecycle-38571c3c.js";
5
+ } from "./tool-vjbhnzss.js";
6
6
  import {
7
- Service70,
8
- node73
9
- } from "./location-lifecycle-k1crjkkb.js";
7
+ Service71,
8
+ node75
9
+ } from "./tool-30ddhjt6.js";
10
10
  import {
11
11
  __export
12
- } from "./location-lifecycle-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service56,
22
+ Service: () => Service59,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node58,
25
+ node: () => node62,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service56 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service59 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service56, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service70;
80
+ const kv = yield* Service71;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service56.of({
115
+ return Service59.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node58 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node73, node87] });
146
+ var node62 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node75, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event11, inspect2, resolve3, node58, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event12, inspect2, resolve3, node62, exports_wellknown };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make16,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make16(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make16, render3, exports_system_prompt };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-lifecycle-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-lifecycle-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info11,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service64
4
- } from "./location-lifecycle-hdcxjhkc.js";
2
+ ID18,
3
+ Service82
4
+ } from "./tool-qgj7yrzy.js";
5
5
  import {
6
6
  Ref2,
7
- Service66
8
- } from "./location-lifecycle-te0t49k2.js";
7
+ Service73
8
+ } from "./tool-vsja1s7z.js";
9
9
  import {
10
10
  latest2,
11
- Service54
12
- } from "./location-lifecycle-n0qpbrq0.js";
11
+ Service57
12
+ } from "./tool-9qqkxast.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./location-lifecycle-axe3mf62.js";
15
+ } from "./tool-my4zabxr.js";
16
16
  import {
17
- Service69
18
- } from "./location-lifecycle-21hs5cwd.js";
17
+ Service70
18
+ } from "./tool-2wh4yf7q.js";
19
19
  import {
20
20
  evaluate2,
21
- Service60
22
- } from "./location-lifecycle-b4q8b87x.js";
21
+ Service63
22
+ } from "./tool-0b5fx6ax.js";
23
23
  import {
24
- Service16
25
- } from "./location-lifecycle-g08z8dq8.js";
24
+ Service30
25
+ } from "./tool-vk2pwt7v.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./location-lifecycle-x1ezjp6w.js";
28
+ } from "./tool-x1ezjp6w.js";
29
29
  import {
30
30
  make11
31
- } from "./location-lifecycle-k4a7v8bn.js";
31
+ } from "./tool-50hs44sv.js";
32
32
  import {
33
33
  __export
34
- } from "./location-lifecycle-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input3,
40
- Output: () => Output3,
41
- Plugin: () => Plugin22,
39
+ Input: () => Input2,
40
+ Output: () => Output2,
41
+ Plugin: () => Plugin37,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description2,
44
- name: () => name3
44
+ name: () => name2
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name3 = "subagent";
48
+ var name2 = "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 Input3 = Schema.Struct({
59
+ var Input2 = 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,7 +72,7 @@ var Input3 = 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 Output3 = Schema.Struct({
75
+ var Output2 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,15 +86,15 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin22 = {
89
+ var Plugin37 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service16;
93
- const jobs = yield* Service69;
94
- const agents = yield* Service64;
95
- const config = yield* Service54;
96
- const permission = yield* Service60;
97
- const models = yield* Service66;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service70;
94
+ const agents = yield* Service82;
95
+ const config = yield* Service57;
96
+ const permission = yield* Service63;
97
+ const models = yield* Service73;
98
98
  const subagents = yield* make11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin22 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name2,
119
119
  options: { codemode: false },
120
120
  description: description2,
121
- input: Input3,
122
- output: Output3,
121
+ input: Input2,
122
+ output: Output2,
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 Plugin22 = {
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: name3,
142
+ action: name2,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin22 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID18.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 !== name3 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name2 || !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[name3];
233
+ const tool = event.tools[name2];
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(name3, 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(name2, 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 { name3, Input3, Output3, description2, Plugin22, exports_subagent };
256
+ export { name2, Input2, Output2, description2, Plugin37, exports_subagent };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-lifecycle-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service77
6
- } from "./location-lifecycle-910czmnb.js";
5
+ Service78
6
+ } from "./tool-1aq3p2fw.js";
7
7
  import {
8
- Service54
9
- } from "./location-lifecycle-n0qpbrq0.js";
8
+ Service57
9
+ } from "./tool-9qqkxast.js";
10
10
  import {
11
- Service44
12
- } from "./location-lifecycle-gbvvt2rd.js";
11
+ Service24
12
+ } from "./tool-kn319mpc.js";
13
13
  import {
14
14
  observe2
15
- } from "./location-lifecycle-qsdy395h.js";
15
+ } from "./tool-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./location-lifecycle-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin18
24
+ Plugin: () => Plugin15
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin18 = define({
30
+ var Plugin15 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service54;
34
- const location = yield* Service77;
33
+ const config = yield* Service57;
34
+ const location = yield* Service78;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service44;
36
+ const worktrees = yield* Service24;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin18 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin18, exports_worktree };
51
+ export { Plugin15, exports_worktree };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./location-lifecycle-38571c3c.js";
3
+ } from "./tool-vjbhnzss.js";
4
4
  import {
5
- Service56,
6
- Event11
7
- } from "./location-lifecycle-wrqhzqe6.js";
5
+ Service59,
6
+ Event12
7
+ } from "./tool-g5gfjdv3.js";
8
8
  import {
9
9
  __export
10
- } from "./location-lifecycle-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin21,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin21 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service56;
24
+ const wellknown = yield* Service59;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin21 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin21, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-lifecycle-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Info13
6
- } from "./location-lifecycle-cavr175a.js";
5
+ Info15
6
+ } from "./tool-magykp64.js";
7
7
  import {
8
8
  __export
9
- } from "./location-lifecycle-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info12
15
+ Info: () => Info14
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info13)
47
+ permission: Schema.optional(Info15)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info12, exports_agent3 };
74
+ export { Info14, exports_agent3 };