@opencode/core 0.0.0-dev-88 → 0.0.0-dev-91

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 (828) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/tool-00ve6mdn.js +18 -0
  8. package/dist/chunks/{reference-2azy8kv6.js → tool-0ahs07zn.js} +4 -4
  9. package/dist/chunks/{reference-kmyndpj7.js → tool-0c8f71n7.js} +25 -25
  10. package/dist/chunks/{reference-41xwyab1.js → tool-0fwfag3t.js} +9 -9
  11. package/dist/chunks/{reference-tycat656.js → tool-0j4991a9.js} +23 -23
  12. package/dist/chunks/{reference-5w1743bk.js → tool-0j8sypb1.js} +33 -33
  13. package/dist/chunks/{reference-7cd00c8r.js → tool-0qbg5y1h.js} +85 -85
  14. package/dist/chunks/{reference-4c8wr4ge.js → tool-0ryed6y5.js} +17 -17
  15. package/dist/chunks/{reference-11hfp36g.js → tool-11hfp36g.js} +1 -1
  16. package/dist/chunks/{reference-4rrtbqfj.js → tool-14g07qkw.js} +25 -25
  17. package/dist/chunks/{reference-0cdqj2ev.js → tool-1cp227ey.js} +17 -17
  18. package/dist/chunks/{reference-kcfhzf92.js → tool-1ftdw7h3.js} +22 -22
  19. package/dist/chunks/{reference-v8qn6gca.js → tool-1gbxvym9.js} +8 -8
  20. package/dist/chunks/{reference-ydr0r0c4.js → tool-1ggxchhs.js} +16 -16
  21. package/dist/chunks/{reference-1kn6jdkn.js → tool-1kn6jdkn.js} +1 -1
  22. package/dist/chunks/{reference-96t7hsnc.js → tool-1pnwdb4n.js} +32 -32
  23. package/dist/chunks/{reference-05xp378r.js → tool-1q93rhva.js} +13 -13
  24. package/dist/chunks/{reference-hm5jv486.js → tool-1svbn1jm.js} +4 -4
  25. package/dist/chunks/{reference-w8n31mpc.js → tool-1t618e4c.js} +53 -53
  26. package/dist/chunks/{reference-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{reference-5zrxpy3q.js → tool-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{reference-vh1bcmy7.js → tool-1zfa644b.js} +35 -35
  29. package/dist/chunks/{reference-204s3925.js → tool-204s3925.js} +1 -1
  30. package/dist/chunks/{reference-yj7wwm3n.js → tool-230veacn.js} +12 -12
  31. package/dist/chunks/{reference-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{reference-d0t22gk3.js → tool-28v09jk4.js} +9 -9
  33. package/dist/chunks/{reference-s7kyse9r.js → tool-2kg89srt.js} +4 -4
  34. package/dist/chunks/{reference-5mw9p4pk.js → tool-2kxyfk53.js} +1 -1
  35. package/dist/chunks/{reference-6h4mdy29.js → tool-2rvkjrha.js} +12 -12
  36. package/dist/chunks/{reference-wq6y9see.js → tool-2x2ke6ta.js} +47 -47
  37. package/dist/chunks/{reference-qkqjbc48.js → tool-2zp5a6yg.js} +3 -3
  38. package/dist/chunks/{reference-x6r4fegy.js → tool-305xqwqt.js} +40 -45
  39. package/dist/chunks/{reference-x6pyv2yz.js → tool-38adaqc0.js} +5 -5
  40. package/dist/chunks/{reference-bz017ehz.js → tool-3a164vj7.js} +22 -22
  41. package/dist/chunks/{reference-ayjs7tqn.js → tool-3cbjf1nt.js} +2 -2
  42. package/dist/chunks/{reference-5jbj61xt.js → tool-3dqda9j1.js} +60 -60
  43. package/dist/chunks/{reference-9q3jr3b2.js → tool-3e3jqjep.js} +7 -7
  44. package/dist/chunks/{reference-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{reference-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  46. package/dist/chunks/{reference-9y92s6fj.js → tool-3ran0gcz.js} +4 -4
  47. package/dist/chunks/{reference-nk9edasy.js → tool-3vschx9t.js} +4 -4
  48. package/dist/chunks/{reference-3dx6tc7y.js → tool-3xf4gmea.js} +34 -34
  49. package/dist/chunks/{reference-5enarcya.js → tool-40za9wsf.js} +6 -6
  50. package/dist/chunks/{reference-tvj9sf3a.js → tool-46hcmk88.js} +93 -93
  51. package/dist/chunks/{reference-9g9k5824.js → tool-4h4e17dv.js} +48 -48
  52. package/dist/chunks/{reference-jedme4q7.js → tool-4jxvx69e.js} +3 -3
  53. package/dist/chunks/{reference-zhhya0q8.js → tool-4mfe4fpk.js} +5 -5
  54. package/dist/chunks/{reference-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{reference-4v008n1t.js → tool-4v008n1t.js} +1 -1
  56. package/dist/chunks/{reference-thjzaypf.js → tool-4xer52tg.js} +11 -11
  57. package/dist/chunks/{reference-mm6f8m5x.js → tool-517jtzaa.js} +8 -8
  58. package/dist/chunks/{reference-a7mpn1ry.js → tool-52b9nvdb.js} +7 -7
  59. package/dist/chunks/{reference-hpcmzhc5.js → tool-5571esjp.js} +23 -23
  60. package/dist/chunks/{reference-xtcsqkmk.js → tool-5849hgw0.js} +15 -15
  61. package/dist/chunks/{reference-xz2wk1pj.js → tool-5fn6dbwx.js} +5 -5
  62. package/dist/chunks/{reference-94sxpgen.js → tool-5k73ne16.js} +21 -21
  63. package/dist/chunks/{reference-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{reference-qqn6ezee.js → tool-5phnv3yb.js} +6 -6
  65. package/dist/chunks/{reference-fm1b0qwr.js → tool-5wj60p4s.js} +11 -11
  66. package/dist/chunks/{reference-h77hjnzn.js → tool-5y20gt8q.js} +5 -5
  67. package/dist/chunks/{reference-d1v2vbzt.js → tool-61ennm6n.js} +4 -4
  68. package/dist/chunks/{reference-fwpsw9b8.js → tool-61q2c8gp.js} +4 -4
  69. package/dist/chunks/{reference-xzaxbh4c.js → tool-68x0q3w1.js} +25 -25
  70. package/dist/chunks/{reference-ppmjhmdn.js → tool-698qh926.js} +11 -11
  71. package/dist/chunks/{reference-03048zfc.js → tool-69xqjxg7.js} +6 -6
  72. package/dist/chunks/{reference-454hz5tr.js → tool-6b8745b8.js} +13 -13
  73. package/dist/chunks/{reference-6esdw8yj.js → tool-6esdw8yj.js} +1 -1
  74. package/dist/chunks/{reference-2ymt8bs9.js → tool-6fx7ap1b.js} +11 -11
  75. package/dist/chunks/{reference-399x40kv.js → tool-6g0tafez.js} +21 -21
  76. package/dist/chunks/{reference-krp6jf0c.js → tool-6khygjy4.js} +22 -22
  77. package/dist/chunks/{reference-2gm5wmn4.js → tool-6wkw62dq.js} +18 -18
  78. package/dist/chunks/{reference-zstkhq2e.js → tool-72nd48f3.js} +19 -19
  79. package/dist/chunks/{reference-57jkej76.js → tool-74zhyzb7.js} +6 -6
  80. package/dist/chunks/{reference-3excn5ca.js → tool-75c6t5n2.js} +48 -48
  81. package/dist/chunks/{reference-76cb1hcw.js → tool-76cb1hcw.js} +1 -1
  82. package/dist/chunks/{reference-nah043kf.js → tool-770pw0s1.js} +4 -4
  83. package/dist/chunks/{reference-g5g1wfe2.js → tool-7aawz9ta.js} +17 -17
  84. package/dist/chunks/{reference-s333tm96.js → tool-7aerd0dr.js} +9 -9
  85. package/dist/chunks/{reference-49qz2gqd.js → tool-7aq6rx75.js} +48 -48
  86. package/dist/chunks/{reference-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{reference-8r8vc63z.js → tool-7ddp8ank.js} +38 -38
  88. package/dist/chunks/{reference-p22kkxvy.js → tool-7enbyk8v.js} +15 -15
  89. package/dist/chunks/{reference-tnxzd87a.js → tool-7ez3gjeb.js} +15 -15
  90. package/dist/chunks/{reference-4h5tdd52.js → tool-7heva7vf.js} +15 -15
  91. package/dist/chunks/{reference-ewvsv6ts.js → tool-7jz89kf0.js} +5 -5
  92. package/dist/chunks/{reference-tg363vyk.js → tool-7mjr8a8n.js} +50 -50
  93. package/dist/chunks/{reference-3fehs55v.js → tool-7nbypc4n.js} +20 -20
  94. package/dist/chunks/{reference-6hta33qf.js → tool-7spmdhhv.js} +14 -14
  95. package/dist/chunks/{reference-zrvtj653.js → tool-7t6vbzys.js} +31 -31
  96. package/dist/chunks/{reference-p1htsza4.js → tool-7w0d3x1p.js} +35 -35
  97. package/dist/chunks/{reference-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{reference-g8xxsv15.js → tool-852b9zb5.js} +26 -26
  99. package/dist/chunks/{reference-7kvr92hx.js → tool-860bwv8p.js} +11 -11
  100. package/dist/chunks/{reference-p6extme0.js → tool-8vdz7xys.js} +11 -11
  101. package/dist/chunks/{reference-w4p85zmz.js → tool-8wdz4h3x.js} +26 -26
  102. package/dist/chunks/{reference-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{reference-90zstvax.js → tool-90zstvax.js} +1 -1
  104. package/dist/chunks/{reference-wjfea556.js → tool-91gn8tjy.js} +14 -14
  105. package/dist/chunks/{reference-pjqb08kt.js → tool-9ctmy678.js} +35 -35
  106. package/dist/chunks/{reference-n6fd0dvw.js → tool-9pneywy4.js} +11 -11
  107. package/dist/chunks/{reference-0eq01nmm.js → tool-9qcg53ez.js} +9 -9
  108. package/dist/chunks/{reference-nbw9vdm7.js → tool-9w4n3zkz.js} +3 -3
  109. package/dist/chunks/{reference-mqz3a5pm.js → tool-9yr7e8hg.js} +23 -23
  110. package/dist/chunks/{reference-034tev2y.js → tool-aj7mw0zk.js} +2 -2
  111. package/dist/chunks/{reference-fkdqsftc.js → tool-av2yj9c6.js} +11 -11
  112. package/dist/chunks/{reference-r6dv60ab.js → tool-awnpzmr9.js} +13 -13
  113. package/dist/chunks/tool-axtqa2m2.js +26 -0
  114. package/dist/chunks/{reference-shq9ftks.js → tool-axy5ptv8.js} +14 -17
  115. package/dist/chunks/{reference-b6vsg801.js → tool-b6vsg801.js} +2 -2
  116. package/dist/chunks/{reference-ga7vshj9.js → tool-ba26w197.js} +5 -5
  117. package/dist/chunks/{reference-h44kb9zp.js → tool-beyjcx72.js} +4 -4
  118. package/dist/chunks/{reference-1r8vjw6b.js → tool-bq6jjxqp.js} +27 -27
  119. package/dist/chunks/{reference-xd9cc171.js → tool-bstexjd6.js} +5 -5
  120. package/dist/chunks/{reference-tpcm2fp0.js → tool-bw4r357a.js} +9 -9
  121. package/dist/chunks/{reference-r6ae345h.js → tool-by8ezbee.js} +27 -27
  122. package/dist/chunks/{reference-5s3xscdw.js → tool-c4x8pk91.js} +3 -3
  123. package/dist/chunks/{reference-1zjscayb.js → tool-c50m1jnq.js} +21 -21
  124. package/dist/chunks/{reference-g7kcex0y.js → tool-c9c3vcvh.js} +6 -6
  125. package/dist/chunks/{reference-8ykqf5wm.js → tool-cmwydw43.js} +5 -5
  126. package/dist/chunks/{reference-bhxpw5jc.js → tool-cqw9ekvn.js} +9 -9
  127. package/dist/chunks/{reference-9setpf3m.js → tool-cs175ng9.js} +30 -30
  128. package/dist/chunks/{reference-aj4pq43j.js → tool-ct12tdge.js} +72 -72
  129. package/dist/chunks/{reference-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{reference-gssxfh3t.js → tool-d05zg70t.js} +24 -24
  131. package/dist/chunks/{reference-acp3br9k.js → tool-d24g109n.js} +4 -4
  132. package/dist/chunks/{reference-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  133. package/dist/chunks/{reference-n7j2vc45.js → tool-dcanc5rs.js} +11 -11
  134. package/dist/chunks/{reference-m8ekf0nj.js → tool-dp2cvfdy.js} +31 -31
  135. package/dist/chunks/{reference-cv45xqq7.js → tool-draeheqz.js} +12 -12
  136. package/dist/chunks/{reference-5vzhy7nz.js → tool-drvbhkez.js} +8 -8
  137. package/dist/chunks/{reference-f01y088k.js → tool-ds7r37yp.js} +5 -5
  138. package/dist/chunks/{reference-dt77769w.js → tool-dt77769w.js} +1 -1
  139. package/dist/chunks/{reference-jmfq5y88.js → tool-e1mb4rnk.js} +6 -6
  140. package/dist/chunks/{reference-e834z07m.js → tool-e834z07m.js} +1 -1
  141. package/dist/chunks/{reference-gxhmg8t6.js → tool-ee45cksz.js} +17 -17
  142. package/dist/chunks/{reference-ag7cwqnf.js → tool-emmmyxzw.js} +22 -22
  143. package/dist/chunks/{reference-gg8p9cgs.js → tool-ep59zg61.js} +3 -3
  144. package/dist/chunks/{reference-y7pnb98a.js → tool-ep9ghbrk.js} +11 -11
  145. package/dist/chunks/{reference-v5vb5nzm.js → tool-ex547tfp.js} +21 -21
  146. package/dist/chunks/{reference-d1vrh39f.js → tool-f3yfea70.js} +3 -3
  147. package/dist/chunks/{reference-xhmnf1d5.js → tool-f97eyc81.js} +5 -5
  148. package/dist/chunks/{reference-zd8w5hws.js → tool-fcdhbwna.js} +14 -16
  149. package/dist/chunks/{reference-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{reference-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
  151. package/dist/chunks/{reference-358mwgz7.js → tool-fhq3mczf.js} +17 -17
  152. package/dist/chunks/{reference-wr3re1en.js → tool-fznmdakp.js} +4 -4
  153. package/dist/chunks/{reference-1zx9skwy.js → tool-gbzp4egg.js} +18 -18
  154. package/dist/chunks/{reference-yawad64g.js → tool-gcmr6tz2.js} +25 -25
  155. package/dist/chunks/{reference-s5r0ksct.js → tool-gk277ckk.js} +2 -2
  156. package/dist/chunks/{reference-hrz74jgp.js → tool-gn34jygc.js} +19 -19
  157. package/dist/chunks/{reference-7rnxwetx.js → tool-gp067yzn.js} +11 -11
  158. package/dist/chunks/{reference-3hs7pcyj.js → tool-gr5kqd9r.js} +25 -25
  159. package/dist/chunks/{reference-5w1mdqt7.js → tool-h3b857xk.js} +4 -4
  160. package/dist/chunks/{reference-4hgd96pp.js → tool-h57pbter.js} +13 -13
  161. package/dist/chunks/{reference-hdfrs5mg.js → tool-hdfrs5mg.js} +2 -2
  162. package/dist/chunks/{reference-d879sp0e.js → tool-hed2thzz.js} +7 -7
  163. package/dist/chunks/{reference-06w9ffrv.js → tool-hfgk9wzg.js} +5 -5
  164. package/dist/chunks/{reference-82ajznqh.js → tool-hghxj8gh.js} +18 -18
  165. package/dist/chunks/{reference-5x26af84.js → tool-hj8dv2fv.js} +4 -4
  166. package/dist/chunks/tool-hknrdqqs.js +257 -0
  167. package/dist/chunks/{reference-br866c65.js → tool-hn0gtwg2.js} +5 -5
  168. package/dist/chunks/{reference-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
  169. package/dist/chunks/{reference-z0px8f9y.js → tool-hq4hw89f.js} +20 -20
  170. package/dist/chunks/{reference-8wnreytb.js → tool-hqz3v7ac.js} +11 -11
  171. package/dist/chunks/{reference-480x63m0.js → tool-hvb7rpxf.js} +19 -19
  172. package/dist/chunks/{reference-cw4hf64h.js → tool-hwp1rwn1.js} +14 -14
  173. package/dist/chunks/{reference-xfeq68e7.js → tool-j1568g2c.js} +9 -9
  174. package/dist/chunks/{reference-j44b1axw.js → tool-j5cqker3.js} +7 -7
  175. package/dist/chunks/{reference-38xn8s1k.js → tool-j8rqras6.js} +9 -9
  176. package/dist/chunks/{reference-mmjdt0jh.js → tool-j9z4bav5.js} +39 -39
  177. package/dist/chunks/{reference-ja63h2sr.js → tool-ja63h2sr.js} +2 -2
  178. package/dist/chunks/{reference-bbs40sma.js → tool-jem635sa.js} +7 -7
  179. package/dist/chunks/{reference-jfaecv01.js → tool-jfaecv01.js} +1 -1
  180. package/dist/chunks/{reference-73nkqsrq.js → tool-jh6e5x5q.js} +21 -21
  181. package/dist/chunks/{reference-3b67h89r.js → tool-jtj22pb2.js} +15 -15
  182. package/dist/chunks/{reference-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
  183. package/dist/chunks/{reference-m805datt.js → tool-jx64hzqx.js} +22 -22
  184. package/dist/chunks/{reference-egwex341.js → tool-k65b2vst.js} +27 -27
  185. package/dist/chunks/{reference-k814nvkf.js → tool-k814nvkf.js} +1 -1
  186. package/dist/chunks/{reference-25ez0182.js → tool-k86ss76b.js} +14 -14
  187. package/dist/chunks/{reference-x7ps9kt0.js → tool-k8dvdjfn.js} +4 -4
  188. package/dist/chunks/{reference-arcv912a.js → tool-k91y97gc.js} +23 -23
  189. package/dist/chunks/{reference-pcty9z1k.js → tool-k9zkdd2y.js} +4 -4
  190. package/dist/chunks/{reference-mt7kez29.js → tool-kfjnvpza.js} +2 -2
  191. package/dist/chunks/{reference-3pn96c4m.js → tool-kpm58pge.js} +22 -22
  192. package/dist/chunks/{reference-2c8v61wj.js → tool-krv0p5sn.js} +14 -14
  193. package/dist/chunks/{reference-3j92816q.js → tool-ks317rcp.js} +2 -2
  194. package/dist/chunks/{reference-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
  195. package/dist/chunks/{reference-bzabcrfb.js → tool-kx5zbgb5.js} +18 -18
  196. package/dist/chunks/{reference-fbep93ra.js → tool-m0jwy07f.js} +35 -35
  197. package/dist/chunks/{reference-m1714858.js → tool-m1714858.js} +1 -1
  198. package/dist/chunks/{reference-my6kf17f.js → tool-m6s8mxr7.js} +12 -12
  199. package/dist/chunks/{reference-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{reference-gfctfrej.js → tool-ma572n1c.js} +5 -5
  201. package/dist/chunks/{reference-kyxjnc3p.js → tool-mfvvktb5.js} +45 -80
  202. package/dist/chunks/{reference-gqs0x7cg.js → tool-mkxa71wh.js} +23 -23
  203. package/dist/chunks/{reference-c5m2a8vb.js → tool-mpe6qr53.js} +8 -8
  204. package/dist/chunks/{reference-g8x414b0.js → tool-mwg5k7zj.js} +33 -33
  205. package/dist/chunks/{reference-c3q67jfs.js → tool-n3bkb5q1.js} +8 -8
  206. package/dist/chunks/{reference-25z5brn1.js → tool-n3eppyw3.js} +45 -45
  207. package/dist/chunks/{reference-6ydy7p7m.js → tool-nad4mkqt.js} +8 -8
  208. package/dist/chunks/{reference-myczyk40.js → tool-ndtrv5vn.js} +30 -30
  209. package/dist/chunks/{reference-kksz5w6c.js → tool-ngbav3vd.js} +37 -37
  210. package/dist/chunks/{reference-5w98pc00.js → tool-njyr3yz2.js} +198 -198
  211. package/dist/chunks/{reference-czpz1tck.js → tool-nk68y23q.js} +5 -5
  212. package/dist/chunks/{reference-p015t6z3.js → tool-p015t6z3.js} +2 -2
  213. package/dist/chunks/{reference-jz7hkp52.js → tool-pg5ky8fn.js} +6 -6
  214. package/dist/chunks/{reference-9t00hjd8.js → tool-pjzajrbc.js} +54 -54
  215. package/dist/chunks/{reference-pknna89w.js → tool-pknna89w.js} +1 -1
  216. package/dist/chunks/{reference-x0y5mag1.js → tool-pqyr85nv.js} +30 -30
  217. package/dist/chunks/{reference-y73szgh5.js → tool-pvjefvaz.js} +19 -19
  218. package/dist/chunks/{reference-z052854x.js → tool-py366xq1.js} +10 -10
  219. package/dist/chunks/{reference-ct3g4wzq.js → tool-q2j9e0vw.js} +33 -33
  220. package/dist/chunks/{reference-506jcwr5.js → tool-q3v7sg8t.js} +16 -16
  221. package/dist/chunks/{reference-s5qs7yse.js → tool-q3xtnt1c.js} +11 -11
  222. package/dist/chunks/{reference-yekehd0c.js → tool-q4vfmnms.js} +26 -26
  223. package/dist/chunks/{reference-89pbwxpj.js → tool-q8fk1046.js} +32 -32
  224. package/dist/chunks/{reference-82ryrchv.js → tool-q9z0p7gh.js} +16 -16
  225. package/dist/chunks/{reference-h3t1epsy.js → tool-qb7a72fd.js} +13 -13
  226. package/dist/chunks/{reference-d7fvpgyy.js → tool-qg14jn6v.js} +32 -32
  227. package/dist/chunks/{reference-jqgvqsjx.js → tool-qgtqwdmb.js} +14 -14
  228. package/dist/chunks/{reference-yara3q77.js → tool-qkw2jr9b.js} +2 -2
  229. package/dist/chunks/{reference-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  230. package/dist/chunks/{reference-r0yr0wbs.js → tool-r0yr0wbs.js} +1 -1
  231. package/dist/chunks/{reference-r542h3bh.js → tool-r542h3bh.js} +1 -1
  232. package/dist/chunks/{reference-pen16d07.js → tool-ra34yqmw.js} +6 -6
  233. package/dist/chunks/{reference-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  234. package/dist/chunks/{reference-6emssh1w.js → tool-rj977cyr.js} +23 -23
  235. package/dist/chunks/{reference-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  236. package/dist/chunks/{reference-an5ndxtp.js → tool-s36045k5.js} +29 -29
  237. package/dist/chunks/{reference-bad15fx6.js → tool-s4g3e7mz.js} +34 -34
  238. package/dist/chunks/{reference-tjajrbfk.js → tool-s631gf5j.js} +24 -24
  239. package/dist/chunks/{reference-bk0ke8b9.js → tool-s8gnseh8.js} +326 -332
  240. package/dist/chunks/{reference-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  241. package/dist/chunks/{reference-1txfxaze.js → tool-sar0kh51.js} +16 -16
  242. package/dist/chunks/{reference-k792040k.js → tool-scjxmssc.js} +11 -11
  243. package/dist/chunks/{reference-sqjzf8x2.js → tool-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{reference-kkqethq7.js → tool-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{reference-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{reference-b42d0mkb.js → tool-sweqe2a6.js} +13 -13
  247. package/dist/chunks/{reference-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{reference-zxxmr6sq.js → tool-tn29j0fz.js} +5 -5
  249. package/dist/chunks/{reference-twssxy5n.js → tool-twssxy5n.js} +2 -2
  250. package/dist/chunks/{reference-crc01wwg.js → tool-tzr3pa0w.js} +13 -13
  251. package/dist/chunks/{reference-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{reference-51hjt79c.js → tool-v8t9vyt9.js} +35 -35
  253. package/dist/chunks/{reference-sqrd2s2y.js → tool-v9m2ypfg.js} +17 -17
  254. package/dist/chunks/{reference-vsqvcqta.js → tool-vaq1yek0.js} +6 -6
  255. package/dist/chunks/{reference-veqvce7d.js → tool-veqvce7d.js} +1 -1
  256. package/dist/chunks/{reference-ze844e89.js → tool-vkd92t59.js} +38 -38
  257. package/dist/chunks/{reference-ybqgjkz7.js → tool-vnxqy2jq.js} +30 -30
  258. package/dist/chunks/{reference-vrcsa8qx.js → tool-vrcsa8qx.js} +2 -2
  259. package/dist/chunks/{reference-axe3mf62.js → tool-vtgxp655.js} +3 -3
  260. package/dist/chunks/{reference-5t6ge795.js → tool-vz02t2s9.js} +38 -38
  261. package/dist/chunks/{reference-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{reference-pqced4qh.js → tool-w5w2ye0s.js} +3 -3
  263. package/dist/chunks/{reference-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{reference-wd87259q.js → tool-wd87259q.js} +1 -1
  265. package/dist/chunks/{reference-2dhjdcyg.js → tool-wm8ps0kb.js} +24 -24
  266. package/dist/chunks/{reference-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  267. package/dist/chunks/{reference-03efvwc7.js → tool-wtjwwyta.js} +12 -12
  268. package/dist/chunks/{reference-69yxas2c.js → tool-wxf92x0x.js} +1 -1
  269. package/dist/chunks/{reference-fcve0v7r.js → tool-wzcyht23.js} +47 -47
  270. package/dist/chunks/{reference-3n0qbat0.js → tool-wzdbde40.js} +28 -28
  271. package/dist/chunks/{reference-84rb59ph.js → tool-x0fjpjwd.js} +24 -24
  272. package/dist/chunks/{reference-tgb8sy1m.js → tool-x1a7cwfg.js} +9 -9
  273. package/dist/chunks/{reference-d2j5hydn.js → tool-x1wax2tm.js} +5 -5
  274. package/dist/chunks/{reference-xq2971wf.js → tool-x5xx62h0.js} +12 -12
  275. package/dist/chunks/{reference-m4tvegh7.js → tool-xrzs0xn3.js} +8 -8
  276. package/dist/chunks/{reference-680s3wrb.js → tool-xstj61st.js} +18 -18
  277. package/dist/chunks/{reference-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{reference-eg9rhaxe.js → tool-yc35554n.js} +4 -4
  279. package/dist/chunks/{reference-jsfpnsxq.js → tool-yc9w3422.js} +13 -13
  280. package/dist/chunks/{reference-160yv0cs.js → tool-ydsespw1.js} +4 -4
  281. package/dist/chunks/tool-ymz7p2c9.js +31 -0
  282. package/dist/chunks/{reference-rgd55ngc.js → tool-yqdh10qg.js} +10 -10
  283. package/dist/chunks/{reference-efgcrvx2.js → tool-ysxqaady.js} +23 -23
  284. package/dist/chunks/{reference-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{reference-2yjjj4kt.js → tool-z2e75qjb.js} +18 -18
  286. package/dist/chunks/{reference-z38nccrw.js → tool-z38nccrw.js} +1 -1
  287. package/dist/chunks/{reference-pcrvzspp.js → tool-z56aywt7.js} +14 -14
  288. package/dist/chunks/{reference-ytt91gsd.js → tool-zbqcyxaa.js} +11 -11
  289. package/dist/chunks/{reference-1708cjpw.js → tool-zg3zhf3v.js} +28 -28
  290. package/dist/chunks/{reference-hvy79q2t.js → tool-zgd8t41s.js} +9 -9
  291. package/dist/chunks/{reference-zgkm4kzm.js → tool-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{reference-tp9rrjmz.js → tool-zkmce7rg.js} +11 -11
  293. package/dist/chunks/{reference-30bgehjn.js → tool-zpdhy3rs.js} +23 -23
  294. package/dist/chunks/{reference-rcbjwvze.js → tool-ztf6n3de.js} +4 -4
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +89 -89
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +123 -123
  305. package/dist/config/plugin/command.js +221 -221
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +130 -130
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +3 -3
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +124 -124
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +78 -78
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +98 -98
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -382
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +98 -98
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +228 -228
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +105 -105
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +9 -9
  442. package/dist/filesystem.js +112 -112
  443. package/dist/form.js +84 -84
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +115 -115
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +107 -107
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -373
  473. package/dist/instruction-discovery.js +88 -88
  474. package/dist/instructions/builtins.js +91 -91
  475. package/dist/instructions/index.js +1 -1
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +93 -93
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +166 -166
  482. package/dist/location-lifecycle.js +138 -138
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -370
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +5 -11
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +166 -166
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +107 -107
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +110 -110
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +112 -112
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +88 -88
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +147 -147
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +96 -96
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +82 -82
  510. package/dist/plugin/command.js +110 -110
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +225 -225
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +3 -3
  515. package/dist/plugin/internal.js +342 -343
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +123 -123
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -127
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +130 -130
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -178
  560. package/dist/plugin/sdk.js +82 -82
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -362
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +8 -8
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +4 -4
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +232 -232
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +2 -2
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +92 -92
  583. package/dist/provider.js +103 -103
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +92 -92
  587. package/dist/reference/instructions.js +94 -94
  588. package/dist/reference.js +98 -98
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +3 -3
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +105 -105
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +164 -164
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +3 -3
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +231 -231
  605. package/dist/session/execution.js +152 -152
  606. package/dist/session/generate.js +188 -188
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +138 -138
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +83 -83
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +2 -2
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +5 -5
  632. package/dist/session/session.js +172 -172
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +81 -81
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +215 -215
  641. package/dist/session/system-prompt.js +3 -3
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +230 -230
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +223 -223
  647. package/dist/shell/parse.js +8 -8
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +13 -13
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +2 -2
  653. package/dist/skill/instructions.js +141 -141
  654. package/dist/skill.js +148 -148
  655. package/dist/snapshot.js +99 -99
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +167 -167
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +160 -160
  663. package/dist/tool/plugin/grep.js +160 -160
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +158 -158
  667. package/dist/tool/plugin/question.js +140 -140
  668. package/dist/tool/plugin/read.js +159 -159
  669. package/dist/tool/plugin/shell.js +224 -224
  670. package/dist/tool/plugin/skill.js +149 -149
  671. package/dist/tool/plugin/subagent.js +224 -224
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +147 -147
  674. package/dist/tool/plugin/websearch.js +141 -141
  675. package/dist/tool/plugin/write.js +158 -158
  676. package/dist/tool/read-filesystem.js +104 -104
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +16 -16
  680. package/dist/types/config/plugin/policy.d.ts +1 -2
  681. package/dist/types/managed-policy.d.ts +2 -20
  682. package/dist/types/plugin/internal.d.ts +2 -3
  683. package/dist/types/plugin/module.d.ts +1 -2
  684. package/dist/types/plugin/provider/opencode.d.ts +1 -2
  685. package/dist/usage-limits.js +93 -93
  686. package/dist/util/error-summary.js +1 -1
  687. package/dist/util/git-executable.js +3 -3
  688. package/dist/util/lazy.js +1 -1
  689. package/dist/util/slug.js +1 -1
  690. package/dist/util/token.js +1 -1
  691. package/dist/util/which.js +1 -1
  692. package/dist/util/wildcard.js +1 -1
  693. package/dist/v1/config/agent.js +3 -3
  694. package/dist/v1/config/command.js +3 -3
  695. package/dist/v1/config/mcp.js +4 -4
  696. package/dist/v1/config/migrate.js +100 -100
  697. package/dist/v1/config/permission.js +3 -3
  698. package/dist/v1/config/plugin.js +3 -3
  699. package/dist/v1/config/provider-options.js +1 -1
  700. package/dist/v1/config/provider.js +2 -2
  701. package/dist/variant.js +99 -99
  702. package/dist/vcs/patch.js +1 -1
  703. package/dist/vcs.js +95 -95
  704. package/dist/voice.js +96 -96
  705. package/dist/websearch.js +92 -92
  706. package/dist/wellknown/plugin.js +82 -82
  707. package/dist/wellknown.js +87 -87
  708. package/dist/workspace/driver.js +5 -5
  709. package/dist/workspace/sql.js +1 -1
  710. package/dist/workspace.js +86 -86
  711. package/dist/worktree/directory.js +2 -2
  712. package/dist/worktree/git.js +9 -9
  713. package/dist/worktree/sql.js +5 -5
  714. package/dist/worktree/strategies.js +97 -97
  715. package/dist/worktree.js +102 -102
  716. package/package.json +8 -8
  717. package/dist/chunks/reference-gc4j5hc4.js +0 -59
  718. package/dist/chunks/reference-htat58eq.js +0 -26
  719. package/dist/chunks/reference-j75v3e7j.js +0 -257
  720. package/dist/chunks/reference-w2szm6a4.js +0 -171
  721. package/dist/chunks/reference-z7bdqmx5.js +0 -18
  722. package/dist/plugin/provider/opencode-legacy.js +0 -119
  723. package/dist/types/plugin/provider/opencode-legacy.d.ts +0 -69
  724. /package/dist/chunks/{reference-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  725. /package/dist/chunks/{reference-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  726. /package/dist/chunks/{reference-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  727. /package/dist/chunks/{reference-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  728. /package/dist/chunks/{reference-1jakw16s.js → tool-1jakw16s.js} +0 -0
  729. /package/dist/chunks/{reference-24dcb14g.js → tool-24dcb14g.js} +0 -0
  730. /package/dist/chunks/{reference-2710q6r3.js → tool-2710q6r3.js} +0 -0
  731. /package/dist/chunks/{reference-2bv980vf.js → tool-2bv980vf.js} +0 -0
  732. /package/dist/chunks/{reference-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  733. /package/dist/chunks/{reference-359p4xyc.js → tool-359p4xyc.js} +0 -0
  734. /package/dist/chunks/{reference-3asan66x.js → tool-3asan66x.js} +0 -0
  735. /package/dist/chunks/{reference-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  736. /package/dist/chunks/{reference-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  737. /package/dist/chunks/{reference-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  738. /package/dist/chunks/{reference-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  739. /package/dist/chunks/{reference-4m86bj6y.js → tool-4m86bj6y.js} +0 -0
  740. /package/dist/chunks/{reference-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  741. /package/dist/chunks/{reference-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  742. /package/dist/chunks/{reference-53557ph1.js → tool-53557ph1.js} +0 -0
  743. /package/dist/chunks/{reference-550bvhaj.js → tool-550bvhaj.js} +0 -0
  744. /package/dist/chunks/{reference-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  745. /package/dist/chunks/{reference-6prwharc.js → tool-6prwharc.js} +0 -0
  746. /package/dist/chunks/{reference-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  747. /package/dist/chunks/{reference-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  748. /package/dist/chunks/{reference-7m9af43g.js → tool-7m9af43g.js} +0 -0
  749. /package/dist/chunks/{reference-822emrt2.js → tool-822emrt2.js} +0 -0
  750. /package/dist/chunks/{reference-84wd9syh.js → tool-84wd9syh.js} +0 -0
  751. /package/dist/chunks/{reference-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  752. /package/dist/chunks/{reference-8n3pysct.js → tool-8n3pysct.js} +0 -0
  753. /package/dist/chunks/{reference-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  754. /package/dist/chunks/{reference-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  755. /package/dist/chunks/{reference-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  756. /package/dist/chunks/{reference-a058387c.js → tool-a058387c.js} +0 -0
  757. /package/dist/chunks/{reference-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  758. /package/dist/chunks/{reference-af5trqkr.js → tool-af5trqkr.js} +0 -0
  759. /package/dist/chunks/{reference-afrmfg78.js → tool-afrmfg78.js} +0 -0
  760. /package/dist/chunks/{reference-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  761. /package/dist/chunks/{reference-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  762. /package/dist/chunks/{reference-beh6qq61.js → tool-beh6qq61.js} +0 -0
  763. /package/dist/chunks/{reference-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  764. /package/dist/chunks/{reference-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  765. /package/dist/chunks/{reference-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  766. /package/dist/chunks/{reference-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  767. /package/dist/chunks/{reference-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  768. /package/dist/chunks/{reference-d9fn303g.js → tool-d9fn303g.js} +0 -0
  769. /package/dist/chunks/{reference-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  770. /package/dist/chunks/{reference-dajrwvna.js → tool-dajrwvna.js} +0 -0
  771. /package/dist/chunks/{reference-dap0rakb.js → tool-dap0rakb.js} +0 -0
  772. /package/dist/chunks/{reference-df08tz66.js → tool-df08tz66.js} +0 -0
  773. /package/dist/chunks/{reference-dy18nga0.js → tool-dy18nga0.js} +0 -0
  774. /package/dist/chunks/{reference-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  775. /package/dist/chunks/{reference-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  776. /package/dist/chunks/{reference-ec1grn59.js → tool-ec1grn59.js} +0 -0
  777. /package/dist/chunks/{reference-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  778. /package/dist/chunks/{reference-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  779. /package/dist/chunks/{reference-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  780. /package/dist/chunks/{reference-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  781. /package/dist/chunks/{reference-faypxj3z.js → tool-faypxj3z.js} +0 -0
  782. /package/dist/chunks/{reference-fd410y7t.js → tool-fd410y7t.js} +0 -0
  783. /package/dist/chunks/{reference-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  784. /package/dist/chunks/{reference-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  785. /package/dist/chunks/{reference-g86h250q.js → tool-g86h250q.js} +0 -0
  786. /package/dist/chunks/{reference-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  787. /package/dist/chunks/{reference-gftt206x.js → tool-gftt206x.js} +0 -0
  788. /package/dist/chunks/{reference-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  789. /package/dist/chunks/{reference-hk9envan.js → tool-hk9envan.js} +0 -0
  790. /package/dist/chunks/{reference-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  791. /package/dist/chunks/{reference-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  792. /package/dist/chunks/{reference-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  793. /package/dist/chunks/{reference-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  794. /package/dist/chunks/{reference-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  795. /package/dist/chunks/{reference-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  796. /package/dist/chunks/{reference-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  797. /package/dist/chunks/{reference-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  798. /package/dist/chunks/{reference-m18g726c.js → tool-m18g726c.js} +0 -0
  799. /package/dist/chunks/{reference-mp448xyj.js → tool-mp448xyj.js} +0 -0
  800. /package/dist/chunks/{reference-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  801. /package/dist/chunks/{reference-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  802. /package/dist/chunks/{reference-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  803. /package/dist/chunks/{reference-ncqqe42p.js → tool-ncqqe42p.js} +0 -0
  804. /package/dist/chunks/{reference-njntx4h6.js → tool-njntx4h6.js} +0 -0
  805. /package/dist/chunks/{reference-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  806. /package/dist/chunks/{reference-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  807. /package/dist/chunks/{reference-q74kybfr.js → tool-q74kybfr.js} +0 -0
  808. /package/dist/chunks/{reference-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  809. /package/dist/chunks/{reference-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  810. /package/dist/chunks/{reference-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  811. /package/dist/chunks/{reference-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  812. /package/dist/chunks/{reference-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  813. /package/dist/chunks/{reference-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  814. /package/dist/chunks/{reference-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  815. /package/dist/chunks/{reference-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  816. /package/dist/chunks/{reference-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  817. /package/dist/chunks/{reference-w803qqfp.js → tool-w803qqfp.js} +0 -0
  818. /package/dist/chunks/{reference-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  819. /package/dist/chunks/{reference-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  820. /package/dist/chunks/{reference-wtztk69x.js → tool-wtztk69x.js} +0 -0
  821. /package/dist/chunks/{reference-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  822. /package/dist/chunks/{reference-x61499pn.js → tool-x61499pn.js} +0 -0
  823. /package/dist/chunks/{reference-y44na4kk.js → tool-y44na4kk.js} +0 -0
  824. /package/dist/chunks/{reference-y8f7s663.js → tool-y8f7s663.js} +0 -0
  825. /package/dist/chunks/{reference-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  826. /package/dist/chunks/{reference-ym463w8f.js → tool-ym463w8f.js} +0 -0
  827. /package/dist/chunks/{reference-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  828. /package/dist/chunks/{reference-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,115 +1,115 @@
1
1
  import {
2
- Service87,
3
- node91
4
- } from "./reference-05xp378r.js";
2
+ Service86,
3
+ node90
4
+ } from "./tool-1q93rhva.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./reference-sqrd2s2y.js";
6
+ Service82,
7
+ node86
8
+ } from "./tool-v9m2ypfg.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
- Service71,
13
- node75
14
- } from "./reference-51hjt79c.js";
12
+ Service76,
13
+ node80
14
+ } from "./tool-v8t9vyt9.js";
15
15
  import {
16
- ID7,
17
- Service58,
18
- node61
19
- } from "./reference-kcfhzf92.js";
16
+ ID8,
17
+ Service64,
18
+ node67
19
+ } from "./tool-1ftdw7h3.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./reference-nbw9vdm7.js";
22
+ } from "./tool-9w4n3zkz.js";
23
23
  import {
24
24
  combine2
25
- } from "./reference-1kn6jdkn.js";
25
+ } from "./tool-1kn6jdkn.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./reference-d0t22gk3.js";
28
+ } from "./tool-28v09jk4.js";
29
29
  import {
30
- Service57,
31
- node60
32
- } from "./reference-3b67h89r.js";
30
+ Service62,
31
+ node65
32
+ } from "./tool-jtj22pb2.js";
33
33
  import {
34
34
  merge2
35
- } from "./reference-9g9k5824.js";
35
+ } from "./tool-4h4e17dv.js";
36
36
  import {
37
- make17
38
- } from "./reference-z052854x.js";
37
+ make15
38
+ } from "./tool-py366xq1.js";
39
39
  import {
40
- Service45,
41
- node49
42
- } from "./reference-efgcrvx2.js";
40
+ Service40,
41
+ node43
42
+ } from "./tool-ysxqaady.js";
43
43
  import {
44
44
  Service33,
45
45
  node36
46
- } from "./reference-d879sp0e.js";
46
+ } from "./tool-hed2thzz.js";
47
+ import {
48
+ Service58,
49
+ node61
50
+ } from "./tool-d05zg70t.js";
47
51
  import {
48
- Service39,
49
- node42
50
- } from "./reference-gssxfh3t.js";
52
+ Service37,
53
+ node40
54
+ } from "./tool-vkd92t59.js";
51
55
  import {
52
56
  Service36,
53
57
  node39
54
- } from "./reference-ze844e89.js";
58
+ } from "./tool-kx5zbgb5.js";
55
59
  import {
56
- Service35,
57
- node38
58
- } from "./reference-bzabcrfb.js";
60
+ Service30,
61
+ node33
62
+ } from "./tool-h57pbter.js";
59
63
  import {
60
- Service27,
61
- node30
62
- } from "./reference-4hgd96pp.js";
64
+ Service31,
65
+ node34
66
+ } from "./tool-0ryed6y5.js";
67
+ import {
68
+ Service32,
69
+ node35
70
+ } from "./tool-hwp1rwn1.js";
63
71
  import {
64
72
  Service34,
65
73
  node37
66
- } from "./reference-4c8wr4ge.js";
67
- import {
68
- Service29,
69
- node33
70
- } from "./reference-cw4hf64h.js";
71
- import {
72
- Service30,
73
- node34
74
- } from "./reference-x0y5mag1.js";
74
+ } from "./tool-pqyr85nv.js";
75
75
  import {
76
- Service51,
77
- node54
78
- } from "./reference-gxhmg8t6.js";
76
+ Service47,
77
+ node49
78
+ } from "./tool-ee45cksz.js";
79
79
  import {
80
80
  __export
81
- } from "./reference-9rqn6x4v.js";
81
+ } from "./tool-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service26,
86
+ Service: () => Service29,
87
87
  SessionContext: () => exports_context,
88
- node: () => node29
88
+ node: () => node32
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service26 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service29 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service26, Effect.gen(function* () {
95
- const agents = yield* Service58;
94
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
95
+ const agents = yield* Service64;
96
96
  const builtins = yield* Service33;
97
- const model = yield* Service71;
98
- const db = (yield* Service87).db;
99
- const discovery = yield* Service45;
100
- const entries = yield* Service29;
101
- const location = yield* Service80;
102
- const mcpInstructions = yield* Service35;
103
- const mcpTools = yield* Service36;
104
- const models = yield* Service51;
105
- const request = yield* Service30;
106
- const referenceInstructions = yield* Service27;
107
- const skillInstructions = yield* Service34;
108
- const store = yield* Service57;
109
- const registry = yield* Service39;
97
+ const model = yield* Service76;
98
+ const db = (yield* Service86).db;
99
+ const discovery = yield* Service40;
100
+ const entries = yield* Service32;
101
+ const location = yield* Service82;
102
+ const mcpInstructions = yield* Service36;
103
+ const mcpTools = yield* Service37;
104
+ const models = yield* Service47;
105
+ const request = yield* Service34;
106
+ const referenceInstructions = yield* Service30;
107
+ const skillInstructions = yield* Service31;
108
+ const store = yield* Service62;
109
+ const registry = yield* Service58;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID7.make("title"));
112
+ const agent = yield* agents.get(ID8.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make17(loaded.tools.codeModeCatalog),
171
+ make15(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service26.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service29.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node29 = makeLocationNode({
203
- service: Service26,
202
+ var node32 = makeLocationNode({
203
+ service: Service29,
204
204
  layer,
205
205
  deps: [
206
- node61,
207
- node75,
208
- node91,
206
+ node67,
207
+ node80,
208
+ node90,
209
209
  node36,
210
- node49,
211
- node33,
212
- node84,
213
- node38,
210
+ node43,
211
+ node35,
212
+ node86,
214
213
  node39,
215
- node30,
216
- node54,
217
- node34,
218
- node60,
214
+ node40,
215
+ node33,
216
+ node49,
219
217
  node37,
220
- node42
218
+ node65,
219
+ node34,
220
+ node61
221
221
  ]
222
222
  });
223
223
 
224
- export { Service26, node29, exports_context };
224
+ export { Service29, node32, exports_context };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./reference-1kn6jdkn.js";
6
+ } from "./tool-1kn6jdkn.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Name2,
10
- available3,
11
- Service43,
12
- node46
13
- } from "./reference-1r8vjw6b.js";
10
+ available4,
11
+ Service48,
12
+ node50
13
+ } from "./tool-bq6jjxqp.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions3 = {};
20
20
  __export(exports_instructions3, {
21
- Service: () => Service34,
21
+ Service: () => Service31,
22
22
  SkillInstructions: () => exports_instructions3,
23
- node: () => node37
23
+ node: () => node34
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID4,
28
+ id: ID5,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,13 +64,13 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service34 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service31 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service34, Effect.gen(function* () {
70
- const skills = yield* Service43;
71
- return Service34.of({
69
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
70
+ const skills = yield* Service48;
71
+ return Service31.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
+ const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
74
  return make21({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node37 = makeLocationNode({ service: Service34, layer, deps: [node46] });
87
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [node50] });
88
88
 
89
- export { Service34, node37, exports_instructions3 };
89
+ export { Service31, node34, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./reference-kt3bjfbg.js";
4
+ } from "./tool-kt3bjfbg.js";
5
5
  import {
6
- ID14,
7
- Service81,
8
- node85
9
- } from "./reference-an5ndxtp.js";
6
+ ID13,
7
+ Service78,
8
+ node82
9
+ } from "./tool-s36045k5.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
17
  Info: () => Info7,
18
- Service: () => Service22,
19
- UnavailableError: () => UnavailableError3,
18
+ Service: () => Service24,
19
+ UnavailableError: () => UnavailableError5,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer11,
22
- node: () => node25
21
+ layer: () => layer13,
22
+ node: () => node27
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  var Info7 = UsageLimits.Info;
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service22 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service24 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer11 = Layer.effect(Service22, Effect.gen(function* () {
42
- const integrations = yield* Service81;
41
+ var layer13 = Layer.effect(Service24, Effect.gen(function* () {
42
+ const integrations = yield* Service78;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
- const connection = yield* integrations.connection.active(ID14.make("opencode"));
45
+ const connection = yield* integrations.connection.active(ID13.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service22.of({ get });
69
+ return Service24.of({ get });
70
70
  }));
71
- var node25 = makeLocationNode({
72
- service: Service22,
73
- layer: layer11,
74
- deps: [node85, httpClient]
71
+ var node27 = makeLocationNode({
72
+ service: Service24,
73
+ layer: layer13,
74
+ deps: [node82, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info7, UnavailableError3, Service22, layer11, node25, exports_usage_limits };
133
+ export { Info7, UnavailableError5, Service24, layer13, node27, exports_usage_limits };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service69
3
- } from "./reference-82ryrchv.js";
2
+ Service73
3
+ } from "./tool-q9z0p7gh.js";
4
4
  import {
5
- Service80
6
- } from "./reference-sqrd2s2y.js";
5
+ Service82
6
+ } from "./tool-v9m2ypfg.js";
7
7
  import {
8
- Service68
9
- } from "./reference-49qz2gqd.js";
8
+ Service72
9
+ } from "./tool-7aq6rx75.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./reference-1kn6jdkn.js";
12
+ } from "./tool-1kn6jdkn.js";
13
13
  import {
14
14
  File2,
15
- Service45
16
- } from "./reference-efgcrvx2.js";
15
+ Service40
16
+ } from "./tool-ysxqaady.js";
17
17
  import {
18
18
  __export
19
- } from "./reference-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin2
25
+ Plugin: () => Plugin43
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin2 = define({
34
+ var Plugin43 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service45;
37
+ const discovery = yield* Service40;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service68;
39
+ const config = yield* Service72;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service80;
44
- const watcher = yield* Service69;
43
+ const location = yield* Service82;
44
+ const watcher = yield* Service73;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin2, exports_instruction };
183
+ export { Plugin43, exports_instruction };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./reference-1txfxaze.js";
2
+ Service85,
3
+ node89
4
+ } from "./tool-sar0kh51.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./reference-204s3925.js";
8
+ } from "./tool-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./reference-9rqn6x4v.js";
11
+ } from "./tool-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
14
  var exports_agent3 = {};
15
15
  __export(exports_agent3, {
16
16
  Agent: () => exports_agent3,
17
17
  Color: () => Color2,
18
- Event: () => Event10,
19
- ID: () => ID7,
20
- Info: () => Info13,
18
+ Event: () => Event13,
19
+ ID: () => ID8,
20
+ Info: () => Info14,
21
21
  Name: () => Name3,
22
- Service: () => Service58,
22
+ Service: () => Service64,
23
23
  defaultID: () => defaultID2,
24
- node: () => node61
24
+ node: () => node67
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
- import { Event as Event10 } from "@opencode/schema/agent";
30
- var ID7 = Agent.ID;
29
+ import { Event as Event13 } from "@opencode/schema/agent";
30
+ var ID8 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID7.make("build");
32
+ var defaultID2 = ID8.make("build");
33
33
  var Color2 = Agent.Color;
34
- var Info13 = Agent.Info;
34
+ var Info14 = Agent.Info;
35
35
 
36
- class Service58 extends Context.Service()("@opencode/Agent") {
36
+ class Service64 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service58, Effect.gen(function* () {
39
- const bus = yield* Service86;
38
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
39
+ const bus = yield* Service85;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
42
42
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
68
68
  editor.default = id;
69
69
  },
70
70
  update: (id, fn) => {
71
- const current = editor.agents.get(id) ?? Info13.default(id);
71
+ const current = editor.agents.get(id) ?? Info14.default(id);
72
72
  if (!editor.agents.has(id))
73
73
  editor.agents.set(id, current);
74
74
  fn(current);
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service58.of({
83
+ return Service64.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID7.make(id));
91
+ return state.get().agents.get(ID8.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node61 = makeLocationNode({ service: Service58, layer, deps: [node90] });
105
+ var node67 = makeLocationNode({ service: Service64, layer, deps: [node89] });
106
106
 
107
- export { ID7, Name3, defaultID2, Color2, Info13, Service58, node61, exports_agent3, Event10 };
107
+ export { ID8, Name3, defaultID2, Color2, Info14, Service64, node67, exports_agent3, Event13 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-k792040k.js";
3
+ } from "./tool-scjxmssc.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin25,
11
+ Plugin: () => Plugin6,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint5 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin25 = define({
32
+ var Plugin6 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin25 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin25 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin25, exports_tavily };
80
+ export { endpoint4, Plugin6, exports_tavily };