@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,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./agent-88xbtdfr.js";
3
+ } from "./wellknown-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./agent-5qd3pb7m.js";
6
+ } from "./wellknown-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event10,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
16
+ Options: () => Options8,
17
17
  Service: () => Service48,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
25
  node: () => node51,
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event10 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
@@ -62,7 +62,7 @@ class Service48 extends Context.Service()("@opencode/Watcher") {
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
67
  return Service48.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
134
  subscribe: Context.get(context, Service48).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service48, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service48, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node51 = configured9();
170
+ var node51 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options10, Service48, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node51, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options8, Service48, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node51, exports_watcher };
@@ -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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service47
3
- } from "./agent-d3f2prkd.js";
3
+ } from "./wellknown-yadpvqa6.js";
4
4
  import {
5
- Service21
6
- } from "./agent-qagkqpcw.js";
5
+ Service14
6
+ } from "./wellknown-f5gy8qwh.js";
7
7
  import {
8
8
  match2
9
- } from "./agent-y1fvbwt7.js";
9
+ } from "./wellknown-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./agent-qsdy395h.js";
12
+ } from "./wellknown-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./agent-9rqn6x4v.js";
15
+ } from "./wellknown-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin7
21
+ Plugin: () => Plugin10
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin7 = define({
25
+ var Plugin10 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const config = yield* Service47;
29
- const managed = yield* Service21;
29
+ const managed = yield* Service14;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin7 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin7, exports_policy };
60
+ export { Plugin10, exports_policy };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID11,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./agent-rp55dayf.js";
5
+ } from "./wellknown-jkg43hkq.js";
6
6
  import {
7
7
  __export
8
- } from "./agent-9rqn6x4v.js";
8
+ } from "./wellknown-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent2 = {};
12
12
  __export(exports_agent2, {
13
13
  AgentPlugin: () => exports_agent2,
14
- Plugin: () => Plugin48
14
+ Plugin: () => Plugin41
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin48 = define({
84
+ var Plugin41 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin48 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID11.make("general"), (item) => {
94
+ editor.update(ID10.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID11.make("explore"), (item) => {
100
+ editor.update(ID10.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID11.make("compaction"), (item) => {
107
+ editor.update(ID10.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID11.make("title"), (item) => {
112
+ editor.update(ID10.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID11.make("summary"), (item) => {
119
+ editor.update(ID10.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin48 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin48, exports_agent2 };
130
+ export { Plugin41, exports_agent2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-mktej9kf.js";
3
+ } from "./wellknown-d8zex0s9.js";
4
4
  import {
5
5
  call2
6
- } from "./agent-56gdpj1q.js";
6
+ } from "./wellknown-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin36,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin39 = define({
36
+ var Plugin36 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin39 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin39 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint5, Plugin39, exports_tinyfish };
76
+ export { endpoint4, Plugin36, exports_tinyfish };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service21,
10
- node: () => node23
9
+ Service: () => Service14,
10
+ node: () => node16
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service21 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service21, () => {
17
+ var layer = Layer.sync(Service14, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service21.of({
19
+ return Service14.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node23 = makeGlobalNode({ service: Service21, layer, deps: [] });
26
+ var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
27
27
 
28
- export { Service21, node23, exports_managed_policy };
28
+ export { Service14, node16, exports_managed_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./agent-qfa1cgps.js";
3
+ } from "./wellknown-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./agent-3cegwx68.js";
6
+ } from "./wellknown-3cegwx68.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -2,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./agent-44a7phry.js";
5
+ } from "./wellknown-y4wym877.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info21
11
- } from "./agent-hh1fe6b7.js";
11
+ } from "./wellknown-a166dkph.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./agent-mc5gsmcy.js";
3
+ Service82,
4
+ node86
5
+ } from "./wellknown-ftcs2r5x.js";
6
6
  import {
7
- Service73,
8
- node77
9
- } from "./agent-a4rged5n.js";
7
+ Service68,
8
+ node72
9
+ } from "./wellknown-7t8bdkt7.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./wellknown-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service49,
22
+ Service: () => Service59,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node52,
26
- resolve: () => resolve4
25
+ node: () => node64,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service49 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service59 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service49, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service73;
81
- const bus = yield* Service81;
80
+ const kv = yield* Service68;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service49.of({
115
+ return Service59.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node77, node85] });
146
+ var node64 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node72, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event11, inspect2, resolve4, node52, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event13, inspect2, resolve3, node64, exports_wellknown };
@@ -1,29 +1,29 @@
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
  OAuth3,
9
9
  Event19
10
- } from "./agent-c1fbq4kv.js";
10
+ } from "./wellknown-r92xrcx3.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./agent-rgvftgaz.js";
14
+ } from "./wellknown-t0vq3sxw.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./agent-pjvnvgmy.js";
18
+ } from "./wellknown-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./agent-44a7phry.js";
23
+ } from "./wellknown-y4wym877.js";
24
24
  import {
25
25
  get5
26
- } from "./agent-54ma36ye.js";
26
+ } from "./wellknown-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -162,10 +162,10 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service81;
168
+ const bus = yield* Service82;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };