@opencode/core 0.0.0-dev-19959 → 0.0.0-dev-19961

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{worktree-g0jbnnkv.js → tool-052jad2t.js} +43 -43
  8. package/dist/chunks/{worktree-mfhfdr54.js → tool-06dxphr1.js} +4 -4
  9. package/dist/chunks/{worktree-njzmkv4t.js → tool-0dzbpygc.js} +22 -22
  10. package/dist/chunks/{worktree-5pdqrmgg.js → tool-0h7zqhk1.js} +13 -13
  11. package/dist/chunks/{worktree-dg6kkwqt.js → tool-0mw5jzcs.js} +1 -1
  12. package/dist/chunks/{worktree-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{worktree-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{worktree-7k8hwkm4.js → tool-0qsq8avf.js} +22 -22
  15. package/dist/chunks/{worktree-qvreyy9g.js → tool-0ryd0fps.js} +5 -5
  16. package/dist/chunks/{worktree-awaee7qt.js → tool-10jtetaj.js} +6 -6
  17. package/dist/chunks/tool-1ck0eb67.js +252 -0
  18. package/dist/chunks/{worktree-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{worktree-s4m6wqxh.js → tool-1nxe83bq.js} +9 -9
  20. package/dist/chunks/{worktree-s003wxah.js → tool-207vtrn6.js} +3 -3
  21. package/dist/chunks/{worktree-21r38tys.js → tool-21r38tys.js} +1 -1
  22. package/dist/chunks/{worktree-3885gykz.js → tool-223h8e4b.js} +22 -22
  23. package/dist/chunks/{worktree-phvc5gz1.js → tool-227eqkj4.js} +33 -33
  24. package/dist/chunks/{worktree-6h73sxmp.js → tool-2402vzrj.js} +5 -5
  25. package/dist/chunks/{worktree-jqjs9tcv.js → tool-26aezvr0.js} +4 -4
  26. package/dist/chunks/{worktree-v7j76yb7.js → tool-27v469nr.js} +13 -13
  27. package/dist/chunks/{worktree-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{worktree-j7fts5t0.js → tool-2c24r6b8.js} +8 -8
  29. package/dist/chunks/{worktree-7jx0v3wz.js → tool-2d46v4jb.js} +11 -11
  30. package/dist/chunks/{worktree-2yyeacqq.js → tool-2hsfmsjg.js} +18 -18
  31. package/dist/chunks/{worktree-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
  32. package/dist/chunks/{worktree-21cb4yfq.js → tool-2q12e7yc.js} +1 -1
  33. package/dist/chunks/{worktree-wg3ah9vk.js → tool-2qez6wf9.js} +15 -15
  34. package/dist/chunks/{worktree-mx9vqzsb.js → tool-321x2wtd.js} +6 -6
  35. package/dist/chunks/{worktree-twn8y427.js → tool-356sz14e.js} +20 -20
  36. package/dist/chunks/{worktree-y0fk3wmz.js → tool-3cwbe53h.js} +34 -34
  37. package/dist/chunks/{worktree-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{worktree-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{worktree-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{worktree-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{worktree-5ca5497x.js → tool-483vxbq6.js} +6 -6
  42. package/dist/chunks/{worktree-1p2ds4p0.js → tool-4969znen.js} +16 -16
  43. package/dist/chunks/{worktree-27w3txew.js → tool-4mw75b8e.js} +15 -15
  44. package/dist/chunks/{worktree-evbgk2k8.js → tool-4xbskmpe.js} +5 -5
  45. package/dist/chunks/{worktree-c282yhkm.js → tool-533n7pr6.js} +44 -44
  46. package/dist/chunks/{worktree-33w4ejhs.js → tool-56gdpj1q.js} +6 -6
  47. package/dist/chunks/{worktree-5c4hm403.js → tool-5c4hm403.js} +3 -3
  48. package/dist/chunks/{worktree-5daktx2q.js → tool-5daktx2q.js} +1 -1
  49. package/dist/chunks/{worktree-22da35st.js → tool-5e9skgpm.js} +17 -17
  50. package/dist/chunks/{worktree-421r5d5v.js → tool-5npp0aqe.js} +12 -12
  51. package/dist/chunks/{worktree-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{worktree-mdk3y3z1.js → tool-5yk85840.js} +19 -19
  53. package/dist/chunks/{worktree-rzt5b11j.js → tool-5zc6skgb.js} +12 -12
  54. package/dist/chunks/{worktree-t1np0tqc.js → tool-62297ddh.js} +20 -20
  55. package/dist/chunks/{worktree-ryvvaahd.js → tool-63ppx069.js} +14 -14
  56. package/dist/chunks/{worktree-669tq793.js → tool-669tq793.js} +1 -1
  57. package/dist/chunks/{worktree-kw4nys0v.js → tool-6713kt06.js} +32 -32
  58. package/dist/chunks/{worktree-stz8t2v6.js → tool-69tq260k.js} +4 -4
  59. package/dist/chunks/{worktree-evq1m25b.js → tool-6htwetdg.js} +13 -13
  60. package/dist/chunks/{worktree-28d8znnm.js → tool-6khsxrsf.js} +4 -4
  61. package/dist/chunks/{worktree-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{worktree-t3m7g1te.js → tool-6nfxmhqk.js} +14 -14
  63. package/dist/chunks/{worktree-g91wcgpj.js → tool-6tty3e9h.js} +4 -4
  64. package/dist/chunks/{worktree-hmcspfjz.js → tool-6yj6tbhz.js} +22 -22
  65. package/dist/chunks/{worktree-t2ebar3s.js → tool-6zd6bfsr.js} +6 -6
  66. package/dist/chunks/tool-70jsskm8.js +18 -0
  67. package/dist/chunks/{worktree-5eer2xf9.js → tool-73kdj4zj.js} +8 -8
  68. package/dist/chunks/{worktree-9yk5tkmn.js → tool-751d8h98.js} +8 -8
  69. package/dist/chunks/{worktree-qmqgtz8f.js → tool-79qaa2kf.js} +9 -9
  70. package/dist/chunks/{worktree-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{worktree-f7ehr1hv.js → tool-7jqfrm98.js} +8 -8
  72. package/dist/chunks/{worktree-6rywya1e.js → tool-7kshtdzt.js} +12 -12
  73. package/dist/chunks/{worktree-0mkssq3p.js → tool-7mmmgkzb.js} +24 -24
  74. package/dist/chunks/{worktree-8q7cq0y1.js → tool-7w99qc9d.js} +3 -3
  75. package/dist/chunks/{worktree-a3w3ek2p.js → tool-7ykgbnpc.js} +5 -5
  76. package/dist/chunks/{worktree-fd7j5y5t.js → tool-8b47r7w2.js} +11 -11
  77. package/dist/chunks/{worktree-qzj3p1a8.js → tool-8d78w7dx.js} +19 -19
  78. package/dist/chunks/{worktree-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{worktree-xrhwvysg.js → tool-8ehm0xb8.js} +94 -94
  80. package/dist/chunks/{worktree-ebmcp6jg.js → tool-8j0g64bg.js} +20 -20
  81. package/dist/chunks/{worktree-46dahfew.js → tool-8qdtywy4.js} +47 -47
  82. package/dist/chunks/{worktree-nq7qbqzc.js → tool-8tz9mcp0.js} +9 -9
  83. package/dist/chunks/{worktree-spdrvks9.js → tool-92gxwggs.js} +18 -18
  84. package/dist/chunks/{worktree-rr5qrs97.js → tool-952y256t.js} +13 -13
  85. package/dist/chunks/{worktree-rfw8gvq9.js → tool-953ef62m.js} +15 -15
  86. package/dist/chunks/{worktree-kqhyc4a5.js → tool-96gp88bm.js} +24 -24
  87. package/dist/chunks/{worktree-esh8snah.js → tool-96y5k2e2.js} +43 -43
  88. package/dist/chunks/{worktree-j6q6f4de.js → tool-9df2h92x.js} +42 -42
  89. package/dist/chunks/{worktree-ab5e65y7.js → tool-9dnsb0hw.js} +18 -18
  90. package/dist/chunks/{worktree-x2bnk29x.js → tool-9erckna5.js} +9 -9
  91. package/dist/chunks/{worktree-9ftphk66.js → tool-9g3bpc12.js} +26 -26
  92. package/dist/chunks/{worktree-6ysrkrkr.js → tool-9kw8973d.js} +8 -8
  93. package/dist/chunks/{worktree-g2swn6b7.js → tool-9mp97stb.js} +25 -25
  94. package/dist/chunks/{worktree-wt3fns9r.js → tool-9zrmz628.js} +11 -11
  95. package/dist/chunks/{worktree-yjptyezs.js → tool-9zzv5pgc.js} +5 -5
  96. package/dist/chunks/{worktree-y19g1g3c.js → tool-a6h4rwtp.js} +30 -30
  97. package/dist/chunks/{worktree-x2r5cysr.js → tool-a771gyms.js} +18 -18
  98. package/dist/chunks/{worktree-aaet6srn.js → tool-aaet6srn.js} +2 -2
  99. package/dist/chunks/{worktree-bw8gdwks.js → tool-aeh0dgne.js} +12 -12
  100. package/dist/chunks/{worktree-kne8f3cn.js → tool-afdssyjb.js} +4 -4
  101. package/dist/chunks/{worktree-ag8e42mr.js → tool-ag7x3tep.js} +31 -31
  102. package/dist/chunks/{worktree-qy3x5fkw.js → tool-ah7j68gv.js} +33 -33
  103. package/dist/chunks/{worktree-818pfwc9.js → tool-anarwj6h.js} +8 -8
  104. package/dist/chunks/{worktree-5gq0j8y6.js → tool-arm62n8x.js} +45 -45
  105. package/dist/chunks/{worktree-2zj1evwc.js → tool-as54p17p.js} +36 -36
  106. package/dist/chunks/{worktree-depwh34e.js → tool-ayj8hn2b.js} +9 -9
  107. package/dist/chunks/{worktree-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{worktree-etkky4xb.js → tool-b92hwcrq.js} +28 -28
  109. package/dist/chunks/{worktree-qtp3z5jz.js → tool-bqm56rap.js} +18 -18
  110. package/dist/chunks/{worktree-6wg7wrda.js → tool-bqszwq89.js} +6 -6
  111. package/dist/chunks/{worktree-a70dqpwr.js → tool-btasn2qa.js} +5 -5
  112. package/dist/chunks/{worktree-940d36ge.js → tool-bv9vpxf1.js} +15 -15
  113. package/dist/chunks/{worktree-cr07tj7n.js → tool-bx4qmb9g.js} +5 -5
  114. package/dist/chunks/{worktree-fch79rh9.js → tool-bz85s9hh.js} +1 -1
  115. package/dist/chunks/{worktree-rr0tph7c.js → tool-c14p3nf7.js} +41 -41
  116. package/dist/chunks/{worktree-g190xswt.js → tool-cavr175a.js} +4 -4
  117. package/dist/chunks/{worktree-5dmcr3b1.js → tool-cb9s9s15.js} +30 -30
  118. package/dist/chunks/{worktree-899bmpw2.js → tool-cf04bqj1.js} +6 -6
  119. package/dist/chunks/{worktree-z6s2ptjh.js → tool-ch0wdc2q.js} +22 -22
  120. package/dist/chunks/tool-crjg2n55.js +503 -0
  121. package/dist/chunks/{worktree-yd28dp38.js → tool-cvqzmya4.js} +26 -26
  122. package/dist/chunks/{worktree-ccenzmm6.js → tool-cxpv6f5j.js} +5 -5
  123. package/dist/chunks/{worktree-1sfwps64.js → tool-d1nag333.js} +18 -18
  124. package/dist/chunks/{worktree-6x0h2hvg.js → tool-d9s573fh.js} +9 -9
  125. package/dist/chunks/{worktree-nce5244k.js → tool-dcrzta4z.js} +26 -26
  126. package/dist/chunks/{worktree-hxmf60ar.js → tool-dhj1bndq.js} +32 -32
  127. package/dist/chunks/{worktree-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
  128. package/dist/chunks/{worktree-0edr8emb.js → tool-dns740p1.js} +11 -11
  129. package/dist/chunks/{worktree-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  130. package/dist/chunks/{worktree-drwq78ky.js → tool-drwq78ky.js} +1 -1
  131. package/dist/chunks/{worktree-vfnexndp.js → tool-dtz9s4b3.js} +6 -6
  132. package/dist/chunks/{worktree-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{worktree-q9em23va.js → tool-egh78b95.js} +77 -77
  134. package/dist/chunks/{worktree-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{worktree-q7b8tk1j.js → tool-et1rwp1c.js} +15 -15
  136. package/dist/chunks/{worktree-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{worktree-bg2gq5qa.js → tool-evq6r5pz.js} +4 -4
  138. package/dist/chunks/{worktree-tpw6cwsb.js → tool-eys57y9b.js} +6 -6
  139. package/dist/chunks/{worktree-epqzss3m.js → tool-f17sp9w8.js} +35 -35
  140. package/dist/chunks/{worktree-jpz4t714.js → tool-f3yhmzb7.js} +19 -19
  141. package/dist/chunks/{worktree-sbwttkaf.js → tool-fadk8h2y.js} +11 -11
  142. package/dist/chunks/{worktree-00npq5hg.js → tool-fp9zptb1.js} +44 -44
  143. package/dist/chunks/{worktree-nqyhrfcc.js → tool-fwrss4ad.js} +4 -4
  144. package/dist/chunks/{worktree-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{worktree-vykevjvn.js → tool-fyjp43ss.js} +5 -5
  146. package/dist/chunks/{worktree-1nd760hn.js → tool-g1a4gtq5.js} +28 -28
  147. package/dist/chunks/{worktree-1qsv2vsq.js → tool-g49j1kpf.js} +24 -24
  148. package/dist/chunks/{worktree-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{worktree-54h1gy1n.js → tool-ggvw6grp.js} +28 -28
  150. package/dist/chunks/{worktree-pnbzcb80.js → tool-gk46542b.js} +11 -11
  151. package/dist/chunks/{worktree-1r0y6anp.js → tool-gns1g86j.js} +25 -25
  152. package/dist/chunks/{worktree-97qjdx9c.js → tool-gwcbygb9.js} +23 -23
  153. package/dist/chunks/{worktree-8aaqm6qj.js → tool-h04cqsq0.js} +8 -8
  154. package/dist/chunks/{worktree-rbykwf8h.js → tool-h10s6dah.js} +8 -8
  155. package/dist/chunks/{worktree-5gvw5jwx.js → tool-h2xwsekh.js} +20 -20
  156. package/dist/chunks/{worktree-6rjq4ad6.js → tool-h6jr292a.js} +4 -4
  157. package/dist/chunks/{worktree-5mtzsd3b.js → tool-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{worktree-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{worktree-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{worktree-r4xk7wzn.js → tool-hjj1jfge.js} +11 -11
  161. package/dist/chunks/{worktree-9vmxtf8m.js → tool-hkx1eav1.js} +14 -14
  162. package/dist/chunks/{worktree-8c88k4y9.js → tool-hs2gas49.js} +11 -11
  163. package/dist/chunks/{worktree-wzhchsdw.js → tool-j020r4b8.js} +23 -23
  164. package/dist/chunks/{worktree-0ft9cg2j.js → tool-j15mfg1p.js} +6 -6
  165. package/dist/chunks/{worktree-5w1b7248.js → tool-j2m1k0mf.js} +3 -3
  166. package/dist/chunks/{worktree-j56e64zr.js → tool-j56e64zr.js} +1 -1
  167. package/dist/chunks/{worktree-zqerkhaz.js → tool-jcqz283k.js} +30 -30
  168. package/dist/chunks/{worktree-03513dpk.js → tool-jkhbgvt8.js} +17 -17
  169. package/dist/chunks/{worktree-wb2290kd.js → tool-js4h49s3.js} +43 -43
  170. package/dist/chunks/{worktree-jc7s5yzp.js → tool-jyyhzxje.js} +11 -11
  171. package/dist/chunks/{worktree-2w250fb9.js → tool-jzcaxwhd.js} +9 -9
  172. package/dist/chunks/{worktree-g2xawn2z.js → tool-k0ageqhp.js} +2 -2
  173. package/dist/chunks/{worktree-nzks3jc8.js → tool-k3c624dm.js} +3 -3
  174. package/dist/chunks/{worktree-3s810fg1.js → tool-k9avtbwf.js} +3 -3
  175. package/dist/chunks/{worktree-j6fv3d6x.js → tool-k9gc50dd.js} +3 -3
  176. package/dist/chunks/{worktree-6ggbzja4.js → tool-kc4njv9x.js} +5 -5
  177. package/dist/chunks/{worktree-vycw7md4.js → tool-kkp8zx71.js} +4 -4
  178. package/dist/chunks/{worktree-zfjnvatg.js → tool-kkye0g1c.js} +26 -26
  179. package/dist/chunks/{worktree-yyk09s5y.js → tool-kkzze73x.js} +6 -6
  180. package/dist/chunks/{worktree-fkjmw100.js → tool-knb7evpn.js} +6 -6
  181. package/dist/chunks/tool-kt46ze3v.js +26 -0
  182. package/dist/chunks/{worktree-sa6gj9bw.js → tool-kwy905ev.js} +15 -15
  183. package/dist/chunks/{worktree-mps7kt98.js → tool-kzb7j8ba.js} +8 -8
  184. package/dist/chunks/{worktree-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
  185. package/dist/chunks/{worktree-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{worktree-dvxrp605.js → tool-m3k2zkjm.js} +8 -8
  187. package/dist/chunks/{worktree-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{worktree-k75g3hfp.js → tool-mb4e1d4e.js} +12 -12
  189. package/dist/chunks/{worktree-r9dtcy7v.js → tool-mb7h37gf.js} +11 -11
  190. package/dist/chunks/{worktree-v731dxt6.js → tool-mbdx9w3r.js} +13 -13
  191. package/dist/chunks/{worktree-9aeamryp.js → tool-mjanay65.js} +29 -29
  192. package/dist/chunks/{worktree-w2a0me0w.js → tool-mpqms32c.js} +91 -91
  193. package/dist/chunks/{worktree-w049avsm.js → tool-ms8h2pfd.js} +19 -19
  194. package/dist/chunks/{worktree-mhkvc446.js → tool-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{worktree-yhc2vnw0.js → tool-n36tynep.js} +10 -10
  196. package/dist/chunks/{worktree-1mq78cxw.js → tool-n9asgjfy.js} +37 -37
  197. package/dist/chunks/{worktree-77aa2ptm.js → tool-ncb7wxzt.js} +5 -5
  198. package/dist/chunks/{worktree-dn7365jx.js → tool-ne9ed71s.js} +4 -4
  199. package/dist/chunks/{worktree-5frpvc34.js → tool-nng2ktcm.js} +2 -2
  200. package/dist/chunks/{worktree-d5z19hk1.js → tool-nqxt4fmg.js} +10 -10
  201. package/dist/chunks/{worktree-hepbeetm.js → tool-nstzyrqb.js} +32 -32
  202. package/dist/chunks/{worktree-tpj75mzy.js → tool-nt5fy3c2.js} +19 -19
  203. package/dist/chunks/{worktree-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
  204. package/dist/chunks/{worktree-g3jdw4qe.js → tool-p2tjmvvm.js} +11 -11
  205. package/dist/chunks/{worktree-d96qny3q.js → tool-p2vw6waa.js} +5 -5
  206. package/dist/chunks/{worktree-36g34y2m.js → tool-p7g6sxqe.js} +29 -29
  207. package/dist/chunks/{worktree-33gh8jtn.js → tool-p8bq92d1.js} +35 -35
  208. package/dist/chunks/{worktree-vrd7bw94.js → tool-p8gjgk5f.js} +20 -20
  209. package/dist/chunks/{worktree-q3brf889.js → tool-p8jkva87.js} +7 -7
  210. package/dist/chunks/{worktree-87tqv0m9.js → tool-pc244188.js} +4 -4
  211. package/dist/chunks/{worktree-az11wfvr.js → tool-pd7bzezz.js} +16 -16
  212. package/dist/chunks/{worktree-v1szefp9.js → tool-pe8d6tfn.js} +21 -21
  213. package/dist/chunks/{worktree-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{worktree-pknna89w.js → tool-pknna89w.js} +1 -1
  215. package/dist/chunks/{worktree-yxy08kjz.js → tool-pnbm2g53.js} +28 -28
  216. package/dist/chunks/{worktree-b6xy6jda.js → tool-px76j0pk.js} +9 -9
  217. package/dist/chunks/{worktree-6f8fr4j0.js → tool-pyd82k98.js} +5 -5
  218. package/dist/chunks/{worktree-58rxp6d3.js → tool-pz9ad17p.js} +5 -5
  219. package/dist/chunks/{worktree-5kq5qec8.js → tool-q65dfppr.js} +29 -29
  220. package/dist/chunks/{worktree-7x8vr9wx.js → tool-q7r7q8jv.js} +34 -34
  221. package/dist/chunks/tool-qapv375x.js +4 -0
  222. package/dist/chunks/{worktree-bc773w9a.js → tool-qmh3qcq0.js} +23 -23
  223. package/dist/chunks/{worktree-qsdy395h.js → tool-qsdy395h.js} +1 -1
  224. package/dist/chunks/{worktree-k7xvw3dw.js → tool-qvmr90x2.js} +18 -18
  225. package/dist/chunks/{worktree-51a1jr9z.js → tool-qwvthsc1.js} +9 -9
  226. package/dist/chunks/{worktree-83da929p.js → tool-qxdz2nh0.js} +30 -30
  227. package/dist/chunks/{worktree-2hz0qpna.js → tool-qz02d4gv.js} +9 -9
  228. package/dist/chunks/{worktree-yp2x3t23.js → tool-r8xr0va3.js} +4 -4
  229. package/dist/chunks/{worktree-hjxmeyjq.js → tool-r9ezg2qv.js} +23 -23
  230. package/dist/chunks/{worktree-jzzy94zk.js → tool-r9w3djhf.js} +9 -9
  231. package/dist/chunks/{worktree-ydcyakjt.js → tool-rb4bj52x.js} +6 -6
  232. package/dist/chunks/{worktree-dnjvrtng.js → tool-rcs6zvep.js} +182 -182
  233. package/dist/chunks/{worktree-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  234. package/dist/chunks/{worktree-0gdmqesm.js → tool-rhjbct0v.js} +4 -4
  235. package/dist/chunks/{worktree-zeh9ct20.js → tool-rq775frq.js} +2 -2
  236. package/dist/chunks/{worktree-gsnqjxmg.js → tool-rs2j7e68.js} +47 -47
  237. package/dist/chunks/{worktree-n2k8kfr2.js → tool-rtjdhp7j.js} +8 -8
  238. package/dist/chunks/{worktree-mc0tbgbx.js → tool-s5zt3m1z.js} +10 -10
  239. package/dist/chunks/{worktree-9wg8f7rp.js → tool-sa82vsrh.js} +16 -16
  240. package/dist/chunks/{worktree-yaf95dqt.js → tool-sbnjvcyv.js} +11 -11
  241. package/dist/chunks/{worktree-g9p6zv33.js → tool-se013gpv.js} +8 -8
  242. package/dist/chunks/{worktree-adrjdcdv.js → tool-shtf6z8w.js} +5 -5
  243. package/dist/chunks/{worktree-0ahhqjdx.js → tool-t1835t6e.js} +28 -28
  244. package/dist/chunks/{worktree-j83byb14.js → tool-t9zs3egg.js} +4 -4
  245. package/dist/chunks/{worktree-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{worktree-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{worktree-tdstcens.js → tool-tdstcens.js} +1 -1
  248. package/dist/chunks/{worktree-nbhvjqq0.js → tool-tkg6e3eb.js} +16 -16
  249. package/dist/chunks/{worktree-ex22b358.js → tool-tp36e26b.js} +28 -28
  250. package/dist/chunks/{worktree-m3qcd0gh.js → tool-tr36y7yy.js} +17 -17
  251. package/dist/chunks/{worktree-b04n12yt.js → tool-tvdq5ra2.js} +37 -37
  252. package/dist/chunks/{worktree-tvtrv512.js → tool-tvtrv512.js} +1 -1
  253. package/dist/chunks/{worktree-45hwf2ve.js → tool-ty38hkz0.js} +21 -21
  254. package/dist/chunks/{worktree-rw0j17jy.js → tool-v199xdse.js} +21 -21
  255. package/dist/chunks/{worktree-anv5cbp8.js → tool-v2a3veg8.js} +8 -8
  256. package/dist/chunks/{worktree-qm0v3jhh.js → tool-v5dkyp31.js} +7 -7
  257. package/dist/chunks/{worktree-veqvce7d.js → tool-veqvce7d.js} +1 -1
  258. package/dist/chunks/{worktree-pk05hrqc.js → tool-vx3ypjf6.js} +28 -28
  259. package/dist/chunks/{worktree-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{worktree-akvwcqv3.js → tool-w0by17jr.js} +27 -27
  261. package/dist/chunks/{worktree-486a1zpr.js → tool-w0exn9qd.js} +32 -32
  262. package/dist/chunks/{worktree-2k92p94a.js → tool-w2zggh9c.js} +54 -54
  263. package/dist/chunks/{worktree-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{worktree-t6191ead.js → tool-wcbhsh5x.js} +33 -33
  265. package/dist/chunks/{worktree-wd87259q.js → tool-wd87259q.js} +1 -1
  266. package/dist/chunks/{worktree-ganm2r9k.js → tool-wfrx59p8.js} +3 -3
  267. package/dist/chunks/{worktree-6xtgx1bn.js → tool-wm0tnrwj.js} +11 -11
  268. package/dist/chunks/{worktree-32g4c5x7.js → tool-wnzj6q9c.js} +8 -8
  269. package/dist/chunks/{worktree-4wx50nne.js → tool-wrcedmy5.js} +18 -18
  270. package/dist/chunks/{worktree-8dged86n.js → tool-wt8p9awf.js} +22 -22
  271. package/dist/chunks/{worktree-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{worktree-swxr5sk9.js → tool-x38yyj79.js} +23 -23
  273. package/dist/chunks/{worktree-e47wcd5s.js → tool-xgamz1br.js} +7 -7
  274. package/dist/chunks/{worktree-efqd9j5j.js → tool-xhfakj7b.js} +32 -32
  275. package/dist/chunks/{worktree-e01ptnw8.js → tool-xq2w2bqm.js} +16 -16
  276. package/dist/chunks/{worktree-4947sgj4.js → tool-xqsp1avr.js} +13 -13
  277. package/dist/chunks/{worktree-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{worktree-asqy4pdp.js → tool-ybw5q8sx.js} +1 -1
  279. package/dist/chunks/{worktree-pgd96ws3.js → tool-yqjvyrkg.js} +28 -28
  280. package/dist/chunks/{worktree-ae05hxc9.js → tool-yrcva06b.js} +58 -58
  281. package/dist/chunks/{worktree-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{worktree-yrznvahk.js → tool-yrznvahk.js} +2 -2
  283. package/dist/chunks/{worktree-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
  284. package/dist/chunks/{worktree-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{worktree-z63w68vq.js → tool-z63w68vq.js} +2 -2
  286. package/dist/chunks/{worktree-m2ma7v7h.js → tool-zf1tr6ve.js} +3 -3
  287. package/dist/chunks/{worktree-gdexxn2e.js → tool-zfn6rd9c.js} +3 -3
  288. package/dist/chunks/{worktree-2993mdqz.js → tool-zjy3ah92.js} +5 -5
  289. package/dist/chunks/{worktree-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{worktree-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +103 -103
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +75 -75
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +104 -104
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +119 -119
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +98 -98
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +95 -95
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +88 -88
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +74 -74
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +222 -222
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +117 -117
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +104 -104
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +108 -108
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +109 -109
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +97 -97
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/worktree-0mesazry.js +0 -4
  698. package/dist/chunks/worktree-3p652h0e.js +0 -26
  699. package/dist/chunks/worktree-619r8v3y.js +0 -18
  700. package/dist/chunks/worktree-s58zdxfq.js +0 -503
  701. package/dist/chunks/worktree-x9psk7ht.js +0 -252
  702. /package/dist/chunks/{worktree-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{worktree-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{worktree-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{worktree-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{worktree-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{worktree-24dcb14g.js → tool-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{worktree-2710q6r3.js → tool-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{worktree-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{worktree-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{worktree-359p4xyc.js → tool-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{worktree-3asan66x.js → tool-3asan66x.js} +0 -0
  713. /package/dist/chunks/{worktree-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{worktree-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{worktree-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{worktree-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{worktree-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{worktree-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{worktree-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{worktree-53557ph1.js → tool-53557ph1.js} +0 -0
  721. /package/dist/chunks/{worktree-550bvhaj.js → tool-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{worktree-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{worktree-6prwharc.js → tool-6prwharc.js} +0 -0
  724. /package/dist/chunks/{worktree-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{worktree-7m9af43g.js → tool-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{worktree-822emrt2.js → tool-822emrt2.js} +0 -0
  727. /package/dist/chunks/{worktree-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{worktree-8n3pysct.js → tool-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{worktree-922hggd3.js → tool-922hggd3.js} +0 -0
  730. /package/dist/chunks/{worktree-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{worktree-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{worktree-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{worktree-af5trqkr.js → tool-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{worktree-afrmfg78.js → tool-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{worktree-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{worktree-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{worktree-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{worktree-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{worktree-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{worktree-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{worktree-d9fn303g.js → tool-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{worktree-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{worktree-dajrwvna.js → tool-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{worktree-dap0rakb.js → tool-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{worktree-df08tz66.js → tool-df08tz66.js} +0 -0
  746. /package/dist/chunks/{worktree-dy18nga0.js → tool-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{worktree-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{worktree-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{worktree-ec1grn59.js → tool-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{worktree-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{worktree-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{worktree-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{worktree-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{worktree-faypxj3z.js → tool-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{worktree-fd410y7t.js → tool-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{worktree-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{worktree-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{worktree-g86h250q.js → tool-g86h250q.js} +0 -0
  759. /package/dist/chunks/{worktree-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{worktree-gftt206x.js → tool-gftt206x.js} +0 -0
  761. /package/dist/chunks/{worktree-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{worktree-hk9envan.js → tool-hk9envan.js} +0 -0
  763. /package/dist/chunks/{worktree-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{worktree-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{worktree-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{worktree-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{worktree-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{worktree-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{worktree-mp448xyj.js → tool-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{worktree-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{worktree-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{worktree-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{worktree-njntx4h6.js → tool-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{worktree-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{worktree-q74kybfr.js → tool-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{worktree-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{worktree-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{worktree-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{worktree-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{worktree-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{worktree-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{worktree-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{worktree-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{worktree-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{worktree-twg0f83k.js → tool-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{worktree-w803qqfp.js → tool-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{worktree-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{worktree-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{worktree-wtztk69x.js → tool-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{worktree-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{worktree-x61499pn.js → tool-x61499pn.js} +0 -0
  792. /package/dist/chunks/{worktree-y44na4kk.js → tool-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{worktree-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{worktree-y8f7s663.js → tool-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{worktree-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{worktree-ym463w8f.js → tool-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{worktree-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-922hggd3.js";
5
+ } from "./tool-922hggd3.js";
6
6
  import {
7
- Service67,
8
- node69
9
- } from "./worktree-0mkssq3p.js";
7
+ Service73,
8
+ node76
9
+ } from "./tool-7mmmgkzb.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./worktree-8d7r5vzw.js";
12
+ } from "./tool-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service21,
24
- node: () => node23
23
+ Service: () => Service45,
24
+ node: () => node48
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service21 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service45 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service21, Effect.gen(function* () {
67
- const environment = yield* Service67;
66
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
67
+ const environment = yield* Service73;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service21.of({
95
+ return Service45.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node23 = makeLocationNode({ service: Service21, layer, deps: [node69, RipgrepBinary2.node] });
178
+ var node48 = makeLocationNode({ service: Service45, layer, deps: [node76, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service45, node48, exports_ripgrep };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service45
3
- } from "./worktree-mx9vqzsb.js";
2
+ Service61
3
+ } from "./tool-321x2wtd.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./worktree-619r8v3y.js";
6
+ } from "./tool-70jsskm8.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./worktree-3s810fg1.js";
9
+ } from "./tool-k9avtbwf.js";
10
10
  import {
11
- Service62
12
- } from "./worktree-9ftphk66.js";
11
+ Service38
12
+ } from "./tool-9g3bpc12.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service45;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
25
+ const instances = yield* Service61;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./worktree-e01ptnw8.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-xq2w2bqm.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-rdw6cm16.js";
7
+ } from "./tool-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./worktree-1mq78cxw.js";
10
+ } from "./tool-n9asgjfy.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event12,
21
- ID: () => ID6,
22
- Info: () => Info19,
20
+ Event: () => Event7,
21
+ ID: () => ID4,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service62,
24
+ Service: () => Service38,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node64,
29
+ node: () => node41,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event12 } from "@opencode/schema/skill";
37
+ import { Event as Event7 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info19 = Skill.Info;
43
- var ID6 = Skill.ID;
42
+ var Info7 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service62 extends Context.Service()("@opencode/Skill") {
74
+ class Service38 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service62, Effect.gen(function* () {
77
- const bus = yield* Service82;
76
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
77
+ const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service62.of({
100
+ return Service38.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node64 = makeLocationNode({
112
- service: Service62,
111
+ var node41 = makeLocationNode({
112
+ service: Service38,
113
113
  layer,
114
- deps: [node86]
114
+ deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID6, Name2, available2, toModelOutput3, prepare3, Service62, node64, exports_skill5, Event12 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service38, node41, exports_skill5, Event7 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service15,
10
- node: () => node17
9
+ Service: () => Service33,
10
+ node: () => node36
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service33 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service15, () => {
17
+ var layer = Layer.sync(Service33, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service15.of({
19
+ return Service33.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node17 = makeGlobalNode({ service: Service15, layer, deps: [] });
26
+ var node36 = makeGlobalNode({ service: Service33, layer, deps: [] });
27
27
 
28
- export { Service15, node17, exports_managed_policy };
28
+ export { Service33, node36, exports_managed_policy };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-yaf95dqt.js";
3
+ } from "./tool-sbnjvcyv.js";
4
4
  import {
5
- Service82
6
- } from "./worktree-e01ptnw8.js";
5
+ Service83
6
+ } from "./tool-xq2w2bqm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./worktree-qy3x5fkw.js";
9
+ Event19
10
+ } from "./tool-ah7j68gv.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./worktree-pgd96ws3.js";
14
+ } from "./tool-yqjvyrkg.js";
15
15
  import {
16
16
  which2
17
- } from "./worktree-qaymkmh1.js";
17
+ } from "./tool-qaymkmh1.js";
18
18
  import {
19
- ID12
20
- } from "./worktree-t6191ead.js";
19
+ ID13
20
+ } from "./tool-wcbhsh5x.js";
21
21
  import {
22
22
  iife2
23
- } from "./worktree-1kg9ymc8.js";
23
+ } from "./tool-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./worktree-899bmpw2.js";
26
+ } from "./tool-cf04bqj1.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID12.azure);
46
+ const configured = yield* configuredSettings2(ID13.azure);
47
47
  const processes = yield* AppProcess.Service;
48
- const bus = yield* Service82;
48
+ const bus = yield* Service83;
49
49
  const tokens = new Map;
50
50
  const loading = Semaphore.makeUnsafe(1);
51
51
  const loaded = {};
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID12.azure,
82
+ integrationID: ID13.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID12.azure,
88
+ integrationID: ID13.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID12.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID12.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID12.azure)
178
+ if (evt.model.providerID !== ID13.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID12.azure });
187
+ }), { providerID: ID13.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID12.azure)
189
+ if (evt.model.providerID !== ID13.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID12.azure });
198
+ }), { providerID: ID13.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service53
3
- } from "./worktree-22da35st.js";
2
+ Service63
3
+ } from "./tool-5e9skgpm.js";
4
4
  import {
5
- Service28
6
- } from "./worktree-xrhwvysg.js";
5
+ Service13
6
+ } from "./tool-8ehm0xb8.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./worktree-x1ezjp6w.js";
10
+ } from "./tool-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make9
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service28;
24
- const jobs = yield* Service53;
22
+ var make9 = Effect.gen(function* () {
23
+ const sessions = yield* Service13;
24
+ const jobs = yield* Service63;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make9, exports_subagent_job };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info11,
12
+ Info: () => Info16,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info11 = Schema.Struct({
64
+ var Info16 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info11, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./worktree-6xtgx1bn.js";
2
+ Service84,
3
+ node88
4
+ } from "./tool-wm0tnrwj.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./worktree-dpkg50ah.js";
7
+ } from "./tool-dpkg50ah.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./worktree-e01ptnw8.js";
9
+ Service83,
10
+ node87
11
+ } from "./tool-xq2w2bqm.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./worktree-ec1grn59.js";
14
+ } from "./tool-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./worktree-gftt206x.js";
17
+ } from "./tool-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./worktree-8q7cq0y1.js";
20
+ } from "./tool-7w99qc9d.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./worktree-5c4hm403.js";
24
+ } from "./tool-5c4hm403.js";
25
25
  import {
26
26
  __export
27
- } from "./worktree-9rqn6x4v.js";
27
+ } from "./tool-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info6,
35
+ Info: () => Info20,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service44,
40
+ Service: () => Service59,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer19,
49
- list: () => list3,
50
- make: () => make15,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node46,
53
+ node: () => node62,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info6,
68
+ Info as Info20,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service44 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service59 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make15 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service83;
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info6.make({
176
+ }).pipe(Effect.map((event) => Info20.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer19 = Layer.effect(Service44, make15());
231
- var node46 = makeGlobalNode({ service: Service44, layer: layer19, deps: [node87, node86] });
230
+ var layer23 = Layer.effect(Service59, make17());
231
+ var node62 = makeGlobalNode({ service: Service59, layer: layer23, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make15, layer19, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make17, layer23, node62, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };