@opencode/core 0.0.0-dev-21506 → 0.0.0-dev-21507

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-02mvvr71.js → tool-02mvvr71.js} +3 -3
  8. package/dist/chunks/{model-e4ed32bz.js → tool-04cnhvec.js} +32 -32
  9. package/dist/chunks/{model-wnfhhngp.js → tool-06v6246a.js} +42 -42
  10. package/dist/chunks/{model-0vbcp93d.js → tool-0emb60td.js} +2 -2
  11. package/dist/chunks/{model-4pk5qdp0.js → tool-0kdreaa3.js} +25 -25
  12. package/dist/chunks/{model-dkmgwdej.js → tool-0pdt8dbx.js} +3 -3
  13. package/dist/chunks/{model-b9ehgbqb.js → tool-0sgefyfd.js} +4 -4
  14. package/dist/chunks/{model-v4fy3qk9.js → tool-10xea195.js} +32 -32
  15. package/dist/chunks/{model-h5w80xhp.js → tool-118zcnpk.js} +21 -21
  16. package/dist/chunks/{model-1ep4rre3.js → tool-1ep4rre3.js} +1 -1
  17. package/dist/chunks/{model-tz8n52kk.js → tool-1ey1ywa8.js} +34 -34
  18. package/dist/chunks/{model-hy9g3ct7.js → tool-1hga77xc.js} +11 -11
  19. package/dist/chunks/{model-rpavaw06.js → tool-1vx9hbz5.js} +22 -22
  20. package/dist/chunks/{model-f6eb70w4.js → tool-208nnjmr.js} +4 -4
  21. package/dist/chunks/{model-nhg8br5k.js → tool-228mhbmk.js} +11 -11
  22. package/dist/chunks/{model-g3vtahr4.js → tool-26dhv5et.js} +19 -19
  23. package/dist/chunks/{model-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
  24. package/dist/chunks/{model-fx1vnbe7.js → tool-283ssd4b.js} +12 -12
  25. package/dist/chunks/{model-gs5g8sst.js → tool-29gc4c91.js} +10 -10
  26. package/dist/chunks/{model-qn9wnv8g.js → tool-2ftt7040.js} +20 -20
  27. package/dist/chunks/{model-f567p7kr.js → tool-2mrwwyd2.js} +19 -19
  28. package/dist/chunks/{model-e5g7rz9z.js → tool-2vz2ewx5.js} +12 -12
  29. package/dist/chunks/{model-bsznzx2j.js → tool-2z2nwxhc.js} +40 -40
  30. package/dist/chunks/{model-qga2y2xr.js → tool-332kxz91.js} +54 -54
  31. package/dist/chunks/{model-tcncyrvt.js → tool-34w1safd.js} +18 -18
  32. package/dist/chunks/{model-qv0sc65t.js → tool-37cqxn50.js} +6 -6
  33. package/dist/chunks/{model-6vca1abt.js → tool-3ga20zad.js} +20 -20
  34. package/dist/chunks/{model-rw8ryefd.js → tool-3hahq16z.js} +19 -19
  35. package/dist/chunks/{model-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-j0g1y14w.js → tool-3hjc3vgd.js} +8 -8
  37. package/dist/chunks/{model-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{model-2ckxs07g.js → tool-3q29hfa9.js} +16 -16
  39. package/dist/chunks/{model-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{model-efg2qyjc.js → tool-3xbwwg1d.js} +13 -13
  41. package/dist/chunks/{model-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{model-47jkzegy.js → tool-43kvem2p.js} +5 -5
  43. package/dist/chunks/{model-qwpgb8t5.js → tool-49jcyb13.js} +15 -15
  44. package/dist/chunks/{model-tk9ew89t.js → tool-4c8bw516.js} +8 -8
  45. package/dist/chunks/{model-arzs74za.js → tool-4dg0xz54.js} +6 -6
  46. package/dist/chunks/{model-46z6bbc3.js → tool-4gt0zems.js} +5 -5
  47. package/dist/chunks/{model-fpr4zhmy.js → tool-4hvcvget.js} +12 -12
  48. package/dist/chunks/{model-3p9fx5xs.js → tool-4j0c97rp.js} +20 -20
  49. package/dist/chunks/{model-e89rsxqp.js → tool-4sj6rv93.js} +8 -8
  50. package/dist/chunks/{model-54ma36ye.js → tool-54ma36ye.js} +1 -1
  51. package/dist/chunks/{model-qwk3m3t3.js → tool-556pd3b9.js} +31 -31
  52. package/dist/chunks/{model-3p7wkzsm.js → tool-5651m5ed.js} +37 -37
  53. package/dist/chunks/{model-z0ydvj27.js → tool-5g57z1ma.js} +4 -4
  54. package/dist/chunks/{model-mfk0mvfz.js → tool-5gx51r66.js} +3 -3
  55. package/dist/chunks/{model-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{model-qdf5x4hh.js → tool-5qmfkff2.js} +9 -9
  57. package/dist/chunks/{model-8pah9whb.js → tool-5z2vrcz3.js} +2 -2
  58. package/dist/chunks/{model-hbc5tqp3.js → tool-64ddt51t.js} +8 -8
  59. package/dist/chunks/{model-wx5pdzv2.js → tool-66950z1s.js} +7 -7
  60. package/dist/chunks/{model-6827pfxn.js → tool-6827pfxn.js} +1 -1
  61. package/dist/chunks/{model-6vembv3h.js → tool-687c5wp0.js} +26 -26
  62. package/dist/chunks/{model-7jabcg2v.js → tool-6a3j6khd.js} +14 -14
  63. package/dist/chunks/{model-2k5pzv8p.js → tool-6j90fxgt.js} +13 -13
  64. package/dist/chunks/{model-rs2p4h37.js → tool-6w39brh1.js} +5 -5
  65. package/dist/chunks/{model-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{model-tmz9z8jm.js → tool-6ygh4fgn.js} +30 -30
  67. package/dist/chunks/{model-775gj3j1.js → tool-775gj3j1.js} +2 -2
  68. package/dist/chunks/{model-097nk7jj.js → tool-7a5jr4d9.js} +11 -11
  69. package/dist/chunks/{model-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{model-ffhn27st.js → tool-7dqsqf20.js} +50 -50
  71. package/dist/chunks/{model-pqtz87qt.js → tool-7jvyaakv.js} +17 -17
  72. package/dist/chunks/{model-6vjn048p.js → tool-82rbgap5.js} +12 -12
  73. package/dist/chunks/{model-84txncab.js → tool-84txncab.js} +1 -1
  74. package/dist/chunks/{model-6yz0wx8n.js → tool-8cbrfsed.js} +5 -5
  75. package/dist/chunks/{model-s15sfq84.js → tool-8edt2mn2.js} +76 -76
  76. package/dist/chunks/{model-kecgep65.js → tool-8fs4gys7.js} +11 -11
  77. package/dist/chunks/{model-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{model-8mywswrd.js → tool-8mywswrd.js} +1 -1
  79. package/dist/chunks/{model-ngh7x0hb.js → tool-8pjxh0v6.js} +32 -32
  80. package/dist/chunks/{model-tm7f4x12.js → tool-8ptwh2sj.js} +3 -3
  81. package/dist/chunks/{model-hkhzft4n.js → tool-8qjra3pm.js} +23 -23
  82. package/dist/chunks/{model-xw9fg8fb.js → tool-8vcf4cwr.js} +2 -2
  83. package/dist/chunks/{model-h53p44pz.js → tool-940py8pc.js} +18 -18
  84. package/dist/chunks/{model-8p9mr4ny.js → tool-98e06m6b.js} +45 -45
  85. package/dist/chunks/{model-39fz5gq7.js → tool-9ar0tc7e.js} +2 -2
  86. package/dist/chunks/{model-cmwkp3r5.js → tool-9hn6k4tm.js} +8 -8
  87. package/dist/chunks/{model-s85y7g3v.js → tool-9ks7twft.js} +21 -21
  88. package/dist/chunks/{model-9hrj064r.js → tool-9mbmc05v.js} +10 -10
  89. package/dist/chunks/{model-6bh8c15d.js → tool-9ny5hk10.js} +11 -11
  90. package/dist/chunks/{model-9wev2pgg.js → tool-9wev2pgg.js} +1 -1
  91. package/dist/chunks/{model-r09mn59h.js → tool-9y4hw6ff.js} +51 -51
  92. package/dist/chunks/{model-h6310vsd.js → tool-a3c7ahw6.js} +4 -4
  93. package/dist/chunks/{model-119vrnyz.js → tool-a6rw3yra.js} +32 -32
  94. package/dist/chunks/{model-jb678r5y.js → tool-aher8bmf.js} +12 -12
  95. package/dist/chunks/{model-034tev2y.js → tool-aj7mw0zk.js} +2 -2
  96. package/dist/chunks/{model-375hpnnp.js → tool-amdk1eh7.js} +20 -20
  97. package/dist/chunks/{model-yjr10ne3.js → tool-awb2kyzs.js} +15 -15
  98. package/dist/chunks/{model-7bj5zk0h.js → tool-az243w7k.js} +16 -16
  99. package/dist/chunks/{model-b11a7tx7.js → tool-b11a7tx7.js} +1 -1
  100. package/dist/chunks/{model-anf0zms1.js → tool-be2hac41.js} +9 -9
  101. package/dist/chunks/{model-bjx1sjef.js → tool-bjx1sjef.js} +2 -2
  102. package/dist/chunks/{model-059731j3.js → tool-bz1rn4hs.js} +6 -6
  103. package/dist/chunks/{model-ss358qx3.js → tool-c2sed5cq.js} +3 -3
  104. package/dist/chunks/{model-kkwkmtv3.js → tool-c95ze8dw.js} +11 -11
  105. package/dist/chunks/{model-bysh3wsf.js → tool-cbre0k23.js} +7 -7
  106. package/dist/chunks/{model-0eje4krr.js → tool-ccxm2ze4.js} +13 -13
  107. package/dist/chunks/{model-2re5xsb3.js → tool-cnfb3fp5.js} +86 -86
  108. package/dist/chunks/{model-nfpte2eb.js → tool-cv6a5k53.js} +14 -14
  109. package/dist/chunks/{model-bhqc6ztw.js → tool-cv8w919v.js} +6 -6
  110. package/dist/chunks/{model-gq1w7sb6.js → tool-d7bshphg.js} +8 -8
  111. package/dist/chunks/{model-ztxz8wab.js → tool-d8e9t34v.js} +9 -9
  112. package/dist/chunks/{model-b1cfp7e8.js → tool-d99mbq37.js} +21 -21
  113. package/dist/chunks/{model-sc122w87.js → tool-dbde4j0g.js} +4 -4
  114. package/dist/chunks/{model-5w3hrgwv.js → tool-df85n37n.js} +11 -11
  115. package/dist/chunks/{model-mcxd1mvb.js → tool-dgzw2v3x.js} +33 -33
  116. package/dist/chunks/{model-nvrn0rpc.js → tool-dhhj8p3k.js} +34 -34
  117. package/dist/chunks/{model-djszqvmq.js → tool-djszqvmq.js} +2 -2
  118. package/dist/chunks/{model-998yhzzq.js → tool-dvj9ct8m.js} +3 -3
  119. package/dist/chunks/{model-zee1rnkq.js → tool-e2hjzebn.js} +4 -4
  120. package/dist/chunks/{model-93h83n4j.js → tool-e5adrsfc.js} +30 -30
  121. package/dist/chunks/{model-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{model-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{model-p2237knj.js → tool-enwyhyab.js} +17 -17
  124. package/dist/chunks/{model-47hbj2pp.js → tool-eryt761w.js} +33 -33
  125. package/dist/chunks/{model-jr2ksrq3.js → tool-ewzj04x6.js} +7 -7
  126. package/dist/chunks/{model-btec747f.js → tool-ex0pka66.js} +5 -5
  127. package/dist/chunks/{model-jj5620az.js → tool-f083g6z5.js} +1 -1
  128. package/dist/chunks/{model-4akb30p9.js → tool-f3c2dd4g.js} +17 -17
  129. package/dist/chunks/{model-dac595nq.js → tool-f46vcsvf.js} +14 -14
  130. package/dist/chunks/{model-fcrkznn8.js → tool-fcrkznn8.js} +1 -1
  131. package/dist/chunks/{model-fcy631f0.js → tool-fcy631f0.js} +1 -1
  132. package/dist/chunks/{model-depwzj9d.js → tool-fdms3n6w.js} +9 -9
  133. package/dist/chunks/{model-2y4y574v.js → tool-fgz8sgbp.js} +14 -14
  134. package/dist/chunks/{model-c08hck0b.js → tool-fhczpvra.js} +11 -11
  135. package/dist/chunks/{model-fn9t717r.js → tool-fn9t717r.js} +3 -3
  136. package/dist/chunks/{model-pvgxn4e8.js → tool-fr6mqtdc.js} +13 -13
  137. package/dist/chunks/{model-8vamb002.js → tool-fyd5j4v9.js} +28 -28
  138. package/dist/chunks/{model-3apxagx1.js → tool-g0nc362r.js} +2 -2
  139. package/dist/chunks/{model-5qspxpfa.js → tool-g5bttqze.js} +11 -11
  140. package/dist/chunks/{model-3e18q7y0.js → tool-g98a52zh.js} +4 -4
  141. package/dist/chunks/{model-wh7c4t4p.js → tool-gc1jma41.js} +34 -34
  142. package/dist/chunks/{model-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{model-jyhmc03f.js → tool-gjeh15rb.js} +11 -11
  144. package/dist/chunks/{model-4cqzk04t.js → tool-gmy8fdpk.js} +4 -4
  145. package/dist/chunks/{model-csphqezw.js → tool-gn4fp5fa.js} +45 -45
  146. package/dist/chunks/{model-s2ayqtyj.js → tool-gq1qwanx.js} +12 -12
  147. package/dist/chunks/{model-x5yt3945.js → tool-gy0p0s4q.js} +19 -19
  148. package/dist/chunks/{model-bxrpwnhh.js → tool-gzsyx702.js} +5 -5
  149. package/dist/chunks/{model-2hawg8d6.js → tool-h4dbkbzh.js} +7 -7
  150. package/dist/chunks/{model-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{model-g31edv3s.js → tool-hgchpp86.js} +24 -24
  152. package/dist/chunks/{model-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{model-5q6zkt9t.js → tool-hpbpadsk.js} +4 -4
  154. package/dist/chunks/{model-jqyzchqw.js → tool-hveambb3.js} +6 -6
  155. package/dist/chunks/{model-xax4r61v.js → tool-j0hvq876.js} +23 -23
  156. package/dist/chunks/{model-2t1cejgk.js → tool-j3nws6dg.js} +11 -11
  157. package/dist/chunks/{model-xqsr3wks.js → tool-j7zvs761.js} +30 -30
  158. package/dist/chunks/{model-zqp45qky.js → tool-j8kb6sns.js} +1 -1
  159. package/dist/chunks/{model-4cgvcnqc.js → tool-jcjdxez0.js} +6 -6
  160. package/dist/chunks/{model-qx0ddeyr.js → tool-jf44gywc.js} +15 -15
  161. package/dist/chunks/{model-65xqj3gf.js → tool-jj9ksvj6.js} +30 -30
  162. package/dist/chunks/{model-bpxj61qy.js → tool-jkwff1ec.js} +22 -22
  163. package/dist/chunks/{model-sjng2d8s.js → tool-jmqp76t3.js} +3 -3
  164. package/dist/chunks/{model-9yty7s6b.js → tool-jnz7tvg3.js} +3 -3
  165. package/dist/chunks/{model-rkprpv83.js → tool-jws6fkes.js} +8 -8
  166. package/dist/chunks/{model-gm80t6jn.js → tool-k032gzcv.js} +32 -32
  167. package/dist/chunks/{model-4vxbzg96.js → tool-k2svkm7d.js} +8 -8
  168. package/dist/chunks/{model-t1hdc2tq.js → tool-k52t8s6v.js} +11 -11
  169. package/dist/chunks/{model-f9gdjgpy.js → tool-k5jfazps.js} +19 -19
  170. package/dist/chunks/{model-281sgaqb.js → tool-k7af4aa9.js} +8 -8
  171. package/dist/chunks/{model-yftbr5kk.js → tool-kj78g2dw.js} +25 -25
  172. package/dist/chunks/{model-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
  173. package/dist/chunks/{model-x1z449jw.js → tool-m103jfcn.js} +43 -43
  174. package/dist/chunks/{model-q3wfvgvt.js → tool-m49kcc85.js} +15 -15
  175. package/dist/chunks/{model-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{model-maspj1v3.js → tool-maspj1v3.js} +1 -1
  177. package/dist/chunks/{model-8dtwfnm6.js → tool-mjj5jjh8.js} +5 -5
  178. package/dist/chunks/{model-mqqhst8y.js → tool-mqqhst8y.js} +1 -1
  179. package/dist/chunks/{model-v27y90m9.js → tool-mqwsrn1d.js} +29 -29
  180. package/dist/chunks/{model-ag9wmf18.js → tool-mr48ebck.js} +23 -23
  181. package/dist/chunks/{model-azwe5p1w.js → tool-mxvxcxwy.js} +4 -4
  182. package/dist/chunks/{model-26speyvc.js → tool-n1dmb866.js} +29 -29
  183. package/dist/chunks/{model-rwz8d33h.js → tool-n2dhmw60.js} +21 -21
  184. package/dist/chunks/{model-dbxp0fmc.js → tool-n5wy83m1.js} +4 -4
  185. package/dist/chunks/{model-ebs90ymd.js → tool-n9c7dk5h.js} +34 -34
  186. package/dist/chunks/{model-7x77f1v0.js → tool-ndkkv98v.js} +20 -20
  187. package/dist/chunks/{model-144xy37h.js → tool-np60s0wh.js} +27 -27
  188. package/dist/chunks/{model-6y0zycxh.js → tool-ntecsb7f.js} +45 -45
  189. package/dist/chunks/{model-qmw2t4sc.js → tool-nxgc2w5h.js} +12 -12
  190. package/dist/chunks/{model-khmqacep.js → tool-ny8edt06.js} +4 -4
  191. package/dist/chunks/{model-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
  192. package/dist/chunks/{model-c5xv6gzt.js → tool-p14k59zn.js} +5 -5
  193. package/dist/chunks/tool-p2h6zvwc.js +18 -0
  194. package/dist/chunks/{model-wpmx8zxk.js → tool-p3p03tan.js} +33 -33
  195. package/dist/chunks/{model-f40v7vve.js → tool-p5pn22a9.js} +152 -152
  196. package/dist/chunks/{model-pc1v25hk.js → tool-pc1v25hk.js} +1 -1
  197. package/dist/chunks/{model-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{model-pknna89w.js → tool-pknna89w.js} +1 -1
  199. package/dist/chunks/{model-fm2qvscf.js → tool-qa3qhgw8.js} +4 -4
  200. package/dist/chunks/{model-r47k2kcx.js → tool-qg775g37.js} +43 -43
  201. package/dist/chunks/{model-drwq78ky.js → tool-qqeeq2t9.js} +7 -7
  202. package/dist/chunks/{model-qsdy395h.js → tool-qsdy395h.js} +1 -1
  203. package/dist/chunks/{model-nb2z81by.js → tool-qvyxvxya.js} +26 -26
  204. package/dist/chunks/{model-t1d8dt4n.js → tool-r4apxbbe.js} +16 -16
  205. package/dist/chunks/{model-8952chzp.js → tool-rdfnpc7e.js} +1 -1
  206. package/dist/chunks/{model-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{model-v210v162.js → tool-rm4mkcw0.js} +2 -2
  208. package/dist/chunks/{model-at643fqj.js → tool-rp9an6k1.js} +25 -25
  209. package/dist/chunks/{model-wsncy6g1.js → tool-rq2y2j0k.js} +13 -13
  210. package/dist/chunks/{model-sr417449.js → tool-rs666mm1.js} +4 -4
  211. package/dist/chunks/{model-1pbps8gm.js → tool-rscvxc63.js} +17 -17
  212. package/dist/chunks/{model-4kkgmn48.js → tool-s14qqts9.js} +22 -22
  213. package/dist/chunks/{model-0jqcpeea.js → tool-sfjj6pfb.js} +34 -34
  214. package/dist/chunks/{model-g634x94t.js → tool-sgtpgegc.js} +21 -21
  215. package/dist/chunks/{model-xyx6322v.js → tool-sjq3h641.js} +47 -47
  216. package/dist/chunks/{model-t9618mt3.js → tool-skpzryv2.js} +11 -11
  217. package/dist/chunks/{model-syv4x271.js → tool-syv4x271.js} +1 -1
  218. package/dist/chunks/{model-02nrjc1r.js → tool-t550f9t1.js} +8 -8
  219. package/dist/chunks/{model-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{model-gg18brya.js → tool-tbhbbw5y.js} +72 -72
  221. package/dist/chunks/{model-yjg8p8vw.js → tool-tbv8yktb.js} +14 -14
  222. package/dist/chunks/{model-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{model-tdstcens.js → tool-tdstcens.js} +1 -1
  224. package/dist/chunks/{model-ky6xty6m.js → tool-tec24ygv.js} +16 -16
  225. package/dist/chunks/{model-2k1yrrb9.js → tool-tewdvev1.js} +21 -21
  226. package/dist/chunks/{model-fp7gkmgg.js → tool-tfbr2nq1.js} +3 -3
  227. package/dist/chunks/{model-d858xzj7.js → tool-tjedn1bk.js} +4 -4
  228. package/dist/chunks/{model-bacj9t34.js → tool-tk1z8rcs.js} +2 -2
  229. package/dist/chunks/{model-9g86fe8k.js → tool-tx895r66.js} +24 -24
  230. package/dist/chunks/{model-tyytaxap.js → tool-tyytaxap.js} +1 -1
  231. package/dist/chunks/{model-kektvt0t.js → tool-tz96d8h6.js} +9 -9
  232. package/dist/chunks/{model-g9cxqbhm.js → tool-v28f4abg.js} +2 -2
  233. package/dist/chunks/{model-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  234. package/dist/chunks/{model-38c2t0gr.js → tool-vbj0m456.js} +5 -5
  235. package/dist/chunks/{model-veqvce7d.js → tool-veqvce7d.js} +1 -1
  236. package/dist/chunks/{model-5jd37bg5.js → tool-vfm45d2v.js} +5 -5
  237. package/dist/chunks/{model-17h5khbx.js → tool-vj682sbm.js} +2 -2
  238. package/dist/chunks/{model-e7gxn9p4.js → tool-vmamyk2k.js} +15 -15
  239. package/dist/chunks/{model-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{model-6zrgpeqf.js → tool-w174qar2.js} +13 -13
  241. package/dist/chunks/{model-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{model-jvkh9b4k.js → tool-w492d1p5.js} +18 -18
  243. package/dist/chunks/{model-gee0q842.js → tool-w5pf37nm.js} +23 -23
  244. package/dist/chunks/{model-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  245. package/dist/chunks/{model-p03rm6sa.js → tool-wb3hegf8.js} +16 -16
  246. package/dist/chunks/{model-9a2f8bab.js → tool-wbrx293h.js} +5 -5
  247. package/dist/chunks/{model-wd87259q.js → tool-wd87259q.js} +1 -1
  248. package/dist/chunks/{model-seqcyr36.js → tool-wjv6dtxz.js} +4 -4
  249. package/dist/chunks/{model-qsjwargm.js → tool-wk61yqzs.js} +40 -40
  250. package/dist/chunks/{model-x9qrfn9j.js → tool-wkrva1pr.js} +20 -20
  251. package/dist/chunks/{model-egbnj0d7.js → tool-wkrz5chy.js} +55 -55
  252. package/dist/chunks/{model-gfe9tc4x.js → tool-wn6r8baz.js} +11 -11
  253. package/dist/chunks/{model-3eqfzzpc.js → tool-wsd2y1yv.js} +23 -23
  254. package/dist/chunks/{model-yjc5w60m.js → tool-wtd34zkk.js} +9 -9
  255. package/dist/chunks/{model-a4se8z2x.js → tool-wy8rpyz3.js} +6 -6
  256. package/dist/chunks/{model-rrvj5mm5.js → tool-x030sm2p.js} +34 -34
  257. package/dist/chunks/{model-3mz3s9dw.js → tool-x13hnj69.js} +28 -28
  258. package/dist/chunks/{model-kyq9yddx.js → tool-x36bd8da.js} +33 -33
  259. package/dist/chunks/{model-0w0e9t10.js → tool-x6etvh7w.js} +22 -22
  260. package/dist/chunks/{model-mzeqcj4y.js → tool-xdzd716q.js} +5 -5
  261. package/dist/chunks/{model-d8vyx0bf.js → tool-xzsd65cy.js} +22 -22
  262. package/dist/chunks/{model-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{model-zdfm1n8e.js → tool-y51c8cm2.js} +184 -184
  264. package/dist/chunks/{model-xzfxv41j.js → tool-y5r47bzr.js} +4 -4
  265. package/dist/chunks/{model-y71avatq.js → tool-y71avatq.js} +1 -1
  266. package/dist/chunks/{model-7pz44b56.js → tool-y9mdcbbm.js} +8 -8
  267. package/dist/chunks/{model-hhyv66vq.js → tool-y9s9xvs6.js} +8 -8
  268. package/dist/chunks/{model-p1dsckbq.js → tool-yc3qf5z0.js} +9 -9
  269. package/dist/chunks/{model-nx4dbdvx.js → tool-yja0x3kv.js} +318 -318
  270. package/dist/chunks/{model-svs75v6z.js → tool-ymwgex1k.js} +16 -16
  271. package/dist/chunks/{model-1qzqd7y9.js → tool-yvf18s5x.js} +11 -11
  272. package/dist/chunks/{model-yjp1gbyy.js → tool-yvz6gv03.js} +12 -12
  273. package/dist/chunks/{model-888zzhja.js → tool-ywwdv83n.js} +15 -15
  274. package/dist/chunks/{model-r63j37j6.js → tool-yx0rmv9r.js} +8 -8
  275. package/dist/chunks/{model-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-z18fegx4.js → tool-z18fegx4.js} +1 -1
  277. package/dist/chunks/{model-sxffc3gc.js → tool-z6sgjvvh.js} +10 -10
  278. package/dist/chunks/{model-j4p30vk2.js → tool-z7nbrbpb.js} +9 -9
  279. package/dist/chunks/{model-ddf4n6wt.js → tool-zag9qx83.js} +21 -21
  280. package/dist/chunks/{model-bw9zjykr.js → tool-zdwe30dy.js} +6 -6
  281. package/dist/chunks/{model-a2qe2ev9.js → tool-ze75yzft.js} +8 -8
  282. package/dist/chunks/{model-ft76mxxj.js → tool-zfgqkgc5.js} +4 -4
  283. package/dist/chunks/{model-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{model-vcf39g69.js → tool-zwgthjzd.js} +16 -16
  285. package/dist/chunks/{model-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{model-kee9xs5a.js → tool-zyg44wv6.js} +10 -10
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +114 -114
  304. package/dist/config/plugin/mcp.js +121 -121
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +116 -116
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +115 -115
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +159 -159
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +138 -138
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +99 -99
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +115 -115
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +74 -74
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +2 -2
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +224 -224
  583. package/dist/session/execution.js +126 -126
  584. package/dist/session/generate.js +164 -164
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +91 -91
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +77 -77
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +163 -163
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +105 -105
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +137 -137
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +109 -109
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +113 -113
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +1 -1
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +95 -95
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +88 -88
  676. package/dist/websearch.js +84 -84
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +84 -84
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +98 -98
  687. package/package.json +8 -8
  688. package/dist/chunks/model-gyce5qg1.js +0 -18
  689. /package/dist/chunks/{model-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-24dcb14g.js → tool-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{model-2710q6r3.js → tool-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-2bv980vf.js → tool-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{model-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{model-359p4xyc.js → tool-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{model-3asan66x.js → tool-3asan66x.js} +0 -0
  699. /package/dist/chunks/{model-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{model-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{model-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{model-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{model-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{model-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{model-53557ph1.js → tool-53557ph1.js} +0 -0
  707. /package/dist/chunks/{model-550bvhaj.js → tool-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{model-5fjb7ams.js → tool-5fjb7ams.js} +0 -0
  709. /package/dist/chunks/{model-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{model-6prwharc.js → tool-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{model-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-7m9af43g.js → tool-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-822emrt2.js → tool-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-84wd9syh.js → tool-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{model-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{model-8n3pysct.js → tool-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{model-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{model-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{model-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{model-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{model-af5trqkr.js → tool-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{model-afrmfg78.js → tool-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{model-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{model-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{model-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{model-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{model-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{model-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{model-d9fn303g.js → tool-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{model-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{model-dajrwvna.js → tool-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{model-dap0rakb.js → tool-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{model-df08tz66.js → tool-df08tz66.js} +0 -0
  735. /package/dist/chunks/{model-dy18nga0.js → tool-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{model-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{model-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{model-ec1grn59.js → tool-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{model-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{model-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{model-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{model-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{model-faypxj3z.js → tool-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{model-fd410y7t.js → tool-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{model-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-g86h250q.js → tool-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-gftt206x.js → tool-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{model-hk9envan.js → tool-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{model-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{model-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{model-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{model-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{model-m18g726c.js → tool-m18g726c.js} +0 -0
  759. /package/dist/chunks/{model-mp448xyj.js → tool-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{model-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{model-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{model-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{model-njntx4h6.js → tool-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{model-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{model-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{model-q74kybfr.js → tool-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{model-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{model-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{model-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{model-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{model-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{model-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{model-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{model-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{model-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{model-w803qqfp.js → tool-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{model-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{model-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{model-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{model-wtztk69x.js → tool-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{model-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{model-x61499pn.js → tool-x61499pn.js} +0 -0
  783. /package/dist/chunks/{model-y44na4kk.js → tool-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{model-y8f7s663.js → tool-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{model-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{model-ym463w8f.js → tool-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{model-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{model-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-qmw2t4sc.js";
2
+ Service85,
3
+ node89
4
+ } from "./tool-nxgc2w5h.js";
5
5
  import {
6
- Event18,
7
- Service74,
8
- node78
9
- } from "./model-mcxd1mvb.js";
6
+ Event20,
7
+ Service76,
8
+ node79
9
+ } from "./tool-dgzw2v3x.js";
10
10
  import {
11
- Service65,
12
- node69
13
- } from "./model-svs75v6z.js";
11
+ Service62,
12
+ node65
13
+ } from "./tool-ymwgex1k.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./model-z5v4ffb3.js";
16
+ } from "./tool-z5v4ffb3.js";
17
17
  import {
18
18
  Service82,
19
19
  node86
20
- } from "./model-3apxagx1.js";
20
+ } from "./tool-g0nc362r.js";
21
21
  import {
22
22
  substitute2
23
- } from "./model-kwb1v3vj.js";
23
+ } from "./tool-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./model-jvkh9b4k.js";
26
+ } from "./tool-w492d1p5.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./model-9yty7s6b.js";
31
+ } from "./tool-jnz7tvg3.js";
32
32
  import {
33
33
  plan2
34
- } from "./model-6827pfxn.js";
34
+ } from "./tool-6827pfxn.js";
35
35
  import {
36
- Service66,
36
+ Service63,
37
37
  Event13,
38
- node70
39
- } from "./model-t1d8dt4n.js";
38
+ node66
39
+ } from "./tool-r4apxbbe.js";
40
40
  import {
41
41
  __export
42
- } from "./model-9rqn6x4v.js";
42
+ } from "./tool-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
48
  Options: () => Options8,
49
- Service: () => Service64,
49
+ Service: () => Service61,
50
50
  Test: () => Test2,
51
- configured: () => configured10,
51
+ configured: () => configured9,
52
52
  latest: () => latest2,
53
53
  layer: () => layer25,
54
- node: () => node68,
54
+ node: () => node64,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service64 extends Context.Service()("@opencode/Config") {
79
+ class Service61 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service64, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service61, service), Context.add(Test2, service));
98
98
  }));
99
- var layer25 = (options) => Layer.effect(Service64, Effect.gen(function* () {
99
+ var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
101
  const location = yield* Service82;
102
- const watcher = yield* Service65;
103
- const bus = yield* Service84;
104
- const credentials = yield* Service74;
102
+ const watcher = yield* Service62;
103
+ const bus = yield* Service85;
104
+ const credentials = yield* Service76;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service66;
106
+ const wellknown = yield* Service63;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -254,7 +254,7 @@ var layer25 = (options) => Layer.effect(Service64, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
258
  yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
@@ -283,7 +283,7 @@ var layer25 = (options) => Layer.effect(Service64, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service64.of({
286
+ return Service61.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer25 = (options) => Layer.effect(Service64, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured10(options) {
298
+ function configured9(options) {
299
299
  return makeLocationNode({
300
- service: Service64,
300
+ service: Service61,
301
301
  layer: layer25(options),
302
302
  deps: [
303
- node69,
304
- node88,
303
+ node65,
304
+ node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
307
  node86,
308
- node78,
309
- node70,
308
+ node79,
309
+ node66,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node68 = configured10();
314
+ var node64 = configured9();
315
315
 
316
- export { latest2, Options8, Service64, Test2, testLayer2, layer25, configured10, node68, exports_config };
316
+ export { latest2, Options8, Service61, Test2, testLayer2, layer25, configured9, node64, exports_config };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./model-02nrjc1r.js";
6
+ } from "./tool-t550f9t1.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./model-egbnj0d7.js";
9
+ } from "./tool-wkrz5chy.js";
10
10
  import {
11
- Service29,
12
- node32
13
- } from "./model-r09mn59h.js";
11
+ Service30,
12
+ node33
13
+ } from "./tool-9y4hw6ff.js";
14
14
  import {
15
15
  namespace2,
16
16
  name14
17
- } from "./model-ebs90ymd.js";
17
+ } from "./tool-n9c7dk5h.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions2 = {};
24
24
  __export(exports_instructions2, {
25
25
  McpInstructions: () => exports_instructions2,
26
- Service: () => Service18,
27
- layer: () => layer11,
28
- node: () => node21
26
+ Service: () => Service22,
27
+ layer: () => layer10,
28
+ node: () => node25
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,14 +65,14 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service18 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service22 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer11 = Layer.effect(Service18, Effect.gen(function* () {
71
- const mcp = yield* Service29;
72
- return Service18.of({
70
+ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
71
+ const mcp = yield* Service30;
72
+ return Service22.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make20({
75
- key: Key4.make("core/mcp-guidance"),
74
+ const source = (value) => make19({
75
+ key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node21 = makeLocationNode({ service: Service18, layer: layer11, deps: [node32] });
103
+ var node25 = makeLocationNode({ service: Service22, layer: layer10, deps: [node33] });
104
104
 
105
- export { Service18, layer11, node21, exports_instructions2 };
105
+ export { Service22, layer10, node25, exports_instructions2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-qmw2t4sc.js";
2
+ Service85,
3
+ node89
4
+ } from "./tool-nxgc2w5h.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./model-3apxagx1.js";
8
+ } from "./tool-g0nc362r.js";
9
9
  import {
10
- ID15,
11
- Service78,
12
- node82
13
- } from "./model-9g86fe8k.js";
10
+ ID9,
11
+ Service67,
12
+ node70
13
+ } from "./tool-tx895r66.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./model-qv0sc65t.js";
15
+ NotFoundError9
16
+ } from "./tool-37cqxn50.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./model-jb678r5y.js";
18
+ Service65,
19
+ node68
20
+ } from "./tool-aher8bmf.js";
21
21
  import {
22
22
  match2
23
- } from "./model-y1fvbwt7.js";
23
+ } from "./tool-y1fvbwt7.js";
24
24
  import {
25
- Service77,
26
- node81
27
- } from "./model-4kkgmn48.js";
25
+ Service66,
26
+ node69
27
+ } from "./tool-s14qqts9.js";
28
28
  import {
29
- Service79,
30
- node83
31
- } from "./model-a2qe2ev9.js";
29
+ Service77,
30
+ node80
31
+ } from "./tool-ze75yzft.js";
32
32
  import {
33
33
  __export
34
- } from "./model-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event14,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service75,
54
+ Service: () => Service64,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node79
58
+ node: () => node67
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
64
+ import { Event as Event14 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID7,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service75 extends Context.Service()("@opencode/Permission") {
128
+ class Service64 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service75, Effect.gen(function* () {
131
- const bus = yield* Service84;
130
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
131
+ const bus = yield* Service85;
132
132
  const location = yield* Service82;
133
- const agents = yield* Service78;
134
- const sessions = yield* Service76;
135
- const saved = yield* Service77;
136
- const hooks = yield* Service79;
133
+ const agents = yield* Service67;
134
+ const sessions = yield* Service65;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service77;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service75.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service64.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node79 = makeLocationNode({
303
- service: Service75,
302
+ var node67 = makeLocationNode({
303
+ service: Service64,
304
304
  layer,
305
- deps: [node88, node86, node82, node80, node81, node83]
305
+ deps: [node89, node86, node70, node68, node69, node80]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node67, exports_permission2, Rule3, Ruleset2, Event14 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-gd4qta3r.js";
3
+ } from "./tool-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./model-rdw6cm16.js";
6
+ } from "./tool-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service32,
18
+ Service: () => Service44,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node35
21
+ node: () => node48
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service32 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service44 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service32, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service32.of({
124
+ return Service44.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node35 = makeLocationNode({
143
- service: Service32,
142
+ var node48 = makeLocationNode({
143
+ service: Service44,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service32, node35, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node48, exports_tool_output2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-j0g1y14w.js";
3
+ } from "./tool-3hjc3vgd.js";
4
4
  import {
5
- Service84
6
- } from "./model-qmw2t4sc.js";
5
+ Service85
6
+ } from "./tool-nxgc2w5h.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18,
10
- Service74
11
- } from "./model-mcxd1mvb.js";
9
+ Event20,
10
+ Service76
11
+ } from "./tool-dgzw2v3x.js";
12
12
  import {
13
- ID10,
13
+ ID13,
14
14
  MethodID2
15
- } from "./model-wpmx8zxk.js";
15
+ } from "./tool-p3p03tan.js";
16
16
  import {
17
- ID9,
17
+ ID12,
18
18
  mergeOverlay2
19
- } from "./model-119vrnyz.js";
19
+ } from "./tool-a6rw3yra.js";
20
20
  import {
21
- ID8,
21
+ ID11,
22
22
  VariantID2,
23
- Info18
24
- } from "./model-e4ed32bz.js";
23
+ Info19
24
+ } from "./tool-04cnhvec.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./model-pjvnvgmy.js";
28
+ } from "./tool-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./model-54ma36ye.js";
31
+ } from "./tool-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./model-a4se8z2x.js";
34
+ } from "./tool-wy8rpyz3.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID9.openai;
47
- var integrationID = ID10.make("openai");
46
+ var providerID = ID12.openai;
47
+ var integrationID = ID13.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service84;
183
- const credentials = yield* Service74;
182
+ const bus = yield* Service85;
183
+ const credentials = yield* Service76;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info18.default(ID9.openai, ID8.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID11.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./model-qmw2t4sc.js";
2
+ Service85
3
+ } from "./tool-nxgc2w5h.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./model-e4ed32bz.js";
6
+ } from "./tool-04cnhvec.js";
7
7
  import {
8
- Service14,
9
- Event3
10
- } from "./model-bsznzx2j.js";
8
+ Service38,
9
+ Event8
10
+ } from "./tool-2z2nwxhc.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service14;
42
- const bus = yield* Service84;
41
+ const modelsDev = yield* Service38;
42
+ const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);