@opencode/core 0.0.0-dev-20677 → 0.0.0-dev-20679

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{agent-gs91af73.js → wellknown-04k5f7nv.js} +82 -82
  8. package/dist/chunks/{agent-0vbcp93d.js → wellknown-0emb60td.js} +2 -2
  9. package/dist/chunks/{agent-1gq97tmn.js → wellknown-0hkwt15d.js} +138 -138
  10. package/dist/chunks/{agent-3xx70s67.js → wellknown-0ktxm01m.js} +15 -15
  11. package/dist/chunks/{agent-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{agent-j7dp57tw.js → wellknown-0pdahkpz.js} +7 -7
  13. package/dist/chunks/{agent-zd30eb5w.js → wellknown-0ryd0fps.js} +5 -5
  14. package/dist/chunks/{agent-9k8khh75.js → wellknown-173pmgcq.js} +9 -9
  15. package/dist/chunks/{agent-m8n59xp2.js → wellknown-19c4es28.js} +6 -6
  16. package/dist/chunks/{agent-1bv2kaf1.js → wellknown-1d3hf4vh.js} +22 -22
  17. package/dist/chunks/{agent-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{agent-ptyashkp.js → wellknown-1f9d60n1.js} +1 -1
  19. package/dist/chunks/{agent-bxfxz57t.js → wellknown-1jj26f9v.js} +19 -19
  20. package/dist/chunks/{agent-sz4assh2.js → wellknown-1yy47k8t.js} +3 -3
  21. package/dist/chunks/{agent-adt5jcng.js → wellknown-255cfpxb.js} +13 -13
  22. package/dist/chunks/{agent-bmmeg5sm.js → wellknown-27fb6cga.js} +14 -14
  23. package/dist/chunks/{agent-z20ctxjw.js → wellknown-27yha8rt.js} +14 -14
  24. package/dist/chunks/{agent-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{agent-tzhfy6rd.js → wellknown-2hteb5fn.js} +6 -6
  26. package/dist/chunks/{agent-xd0zgs67.js → wellknown-2wbvtg9h.js} +15 -15
  27. package/dist/chunks/{agent-j422692e.js → wellknown-33czt5j7.js} +3 -3
  28. package/dist/chunks/{agent-26mk346k.js → wellknown-346bpdxw.js} +19 -19
  29. package/dist/chunks/{agent-angdxrpd.js → wellknown-3542zzsp.js} +16 -16
  30. package/dist/chunks/{agent-vnb5qef4.js → wellknown-3agt91nk.js} +4 -4
  31. package/dist/chunks/{agent-x14d6wr9.js → wellknown-3b1e2t2f.js} +62 -62
  32. package/dist/chunks/{agent-3cegwx68.js → wellknown-3cegwx68.js} +2 -2
  33. package/dist/chunks/{agent-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{agent-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{agent-cdhr69tv.js → wellknown-3hw9jnfj.js} +11 -11
  36. package/dist/chunks/{agent-2sradmzs.js → wellknown-3n8d9z3h.js} +22 -22
  37. package/dist/chunks/{agent-k2025ghf.js → wellknown-3phfz8pg.js} +13 -13
  38. package/dist/chunks/{agent-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{agent-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{agent-03xyy9gs.js → wellknown-3w57jhwt.js} +8 -8
  41. package/dist/chunks/{agent-35q2em60.js → wellknown-3yjyv8ay.js} +23 -23
  42. package/dist/chunks/{agent-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{agent-95dtjqf2.js → wellknown-40ekwggk.js} +2 -2
  44. package/dist/chunks/{agent-bx0gyb4h.js → wellknown-43kvem2p.js} +5 -5
  45. package/dist/chunks/{agent-m4twzpdx.js → wellknown-48rr034y.js} +45 -45
  46. package/dist/chunks/{agent-5b3yx2mr.js → wellknown-4bsw698e.js} +1 -1
  47. package/dist/chunks/{agent-7j2qha59.js → wellknown-4c2df9zx.js} +8 -8
  48. package/dist/chunks/{agent-emcb384r.js → wellknown-4e4hq87t.js} +8 -8
  49. package/dist/chunks/{agent-wyjka35g.js → wellknown-4m6x6rtf.js} +29 -29
  50. package/dist/chunks/{agent-984m73yw.js → wellknown-4tbrzcn8.js} +18 -18
  51. package/dist/chunks/{agent-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{agent-3tm29b2b.js → wellknown-52qyp2rz.js} +299 -299
  53. package/dist/chunks/{agent-5ymje97q.js → wellknown-54f0hksz.js} +13 -13
  54. package/dist/chunks/{agent-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  55. package/dist/chunks/{agent-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{agent-r8jtv4kk.js → wellknown-5b9ryv59.js} +5 -5
  57. package/dist/chunks/{agent-4mp2bwzd.js → wellknown-5cg44s47.js} +13 -13
  58. package/dist/chunks/{agent-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  59. package/dist/chunks/{agent-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{agent-59c10ypj.js → wellknown-5pbtm9hs.js} +4 -4
  61. package/dist/chunks/{agent-drnf6xwf.js → wellknown-5pyjqqve.js} +2 -2
  62. package/dist/chunks/{agent-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{agent-vasdvhx2.js → wellknown-5v630bnm.js} +8 -8
  64. package/dist/chunks/{agent-299ygcnd.js → wellknown-68hsqk7p.js} +12 -12
  65. package/dist/chunks/{agent-pmf7a4gp.js → wellknown-68yf1gk3.js} +85 -85
  66. package/dist/chunks/{agent-ysr5vm6y.js → wellknown-6cg192sj.js} +13 -13
  67. package/dist/chunks/{agent-pjvcp6pt.js → wellknown-6eegp3c0.js} +20 -20
  68. package/dist/chunks/{agent-cz4pebbb.js → wellknown-6tn7jbdw.js} +38 -38
  69. package/dist/chunks/{agent-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{agent-6hk2686f.js → wellknown-73280wea.js} +39 -39
  71. package/dist/chunks/{agent-237z5p4t.js → wellknown-737vdrvj.js} +12 -12
  72. package/dist/chunks/{agent-j9pgxxd7.js → wellknown-73hsgnrh.js} +9 -9
  73. package/dist/chunks/{agent-4c701q23.js → wellknown-75r8nd2c.js} +37 -37
  74. package/dist/chunks/{agent-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{agent-541dm475.js → wellknown-7d6br3mg.js} +1 -1
  76. package/dist/chunks/{agent-xw8dfwaj.js → wellknown-7f4g3nej.js} +10 -10
  77. package/dist/chunks/{agent-cc8cknna.js → wellknown-7qwq6qbk.js} +39 -39
  78. package/dist/chunks/{agent-6waraj69.js → wellknown-7rpkbad3.js} +18 -18
  79. package/dist/chunks/{agent-a4rged5n.js → wellknown-7t8bdkt7.js} +10 -10
  80. package/dist/chunks/{agent-z0hr7r87.js → wellknown-7wy8fz1g.js} +19 -19
  81. package/dist/chunks/{agent-hfetwrmg.js → wellknown-805mqyzz.js} +22 -22
  82. package/dist/chunks/{agent-b6crebg4.js → wellknown-80taqy91.js} +9 -9
  83. package/dist/chunks/{agent-84h8c373.js → wellknown-84h8c373.js} +2 -2
  84. package/dist/chunks/{agent-84txncab.js → wellknown-84txncab.js} +1 -1
  85. package/dist/chunks/{agent-bmr4b0kb.js → wellknown-89r1t2kw.js} +9 -9
  86. package/dist/chunks/{agent-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{agent-we2jpmnd.js → wellknown-8gnwkc1b.js} +15 -15
  88. package/dist/chunks/{agent-wdbnpmn3.js → wellknown-8jvfz5h0.js} +16 -16
  89. package/dist/chunks/{agent-pm6p0qfa.js → wellknown-8s2p4g23.js} +26 -26
  90. package/dist/chunks/{agent-ghde90aw.js → wellknown-8s6j0xgj.js} +6 -6
  91. package/dist/chunks/{agent-3afxxhd7.js → wellknown-90kht7m5.js} +42 -42
  92. package/dist/chunks/{agent-md04j19x.js → wellknown-9ev8g8qb.js} +4 -4
  93. package/dist/chunks/{agent-b6mnpgpe.js → wellknown-9mt24hjb.js} +26 -26
  94. package/dist/chunks/{agent-ynpe6tcd.js → wellknown-9s1fef2z.js} +12 -12
  95. package/dist/chunks/{agent-s8d7rejh.js → wellknown-9t7a50xb.js} +4 -4
  96. package/dist/chunks/{agent-zcps5b4x.js → wellknown-9vxetrwd.js} +3 -3
  97. package/dist/chunks/{agent-0w51wpsa.js → wellknown-9xg6qs42.js} +1 -1
  98. package/dist/chunks/{agent-hh1fe6b7.js → wellknown-a166dkph.js} +21 -21
  99. package/dist/chunks/{agent-zdamgzkx.js → wellknown-a1g6a9yj.js} +5 -5
  100. package/dist/chunks/{agent-phrn0hnn.js → wellknown-a25h4jaw.js} +19 -19
  101. package/dist/chunks/{agent-pxstbhnf.js → wellknown-a4jk14wf.js} +28 -28
  102. package/dist/chunks/{agent-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  103. package/dist/chunks/{agent-addxnjmp.js → wellknown-addxnjmp.js} +1 -1
  104. package/dist/chunks/{agent-afjydgk3.js → wellknown-afjydgk3.js} +1 -1
  105. package/dist/chunks/{agent-64vpcbr9.js → wellknown-afrgtbd2.js} +5 -5
  106. package/dist/chunks/{agent-ckt1a3xt.js → wellknown-ant6vppx.js} +11 -11
  107. package/dist/chunks/{agent-4a0nv7mx.js → wellknown-at1kfnmk.js} +8 -8
  108. package/dist/chunks/{agent-jnyg353g.js → wellknown-axhkhwr8.js} +20 -20
  109. package/dist/chunks/{agent-9pst789e.js → wellknown-az3rkwbe.js} +9 -9
  110. package/dist/chunks/{agent-cfsekr6v.js → wellknown-b4twkq7r.js} +6 -6
  111. package/dist/chunks/{agent-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{agent-0e4zfx6z.js → wellknown-b8j60jjz.js} +5 -5
  113. package/dist/chunks/{agent-27rataxe.js → wellknown-berpeycn.js} +13 -13
  114. package/dist/chunks/{agent-8kzy5fr5.js → wellknown-beyp434m.js} +9 -9
  115. package/dist/chunks/{agent-jmxsfgen.js → wellknown-bhypc13x.js} +9 -9
  116. package/dist/chunks/{agent-f9kekh7f.js → wellknown-bpz9cye0.js} +7 -7
  117. package/dist/chunks/{agent-xsz0k8gc.js → wellknown-bq56amyz.js} +12 -12
  118. package/dist/chunks/{agent-760hrz28.js → wellknown-bsgbbmse.js} +33 -33
  119. package/dist/chunks/{agent-1gpb38yh.js → wellknown-bsprd9wx.js} +3 -3
  120. package/dist/chunks/{agent-848sxtqq.js → wellknown-bxx1pwwx.js} +14 -14
  121. package/dist/chunks/{agent-xgemm4h5.js → wellknown-bzrjq2vy.js} +9 -9
  122. package/dist/chunks/{agent-btdzdyts.js → wellknown-ch7w39rj.js} +10 -10
  123. package/dist/chunks/{agent-gjzmqfxe.js → wellknown-cmmkncq8.js} +10 -10
  124. package/dist/chunks/{agent-seefsy74.js → wellknown-cp4a2zr9.js} +26 -26
  125. package/dist/chunks/wellknown-ctefx7dc.js +18 -0
  126. package/dist/chunks/{agent-w39jehkq.js → wellknown-cxbh1760.js} +5 -5
  127. package/dist/chunks/{agent-mktej9kf.js → wellknown-d8zex0s9.js} +10 -10
  128. package/dist/chunks/{agent-rx9ava5n.js → wellknown-dd40s8jk.js} +4 -4
  129. package/dist/chunks/{agent-cvsve72h.js → wellknown-dgnn94pr.js} +16 -16
  130. package/dist/chunks/{agent-rzem9bwq.js → wellknown-dn58h0gr.js} +3 -3
  131. package/dist/chunks/{agent-m1jewsve.js → wellknown-dp7t54vv.js} +9 -9
  132. package/dist/chunks/{agent-1a721rxg.js → wellknown-drqgrxrt.js} +3 -3
  133. package/dist/chunks/{agent-tkmwgdpd.js → wellknown-edrmdtr5.js} +4 -4
  134. package/dist/chunks/{agent-cx89qeg3.js → wellknown-eeavwd92.js} +3 -3
  135. package/dist/chunks/{agent-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{agent-ftxvqbsg.js → wellknown-ehx3qmqc.js} +9 -9
  137. package/dist/chunks/{agent-ej7nfns1.js → wellknown-epwn5jzh.js} +15 -15
  138. package/dist/chunks/{agent-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{agent-5n1rr6qj.js → wellknown-exs3g62t.js} +10 -10
  140. package/dist/chunks/{agent-37jae8a1.js → wellknown-exzm0cze.js} +11 -11
  141. package/dist/chunks/{agent-v0yfz79w.js → wellknown-f5abhewx.js} +9 -9
  142. package/dist/chunks/{agent-qagkqpcw.js → wellknown-f5gy8qwh.js} +8 -8
  143. package/dist/chunks/{agent-f75zav2x.js → wellknown-f75zav2x.js} +2 -2
  144. package/dist/chunks/{agent-682b4fx6.js → wellknown-fegm0bq6.js} +14 -14
  145. package/dist/chunks/{agent-x7rh3hnq.js → wellknown-fkc7as9m.js} +23 -23
  146. package/dist/chunks/{agent-6feta9cj.js → wellknown-fn6n174a.js} +11 -11
  147. package/dist/chunks/{agent-8dpqntaq.js → wellknown-fs92dzhy.js} +25 -25
  148. package/dist/chunks/{agent-mc5gsmcy.js → wellknown-ftcs2r5x.js} +12 -12
  149. package/dist/chunks/{agent-egsf10bm.js → wellknown-fvvpstn0.js} +11 -11
  150. package/dist/chunks/{agent-shqrd0p7.js → wellknown-g5g6qkd8.js} +3 -3
  151. package/dist/chunks/{agent-g5w8qwbj.js → wellknown-g5w8qwbj.js} +1 -1
  152. package/dist/chunks/{agent-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{agent-672xc31r.js → wellknown-h2d4d765.js} +5 -5
  154. package/dist/chunks/{agent-myj39cz3.js → wellknown-h6bm7n8h.js} +48 -48
  155. package/dist/chunks/{agent-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{agent-webf11ha.js → wellknown-ha0rea1c.js} +6 -6
  157. package/dist/chunks/{agent-v3v4sgpm.js → wellknown-hd32csf9.js} +3 -3
  158. package/dist/chunks/{agent-he27pt63.js → wellknown-he27pt63.js} +1 -1
  159. package/dist/chunks/{agent-h7znadvr.js → wellknown-hptfyq97.js} +8 -8
  160. package/dist/chunks/{agent-xc7fr0n8.js → wellknown-hwady861.js} +36 -36
  161. package/dist/chunks/{agent-8dcer5qr.js → wellknown-j27a4emc.js} +11 -11
  162. package/dist/chunks/wellknown-j2e8rp7d.js +253 -0
  163. package/dist/chunks/{agent-xswen0y0.js → wellknown-j4ydyyt8.js} +1 -1
  164. package/dist/chunks/{agent-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  165. package/dist/chunks/{agent-knevfgda.js → wellknown-j8m1p4p1.js} +4 -4
  166. package/dist/chunks/{agent-rp55dayf.js → wellknown-jkg43hkq.js} +22 -22
  167. package/dist/chunks/{agent-mx1sahds.js → wellknown-jvjttr1n.js} +19 -19
  168. package/dist/chunks/{agent-96f2n6ah.js → wellknown-jz979h27.js} +12 -12
  169. package/dist/chunks/{agent-ddd3v19d.js → wellknown-k0fb5tp9.js} +9 -9
  170. package/dist/chunks/{agent-7bvtnfyz.js → wellknown-k617rwhp.js} +13 -13
  171. package/dist/chunks/{agent-8n5zbqyh.js → wellknown-k8zgzs4j.js} +7 -7
  172. package/dist/chunks/{agent-kb9j3d72.js → wellknown-kb9j3d72.js} +3 -3
  173. package/dist/chunks/{agent-64jy87jm.js → wellknown-kgkz97qg.js} +39 -39
  174. package/dist/chunks/{agent-cb89hyx5.js → wellknown-kmr16be3.js} +2 -2
  175. package/dist/chunks/{agent-eyq9c17f.js → wellknown-kqrgzfyx.js} +13 -13
  176. package/dist/chunks/{agent-mjymc32g.js → wellknown-kvvk39gs.js} +4 -4
  177. package/dist/chunks/{agent-d28w4k3h.js → wellknown-m1hk3x7f.js} +12 -12
  178. package/dist/chunks/{agent-f0wnr75e.js → wellknown-m29c2wsb.js} +32 -32
  179. package/dist/chunks/{agent-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{agent-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{agent-v6mpbx6v.js → wellknown-mb41hxq8.js} +30 -30
  182. package/dist/chunks/{agent-fswrwyfk.js → wellknown-mdb6f0mb.js} +4 -4
  183. package/dist/chunks/{agent-wecqtg5s.js → wellknown-mha52fg8.js} +5 -5
  184. package/dist/chunks/{agent-m938ztfj.js → wellknown-mhs8r3m2.js} +32 -32
  185. package/dist/chunks/{agent-508esqyf.js → wellknown-mmzszc8z.js} +27 -27
  186. package/dist/chunks/{agent-x0bgzv0s.js → wellknown-mqafpt2f.js} +1 -1
  187. package/dist/chunks/{agent-61tzzxsr.js → wellknown-mqsap6m9.js} +35 -35
  188. package/dist/chunks/{agent-9nb94ttp.js → wellknown-mtshsn2z.js} +22 -22
  189. package/dist/chunks/wellknown-n5wwkbj9.js +26 -0
  190. package/dist/chunks/{agent-4kmwdp9k.js → wellknown-n8gsyc7n.js} +18 -18
  191. package/dist/chunks/{agent-ftjf86m5.js → wellknown-n9j73x72.js} +9 -9
  192. package/dist/chunks/{agent-md2j7y0e.js → wellknown-nen0rqf3.js} +15 -15
  193. package/dist/chunks/{agent-r8xr0va3.js → wellknown-nkf980df.js} +4 -4
  194. package/dist/chunks/{agent-r5ypt5d9.js → wellknown-nvr70z5w.js} +9 -9
  195. package/dist/chunks/{agent-mt48d8bc.js → wellknown-nx82gf31.js} +21 -21
  196. package/dist/chunks/{agent-nxm207yx.js → wellknown-nxm207yx.js} +1 -1
  197. package/dist/chunks/{agent-xb54y55j.js → wellknown-nzym5ntr.js} +55 -55
  198. package/dist/chunks/{agent-r9p2yfma.js → wellknown-p1nvj8z6.js} +8 -8
  199. package/dist/chunks/{agent-8v6pyhej.js → wellknown-pa8pe2x7.js} +8 -8
  200. package/dist/chunks/{agent-gdyt3gj6.js → wellknown-pd2x9kgq.js} +6 -6
  201. package/dist/chunks/{agent-9zrkfg92.js → wellknown-ph2e6s98.js} +35 -35
  202. package/dist/chunks/{agent-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{agent-e2erybrn.js → wellknown-pkb6p7eb.js} +3 -3
  204. package/dist/chunks/{agent-pknna89w.js → wellknown-pknna89w.js} +1 -1
  205. package/dist/chunks/{agent-nzq7ck9f.js → wellknown-prmgem5b.js} +6 -6
  206. package/dist/chunks/{agent-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{agent-dkkan8mq.js → wellknown-q5ze5amg.js} +15 -15
  208. package/dist/chunks/{agent-3xdvdhsm.js → wellknown-q7s4wvq2.js} +17 -17
  209. package/dist/chunks/{agent-vykevjvn.js → wellknown-qa7075pb.js} +5 -5
  210. package/dist/chunks/{agent-3ewed21c.js → wellknown-qbqbaz6q.js} +4 -4
  211. package/dist/chunks/{agent-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{agent-qpbc7zwf.js → wellknown-qm7jrdpz.js} +8 -8
  213. package/dist/chunks/{agent-g6q9qykm.js → wellknown-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{agent-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{agent-fvbmtwra.js → wellknown-qpsbqnqf.js} +13 -13
  216. package/dist/chunks/{agent-d93aaqkk.js → wellknown-qpw1s7bc.js} +4 -4
  217. package/dist/chunks/{agent-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  218. package/dist/chunks/{agent-qxjc9qry.js → wellknown-qxjc9qry.js} +3 -3
  219. package/dist/chunks/{agent-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{agent-z99e7jc7.js → wellknown-r6jtefwf.js} +35 -35
  221. package/dist/chunks/{agent-ky1e5nsp.js → wellknown-r7f7xh9p.js} +9 -9
  222. package/dist/chunks/{agent-c1fbq4kv.js → wellknown-r92xrcx3.js} +15 -15
  223. package/dist/chunks/{agent-4617ttsa.js → wellknown-rbe4wvb2.js} +21 -21
  224. package/dist/chunks/{agent-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{agent-8j0012y3.js → wellknown-rmpjmpw1.js} +21 -21
  226. package/dist/chunks/{agent-abmjs3wp.js → wellknown-rrjjf3fc.js} +23 -23
  227. package/dist/chunks/{agent-n4r3xatb.js → wellknown-rwm5vee1.js} +4 -4
  228. package/dist/chunks/{agent-9zj3ww2h.js → wellknown-s2qetmaw.js} +9 -9
  229. package/dist/chunks/{agent-htb94n32.js → wellknown-s7v01njr.js} +9 -9
  230. package/dist/chunks/{agent-db62y6bp.js → wellknown-srpm7hfx.js} +15 -15
  231. package/dist/chunks/{agent-rgvftgaz.js → wellknown-t0vq3sxw.js} +21 -21
  232. package/dist/chunks/{agent-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{agent-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{agent-3dx6e5mz.js → wellknown-tcvz6j51.js} +28 -28
  235. package/dist/chunks/{agent-nw12y3df.js → wellknown-tdcgy60y.js} +11 -11
  236. package/dist/chunks/{agent-tdstcens.js → wellknown-tdstcens.js} +1 -1
  237. package/dist/chunks/{agent-ygz1yfbt.js → wellknown-thc15jq6.js} +11 -11
  238. package/dist/chunks/{agent-9hrc7yhg.js → wellknown-tsbm8v4g.js} +8 -8
  239. package/dist/chunks/{agent-pber7d37.js → wellknown-tyk1x22e.js} +7 -7
  240. package/dist/chunks/{agent-y57vdypc.js → wellknown-v08ftd5w.js} +40 -40
  241. package/dist/chunks/{agent-61bbtbmc.js → wellknown-v26071zx.js} +26 -26
  242. package/dist/chunks/{agent-212y0zje.js → wellknown-v9rk9z7g.js} +8 -8
  243. package/dist/chunks/{agent-j01xwkjw.js → wellknown-vaawya2s.js} +11 -11
  244. package/dist/chunks/{agent-84tzk9gr.js → wellknown-ve1xn75q.js} +19 -19
  245. package/dist/chunks/{agent-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  246. package/dist/chunks/{agent-5xzzfr73.js → wellknown-vgvkqx5m.js} +15 -15
  247. package/dist/chunks/{agent-my4zabxr.js → wellknown-vx3jgdek.js} +3 -3
  248. package/dist/chunks/{agent-33ds9rj3.js → wellknown-vz0xp14q.js} +6 -6
  249. package/dist/chunks/{agent-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{agent-hcg5kpq6.js → wellknown-w0rrsdn6.js} +32 -32
  251. package/dist/chunks/{agent-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{agent-3tvp0d45.js → wellknown-w560apy3.js} +17 -17
  253. package/dist/chunks/{agent-w5zzhgd0.js → wellknown-w5zzhgd0.js} +1 -1
  254. package/dist/chunks/{agent-sxcgg9pv.js → wellknown-w6f70jx8.js} +4 -4
  255. package/dist/chunks/{agent-fd8908de.js → wellknown-wa905199.js} +15 -15
  256. package/dist/chunks/{agent-wd87259q.js → wellknown-wd87259q.js} +1 -1
  257. package/dist/chunks/{agent-w1vqmw9z.js → wellknown-wdz7by7z.js} +16 -16
  258. package/dist/chunks/{agent-8a6ws7jr.js → wellknown-wmz9gz0a.js} +9 -9
  259. package/dist/chunks/{agent-d3pa2dt1.js → wellknown-wwswy3cn.js} +17 -17
  260. package/dist/chunks/{agent-qhbttv6z.js → wellknown-x5qes1kq.js} +21 -21
  261. package/dist/chunks/{agent-v0es1rhs.js → wellknown-xecxzrdp.js} +2 -2
  262. package/dist/chunks/{agent-6rcj2hr5.js → wellknown-xenw0zak.js} +31 -31
  263. package/dist/chunks/{agent-xkntkrq7.js → wellknown-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{agent-emb8t02r.js → wellknown-xmd7q6j6.js} +24 -24
  265. package/dist/chunks/{agent-wmvjsdxp.js → wellknown-xpxptrwk.js} +22 -22
  266. package/dist/chunks/{agent-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{agent-44a7phry.js → wellknown-y4wym877.js} +22 -22
  268. package/dist/chunks/{agent-vbh50phm.js → wellknown-y54hr7f3.js} +9 -9
  269. package/dist/chunks/{agent-d3f2prkd.js → wellknown-yadpvqa6.js} +35 -35
  270. package/dist/chunks/{agent-bhhppv72.js → wellknown-yar9by0p.js} +9 -9
  271. package/dist/chunks/{agent-jqyc2fxa.js → wellknown-ygjkz2v0.js} +4 -4
  272. package/dist/chunks/{agent-x2nf5h0k.js → wellknown-ykgyn99t.js} +18 -18
  273. package/dist/chunks/{agent-bf9mzw80.js → wellknown-ytws7ykb.js} +2 -2
  274. package/dist/chunks/{agent-84kwgfzz.js → wellknown-yx0rbatw.js} +21 -21
  275. package/dist/chunks/{agent-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{agent-apvampct.js → wellknown-z25529q4.js} +22 -22
  277. package/dist/chunks/{agent-asw8c91m.js → wellknown-z3z4rvt0.js} +4 -4
  278. package/dist/chunks/{agent-vx4kd0j3.js → wellknown-z81wjjn1.js} +9 -9
  279. package/dist/chunks/{agent-3ze65hfa.js → wellknown-zbvarpdb.js} +34 -34
  280. package/dist/chunks/{agent-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{agent-fqmwv32j.js → wellknown-zr67nb1x.js} +14 -14
  282. package/dist/chunks/{agent-zsr4wwhv.js → wellknown-zsr4wwhv.js} +1 -1
  283. package/dist/chunks/{agent-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +77 -77
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +77 -77
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +214 -214
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +74 -74
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +81 -81
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +103 -103
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +101 -101
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +94 -94
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +76 -76
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +103 -103
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +93 -93
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +83 -83
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +124 -124
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +1 -1
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +104 -104
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +1 -1
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +74 -74
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/agent-f81tjggh.js +0 -18
  681. package/dist/chunks/agent-v8hbtvfc.js +0 -26
  682. package/dist/chunks/agent-vden9jcp.js +0 -253
  683. /package/dist/chunks/{agent-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{agent-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{agent-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{agent-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{agent-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{agent-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{agent-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{agent-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{agent-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{agent-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{agent-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{agent-3asan66x.js → wellknown-3asan66x.js} +0 -0
  695. /package/dist/chunks/{agent-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{agent-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{agent-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{agent-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{agent-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{agent-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{agent-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{agent-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{agent-53557ph1.js → wellknown-53557ph1.js} +0 -0
  704. /package/dist/chunks/{agent-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{agent-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{agent-6prwharc.js → wellknown-6prwharc.js} +0 -0
  707. /package/dist/chunks/{agent-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{agent-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{agent-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{agent-822emrt2.js → wellknown-822emrt2.js} +0 -0
  711. /package/dist/chunks/{agent-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{agent-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{agent-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{agent-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{agent-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{agent-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{agent-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{agent-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{agent-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{agent-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{agent-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{agent-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{agent-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{agent-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{agent-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{agent-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{agent-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{agent-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{agent-df08tz66.js → wellknown-df08tz66.js} +0 -0
  730. /package/dist/chunks/{agent-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{agent-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{agent-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{agent-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{agent-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{agent-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{agent-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{agent-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{agent-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{agent-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{agent-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{agent-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{agent-g86h250q.js → wellknown-g86h250q.js} +0 -0
  743. /package/dist/chunks/{agent-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{agent-gftt206x.js → wellknown-gftt206x.js} +0 -0
  745. /package/dist/chunks/{agent-hk9envan.js → wellknown-hk9envan.js} +0 -0
  746. /package/dist/chunks/{agent-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{agent-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{agent-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{agent-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{agent-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{agent-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{agent-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{agent-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{agent-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{agent-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{agent-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{agent-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{agent-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{agent-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{agent-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{agent-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{agent-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{agent-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{agent-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{agent-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{agent-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{agent-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{agent-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{agent-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{agent-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{agent-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{agent-x61499pn.js → wellknown-x61499pn.js} +0 -0
  773. /package/dist/chunks/{agent-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{agent-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{agent-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{agent-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{agent-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{agent-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{agent-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./agent-mc5gsmcy.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-ftcs2r5x.js";
5
5
  import {
6
- Service73,
7
- node77
8
- } from "./agent-a4rged5n.js";
6
+ Service68,
7
+ node72
8
+ } from "./wellknown-7t8bdkt7.js";
9
9
  import {
10
10
  create3
11
- } from "./agent-rdw6cm16.js";
11
+ } from "./wellknown-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID4,
20
+ Event: () => Event3,
21
+ ID: () => ID3,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service27,
31
+ Service: () => Service17,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node30
33
+ node: () => node20
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event7 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event3 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service27 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service17 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service27, Effect.gen(function* () {
69
- const bus = yield* Service81;
70
- const kv = yield* Service73;
68
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
69
+ const bus = yield* Service82;
70
+ const kv = yield* Service68;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service27.of({
127
+ return Service17.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node30 = makeLocationNode({
188
- service: Service27,
187
+ var node20 = makeLocationNode({
188
+ service: Service17,
189
189
  layer,
190
- deps: [node85, node77]
190
+ deps: [node86, node72]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service27, node30, exports_websearch3, Event7 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service17, node20, exports_websearch3, Event3 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-z5v4ffb3.js";
4
+ } from "./wellknown-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./agent-nxm207yx.js";
7
+ } from "./wellknown-nxm207yx.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./agent-tazgh4e4.js";
12
+ } from "./wellknown-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./agent-ef5x83kb.js";
15
+ } from "./wellknown-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./wellknown-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service82,
26
+ Service: () => Service84,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node86
30
+ node: () => node88
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service82 extends Context.Service()("@opencode/Git") {
96
+ class Service84 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service82, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service82.of({
422
+ return Service84.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make22,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make22(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./agent-myj39cz3.js";
3
+ } from "./wellknown-h6bm7n8h.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./agent-34c7v6d4.js";
6
+ } from "./wellknown-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./agent-hh1fe6b7.js";
3
+ } from "./wellknown-a166dkph.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./agent-mc5gsmcy.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-ftcs2r5x.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./agent-rdw6cm16.js";
8
+ } from "./wellknown-rdw6cm16.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./agent-848sxtqq.js";
10
+ Service80,
11
+ node84
12
+ } from "./wellknown-bxx1pwwx.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service75,
20
- node79,
19
+ Service76,
20
+ node80,
21
21
  Event17
22
- } from "./agent-44a7phry.js";
22
+ } from "./wellknown-y4wym877.js";
23
23
  import {
24
24
  __export
25
- } from "./agent-9rqn6x4v.js";
25
+ } from "./wellknown-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -37,11 +37,11 @@ __export(exports_model2, {
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service74,
40
+ Service: () => Service75,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node78,
44
+ node: () => node79,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -68,12 +68,12 @@ var Cost2 = Model.Cost;
68
68
  var Ref2 = Model.Ref;
69
69
  var Info21 = Model.Info;
70
70
 
71
- class Service74 extends Context.Service()("@opencode/Model") {
71
+ class Service75 extends Context.Service()("@opencode/Model") {
72
72
  }
73
- var layer = Layer.effect(Service74, Effect.gen(function* () {
74
- const providers = yield* Service75;
75
- const bus = yield* Service81;
76
- const location = yield* Service79;
73
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
74
+ const providers = yield* Service76;
75
+ const bus = yield* Service82;
76
+ const location = yield* Service80;
77
77
  let input;
78
78
  const state = create3({
79
79
  name: "model",
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
208
208
  });
209
209
  });
210
210
  yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
211
- return Service74.of({
211
+ return Service75.of({
212
212
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
213
213
  reload,
214
214
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
227
227
  })
228
228
  });
229
229
  }));
230
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node85, node83] });
230
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node86, node84] });
231
231
  function supportsText2(model) {
232
232
  return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
233
233
  }
@@ -246,4 +246,4 @@ function parse5(input) {
246
246
  };
247
247
  }
248
248
 
249
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service74, node78, supportsText2, compatibility2, parse5, exports_model2, Event16 };
249
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service75, node79, supportsText2, compatibility2, parse5, exports_model2, Event16 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./agent-cz4pebbb.js";
3
+ } from "./wellknown-6tn7jbdw.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin41
12
+ Plugin: () => Plugin46
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin41 = define({
32
+ var Plugin46 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin41, exports_plan };
108
+ export { Plugin46, exports_plan };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-mktej9kf.js";
3
+ } from "./wellknown-d8zex0s9.js";
4
4
  import {
5
- Service81
6
- } from "./agent-mc5gsmcy.js";
5
+ Service82
6
+ } from "./wellknown-ftcs2r5x.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
10
  Event19,
11
- Service77
12
- } from "./agent-c1fbq4kv.js";
11
+ Service78
12
+ } from "./wellknown-r92xrcx3.js";
13
13
  import {
14
14
  key2
15
- } from "./agent-addxnjmp.js";
15
+ } from "./wellknown-addxnjmp.js";
16
16
  import {
17
17
  ID14,
18
18
  MethodID2
19
- } from "./agent-rgvftgaz.js";
19
+ } from "./wellknown-t0vq3sxw.js";
20
20
  import {
21
21
  which2
22
- } from "./agent-qaymkmh1.js";
22
+ } from "./wellknown-qaymkmh1.js";
23
23
  import {
24
24
  ID13,
25
- Service75
26
- } from "./agent-44a7phry.js";
25
+ Service76
26
+ } from "./wellknown-y4wym877.js";
27
27
  import {
28
28
  ID12
29
- } from "./agent-hh1fe6b7.js";
29
+ } from "./wellknown-a166dkph.js";
30
30
  import {
31
31
  iife2
32
- } from "./agent-1kg9ymc8.js";
32
+ } from "./wellknown-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./agent-fswrwyfk.js";
35
+ } from "./wellknown-mdb6f0mb.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make10(endpoints = {
70
+ function make9(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
@@ -76,9 +76,9 @@ function make10(endpoints = {
76
76
  effect: Effect.fn(function* (ctx) {
77
77
  const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
- const bus = yield* Service81;
80
- const credentials = yield* Service77;
81
- const providers = yield* Service75;
79
+ const bus = yield* Service82;
80
+ const credentials = yield* Service78;
81
+ const providers = yield* Service76;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -322,7 +322,7 @@ function make10(endpoints = {
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make10();
325
+ var AzurePlugin2 = make9();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make10, AzurePlugin2 };
381
+ export { make9, AzurePlugin2 };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service76,
4
- node80
5
- } from "./agent-rgvftgaz.js";
3
+ Service77,
4
+ node81
5
+ } from "./wellknown-t0vq3sxw.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service75,
18
- node79
19
- } from "./agent-44a7phry.js";
17
+ Service76,
18
+ node80
19
+ } from "./wellknown-y4wym877.js";
20
20
  import {
21
- Service70,
22
- node73
23
- } from "./agent-ddd3v19d.js";
21
+ Service67,
22
+ node71
23
+ } from "./wellknown-k0fb5tp9.js";
24
24
  import {
25
25
  ID12,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service74,
29
- node78,
28
+ Service75,
29
+ node79,
30
30
  supportsText2
31
- } from "./agent-hh1fe6b7.js";
31
+ } from "./wellknown-a166dkph.js";
32
32
  import {
33
33
  __export
34
- } from "./agent-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service69,
43
+ Service: () => Service65,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer23,
51
- node: () => node72,
50
+ layer: () => layer24,
51
+ node: () => node69,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service69 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service65 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -265,12 +265,12 @@ var causeMessage = (cause) => {
265
265
  };
266
266
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
267
267
  var hasPackage2 = (model) => Boolean(model.package);
268
- var layer23 = Layer.effect(Service69, Effect.gen(function* () {
269
- const providers = yield* Service75;
270
- const models = yield* Service74;
271
- const integrations = yield* Service76;
268
+ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
269
+ const providers = yield* Service76;
270
+ const models = yield* Service75;
271
+ const integrations = yield* Service77;
272
272
  const npm = yield* Npm.Service;
273
- const aisdk = yield* Service70;
273
+ const aisdk = yield* Service67;
274
274
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
275
275
  const provider = yield* providers.get(selected.providerID);
276
276
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -300,7 +300,7 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
300
300
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
301
301
  };
302
302
  });
303
- return Service69.of({
303
+ return Service65.of({
304
304
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
305
305
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
306
306
  if (!selected)
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
317
317
  const name = packageName2(packageName);
318
318
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
319
319
  }
320
- var node72 = makeLocationNode({
321
- service: Service69,
322
- layer: layer23,
323
- deps: [node79, node78, node80, Npm.node, node73]
320
+ var node69 = makeLocationNode({
321
+ service: Service65,
322
+ layer: layer24,
323
+ deps: [node80, node79, node81, Npm.node, node71]
324
324
  });
325
325
 
326
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node72, exports_model_resolver };
326
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./agent-2a5m3afh.js";
5
+ } from "./wellknown-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./agent-9rqn6x4v.js";
8
+ } from "./wellknown-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./wellknown-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./agent-848sxtqq.js";
5
+ Service80
6
+ } from "./wellknown-bxx1pwwx.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service80;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));