@opencode/core 0.0.0-dev-21199 → 0.0.0-dev-21207

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{skill-azhh6n6p.js → persistent-pty-07hm112z.js} +32 -32
  8. package/dist/chunks/{skill-0gvzbg7p.js → persistent-pty-0a4xt203.js} +16 -16
  9. package/dist/chunks/{skill-wg81ww38.js → persistent-pty-0b5g1ynf.js} +4 -4
  10. package/dist/chunks/{skill-mtvcx4kk.js → persistent-pty-0bamrq62.js} +11 -11
  11. package/dist/chunks/{skill-tk14ecdn.js → persistent-pty-0e4dr41z.js} +37 -37
  12. package/dist/chunks/{skill-eyvd4r56.js → persistent-pty-0ehmmcyw.js} +17 -17
  13. package/dist/chunks/{skill-xmjm0ap3.js → persistent-pty-0hvxqb6d.js} +33 -33
  14. package/dist/chunks/{skill-vwwhsbvp.js → persistent-pty-0jmz7zhd.js} +10 -10
  15. package/dist/chunks/{skill-24s8e1ye.js → persistent-pty-0kq1vnt2.js} +11 -11
  16. package/dist/chunks/{skill-ybq6hy8a.js → persistent-pty-0m15zpmn.js} +18 -18
  17. package/dist/chunks/{skill-x181wg97.js → persistent-pty-0qfx4vg1.js} +5 -5
  18. package/dist/chunks/{skill-6fk8v7jg.js → persistent-pty-0tz9w1hv.js} +37 -37
  19. package/dist/chunks/{skill-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{skill-xg47fphv.js → persistent-pty-0vs1brv3.js} +8 -8
  21. package/dist/chunks/{skill-pcf1k9th.js → persistent-pty-18g55aa2.js} +6 -6
  22. package/dist/chunks/{skill-9sspp2kc.js → persistent-pty-19m9vfay.js} +16 -16
  23. package/dist/chunks/{skill-p37cw4rj.js → persistent-pty-1ajx6rf5.js} +8 -8
  24. package/dist/chunks/{skill-w57ms8mt.js → persistent-pty-1gzh7x8v.js} +15 -15
  25. package/dist/chunks/{skill-47akhf3w.js → persistent-pty-1jge3f37.js} +34 -34
  26. package/dist/chunks/{skill-24ythb25.js → persistent-pty-1mgnj47k.js} +6 -6
  27. package/dist/chunks/{skill-dbwk15v0.js → persistent-pty-1msrarhd.js} +28 -28
  28. package/dist/chunks/{skill-8ryk0bb9.js → persistent-pty-1nwxscpy.js} +5 -5
  29. package/dist/chunks/{skill-zyyv54cq.js → persistent-pty-1pav5ndx.js} +20 -20
  30. package/dist/chunks/{skill-7gjg0sg8.js → persistent-pty-1qpcq0yb.js} +19 -19
  31. package/dist/chunks/{skill-fxaymqdw.js → persistent-pty-1w2wqhfv.js} +4 -4
  32. package/dist/chunks/{skill-ddzfx2sp.js → persistent-pty-23hfca39.js} +4 -4
  33. package/dist/chunks/{skill-tbrt0skw.js → persistent-pty-26pvtrrv.js} +33 -33
  34. package/dist/chunks/{skill-6x6512f8.js → persistent-pty-287dc9gj.js} +14 -14
  35. package/dist/chunks/{skill-73wdtct1.js → persistent-pty-296pqcyw.js} +4 -4
  36. package/dist/chunks/{skill-e4qjwypm.js → persistent-pty-29jpnasx.js} +12 -12
  37. package/dist/chunks/{skill-rmpja4kz.js → persistent-pty-2b974e2a.js} +20 -20
  38. package/dist/chunks/{skill-ft3hqk2c.js → persistent-pty-2mq1h16s.js} +9 -9
  39. package/dist/chunks/{skill-hhvypby2.js → persistent-pty-2pvdeqne.js} +83 -83
  40. package/dist/chunks/{skill-pc6svy01.js → persistent-pty-2sf5w7c0.js} +3 -3
  41. package/dist/chunks/{skill-hpagwa2c.js → persistent-pty-2xt21v74.js} +12 -12
  42. package/dist/chunks/{skill-4ysfff1b.js → persistent-pty-3126pgvt.js} +29 -29
  43. package/dist/chunks/{skill-jq9wm7kj.js → persistent-pty-368fk4db.js} +2 -2
  44. package/dist/chunks/{skill-r3ydk6z5.js → persistent-pty-36rq9ymx.js} +6 -6
  45. package/dist/chunks/{skill-a5574sc3.js → persistent-pty-374251z8.js} +16 -16
  46. package/dist/chunks/{skill-j5xh64qr.js → persistent-pty-38phfjcn.js} +9 -9
  47. package/dist/chunks/{skill-0w5ft33m.js → persistent-pty-39vged4c.js} +15 -15
  48. package/dist/chunks/{skill-bn0s77k4.js → persistent-pty-39z47dss.js} +7 -7
  49. package/dist/chunks/{skill-tx9w5tca.js → persistent-pty-3a83a0n4.js} +8 -8
  50. package/dist/chunks/{skill-mtpeagzc.js → persistent-pty-3dedrcqz.js} +3 -3
  51. package/dist/chunks/{skill-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  52. package/dist/chunks/{skill-60pkp98z.js → persistent-pty-3fkmq7pq.js} +9 -9
  53. package/dist/chunks/{skill-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  54. package/dist/chunks/{skill-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
  55. package/dist/chunks/{skill-k8zn6dzp.js → persistent-pty-3j7kj2y8.js} +17 -17
  56. package/dist/chunks/{skill-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  57. package/dist/chunks/{skill-n7pfcsmy.js → persistent-pty-3sv35849.js} +27 -27
  58. package/dist/chunks/{skill-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  59. package/dist/chunks/{skill-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  60. package/dist/chunks/{skill-jybvdwhe.js → persistent-pty-41mnrj5z.js} +12 -12
  61. package/dist/chunks/{skill-wdjfy1sg.js → persistent-pty-45yxkxq5.js} +4 -4
  62. package/dist/chunks/{skill-qx787nm7.js → persistent-pty-4d3befan.js} +8 -8
  63. package/dist/chunks/{skill-dh2x2bk8.js → persistent-pty-4p1cenkk.js} +40 -40
  64. package/dist/chunks/{skill-n8g9f5aw.js → persistent-pty-4rmh7taa.js} +8 -8
  65. package/dist/chunks/{skill-bjr98wm2.js → persistent-pty-4rv9xmb7.js} +11 -11
  66. package/dist/chunks/{skill-csxcg56m.js → persistent-pty-53wmdg2z.js} +26 -26
  67. package/dist/chunks/{skill-mz4wv8nb.js → persistent-pty-546wh2b3.js} +13 -13
  68. package/dist/chunks/{skill-d2kvkr0c.js → persistent-pty-54f956qq.js} +13 -13
  69. package/dist/chunks/{skill-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  70. package/dist/chunks/{skill-kyvqw619.js → persistent-pty-57ws9skg.js} +28 -28
  71. package/dist/chunks/{skill-wf494znr.js → persistent-pty-5cdwp8x1.js} +11 -11
  72. package/dist/chunks/{skill-dssbfrwz.js → persistent-pty-5fykfdj7.js} +5 -5
  73. package/dist/chunks/{skill-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{skill-ckkc33e7.js → persistent-pty-5x0spf49.js} +49 -49
  75. package/dist/chunks/{skill-0jwsre1p.js → persistent-pty-607tc6va.js} +5 -5
  76. package/dist/chunks/{skill-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
  77. package/dist/chunks/{skill-a61mcpgr.js → persistent-pty-68g6xwqn.js} +25 -25
  78. package/dist/chunks/{skill-2hn0k533.js → persistent-pty-68spmrpe.js} +5 -5
  79. package/dist/chunks/{skill-xr9szsrw.js → persistent-pty-6hcchj7j.js} +69 -69
  80. package/dist/chunks/{skill-1vnwec3s.js → persistent-pty-6m2evtbw.js} +13 -13
  81. package/dist/chunks/{skill-9tn557k3.js → persistent-pty-6qx5ffhj.js} +3 -3
  82. package/dist/chunks/{skill-sd6jgyf6.js → persistent-pty-6v03kn10.js} +30 -30
  83. package/dist/chunks/{skill-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  84. package/dist/chunks/{skill-xt4njr3s.js → persistent-pty-6xcvt31d.js} +1 -1
  85. package/dist/chunks/{skill-d7q7g158.js → persistent-pty-76nj6dhf.js} +7 -7
  86. package/dist/chunks/{skill-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
  87. package/dist/chunks/{skill-qv0n1xf7.js → persistent-pty-7b0e7y4m.js} +6 -6
  88. package/dist/chunks/{skill-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{skill-157xg8cq.js → persistent-pty-7eqp7xtn.js} +175 -175
  90. package/dist/chunks/{skill-7fkffz83.js → persistent-pty-7fkffz83.js} +2 -2
  91. package/dist/chunks/{skill-95gd5fnz.js → persistent-pty-7g7x9kjy.js} +6 -6
  92. package/dist/chunks/{skill-0mshdkct.js → persistent-pty-7gvejd0q.js} +30 -30
  93. package/dist/chunks/{skill-ryvyvv32.js → persistent-pty-7j2qrq70.js} +31 -31
  94. package/dist/chunks/{skill-9cw92fkg.js → persistent-pty-7k8y39tb.js} +40 -40
  95. package/dist/chunks/persistent-pty-7n7aetrn.js +513 -0
  96. package/dist/chunks/{skill-4rqs6yce.js → persistent-pty-7s8vtvkc.js} +8 -8
  97. package/dist/chunks/{skill-ytw5y04d.js → persistent-pty-7y5ptgp2.js} +11 -11
  98. package/dist/chunks/{skill-84txncab.js → persistent-pty-84txncab.js} +1 -1
  99. package/dist/chunks/{skill-89znhe33.js → persistent-pty-89znhe33.js} +1 -1
  100. package/dist/chunks/{skill-p6hp9dgk.js → persistent-pty-8m4ndff2.js} +24 -24
  101. package/dist/chunks/{skill-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  102. package/dist/chunks/{skill-q559tdbh.js → persistent-pty-8mxaw1fa.js} +48 -48
  103. package/dist/chunks/{skill-znpdtr75.js → persistent-pty-8nqwyyrr.js} +25 -25
  104. package/dist/chunks/{skill-bykqqmg1.js → persistent-pty-8qw7ce1p.js} +21 -21
  105. package/dist/chunks/{skill-j09zfasm.js → persistent-pty-91qna3x0.js} +3 -3
  106. package/dist/chunks/{skill-97aeaand.js → persistent-pty-97aeaand.js} +1 -1
  107. package/dist/chunks/{skill-kbzdcc1z.js → persistent-pty-98kr54cv.js} +30 -30
  108. package/dist/chunks/{skill-tegs1ycp.js → persistent-pty-9ae44cfy.js} +6 -6
  109. package/dist/chunks/{skill-dgmheq7x.js → persistent-pty-9n49pgr6.js} +20 -20
  110. package/dist/chunks/{skill-sd35z9tw.js → persistent-pty-9nmz2bca.js} +9 -9
  111. package/dist/chunks/{skill-wknnvmh5.js → persistent-pty-9nv551d5.js} +11 -11
  112. package/dist/chunks/{skill-hcms3ej7.js → persistent-pty-9qjz7egn.js} +24 -24
  113. package/dist/chunks/persistent-pty-9zy3g968.js +26 -0
  114. package/dist/chunks/{skill-z42dm00v.js → persistent-pty-a0z8gye3.js} +13 -13
  115. package/dist/chunks/{skill-aj2p83by.js → persistent-pty-a4xxkpja.js} +16 -16
  116. package/dist/chunks/{skill-j6ktnsbj.js → persistent-pty-aacha31a.js} +5 -5
  117. package/dist/chunks/{skill-bs5qht20.js → persistent-pty-ak0n8wqr.js} +3 -3
  118. package/dist/chunks/{skill-vb3m6eyp.js → persistent-pty-argqn24j.js} +20 -20
  119. package/dist/chunks/{skill-hv0kjr3z.js → persistent-pty-avyh4w4k.js} +20 -20
  120. package/dist/chunks/{skill-j0m4jrxm.js → persistent-pty-ay5c0bv3.js} +25 -25
  121. package/dist/chunks/{skill-gb51gx5j.js → persistent-pty-b2df57q2.js} +1 -1
  122. package/dist/chunks/{skill-dzewxd6e.js → persistent-pty-b3kbpvds.js} +50 -50
  123. package/dist/chunks/{skill-jkh8wmvq.js → persistent-pty-bcxm7vqe.js} +14 -14
  124. package/dist/chunks/{skill-cbghv35z.js → persistent-pty-bfc3jzxx.js} +14 -14
  125. package/dist/chunks/{skill-k41pdhxj.js → persistent-pty-bgfh09k4.js} +19 -19
  126. package/dist/chunks/{skill-5n8ca005.js → persistent-pty-bq3rfpty.js} +12 -12
  127. package/dist/chunks/{skill-9hwaqfsw.js → persistent-pty-bx0gyb4h.js} +5 -5
  128. package/dist/chunks/{skill-1ep4rre3.js → persistent-pty-bzeyqsqd.js} +4 -4
  129. package/dist/chunks/{skill-ztkm05qe.js → persistent-pty-c0nr5bpp.js} +20 -20
  130. package/dist/chunks/{skill-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
  131. package/dist/chunks/{skill-p2w0np6h.js → persistent-pty-c75t29hq.js} +11 -11
  132. package/dist/chunks/{skill-afdssyjb.js → persistent-pty-ca7w653e.js} +4 -4
  133. package/dist/chunks/{skill-f85pwmyw.js → persistent-pty-catab2z7.js} +3 -3
  134. package/dist/chunks/{skill-vbek984v.js → persistent-pty-cdqe3acw.js} +6 -6
  135. package/dist/chunks/{skill-g36mbs4t.js → persistent-pty-cne5fydz.js} +15 -15
  136. package/dist/chunks/{skill-44ak30pa.js → persistent-pty-cp937pt4.js} +4 -4
  137. package/dist/chunks/{skill-ek42zh69.js → persistent-pty-cw4vxgxd.js} +22 -22
  138. package/dist/chunks/{skill-d1a28jh7.js → persistent-pty-d1a28jh7.js} +2 -2
  139. package/dist/chunks/{skill-k76krqzs.js → persistent-pty-d216944b.js} +7 -7
  140. package/dist/chunks/{skill-6fq7r47e.js → persistent-pty-dcsvv0a8.js} +5 -5
  141. package/dist/chunks/{skill-ts92q5ds.js → persistent-pty-dcvyzbc9.js} +24 -24
  142. package/dist/chunks/{skill-nk3nq1me.js → persistent-pty-df3a40xp.js} +19 -19
  143. package/dist/chunks/{skill-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  144. package/dist/chunks/{skill-fn9t717r.js → persistent-pty-dq407baf.js} +6 -6
  145. package/dist/chunks/{skill-zaggqza2.js → persistent-pty-dy0tp0j6.js} +10 -10
  146. package/dist/chunks/{skill-p9901hdx.js → persistent-pty-e0pc35xj.js} +34 -34
  147. package/dist/chunks/{skill-x96ngv9r.js → persistent-pty-e87gf2rh.js} +10 -10
  148. package/dist/chunks/{skill-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
  149. package/dist/chunks/{skill-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{skill-rhraev7y.js → persistent-pty-f2n192rq.js} +4 -4
  151. package/dist/chunks/{skill-0jgt67sk.js → persistent-pty-fawagqxt.js} +23 -23
  152. package/dist/chunks/{skill-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
  153. package/dist/chunks/{skill-8k9dqkvr.js → persistent-pty-fgg1h6tp.js} +18 -18
  154. package/dist/chunks/{skill-3cwb9jzf.js → persistent-pty-fqhbsnr5.js} +8 -8
  155. package/dist/chunks/{skill-0tb1pehm.js → persistent-pty-fqyjd71p.js} +26 -26
  156. package/dist/chunks/{skill-r92v02kx.js → persistent-pty-fv4sm444.js} +25 -25
  157. package/dist/chunks/{skill-ht9z38af.js → persistent-pty-fwbmh39w.js} +7 -7
  158. package/dist/chunks/{skill-0w1q6v6s.js → persistent-pty-g1kxasap.js} +17 -17
  159. package/dist/chunks/{skill-2fkbhf5s.js → persistent-pty-g7fa7svs.js} +27 -27
  160. package/dist/chunks/{skill-v2bjyqkg.js → persistent-pty-gakes9sg.js} +9 -9
  161. package/dist/chunks/{skill-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{skill-dhb2hta4.js → persistent-pty-gm31ynds.js} +5 -5
  163. package/dist/chunks/{skill-1dcff6nc.js → persistent-pty-gs0drmb7.js} +5 -5
  164. package/dist/chunks/{skill-21kate9q.js → persistent-pty-gshnfpyh.js} +21 -21
  165. package/dist/chunks/{skill-vs247hwy.js → persistent-pty-gzqd72by.js} +15 -15
  166. package/dist/chunks/{skill-2dvjh35y.js → persistent-pty-h26kdy9n.js} +24 -24
  167. package/dist/chunks/{skill-8hpz99e3.js → persistent-pty-h2955e8q.js} +17 -17
  168. package/dist/chunks/{skill-q6ec7ghb.js → persistent-pty-h5h55k1t.js} +4 -4
  169. package/dist/chunks/{skill-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{skill-2k71kv7p.js → persistent-pty-h90v2x9d.js} +4 -4
  171. package/dist/chunks/{skill-twwne8jc.js → persistent-pty-hdfxv9rf.js} +13 -13
  172. package/dist/chunks/{skill-jhqb9qv1.js → persistent-pty-he0cfhpc.js} +44 -44
  173. package/dist/chunks/{skill-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
  174. package/dist/chunks/{skill-jr0bwz5h.js → persistent-pty-hk8s4rpe.js} +15 -15
  175. package/dist/chunks/{skill-hh8xd2g7.js → persistent-pty-hkajtpqc.js} +2 -2
  176. package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
  177. package/dist/chunks/{skill-hjkky8wz.js → persistent-pty-hv3fvgxa.js} +4 -4
  178. package/dist/chunks/{skill-5cazt80r.js → persistent-pty-hyry98jx.js} +33 -33
  179. package/dist/chunks/{skill-721538d5.js → persistent-pty-j4yfb354.js} +11 -11
  180. package/dist/chunks/{skill-d4y9kadm.js → persistent-pty-jj579w2g.js} +29 -29
  181. package/dist/chunks/{skill-1e0fage9.js → persistent-pty-k3bwfq85.js} +4 -4
  182. package/dist/chunks/{skill-m8tc3etm.js → persistent-pty-k8xwrkek.js} +45 -45
  183. package/dist/chunks/{skill-k1ep3vpw.js → persistent-pty-kee9eehy.js} +5 -5
  184. package/dist/chunks/{skill-q6hmgxfy.js → persistent-pty-khzq4x05.js} +21 -21
  185. package/dist/chunks/{skill-nd4tfyg0.js → persistent-pty-kjd40bgk.js} +9 -9
  186. package/dist/chunks/persistent-pty-kt23qymt.js +257 -0
  187. package/dist/chunks/{skill-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
  188. package/dist/chunks/{skill-xjww6pxa.js → persistent-pty-m05fbbj0.js} +74 -74
  189. package/dist/chunks/{skill-vnwacm6t.js → persistent-pty-m1skjvb8.js} +1 -1
  190. package/dist/chunks/{skill-j7qxhh0w.js → persistent-pty-m87p00k5.js} +11 -11
  191. package/dist/chunks/{skill-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{skill-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  193. package/dist/chunks/{skill-1vyebrft.js → persistent-pty-mbjmp2z7.js} +43 -43
  194. package/dist/chunks/{skill-5n5c97r3.js → persistent-pty-md3yr6xj.js} +7 -7
  195. package/dist/chunks/{skill-c1s4czd4.js → persistent-pty-mswjsdq2.js} +20 -20
  196. package/dist/chunks/{skill-00qrbj62.js → persistent-pty-mswsvpz6.js} +4 -4
  197. package/dist/chunks/{skill-gqtdsdt7.js → persistent-pty-mxvxcxwy.js} +4 -4
  198. package/dist/chunks/{skill-n61013np.js → persistent-pty-n61013np.js} +3 -3
  199. package/dist/chunks/{skill-m28477hs.js → persistent-pty-nmhvfjt2.js} +18 -18
  200. package/dist/chunks/{skill-acy09t17.js → persistent-pty-nq3qw2vm.js} +1 -1
  201. package/dist/chunks/{skill-axbdcqfv.js → persistent-pty-nt017e08.js} +11 -11
  202. package/dist/chunks/{skill-06xsmntz.js → persistent-pty-nt2cm5g7.js} +2 -2
  203. package/dist/chunks/{skill-4j4tgtq5.js → persistent-pty-nxe4pcap.js} +4 -4
  204. package/dist/chunks/{skill-rakt6rqx.js → persistent-pty-p1dnjvcc.js} +5 -5
  205. package/dist/chunks/{skill-9hg616bm.js → persistent-pty-pb1esjts.js} +10 -10
  206. package/dist/chunks/{skill-jcq65hc2.js → persistent-pty-pes8a9te.js} +37 -37
  207. package/dist/chunks/{skill-hszepbzs.js → persistent-pty-pjnrv22w.js} +11 -11
  208. package/dist/chunks/{skill-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{skill-nm2sbdyw.js → persistent-pty-pkm7e8th.js} +6 -6
  210. package/dist/chunks/{skill-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  211. package/dist/chunks/{skill-ktq7es54.js → persistent-pty-pwxqqvpq.js} +27 -27
  212. package/dist/chunks/{skill-t3mrtpce.js → persistent-pty-pxmy34vh.js} +13 -13
  213. package/dist/chunks/{skill-qmgmkp4z.js → persistent-pty-q4d4j6bt.js} +13 -13
  214. package/dist/chunks/{skill-wx4tanf7.js → persistent-pty-q5rwhrtr.js} +32 -32
  215. package/dist/chunks/{skill-swdxt3e8.js → persistent-pty-qgccrhvw.js} +8 -8
  216. package/dist/chunks/{skill-smjam21t.js → persistent-pty-qgzg94dt.js} +17 -17
  217. package/dist/chunks/{skill-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{skill-qqeeq2t9.js → persistent-pty-qqeeq2t9.js} +1 -1
  219. package/dist/chunks/{skill-9g88hcsg.js → persistent-pty-qs13swd0.js} +46 -46
  220. package/dist/chunks/{skill-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  221. package/dist/chunks/{skill-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{skill-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
  223. package/dist/chunks/{skill-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
  224. package/dist/chunks/{skill-ptxp58at.js → persistent-pty-rtvdsvz0.js} +10 -10
  225. package/dist/chunks/{skill-xa8dcf8m.js → persistent-pty-rx905nvw.js} +7 -7
  226. package/dist/chunks/{skill-ps2yhsm3.js → persistent-pty-ryt5ycva.js} +25 -25
  227. package/dist/chunks/{skill-373db230.js → persistent-pty-s1rzx2rx.js} +16 -16
  228. package/dist/chunks/{skill-2xc59a1w.js → persistent-pty-s4e55a1y.js} +5 -5
  229. package/dist/chunks/{skill-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{skill-1j2x33v7.js → persistent-pty-se3cmajw.js} +14 -14
  231. package/dist/chunks/{skill-ta7kf51t.js → persistent-pty-sj31pcmn.js} +30 -30
  232. package/dist/chunks/{skill-e80seqcp.js → persistent-pty-sxcaecc0.js} +3 -3
  233. package/dist/chunks/{skill-711r5px4.js → persistent-pty-sxgg5vg7.js} +24 -24
  234. package/dist/chunks/{skill-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
  235. package/dist/chunks/{skill-n4d3d4w3.js → persistent-pty-t0pyhqcw.js} +11 -11
  236. package/dist/chunks/{skill-trsmh1y6.js → persistent-pty-t0tz8gfx.js} +14 -14
  237. package/dist/chunks/{skill-eaj1djv9.js → persistent-pty-t550f9t1.js} +8 -8
  238. package/dist/chunks/{skill-hxbam2w6.js → persistent-pty-t6dt94yt.js} +11 -11
  239. package/dist/chunks/{skill-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{skill-p6zwjtwx.js → persistent-pty-tcxp8tq6.js} +3 -3
  241. package/dist/chunks/{skill-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  242. package/dist/chunks/{skill-g0zzgjed.js → persistent-pty-tea6mbfw.js} +13 -13
  243. package/dist/chunks/{skill-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{skill-608dtcmq.js → persistent-pty-tpbvzr1y.js} +15 -15
  245. package/dist/chunks/{skill-j17rh5na.js → persistent-pty-ts10gvyd.js} +14 -14
  246. package/dist/chunks/{skill-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
  247. package/dist/chunks/{skill-v210v162.js → persistent-pty-v210v162.js} +2 -2
  248. package/dist/chunks/{skill-9xnh36ct.js → persistent-pty-v293qw80.js} +26 -26
  249. package/dist/chunks/{skill-bk9rcndt.js → persistent-pty-v2rhndg3.js} +32 -32
  250. package/dist/chunks/{skill-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
  251. package/dist/chunks/{skill-0a54jmae.js → persistent-pty-v9ncrnjw.js} +9 -9
  252. package/dist/chunks/{skill-tkzsrz1e.js → persistent-pty-v9t8k6fh.js} +14 -14
  253. package/dist/chunks/{skill-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  254. package/dist/chunks/{skill-afm93r8m.js → persistent-pty-vhekmsjv.js} +5 -5
  255. package/dist/chunks/{skill-yyvvzyvm.js → persistent-pty-vk73as10.js} +20 -20
  256. package/dist/chunks/{skill-hp8bf08d.js → persistent-pty-vnvv926v.js} +11 -11
  257. package/dist/chunks/{skill-7y6g135c.js → persistent-pty-vtbat0ks.js} +21 -21
  258. package/dist/chunks/{skill-5a1a4xxz.js → persistent-pty-vvgahrge.js} +26 -26
  259. package/dist/chunks/{skill-n3wcrd3g.js → persistent-pty-vxb9f0te.js} +7 -7
  260. package/dist/chunks/{skill-vscs4key.js → persistent-pty-vxttbewe.js} +7 -7
  261. package/dist/chunks/{skill-1wy3a1da.js → persistent-pty-vzm2s9ff.js} +8 -8
  262. package/dist/chunks/{skill-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  263. package/dist/chunks/{skill-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{skill-51fhzrhh.js → persistent-pty-w9qdmkss.js} +23 -23
  265. package/dist/chunks/{skill-4za8yt9x.js → persistent-pty-wak88xg7.js} +16 -16
  266. package/dist/chunks/{skill-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  267. package/dist/chunks/{skill-vbhp0dye.js → persistent-pty-wjr337jx.js} +45 -45
  268. package/dist/chunks/{skill-bjx1sjef.js → persistent-pty-wjr9rjd7.js} +6 -6
  269. package/dist/chunks/{skill-n9y44nm0.js → persistent-pty-ww7z4zes.js} +12 -12
  270. package/dist/chunks/{skill-x4gm9hts.js → persistent-pty-x5hm6bvw.js} +14 -14
  271. package/dist/chunks/{skill-tdepd04k.js → persistent-pty-xacqwv33.js} +14 -14
  272. package/dist/chunks/{skill-fdms3n6w.js → persistent-pty-xf8yqmad.js} +9 -9
  273. package/dist/chunks/{skill-f3rjyvb9.js → persistent-pty-xpyhv29g.js} +29 -29
  274. package/dist/chunks/{skill-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{skill-zn9jy13z.js → persistent-pty-ybt6a39d.js} +6 -6
  276. package/dist/chunks/{skill-akvzwxcq.js → persistent-pty-yfcvgves.js} +20 -20
  277. package/dist/chunks/{skill-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{skill-jgyagtm3.js → persistent-pty-z5tkq5nc.js} +29 -29
  279. package/dist/chunks/{skill-m0492934.js → persistent-pty-zd0masta.js} +50 -50
  280. package/dist/chunks/{skill-hn49etrp.js → persistent-pty-zdhjww4c.js} +9 -9
  281. package/dist/chunks/{skill-ebwpp9d0.js → persistent-pty-znznz47e.js} +11 -11
  282. package/dist/chunks/{skill-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{skill-wwq19wsf.js → persistent-pty-zswavtpb.js} +5 -5
  284. package/dist/chunks/{skill-5hckghy7.js → persistent-pty-zvkna10r.js} +25 -25
  285. package/dist/chunks/{skill-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +3 -3
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +87 -87
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +101 -101
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +86 -86
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +109 -109
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +88 -88
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +115 -115
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +92 -92
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +123 -123
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +221 -221
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +103 -103
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +103 -103
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +89 -89
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +120 -120
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +210 -210
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +7 -7
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +114 -114
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +211 -211
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  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 +3 -3
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +1 -1
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +82 -82
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/skill-961073wv.js +0 -26
  690. package/dist/chunks/skill-g7az63xj.js +0 -257
  691. package/dist/chunks/skill-sjv7n9ab.js +0 -513
  692. package/dist/chunks/skill-vnkjks7b.js +0 -18
  693. /package/dist/chunks/{skill-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{skill-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{skill-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{skill-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{skill-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{skill-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{skill-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{skill-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{skill-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{skill-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{skill-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{skill-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{skill-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{skill-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{skill-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{skill-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{skill-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{skill-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{skill-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{skill-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{skill-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{skill-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{skill-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  716. /package/dist/chunks/{skill-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{skill-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{skill-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{skill-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  720. /package/dist/chunks/{skill-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{skill-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{skill-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{skill-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{skill-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{skill-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{skill-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{skill-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{skill-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{skill-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{skill-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{skill-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{skill-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{skill-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{skill-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{skill-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{skill-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{skill-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{skill-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{skill-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{skill-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{skill-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{skill-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{skill-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{skill-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{skill-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{skill-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{skill-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{skill-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{skill-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{skill-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{skill-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  752. /package/dist/chunks/{skill-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{skill-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  754. /package/dist/chunks/{skill-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{skill-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  756. /package/dist/chunks/{skill-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{skill-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{skill-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{skill-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{skill-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{skill-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{skill-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{skill-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  764. /package/dist/chunks/{skill-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{skill-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{skill-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{skill-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{skill-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{skill-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{skill-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{skill-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{skill-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{skill-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{skill-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{skill-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{skill-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{skill-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{skill-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{skill-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{skill-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{skill-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{skill-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{skill-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{skill-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{skill-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{skill-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{skill-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{skill-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{skill-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{skill-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{skill-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{skill-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{skill-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{skill-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service74
3
- } from "./skill-ps2yhsm3.js";
2
+ Service78
3
+ } from "./persistent-pty-ryt5ycva.js";
4
4
  import {
5
- Service75
6
- } from "./skill-ckkc33e7.js";
5
+ Service54
6
+ } from "./persistent-pty-5x0spf49.js";
7
7
  import {
8
- ID5,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service53
14
- } from "./skill-a61mcpgr.js";
13
+ Service18
14
+ } from "./persistent-pty-68g6xwqn.js";
15
15
  import {
16
16
  __export
17
- } from "./skill-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input6,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input8,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin24,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name6
24
+ Plugin: () => Plugin43,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description4,
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name6 = "websearch";
32
+ var name8 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input6 = Schema.Struct({
42
+ var Input8 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin24 = {
49
+ var Plugin43 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service75;
53
- const forms = yield* Service74;
54
- const websearch = yield* Service53;
52
+ const permission = yield* Service54;
53
+ const forms = yield* Service78;
54
+ const websearch = yield* Service18;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name6,
56
+ name: name8,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input6,
58
+ description: description4,
59
+ input: Input8,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name6,
63
+ action: name8,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name6];
179
+ delete event.tools[name8];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name6, NO_RESULTS2, description3, Input6, Plugin24, exports_websearch };
187
+ export { name8, NO_RESULTS2, description4, Input8, Plugin43, exports_websearch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./skill-jybvdwhe.js";
3
+ } from "./persistent-pty-41mnrj5z.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make4 = createLocalProviderPlugin2({
37
+ var make8 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make4 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make4();
70
+ var OllamaPlugin2 = make8();
71
71
 
72
- export { make4, OllamaPlugin2 };
72
+ export { make8, OllamaPlugin2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-hxbam2w6.js";
3
+ } from "./persistent-pty-t6dt94yt.js";
4
4
  import {
5
5
  Service85
6
- } from "./skill-q6ec7ghb.js";
6
+ } from "./persistent-pty-h5h55k1t.js";
7
7
  import {
8
- ID10,
9
- Event15,
10
- Service68
11
- } from "./skill-kbzdcc1z.js";
8
+ ID14,
9
+ Event18,
10
+ Service77
11
+ } from "./persistent-pty-98kr54cv.js";
12
12
  import {
13
13
  key2
14
- } from "./skill-gqtdsdt7.js";
14
+ } from "./persistent-pty-mxvxcxwy.js";
15
15
  import {
16
- ID9,
16
+ ID13,
17
17
  MethodID2
18
- } from "./skill-0mshdkct.js";
18
+ } from "./persistent-pty-7gvejd0q.js";
19
19
  import {
20
20
  which2
21
- } from "./skill-qaymkmh1.js";
21
+ } from "./persistent-pty-qaymkmh1.js";
22
22
  import {
23
- ID8,
24
- Service66
25
- } from "./skill-f3rjyvb9.js";
23
+ ID12,
24
+ Service75
25
+ } from "./persistent-pty-xpyhv29g.js";
26
26
  import {
27
- ID7
28
- } from "./skill-dbwk15v0.js";
27
+ ID11
28
+ } from "./persistent-pty-1msrarhd.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./skill-nm2sbdyw.js";
31
+ } from "./persistent-pty-pkm7e8th.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make3(endpoints = {
66
+ function make9(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID8.azure);
73
+ const configured = yield* configuredSettings2(ID12.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service68;
77
- const providers = yield* Service66;
76
+ const credentials = yield* Service77;
77
+ const providers = yield* Service75;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make3(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID8.azure,
103
+ integrationID: ID12.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID8.azure,
107
+ integrationID: ID12.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make3(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID8.azure,
125
+ integrationID: ID12.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make3(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID8.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make3(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID8.azure))?.settings;
185
+ const settings = (yield* providers.get(ID12.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make3(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make3(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make3(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID8.azure);
243
+ const item = evt.get(ID12.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make3(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make3(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID8.azure);
266
+ const catalog = models.list(ID12.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID8.azure, model.id);
270
+ models.remove(ID12.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID8.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make3(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID8.azure)
291
+ if (evt.model.providerID !== ID12.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make3(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID8.azure });
300
+ }), { providerID: ID12.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID8.azure)
302
+ if (evt.model.providerID !== ID12.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make3(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID8.azure });
311
+ }), { providerID: ID12.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make3();
315
+ var AzurePlugin2 = make9();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID7.make(deployment.name.toLowerCase());
345
+ const id = ID11.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID7.make(deployment.name),
349
+ modelID: ID11.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make3, AzurePlugin2 };
371
+ export { make9, AzurePlugin2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-hxbam2w6.js";
3
+ } from "./persistent-pty-t6dt94yt.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin27,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint5
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin6 = define({
32
+ var Plugin27 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin6, exports_tavily };
80
+ export { endpoint5, Plugin27, exports_tavily };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./skill-hh8xd2g7.js";
7
+ } from "./persistent-pty-hkajtpqc.js";
8
8
  import {
9
- Service45,
10
- node49
11
- } from "./skill-1j2x33v7.js";
9
+ Service64,
10
+ node67
11
+ } from "./persistent-pty-se3cmajw.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./skill-89znhe33.js";
15
+ } from "./persistent-pty-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./skill-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
24
  Options: () => Options8,
25
- Service: () => Service44,
25
+ Service: () => Service63,
26
26
  configured: () => configured8,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer22,
29
- node: () => node48,
28
+ layer: () => layer25,
29
+ node: () => node66,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ var Options8 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service63 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service63, Effect.gen(function* () {
62
62
  const location = yield* Service82;
63
- const ripgrep = yield* Service45;
63
+ const ripgrep = yield* Service64;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service44.of({
108
+ return Service63.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service63, Effect.gen(function* () {
116
116
  const location = yield* Service82;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service44.of({
129
+ return Service63.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service44.of({
134
+ return Service63.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service82;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -183,8 +183,8 @@ var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured8(options) {
186
- return makeLocationNode({ service: Service44, layer: layer22(options), deps: [node86, node49] });
186
+ return makeLocationNode({ service: Service63, layer: layer25(options), deps: [node86, node67] });
187
187
  }
188
- var node48 = configured8();
188
+ var node66 = configured8();
189
189
 
190
- export { Options8, Service44, ripgrepLayer2, fffLayer2, layer22, configured8, node48, exports_search };
190
+ export { Options8, Service63, ripgrepLayer2, fffLayer2, layer25, configured8, node66, exports_search };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service6, node8, exports_discovery };