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

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 (781) 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 +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{tool-cvskdek3.js → skill-01mnn7z9.js} +10 -10
  8. package/dist/chunks/{tool-62qykytd.js → skill-03r07v8r.js} +29 -29
  9. package/dist/chunks/{tool-nbfyeqag.js → skill-0950byjh.js} +12 -12
  10. package/dist/chunks/{tool-mmds1kx3.js → skill-0abth3v5.js} +4 -4
  11. package/dist/chunks/{tool-5qgdse83.js → skill-0czqcgkk.js} +30 -30
  12. package/dist/chunks/{tool-m0nk61gg.js → skill-0h9agxwz.js} +11 -11
  13. package/dist/chunks/{tool-as7cf5zz.js → skill-0me0fk48.js} +4 -4
  14. package/dist/chunks/{tool-a1yrwfg3.js → skill-0nyf8g8a.js} +10 -10
  15. package/dist/chunks/{tool-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{tool-49exe669.js → skill-0ryd0fps.js} +5 -5
  17. package/dist/chunks/{tool-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{tool-h19eb42x.js → skill-19a83w2j.js} +27 -27
  19. package/dist/chunks/{tool-7frfzztj.js → skill-1baywqc3.js} +31 -35
  20. package/dist/chunks/{tool-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-0b5fx6ax.js → skill-1kc6jmgc.js} +36 -36
  22. package/dist/chunks/{tool-eymvbjgc.js → skill-1p60wd67.js} +23 -23
  23. package/dist/chunks/{tool-g6yfr6ja.js → skill-1pxz8ven.js} +5 -5
  24. package/dist/chunks/{tool-msz05mbq.js → skill-204qze95.js} +50 -50
  25. package/dist/chunks/{tool-v50kha1c.js → skill-21ndh2pa.js} +28 -28
  26. package/dist/chunks/{tool-zm4ejasx.js → skill-24zweb5e.js} +8 -8
  27. package/dist/chunks/{tool-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{tool-axvnfcqc.js → skill-2aq8k941.js} +11 -11
  29. package/dist/chunks/{tool-s9d5z7w1.js → skill-2e0qgnqs.js} +16 -16
  30. package/dist/chunks/{tool-7jm88nzg.js → skill-2tk69wqd.js} +11 -11
  31. package/dist/chunks/{tool-3gv4e0z7.js → skill-313f7sf4.js} +13 -13
  32. package/dist/chunks/{tool-h2b79v29.js → skill-3cegwx68.js} +2 -2
  33. package/dist/chunks/{tool-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{tool-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{tool-2ptc9fn1.js → skill-3m9cba8p.js} +10 -10
  36. package/dist/chunks/{tool-3aqn2ebh.js → skill-3nfjvcck.js} +21 -21
  37. package/dist/chunks/{tool-5v4tq1pr.js → skill-3rm7g93w.js} +2 -2
  38. package/dist/chunks/{tool-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{tool-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{tool-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{tool-0kq1vnt2.js → skill-42jk16ft.js} +18 -18
  42. package/dist/chunks/{tool-ppkw63qq.js → skill-44j8xkc5.js} +24 -24
  43. package/dist/chunks/{tool-my4zabxr.js → skill-4a7gy6vj.js} +3 -3
  44. package/dist/chunks/{tool-z7yfvg9g.js → skill-4d2zrdm3.js} +9 -9
  45. package/dist/chunks/{tool-m08rtf02.js → skill-4p0s9fw7.js} +13 -13
  46. package/dist/chunks/{tool-d6efkfyd.js → skill-4r5jmef3.js} +9 -9
  47. package/dist/chunks/{tool-7t6j2s4e.js → skill-4s49zy95.js} +60 -60
  48. package/dist/chunks/{tool-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{tool-3yysf8sw.js → skill-54f8996e.js} +26 -26
  50. package/dist/chunks/{tool-54ma36ye.js → skill-54ma36ye.js} +1 -1
  51. package/dist/chunks/{tool-5b84avn1.js → skill-56b3zt1s.js} +8 -8
  52. package/dist/chunks/{tool-mfqp6xfm.js → skill-56gdpj1q.js} +6 -6
  53. package/dist/chunks/{tool-0xq2rqz7.js → skill-57mzwree.js} +12 -12
  54. package/dist/chunks/{tool-zxfp7yka.js → skill-5bfybkpt.js} +4 -4
  55. package/dist/chunks/{tool-5daktx2q.js → skill-5daktx2q.js} +1 -1
  56. package/dist/chunks/{tool-vk2pwt7v.js → skill-5ht3dsc4.js} +84 -84
  57. package/dist/chunks/{tool-hr7m8caa.js → skill-5j1ay8ry.js} +8 -8
  58. package/dist/chunks/{tool-xph0hbvx.js → skill-5mz8kqs7.js} +5 -5
  59. package/dist/chunks/{tool-xxndcd6m.js → skill-5qwkxp89.js} +4 -4
  60. package/dist/chunks/{tool-8ty7ydja.js → skill-5rp263n0.js} +147 -147
  61. package/dist/chunks/{tool-vrwhxzcp.js → skill-5sfmmyr7.js} +11 -11
  62. package/dist/chunks/{tool-cjp93f4e.js → skill-5szw1sth.js} +6 -6
  63. package/dist/chunks/{tool-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{tool-adzfz996.js → skill-5v0ektps.js} +3 -3
  65. package/dist/chunks/{tool-m72e62eq.js → skill-5zmtd2z9.js} +26 -26
  66. package/dist/chunks/{tool-s4ebpbt7.js → skill-64qxmar2.js} +23 -23
  67. package/dist/chunks/{tool-669tq793.js → skill-669tq793.js} +1 -1
  68. package/dist/chunks/{tool-j3s83qj1.js → skill-66vha7qm.js} +4 -4
  69. package/dist/chunks/{tool-6kd4vhpq.js → skill-6bkgq6v1.js} +10 -10
  70. package/dist/chunks/{tool-2wh4yf7q.js → skill-6djkftks.js} +16 -16
  71. package/dist/chunks/{tool-bsjtdjkq.js → skill-6nxrbw4w.js} +6 -6
  72. package/dist/chunks/{tool-qgj7yrzy.js → skill-6sn5cjnr.js} +21 -21
  73. package/dist/chunks/{tool-x6xy5z7t.js → skill-72p3wnsc.js} +3 -3
  74. package/dist/chunks/{tool-wy4z08by.js → skill-78bdb58w.js} +16 -16
  75. package/dist/chunks/{tool-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{tool-cjhbag6k.js → skill-7fxvqdxk.js} +8 -8
  77. package/dist/chunks/{tool-9g3b7e36.js → skill-7kq9c397.js} +39 -39
  78. package/dist/chunks/{tool-m7zns4k5.js → skill-7q4asrqv.js} +11 -11
  79. package/dist/chunks/{tool-6kcqjz9a.js → skill-7s9zzz11.js} +31 -31
  80. package/dist/chunks/{tool-esqy5ctd.js → skill-7znzy1a8.js} +11 -11
  81. package/dist/chunks/{tool-1dvck2a7.js → skill-84h8c373.js} +2 -2
  82. package/dist/chunks/{tool-84txncab.js → skill-84txncab.js} +1 -1
  83. package/dist/chunks/{tool-srq8z0b0.js → skill-8a6ws7jr.js} +9 -9
  84. package/dist/chunks/{tool-t9t0jv1h.js → skill-8acbzghs.js} +33 -33
  85. package/dist/chunks/{tool-8w6rjg68.js → skill-8apeemca.js} +6 -6
  86. package/dist/chunks/{tool-cbpj3q1n.js → skill-8cngkqqv.js} +14 -14
  87. package/dist/chunks/{tool-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{tool-zwekp0gr.js → skill-8etyx8dn.js} +11 -11
  89. package/dist/chunks/{tool-kn319mpc.js → skill-8fxtk4vp.js} +14 -14
  90. package/dist/chunks/{tool-4x25yqhm.js → skill-8me93e25.js} +44 -44
  91. package/dist/chunks/{tool-btvs9fn2.js → skill-8ndffx4j.js} +7 -7
  92. package/dist/chunks/{tool-50hs44sv.js → skill-8xty08kc.js} +11 -11
  93. package/dist/chunks/{tool-mhtvex29.js → skill-8y2amx6f.js} +16 -16
  94. package/dist/chunks/{tool-6j114ajh.js → skill-8zfn737k.js} +1 -1
  95. package/dist/chunks/{tool-gwys9v9v.js → skill-956jqvkw.js} +4 -4
  96. package/dist/chunks/{tool-g461mq4r.js → skill-97fg007x.js} +11 -11
  97. package/dist/chunks/{tool-x9rf5mb3.js → skill-9epfchn5.js} +25 -25
  98. package/dist/chunks/{tool-xdyxb27p.js → skill-9ewbjpe3.js} +29 -29
  99. package/dist/chunks/{tool-hfm4ryn4.js → skill-9g5z0wv0.js} +35 -35
  100. package/dist/chunks/{tool-kmgma77j.js → skill-9gejvy20.js} +5 -5
  101. package/dist/chunks/{tool-2mmss7gn.js → skill-9k1rebz0.js} +18 -18
  102. package/dist/chunks/{tool-gmmdfr2g.js → skill-9mfnyqzm.js} +8 -8
  103. package/dist/chunks/{tool-qkdpfp31.js → skill-9r817s3s.js} +22 -22
  104. package/dist/chunks/{tool-a9tf878g.js → skill-9s8cx701.js} +314 -314
  105. package/dist/chunks/{tool-zgc7nk2q.js → skill-a97s5rsz.js} +15 -15
  106. package/dist/chunks/{tool-aaet6srn.js → skill-aaet6srn.js} +2 -2
  107. package/dist/chunks/{tool-29vra2hc.js → skill-aw6zf7vf.js} +27 -27
  108. package/dist/chunks/{tool-8563jwpe.js → skill-az5709rs.js} +11 -11
  109. package/dist/chunks/{tool-v32h9fqj.js → skill-b1cd8vzz.js} +13 -13
  110. package/dist/chunks/{tool-ycmwc3zb.js → skill-b2zsh4zx.js} +23 -23
  111. package/dist/chunks/{tool-81j4nbmx.js → skill-b38ner4f.js} +20 -20
  112. package/dist/chunks/{tool-ncnm8wen.js → skill-b69jv39p.js} +1 -1
  113. package/dist/chunks/{tool-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{tool-8n3m7eek.js → skill-btrb2kn9.js} +12 -12
  115. package/dist/chunks/{tool-r1n3g566.js → skill-bv4yyc6x.js} +30 -30
  116. package/dist/chunks/{tool-b674v2dg.js → skill-bx0gyb4h.js} +5 -5
  117. package/dist/chunks/{tool-dygb53dv.js → skill-bx9egp8a.js} +8 -8
  118. package/dist/chunks/{tool-zab19jja.js → skill-c8jj867k.js} +9 -9
  119. package/dist/chunks/{tool-s0596caj.js → skill-ccgffmts.js} +9 -9
  120. package/dist/chunks/{tool-cfsekr6v.js → skill-cfsekr6v.js} +2 -2
  121. package/dist/chunks/{tool-zah869sz.js → skill-cksh6vzh.js} +27 -27
  122. package/dist/chunks/{tool-rj37jpce.js → skill-d5h7byfj.js} +16 -16
  123. package/dist/chunks/{tool-f8yfhtys.js → skill-d8d1xeyb.js} +15 -15
  124. package/dist/chunks/{tool-g78cewbc.js → skill-d8qf9njz.js} +42 -42
  125. package/dist/chunks/{tool-0xn4eefx.js → skill-dmgq9rsa.js} +27 -27
  126. package/dist/chunks/{tool-dmqcgk4z.js → skill-dmqcgk4z.js} +2 -2
  127. package/dist/chunks/{tool-sxysp3dr.js → skill-dx8zaj32.js} +20 -20
  128. package/dist/chunks/{tool-fb0xn3fq.js → skill-e3tvp305.js} +17 -17
  129. package/dist/chunks/{tool-tv3z232p.js → skill-e8fwf20g.js} +19 -19
  130. package/dist/chunks/{tool-7xersvtf.js → skill-e9t4d1jv.js} +11 -11
  131. package/dist/chunks/{tool-21x7xb6a.js → skill-ebpzjdje.js} +44 -44
  132. package/dist/chunks/{tool-17qe7d48.js → skill-ecg5vx20.js} +31 -31
  133. package/dist/chunks/{tool-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{tool-bsdt1m9e.js → skill-emv93qq1.js} +7 -7
  135. package/dist/chunks/{tool-bzjcg73h.js → skill-ep9add8h.js} +17 -17
  136. package/dist/chunks/{tool-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{tool-rszfxwsg.js → skill-eye7bpsw.js} +3 -3
  138. package/dist/chunks/{tool-gnmk0d0j.js → skill-f1x83a2j.js} +17 -17
  139. package/dist/chunks/{tool-zav06jzw.js → skill-f73rjn58.js} +4 -4
  140. package/dist/chunks/{tool-71az546q.js → skill-f75zav2x.js} +2 -2
  141. package/dist/chunks/{tool-0bgxsef1.js → skill-f9bwzz6b.js} +4 -4
  142. package/dist/chunks/{tool-pyfenggm.js → skill-fb37g870.js} +14 -14
  143. package/dist/chunks/{tool-abe982cs.js → skill-fermrrd4.js} +11 -11
  144. package/dist/chunks/{tool-59nf0k73.js → skill-fhqaa1bv.js} +17 -17
  145. package/dist/chunks/{tool-kq9ercpw.js → skill-fn41217q.js} +11 -11
  146. package/dist/chunks/{tool-hdab2k61.js → skill-fpq9acqp.js} +6 -6
  147. package/dist/chunks/{tool-pt3xaqgj.js → skill-frz8dvr7.js} +8 -8
  148. package/dist/chunks/{tool-kearqegd.js → skill-ft8zwvba.js} +13 -13
  149. package/dist/chunks/{tool-jm32gaew.js → skill-ftyasa8y.js} +16 -16
  150. package/dist/chunks/{tool-fvz0khbb.js → skill-fwmeava6.js} +3 -3
  151. package/dist/chunks/{tool-s027k0rf.js → skill-fwszetqs.js} +16 -16
  152. package/dist/chunks/{tool-7w0c1qzs.js → skill-fwx8k2v9.js} +16 -16
  153. package/dist/chunks/{tool-k2nxqkde.js → skill-g4nxgwtw.js} +20 -20
  154. package/dist/chunks/{tool-g5w8qwbj.js → skill-g5w8qwbj.js} +1 -1
  155. package/dist/chunks/{tool-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{tool-kq17zeba.js → skill-ghjbhsdc.js} +13 -13
  157. package/dist/chunks/{tool-qxmaq0sm.js → skill-gn2hfjap.js} +8 -8
  158. package/dist/chunks/{tool-4p0zdh5f.js → skill-gsjnmz30.js} +5 -5
  159. package/dist/chunks/{tool-gc9bwprx.js → skill-gts7m20h.js} +13 -13
  160. package/dist/chunks/{tool-54fnz2xn.js → skill-h4z318tq.js} +30 -28
  161. package/dist/chunks/{tool-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{tool-gfdr60m0.js → skill-hb7naxz9.js} +10 -10
  163. package/dist/chunks/{tool-hdkng2sj.js → skill-hdkng2sj.js} +2 -2
  164. package/dist/chunks/{tool-a2z3evab.js → skill-hdnns55v.js} +3 -3
  165. package/dist/chunks/{tool-aydwcdnc.js → skill-hh6grysg.js} +4 -4
  166. package/dist/chunks/{tool-bw6g5bvn.js → skill-htssgadd.js} +16 -16
  167. package/dist/chunks/{tool-stdkdhj9.js → skill-hyakt2q8.js} +9 -9
  168. package/dist/chunks/{tool-6g22x1cx.js → skill-hzjscxj6.js} +20 -20
  169. package/dist/chunks/{tool-m406kgbt.js → skill-j0gnjy6r.js} +11 -11
  170. package/dist/chunks/{tool-j56e64zr.js → skill-j56e64zr.js} +1 -1
  171. package/dist/chunks/{tool-p8fxgfb9.js → skill-j5hz68na.js} +3 -3
  172. package/dist/chunks/{tool-7wyknn3n.js → skill-j65xbngf.js} +44 -44
  173. package/dist/chunks/{tool-c93yrxa6.js → skill-jaxce8wn.js} +15 -15
  174. package/dist/chunks/{tool-ycvgqbex.js → skill-jd3ch19c.js} +5 -5
  175. package/dist/chunks/{tool-y6mhz57t.js → skill-jewzahs7.js} +4 -4
  176. package/dist/chunks/skill-jqh9b0xq.js +18 -0
  177. package/dist/chunks/{tool-k1gkpfdk.js → skill-k1gkpfdk.js} +1 -1
  178. package/dist/chunks/{tool-0gc3e589.js → skill-k3d6nw88.js} +23 -23
  179. package/dist/chunks/{tool-9e5bzkjp.js → skill-kb9j3d72.js} +3 -3
  180. package/dist/chunks/{tool-a7r9jb6t.js → skill-kj770y4x.js} +25 -25
  181. package/dist/chunks/{tool-kjw8fq0d.js → skill-kk15n38j.js} +45 -45
  182. package/dist/chunks/{tool-130d0t9b.js → skill-krn7pgx5.js} +30 -30
  183. package/dist/chunks/{tool-qxz2f3rt.js → skill-krv2mqyr.js} +11 -11
  184. package/dist/chunks/{tool-qkdffjrw.js → skill-ktgztcgk.js} +17 -17
  185. package/dist/chunks/{tool-j32e3heq.js → skill-kyvayzm9.js} +172 -172
  186. package/dist/chunks/{tool-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{tool-q0bsvjra.js → skill-m7qqtvvt.js} +48 -48
  188. package/dist/chunks/{tool-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{tool-e91ztryz.js → skill-mewbwgnd.js} +9 -9
  190. package/dist/chunks/{tool-bydnjh3t.js → skill-mhcp204s.js} +9 -9
  191. package/dist/chunks/{tool-31aerb0s.js → skill-mhpkdsge.js} +16 -16
  192. package/dist/chunks/{tool-q33hc3az.js → skill-mj9ayqyd.js} +12 -4
  193. package/dist/chunks/{tool-sgwh5nyn.js → skill-mm5kxf07.js} +8 -8
  194. package/dist/chunks/{tool-0fewaqv1.js → skill-mnwcrtbx.js} +9 -9
  195. package/dist/chunks/{tool-mtrbqqrq.js → skill-mtrbqqrq.js} +5 -5
  196. package/dist/chunks/{tool-r5x6zcsm.js → skill-mvfsc1pv.js} +3 -3
  197. package/dist/chunks/{tool-105phwgw.js → skill-mx461553.js} +22 -22
  198. package/dist/chunks/{tool-x661k3y3.js → skill-mxvxcxwy.js} +4 -4
  199. package/dist/chunks/{tool-hbftnxjp.js → skill-my61f61y.js} +5 -5
  200. package/dist/chunks/{tool-w5h262jq.js → skill-n30ttybe.js} +12 -12
  201. package/dist/chunks/{tool-544bd9dc.js → skill-n90naw0r.js} +12 -12
  202. package/dist/chunks/{tool-30ddhjt6.js → skill-nk433a2k.js} +10 -10
  203. package/dist/chunks/{tool-1acjjqhc.js → skill-nkf980df.js} +4 -4
  204. package/dist/chunks/{tool-1j8zt5zt.js → skill-nx5bgegm.js} +5 -5
  205. package/dist/chunks/{tool-dpkg50ah.js → skill-nxm207yx.js} +4 -4
  206. package/dist/chunks/{tool-hnh533wc.js → skill-p7eqnh0e.js} +11 -11
  207. package/dist/chunks/{tool-cmwkp3r5.js → skill-pa8pe2x7.js} +8 -8
  208. package/dist/chunks/{tool-hqn60twj.js → skill-pb4687ty.js} +5 -5
  209. package/dist/chunks/{tool-mxp2wkr3.js → skill-pce31vy2.js} +23 -23
  210. package/dist/chunks/{tool-bmhb8y01.js → skill-pe508z78.js} +22 -22
  211. package/dist/chunks/{tool-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{tool-4vp46et4.js → skill-pk6g247z.js} +6 -6
  213. package/dist/chunks/{tool-pknna89w.js → skill-pknna89w.js} +1 -1
  214. package/dist/chunks/{tool-1sxecr9b.js → skill-psybf3th.js} +9 -9
  215. package/dist/chunks/{tool-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
  216. package/dist/chunks/{tool-2k8khapm.js → skill-qgn6gcr1.js} +5 -5
  217. package/dist/chunks/{tool-djszqvmq.js → skill-qmqgtz8f.js} +9 -9
  218. package/dist/chunks/{tool-sbtfeqxe.js → skill-qmxdhjst.js} +27 -27
  219. package/dist/chunks/{tool-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
  220. package/dist/chunks/{tool-qsdy395h.js → skill-qsdy395h.js} +1 -1
  221. package/dist/chunks/{tool-f49rpt0h.js → skill-qweyhg8k.js} +20 -20
  222. package/dist/chunks/{tool-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
  223. package/dist/chunks/{tool-erezfsje.js → skill-rb99ds0a.js} +17 -17
  224. package/dist/chunks/{tool-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{tool-x05pqzzn.js → skill-rjeax7xv.js} +15 -15
  226. package/dist/chunks/{tool-1gpb38yh.js → skill-rjg4p9d1.js} +6 -6
  227. package/dist/chunks/{tool-6rm5yzkt.js → skill-rk7s9xkn.js} +4 -4
  228. package/dist/chunks/{tool-1aq3p2fw.js → skill-rm4bhxsp.js} +5 -5
  229. package/dist/chunks/{tool-h67113sj.js → skill-rrjzfwx8.js} +24 -24
  230. package/dist/chunks/{tool-t6yz5g0a.js → skill-rwrdjr4d.js} +18 -18
  231. package/dist/chunks/{tool-n0pp1gq0.js → skill-s0wvxc5c.js} +26 -26
  232. package/dist/chunks/{tool-ahe9zwyk.js → skill-s1mfz8gf.js} +8 -8
  233. package/dist/chunks/{tool-g5gfjdv3.js → skill-s3n2d5f4.js} +18 -18
  234. package/dist/chunks/{tool-ew325twr.js → skill-s5gzpmhw.js} +82 -82
  235. package/dist/chunks/{tool-7aqqc3we.js → skill-s6ba26vb.js} +3 -3
  236. package/dist/chunks/{tool-ytj3j3zq.js → skill-t1gchkmx.js} +32 -32
  237. package/dist/chunks/{tool-83xtr5qh.js → skill-t68szqhq.js} +29 -29
  238. package/dist/chunks/{tool-6hh8tjw2.js → skill-t6vsspdg.js} +7 -7
  239. package/dist/chunks/{tool-bvx99qdh.js → skill-t7x7w9dx.js} +7 -7
  240. package/dist/chunks/{tool-p7sh5qae.js → skill-t87qf2za.js} +28 -28
  241. package/dist/chunks/{tool-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{tool-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{tool-tdstcens.js → skill-tdstcens.js} +1 -1
  244. package/dist/chunks/{tool-rztnjz0s.js → skill-tp6x8zae.js} +7 -7
  245. package/dist/chunks/{tool-ty1e6sjz.js → skill-tpf861g3.js} +15 -15
  246. package/dist/chunks/{tool-9zkmnpa0.js → skill-tttafqsw.js} +11 -11
  247. package/dist/chunks/{tool-7nztcbt0.js → skill-txmzhkwh.js} +11 -11
  248. package/dist/chunks/{tool-9qqkxast.js → skill-v6f9c3ds.js} +40 -40
  249. package/dist/chunks/{tool-veqvce7d.js → skill-veqvce7d.js} +1 -1
  250. package/dist/chunks/{tool-mnhe0asj.js → skill-vg3fw4mm.js} +17 -17
  251. package/dist/chunks/{tool-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{tool-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{tool-drnf6xwf.js → skill-w0tfgnf2.js} +2 -2
  254. package/dist/chunks/{tool-95jzr6md.js → skill-w13frx98.js} +8 -8
  255. package/dist/chunks/{tool-8fejdm01.js → skill-w17qbrxs.js} +4 -4
  256. package/dist/chunks/{tool-3maez1s4.js → skill-w1d288hs.js} +11 -11
  257. package/dist/chunks/{tool-thye16kd.js → skill-w1gsm6w1.js} +1 -1
  258. package/dist/chunks/{tool-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{tool-jmh888fr.js → skill-wb9wmhgc.js} +10 -10
  260. package/dist/chunks/{tool-wd87259q.js → skill-wd87259q.js} +1 -1
  261. package/dist/chunks/{tool-magykp64.js → skill-wdfkj30x.js} +4 -4
  262. package/dist/chunks/{tool-vjbhnzss.js → skill-wh3fh10e.js} +4 -4
  263. package/dist/chunks/{tool-rhjbct0v.js → skill-wv396vej.js} +8 -8
  264. package/dist/chunks/{tool-xxrhtzpv.js → skill-wwgwrvz8.js} +24 -24
  265. package/dist/chunks/{tool-8y7m5rtw.js → skill-x11epez3.js} +23 -23
  266. package/dist/chunks/{tool-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/skill-x9ntbx8t.js +26 -0
  268. package/dist/chunks/{tool-0f5zvaaa.js → skill-xv6fnqjt.js} +12 -12
  269. package/dist/chunks/{tool-vf6n3kbk.js → skill-y19gyp96.js} +23 -23
  270. package/dist/chunks/{tool-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{tool-q0pz77ry.js → skill-y7qb863k.js} +26 -26
  272. package/dist/chunks/{tool-k82aj4rb.js → skill-yah7n84t.js} +3 -3
  273. package/dist/chunks/{tool-zsr4wwhv.js → skill-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{tool-ywr1xztk.js → skill-yy74e5r0.js} +29 -29
  275. package/dist/chunks/{tool-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{tool-34y0nsfd.js → skill-z2ga4bmk.js} +7 -7
  277. package/dist/chunks/{tool-vsja1s7z.js → skill-z8hqvw9j.js} +27 -27
  278. package/dist/chunks/{tool-6ckhwffg.js → skill-z9e6h83k.js} +9 -9
  279. package/dist/chunks/{tool-x5cr8ne6.js → skill-zmm2h1v7.js} +9 -9
  280. package/dist/chunks/{tool-3ffx6953.js → skill-znmfwznf.js} +5 -5
  281. package/dist/chunks/{tool-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{tool-drtsxde7.js → skill-zx605zr2.js} +5 -5
  283. package/dist/chunks/{tool-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +214 -214
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +101 -101
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -355
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -352
  462. package/dist/location.js +83 -83
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +105 -105
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +99 -99
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +1 -1
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -327
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +113 -113
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -156
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -342
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +120 -120
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +92 -92
  679. package/package.json +8 -9
  680. package/dist/chunks/tool-9ahwsrv3.js +0 -26
  681. package/dist/chunks/tool-f81tjggh.js +0 -18
  682. package/dist/chunks/tool-yrhqyw5v.js +0 -15
  683. package/dist/plugin/provider/venice.js +0 -7
  684. package/dist/types/plugin/provider/venice.d.ts +0 -1
  685. /package/dist/chunks/{tool-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{tool-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{tool-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{tool-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{tool-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{tool-24dcb14g.js → skill-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{tool-2710q6r3.js → skill-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{tool-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{tool-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{tool-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{tool-359p4xyc.js → skill-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{tool-3asan66x.js → skill-3asan66x.js} +0 -0
  697. /package/dist/chunks/{tool-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{tool-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{tool-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{tool-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{tool-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{tool-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{tool-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{tool-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{tool-53557ph1.js → skill-53557ph1.js} +0 -0
  706. /package/dist/chunks/{tool-550bvhaj.js → skill-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{tool-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{tool-6prwharc.js → skill-6prwharc.js} +0 -0
  709. /package/dist/chunks/{tool-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{tool-7m9af43g.js → skill-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{tool-822emrt2.js → skill-822emrt2.js} +0 -0
  712. /package/dist/chunks/{tool-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{tool-8n3pysct.js → skill-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{tool-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{tool-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{tool-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{tool-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{tool-af5trqkr.js → skill-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{tool-afrmfg78.js → skill-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{tool-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{tool-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{tool-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{tool-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{tool-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{tool-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{tool-d9fn303g.js → skill-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{tool-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{tool-dajrwvna.js → skill-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{tool-dap0rakb.js → skill-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{tool-df08tz66.js → skill-df08tz66.js} +0 -0
  731. /package/dist/chunks/{tool-dy18nga0.js → skill-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{tool-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{tool-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{tool-ec1grn59.js → skill-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{tool-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{tool-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{tool-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{tool-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{tool-faypxj3z.js → skill-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{tool-fd410y7t.js → skill-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{tool-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{tool-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{tool-g86h250q.js → skill-g86h250q.js} +0 -0
  744. /package/dist/chunks/{tool-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{tool-gftt206x.js → skill-gftt206x.js} +0 -0
  746. /package/dist/chunks/{tool-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{tool-hk9envan.js → skill-hk9envan.js} +0 -0
  748. /package/dist/chunks/{tool-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{tool-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{tool-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{tool-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{tool-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{tool-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{tool-mp448xyj.js → skill-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{tool-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{tool-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{tool-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{tool-njntx4h6.js → skill-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{tool-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{tool-q74kybfr.js → skill-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{tool-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{tool-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{tool-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{tool-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{tool-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{tool-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{tool-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{tool-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{tool-w803qqfp.js → skill-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{tool-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{tool-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{tool-wtztk69x.js → skill-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{tool-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{tool-x61499pn.js → skill-x61499pn.js} +0 -0
  775. /package/dist/chunks/{tool-y44na4kk.js → skill-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{tool-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{tool-y8f7s663.js → skill-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{tool-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{tool-ym463w8f.js → skill-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{tool-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{tool-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make22,
5
5
  diffByKey2
6
- } from "./tool-rhjbct0v.js";
6
+ } from "./skill-wv396vej.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./tool-0b5fx6ax.js";
9
+ } from "./skill-1kc6jmgc.js";
10
10
  import {
11
- Service43,
12
- node46
13
- } from "./tool-4x25yqhm.js";
11
+ Service35,
12
+ node39
13
+ } from "./skill-8me93e25.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./tool-xdyxb27p.js";
16
+ name13
17
+ } from "./skill-9ewbjpe3.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-9rqn6x4v.js";
20
+ } from "./skill-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service35,
27
- layer: () => layer12,
28
- node: () => node38
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service27,
27
+ layer: () => layer11,
28
+ node: () => node30
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service35 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service27 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer12 = Layer.effect(Service35, Effect.gen(function* () {
67
- const mcp = yield* Service43;
68
- return Service35.of({
66
+ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
67
+ const mcp = yield* Service35;
68
+ return Service27.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make22({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node38 = makeLocationNode({ service: Service35, layer: layer12, deps: [node46] });
99
+ var node30 = makeLocationNode({ service: Service27, layer: layer11, deps: [node39] });
100
100
 
101
- export { Service35, layer12, node38, exports_instructions5 };
101
+ export { Service27, layer11, node30, exports_instructions4 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-m7zns4k5.js";
3
+ } from "./skill-7q4asrqv.js";
4
4
  import {
5
5
  Service83
6
- } from "./tool-vjbhnzss.js";
6
+ } from "./skill-wh3fh10e.js";
7
7
  import {
8
- ID17,
8
+ ID15,
9
9
  OAuth3,
10
- Event20,
11
- Service81
12
- } from "./tool-5qgdse83.js";
10
+ Event17,
11
+ Service75
12
+ } from "./skill-0czqcgkk.js";
13
13
  import {
14
14
  key2
15
- } from "./tool-x661k3y3.js";
15
+ } from "./skill-mxvxcxwy.js";
16
16
  import {
17
- ID13,
17
+ ID14,
18
18
  MethodID2
19
- } from "./tool-130d0t9b.js";
19
+ } from "./skill-krn7pgx5.js";
20
20
  import {
21
21
  which2
22
- } from "./tool-qaymkmh1.js";
22
+ } from "./skill-qaymkmh1.js";
23
23
  import {
24
- ID12,
25
- Service75
26
- } from "./tool-54fnz2xn.js";
24
+ ID13,
25
+ Service73
26
+ } from "./skill-h4z318tq.js";
27
27
  import {
28
- ID11
29
- } from "./tool-vsja1s7z.js";
28
+ ID12
29
+ } from "./skill-z8hqvw9j.js";
30
30
  import {
31
31
  iife2
32
- } from "./tool-1kg9ymc8.js";
32
+ } from "./skill-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./tool-cjp93f4e.js";
35
+ } from "./skill-5szw1sth.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make7(endpoints = {
70
+ function make9(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID12.azure);
77
+ const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service81;
81
- const providers = yield* Service75;
80
+ const credentials = yield* Service75;
81
+ const providers = yield* Service73;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make7(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID12.azure,
119
+ integrationID: ID13.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID12.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make7(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID12.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make7(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID12.azure))?.settings;
195
+ const settings = (yield* providers.get(ID13.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make7(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make7(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make7(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID12.azure);
253
+ const item = evt.get(ID13.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make7(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make7(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID12.azure);
276
+ const catalog = models.list(ID13.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID12.azure, model.id);
280
+ models.remove(ID13.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID12.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make7(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID12.azure)
301
+ if (evt.model.providerID !== ID13.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make7(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID12.azure });
310
+ }), { providerID: ID13.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID12.azure)
312
+ if (evt.model.providerID !== ID13.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make7(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID12.azure });
321
+ }), { providerID: ID13.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make7();
325
+ var AzurePlugin2 = make9();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID11.make(deployment.name.toLowerCase());
355
+ const id = ID12.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID11.make(deployment.name),
359
+ modelID: ID12.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make7, AzurePlugin2 };
381
+ export { make9, AzurePlugin2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./tool-vjbhnzss.js";
4
+ } from "./skill-wh3fh10e.js";
5
5
  import {
6
- Key4,
7
- Service81,
8
- node85
9
- } from "./tool-5qgdse83.js";
6
+ Key3,
7
+ Service75,
8
+ node79
9
+ } from "./skill-0czqcgkk.js";
10
10
  import {
11
11
  create3
12
- } from "./tool-rdw6cm16.js";
12
+ } from "./skill-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./tool-x661k3y3.js";
15
+ } from "./skill-mxvxcxwy.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./tool-k2nxqkde.js";
19
+ } from "./skill-g4nxgwtw.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./skill-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event17,
38
- ID: () => ID13,
39
- Info: () => Info22,
37
+ Event: () => Event16,
38
+ ID: () => ID14,
39
+ Info: () => Info21,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service76,
47
- node: () => node80
46
+ Service: () => Service74,
47
+ node: () => node78
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event17 } from "@opencode/schema/integration";
70
- var ID13 = Integration.ID;
69
+ import { Event as Event16 } from "@opencode/schema/integration";
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info22 = Integration.Info;
78
+ var Info21 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID13,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service76 extends Context.Service()("@opencode/Integration") {
107
+ class Service74 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service76, Effect.gen(function* () {
113
- const credentials = yield* Service81;
112
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
113
+ const credentials = yield* Service75;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info22.make({
210
+ const project = (entry, connections) => Info21.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key4.make({ type: "key", key: exit.value })
297
+ value: Key3.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service76.of({
443
+ return Service74.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key4.make({ type: "key", key }) : undefined;
465
+ return key ? Key3.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key4.make({
498
+ value: Key3.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node80 = makeLocationNode({
603
- service: Service76,
602
+ var node78 = makeLocationNode({
603
+ service: Service74,
604
604
  layer,
605
- deps: [node85, node87, AppProcess.node]
605
+ deps: [node79, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event16 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service77
3
- } from "./tool-k2nxqkde.js";
2
+ Service76
3
+ } from "./skill-g4nxgwtw.js";
4
4
  import {
5
- Service63
6
- } from "./tool-0b5fx6ax.js";
5
+ Service64
6
+ } from "./skill-1kc6jmgc.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./skill-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service77;
57
- const permission = yield* Service63;
56
+ const forms = yield* Service76;
57
+ const permission = yield* Service64;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./tool-qgj7yrzy.js";
2
+ ID10
3
+ } from "./skill-6sn5cjnr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-z5v4ffb3.js";
6
+ } from "./skill-z5v4ffb3.js";
7
7
  import {
8
- Info14
9
- } from "./tool-gmmdfr2g.js";
8
+ Info6
9
+ } from "./skill-9mfnyqzm.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./tool-0bgxsef1.js";
12
+ } from "./skill-f9bwzz6b.js";
13
13
  import {
14
14
  latest2,
15
- Service57
16
- } from "./tool-9qqkxast.js";
15
+ Service42
16
+ } from "./skill-v6f9c3ds.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./tool-5daktx2q.js";
19
+ } from "./skill-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./tool-9rqn6x4v.js";
22
+ } from "./skill-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin20
28
+ Plugin: () => Plugin21
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info6);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin20 = define({
47
+ var Plugin21 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service57;
50
+ const config = yield* Service42;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin20 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin20, exports_agent };
164
+ export { Plugin21, exports_agent };