@opencode/core 0.0.0-dev-20401 → 0.0.0-dev-20406

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{wellknown-d57jdqnp.js → shell-027h9grx.js} +17 -17
  8. package/dist/chunks/{wellknown-xphsq29y.js → shell-0a5qyhqp.js} +5 -5
  9. package/dist/chunks/{wellknown-d7hrbx3g.js → shell-0bwxef5p.js} +41 -41
  10. package/dist/chunks/{wellknown-wt5vxt9k.js → shell-0d8tbd59.js} +22 -22
  11. package/dist/chunks/{wellknown-0f9afca0.js → shell-0f9afca0.js} +2 -2
  12. package/dist/chunks/{wellknown-vc0vbezj.js → shell-0p8b1wz2.js} +11 -11
  13. package/dist/chunks/{wellknown-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{wellknown-z0gc4jcf.js → shell-0pgf3wjz.js} +11 -11
  15. package/dist/chunks/{wellknown-vv07ew10.js → shell-0tf9f9fk.js} +8 -8
  16. package/dist/chunks/{wellknown-jpqeh2wc.js → shell-0xqyf95c.js} +4 -4
  17. package/dist/chunks/{wellknown-aan7x28a.js → shell-0yvfy2gr.js} +81 -81
  18. package/dist/chunks/{wellknown-dtq5dwqq.js → shell-11xytnza.js} +32 -32
  19. package/dist/chunks/{wellknown-rjyargxg.js → shell-17dp9b3b.js} +11 -11
  20. package/dist/chunks/{wellknown-br0tr5aq.js → shell-1ajx6rf5.js} +8 -8
  21. package/dist/chunks/{wellknown-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{wellknown-wckr6wjf.js → shell-1ezyexdv.js} +2 -2
  23. package/dist/chunks/{wellknown-zvsfaaqm.js → shell-1ntkjgb8.js} +27 -27
  24. package/dist/chunks/{wellknown-hm6dp6d2.js → shell-1q4hgdtf.js} +331 -331
  25. package/dist/chunks/{wellknown-q58mka6k.js → shell-1rh4yqvv.js} +9 -9
  26. package/dist/chunks/{wellknown-jbxd6gbx.js → shell-1t9fg1b5.js} +11 -11
  27. package/dist/chunks/{wellknown-hysx2fj2.js → shell-1y782dng.js} +19 -19
  28. package/dist/chunks/{wellknown-21r38tys.js → shell-21r38tys.js} +1 -1
  29. package/dist/chunks/{wellknown-k1s1cxft.js → shell-24zydrzs.js} +48 -48
  30. package/dist/chunks/{wellknown-css27r41.js → shell-2832djng.js} +10 -10
  31. package/dist/chunks/{wellknown-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{wellknown-wh176n5n.js → shell-2a5svkms.js} +12 -12
  33. package/dist/chunks/{wellknown-y1gke2m2.js → shell-2mhsvxbb.js} +4 -4
  34. package/dist/chunks/{wellknown-aqyyhm0b.js → shell-2q4t2vtj.js} +24 -24
  35. package/dist/chunks/{wellknown-zggzp6kd.js → shell-2yxkykh1.js} +30 -30
  36. package/dist/chunks/{wellknown-rmp2r1td.js → shell-302sxsq7.js} +11 -11
  37. package/dist/chunks/{wellknown-56gdpj1q.js → shell-33w4ejhs.js} +6 -6
  38. package/dist/chunks/{wellknown-55kxqpgg.js → shell-350namw0.js} +32 -32
  39. package/dist/chunks/{wellknown-b0wk2k2j.js → shell-3a1r704r.js} +7 -7
  40. package/dist/chunks/{wellknown-jzmza1h1.js → shell-3aqqv3ta.js} +26 -26
  41. package/dist/chunks/{wellknown-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{wellknown-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{wellknown-wrvpnekj.js → shell-3namxzrj.js} +83 -83
  44. package/dist/chunks/{wellknown-mj4mdxkv.js → shell-3nsr1h9t.js} +30 -30
  45. package/dist/chunks/{wellknown-ncqsayf8.js → shell-3p2gykje.js} +3 -3
  46. package/dist/chunks/{wellknown-vach4kr4.js → shell-3pqrab3r.js} +14 -14
  47. package/dist/chunks/{wellknown-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{wellknown-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{wellknown-ebxxptf3.js → shell-3x602478.js} +15 -15
  50. package/dist/chunks/{wellknown-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{wellknown-8hydgdhp.js → shell-40ejgnmq.js} +6 -6
  52. package/dist/chunks/{wellknown-x70jfmtc.js → shell-445bgnxh.js} +7 -7
  53. package/dist/chunks/{wellknown-rybxqfgf.js → shell-46gkbd0c.js} +26 -26
  54. package/dist/chunks/{wellknown-4e0602pb.js → shell-4bjzyjqa.js} +23 -23
  55. package/dist/chunks/{wellknown-7q1q4j24.js → shell-4hbxt91c.js} +27 -27
  56. package/dist/chunks/{wellknown-4hzg1grx.js → shell-4r8tvr6m.js} +6 -6
  57. package/dist/chunks/{wellknown-y56ehv6b.js → shell-4rt0ga34.js} +9 -9
  58. package/dist/chunks/{wellknown-54ma36ye.js → shell-54ma36ye.js} +1 -1
  59. package/dist/chunks/{wellknown-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{wellknown-a2em79jn.js → shell-5bjd8ds0.js} +47 -47
  61. package/dist/chunks/{wellknown-5daktx2q.js → shell-5daktx2q.js} +1 -1
  62. package/dist/chunks/{wellknown-zj9f3ba2.js → shell-5gj63dwh.js} +10 -10
  63. package/dist/chunks/{wellknown-a8xwqxmq.js → shell-5gr04vgg.js} +7 -7
  64. package/dist/chunks/{wellknown-dh75pk8w.js → shell-5kw0n2ma.js} +8 -8
  65. package/dist/chunks/{wellknown-q4mn6wkk.js → shell-5t0mhrn0.js} +6 -6
  66. package/dist/chunks/{wellknown-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{wellknown-hd8vw2pw.js → shell-5tat9ppm.js} +1 -1
  68. package/dist/chunks/{wellknown-kg8gd9a1.js → shell-5v8k5syq.js} +29 -29
  69. package/dist/chunks/{wellknown-768rm808.js → shell-5vrj9ban.js} +14 -14
  70. package/dist/chunks/{wellknown-wkh0553f.js → shell-5whaezv9.js} +24 -24
  71. package/dist/chunks/{wellknown-k4tadaxs.js → shell-6033txqd.js} +19 -19
  72. package/dist/chunks/shell-619r8v3y.js +18 -0
  73. package/dist/chunks/{wellknown-669tq793.js → shell-669tq793.js} +1 -1
  74. package/dist/chunks/{wellknown-w4arg62q.js → shell-6anwy9fs.js} +4 -4
  75. package/dist/chunks/{wellknown-y4aaa54v.js → shell-6ar8w4pq.js} +44 -44
  76. package/dist/chunks/{wellknown-a6gmg8e2.js → shell-6fhqajxq.js} +9 -9
  77. package/dist/chunks/{wellknown-0hrf2yhq.js → shell-6gnvbdx3.js} +3 -3
  78. package/dist/chunks/{wellknown-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{wellknown-r5x6zcsm.js → shell-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{wellknown-tnvxdpm3.js → shell-763zc42s.js} +26 -26
  81. package/dist/chunks/{wellknown-97qfe4sr.js → shell-77p9tcjg.js} +48 -48
  82. package/dist/chunks/{wellknown-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{wellknown-qgn6gcr1.js → shell-7dqw4kz8.js} +5 -5
  84. package/dist/chunks/{wellknown-str9awg2.js → shell-7dthvaew.js} +28 -28
  85. package/dist/chunks/shell-7kw0n3fd.js +252 -0
  86. package/dist/chunks/{wellknown-21tvsb8b.js → shell-83y1qfs6.js} +177 -177
  87. package/dist/chunks/{wellknown-t4nchsx9.js → shell-845k646w.js} +20 -20
  88. package/dist/chunks/{wellknown-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{wellknown-hwa5qdjj.js → shell-8j1jmj9t.js} +5 -5
  90. package/dist/chunks/{wellknown-h09p1vgn.js → shell-8x3ar29j.js} +12 -12
  91. package/dist/chunks/{wellknown-w21bzq9q.js → shell-909p1r3q.js} +4 -4
  92. package/dist/chunks/{wellknown-n513yaqk.js → shell-90xpxcvn.js} +11 -11
  93. package/dist/chunks/{wellknown-sjn3sca5.js → shell-92tzgrpg.js} +20 -20
  94. package/dist/chunks/{wellknown-gfvb90ym.js → shell-94ek1h2f.js} +2 -2
  95. package/dist/chunks/{wellknown-j594h3t6.js → shell-9g29qv69.js} +4 -4
  96. package/dist/chunks/{wellknown-71zbrv9g.js → shell-9m18q581.js} +21 -21
  97. package/dist/chunks/{wellknown-scn1m38n.js → shell-9rzhta9t.js} +11 -11
  98. package/dist/chunks/{wellknown-bqar0n6y.js → shell-9syxb0r3.js} +10 -10
  99. package/dist/chunks/{wellknown-s595vrx0.js → shell-a6t0d3d8.js} +27 -26
  100. package/dist/chunks/{wellknown-4bm5ja14.js → shell-a89e0tac.js} +4 -4
  101. package/dist/chunks/{wellknown-aaet6srn.js → shell-aaet6srn.js} +2 -2
  102. package/dist/chunks/{wellknown-hsteyg0z.js → shell-agthfym9.js} +34 -34
  103. package/dist/chunks/{wellknown-0w11ndwm.js → shell-awbtvej0.js} +8 -8
  104. package/dist/chunks/{wellknown-5mp13bbv.js → shell-ax630gpb.js} +11 -11
  105. package/dist/chunks/{wellknown-67cr51g4.js → shell-b44gvvvr.js} +14 -14
  106. package/dist/chunks/{wellknown-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{wellknown-354df1dc.js → shell-bfafj43h.js} +21 -21
  108. package/dist/chunks/{wellknown-hbgyr91g.js → shell-bj8111r1.js} +3 -3
  109. package/dist/chunks/{wellknown-9534deet.js → shell-br9mj3ey.js} +32 -32
  110. package/dist/chunks/{wellknown-f6bdtgrs.js → shell-c1bwn9r9.js} +19 -19
  111. package/dist/chunks/{wellknown-q07vqkz7.js → shell-cbntc203.js} +3 -3
  112. package/dist/chunks/{wellknown-5r2av5gd.js → shell-cebrzyqt.js} +20 -20
  113. package/dist/chunks/{wellknown-py3kkmfq.js → shell-cfsekr6v.js} +2 -2
  114. package/dist/chunks/{wellknown-54tcyq79.js → shell-ckecvw8r.js} +2 -2
  115. package/dist/chunks/{wellknown-npn1b5xx.js → shell-cm8jqk38.js} +5 -5
  116. package/dist/chunks/{wellknown-vn5vaeq1.js → shell-cs4k5zgq.js} +9 -9
  117. package/dist/chunks/{wellknown-sfe33gz0.js → shell-cxqfxpp1.js} +6 -6
  118. package/dist/chunks/{wellknown-vp65ztdf.js → shell-d38myz56.js} +31 -31
  119. package/dist/chunks/{wellknown-h5k0xyz2.js → shell-d7xrmwxz.js} +13 -13
  120. package/dist/chunks/{wellknown-tneh0x7b.js → shell-d8cfvk62.js} +17 -17
  121. package/dist/chunks/{wellknown-kfr3jwev.js → shell-dawgpkjz.js} +8 -8
  122. package/dist/chunks/{wellknown-ax139gcc.js → shell-de6jgy4a.js} +38 -38
  123. package/dist/chunks/{wellknown-5phqnecy.js → shell-dg5bcj4q.js} +7 -7
  124. package/dist/chunks/{wellknown-xjjqthj5.js → shell-dj3aa5wj.js} +3 -3
  125. package/dist/chunks/{wellknown-xkntkrq7.js → shell-dmqcgk4z.js} +5 -5
  126. package/dist/chunks/{wellknown-4s51ma40.js → shell-dy2xnbj8.js} +12 -12
  127. package/dist/chunks/{wellknown-h4jx48xg.js → shell-dzrr9fx3.js} +8 -8
  128. package/dist/chunks/{wellknown-6h3wybc7.js → shell-e0vtkr8g.js} +6 -6
  129. package/dist/chunks/{wellknown-ns267dy3.js → shell-e1t80gge.js} +43 -43
  130. package/dist/chunks/{wellknown-1s6gcy5s.js → shell-e1vgqt98.js} +45 -45
  131. package/dist/chunks/{wellknown-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{wellknown-mwwxnxty.js → shell-em3h5ktn.js} +4 -4
  133. package/dist/chunks/{wellknown-e7vk2sgk.js → shell-er11akkf.js} +18 -18
  134. package/dist/chunks/{wellknown-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{wellknown-v359qcvd.js → shell-ew9zfet1.js} +25 -25
  136. package/dist/chunks/{wellknown-atm8t10z.js → shell-exq671fp.js} +8 -8
  137. package/dist/chunks/{wellknown-2bdw8h48.js → shell-f41jbqvm.js} +14 -14
  138. package/dist/chunks/{wellknown-c8g3m7qr.js → shell-f42drt00.js} +15 -15
  139. package/dist/chunks/{wellknown-1a854nj1.js → shell-fc62ns0w.js} +5 -5
  140. package/dist/chunks/{wellknown-qm0v3jhh.js → shell-fm2qvscf.js} +7 -7
  141. package/dist/chunks/{wellknown-kccjvgj9.js → shell-fmb7ydzj.js} +20 -20
  142. package/dist/chunks/{wellknown-adcm3a54.js → shell-fq36cd5d.js} +15 -15
  143. package/dist/chunks/{wellknown-4e8vs6eh.js → shell-fqtvmpfq.js} +8 -8
  144. package/dist/chunks/{wellknown-v0kzg6mz.js → shell-frz7qx3c.js} +13 -13
  145. package/dist/chunks/{wellknown-h6b02349.js → shell-fy6cggrf.js} +5 -5
  146. package/dist/chunks/{wellknown-jhcj5yx9.js → shell-fz2hs8me.js} +22 -22
  147. package/dist/chunks/{wellknown-xfkkasph.js → shell-g5w8qwbj.js} +4 -4
  148. package/dist/chunks/{wellknown-bsnpd98z.js → shell-g5zc0msw.js} +1 -1
  149. package/dist/chunks/shell-g619fkyf.js +26 -0
  150. package/dist/chunks/{wellknown-ax5feq3k.js → shell-gc7e05zt.js} +22 -22
  151. package/dist/chunks/{wellknown-gebtr55s.js → shell-gcavn3wx.js} +5 -5
  152. package/dist/chunks/{wellknown-9qny7dd3.js → shell-gce79w0q.js} +15 -15
  153. package/dist/chunks/{wellknown-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{wellknown-wpsrzqaa.js → shell-ghvvmysb.js} +46 -46
  155. package/dist/chunks/{wellknown-2k64ycz1.js → shell-gs4tkc79.js} +8 -8
  156. package/dist/chunks/{wellknown-e3farn9z.js → shell-gs9kr2a8.js} +15 -15
  157. package/dist/chunks/{wellknown-260gyq39.js → shell-gsgd9zjh.js} +24 -24
  158. package/dist/chunks/{wellknown-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{wellknown-hs334ye3.js → shell-gwt0t2e2.js} +28 -28
  160. package/dist/chunks/{wellknown-ff98bvnp.js → shell-gxf6g2qt.js} +28 -28
  161. package/dist/chunks/{wellknown-wj3fzgk4.js → shell-h3qzknde.js} +33 -33
  162. package/dist/chunks/{wellknown-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{wellknown-sf76q7np.js → shell-hadadgvf.js} +8 -8
  164. package/dist/chunks/{wellknown-damkmrvb.js → shell-hbe0cwhg.js} +18 -18
  165. package/dist/chunks/{wellknown-h2h81cz1.js → shell-hgr40ys5.js} +14 -14
  166. package/dist/chunks/{wellknown-zsmpz0g2.js → shell-hzazvw9e.js} +46 -46
  167. package/dist/chunks/{wellknown-hvv902j1.js → shell-hzk924x7.js} +13 -13
  168. package/dist/chunks/{wellknown-q2vdjp2s.js → shell-j0zcen4g.js} +9 -9
  169. package/dist/chunks/{wellknown-j56e64zr.js → shell-j56e64zr.js} +1 -1
  170. package/dist/chunks/{wellknown-a3r4dcrj.js → shell-jca4demv.js} +2 -2
  171. package/dist/chunks/{wellknown-z8jvdxfg.js → shell-jnps75af.js} +11 -11
  172. package/dist/chunks/{wellknown-tdhe5xga.js → shell-k0gdq8ga.js} +8 -8
  173. package/dist/chunks/{wellknown-bn97v1ss.js → shell-k0t8x34b.js} +1 -1
  174. package/dist/chunks/{wellknown-k3c624dm.js → shell-k3c624dm.js} +3 -3
  175. package/dist/chunks/{wellknown-k25a84m3.js → shell-kg2zmxw6.js} +39 -39
  176. package/dist/chunks/{wellknown-szbq6dpj.js → shell-kgc2xkc7.js} +2 -2
  177. package/dist/chunks/{wellknown-52my5p2r.js → shell-kqgb7ch4.js} +5 -5
  178. package/dist/chunks/{wellknown-t12g5egd.js → shell-kw0mk995.js} +41 -41
  179. package/dist/chunks/{wellknown-1eh65fmh.js → shell-ky96t3kz.js} +14 -14
  180. package/dist/chunks/{wellknown-642recst.js → shell-m0rmv5bm.js} +12 -12
  181. package/dist/chunks/{wellknown-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{wellknown-c231s8ta.js → shell-m41nq2xm.js} +13 -13
  183. package/dist/chunks/{wellknown-whrrw1yc.js → shell-m568jpcd.js} +26 -26
  184. package/dist/chunks/{wellknown-m58kmhef.js → shell-m58kmhef.js} +2 -2
  185. package/dist/chunks/{wellknown-21t3v64e.js → shell-m7s2bw5g.js} +30 -30
  186. package/dist/chunks/{wellknown-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{wellknown-dgeqw13h.js → shell-mdr46t4g.js} +3 -3
  188. package/dist/chunks/{wellknown-6ebn15x8.js → shell-mebcx2ev.js} +5 -5
  189. package/dist/chunks/{wellknown-cq038mp1.js → shell-mesrmzak.js} +8 -8
  190. package/dist/chunks/{wellknown-vsxynn42.js → shell-mhjvq9xf.js} +21 -21
  191. package/dist/chunks/{wellknown-r7yf4sta.js → shell-mkwp3yp2.js} +12 -12
  192. package/dist/chunks/{wellknown-rzs3gq0x.js → shell-mp6d0dty.js} +8 -8
  193. package/dist/chunks/{wellknown-8jjxrpth.js → shell-mv7vmavb.js} +24 -24
  194. package/dist/chunks/{wellknown-2mqye2yj.js → shell-myrh9h6p.js} +10 -10
  195. package/dist/chunks/{wellknown-bfqjkbr4.js → shell-n0x2a21q.js} +20 -20
  196. package/dist/chunks/{wellknown-sy8pvrsp.js → shell-ng9nphe0.js} +17 -17
  197. package/dist/chunks/{wellknown-j02apccs.js → shell-nmww7jyx.js} +5 -5
  198. package/dist/chunks/{wellknown-nscznvay.js → shell-nq7qbqzc.js} +9 -9
  199. package/dist/chunks/{wellknown-k12yqhfe.js → shell-nsq97wxa.js} +15 -15
  200. package/dist/chunks/{wellknown-ca3j46nd.js → shell-nwakhswj.js} +34 -34
  201. package/dist/chunks/{wellknown-dpkg50ah.js → shell-nxm207yx.js} +4 -4
  202. package/dist/chunks/{wellknown-4j4tgtq5.js → shell-pd7gvt3w.js} +4 -4
  203. package/dist/chunks/{wellknown-eqntm3rh.js → shell-pjnbb6nv.js} +26 -26
  204. package/dist/chunks/{wellknown-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{wellknown-tq61de9h.js → shell-pk6jt4dn.js} +18 -18
  206. package/dist/chunks/{wellknown-pknna89w.js → shell-pknna89w.js} +1 -1
  207. package/dist/chunks/{wellknown-kf8xccby.js → shell-pmc1jkpx.js} +14 -14
  208. package/dist/chunks/{wellknown-pqvx7e34.js → shell-ps9psapg.js} +40 -40
  209. package/dist/chunks/{wellknown-jexxy024.js → shell-q3t37ft6.js} +3 -3
  210. package/dist/chunks/{wellknown-e6m8eg10.js → shell-q4g7nk9d.js} +11 -11
  211. package/dist/chunks/{wellknown-2x9aqbrw.js → shell-qdd0q08y.js} +15 -15
  212. package/dist/chunks/{wellknown-4df3h35c.js → shell-qfc3y584.js} +11 -11
  213. package/dist/chunks/{wellknown-mjymc32g.js → shell-qj8eh1ht.js} +4 -4
  214. package/dist/chunks/{wellknown-g4fbrt4z.js → shell-qk5y71t7.js} +10 -10
  215. package/dist/chunks/{wellknown-c765mh8b.js → shell-qmqgtz8f.js} +9 -9
  216. package/dist/chunks/{wellknown-qsdy395h.js → shell-qsdy395h.js} +1 -1
  217. package/dist/chunks/{wellknown-6kqa1629.js → shell-qvb81wqx.js} +19 -19
  218. package/dist/chunks/{wellknown-z8qfc15h.js → shell-qwe7bsa3.js} +20 -20
  219. package/dist/chunks/{wellknown-t9ew0xaf.js → shell-r7srsjaq.js} +9 -9
  220. package/dist/chunks/{wellknown-r8xr0va3.js → shell-r8xr0va3.js} +1 -1
  221. package/dist/chunks/{wellknown-3hrymav8.js → shell-rbgk9g65.js} +29 -29
  222. package/dist/chunks/{wellknown-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{wellknown-g1q8vb0g.js → shell-rp3pg7vc.js} +4 -4
  224. package/dist/chunks/{wellknown-akzntyag.js → shell-rthp8kp4.js} +20 -20
  225. package/dist/chunks/{wellknown-nngs6syj.js → shell-rwrdja42.js} +19 -19
  226. package/dist/chunks/{wellknown-rh7p7pce.js → shell-s0p782fc.js} +15 -15
  227. package/dist/chunks/{wellknown-nap4pwna.js → shell-s19nf2ge.js} +7 -7
  228. package/dist/chunks/{wellknown-w4mba9tq.js → shell-sgy5rc4s.js} +15 -15
  229. package/dist/chunks/{wellknown-1sa7dz1e.js → shell-sgyq1qp9.js} +22 -22
  230. package/dist/chunks/{wellknown-kydcancx.js → shell-smnd959e.js} +10 -10
  231. package/dist/chunks/{wellknown-x9zaehp5.js → shell-spcspf24.js} +11 -11
  232. package/dist/chunks/{wellknown-n5hqsxyz.js → shell-sw0g5drg.js} +29 -29
  233. package/dist/chunks/{wellknown-c78bbtc9.js → shell-t0fxg8b9.js} +5 -5
  234. package/dist/chunks/{wellknown-b3s8px0x.js → shell-t34bv3bh.js} +8 -8
  235. package/dist/chunks/{wellknown-0v53mg2y.js → shell-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{wellknown-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{wellknown-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{wellknown-tdstcens.js → shell-tdstcens.js} +1 -1
  239. package/dist/chunks/{wellknown-kcg2nfx1.js → shell-tmvj6me9.js} +13 -13
  240. package/dist/chunks/{wellknown-1xp5crwf.js → shell-tqrmv6wh.js} +33 -33
  241. package/dist/chunks/{wellknown-tvtrv512.js → shell-tvtrv512.js} +1 -1
  242. package/dist/chunks/{wellknown-hsed1dh0.js → shell-v148dh5x.js} +9 -9
  243. package/dist/chunks/{wellknown-3n9eh797.js → shell-v3a302k8.js} +5 -5
  244. package/dist/chunks/{wellknown-1ap25sbt.js → shell-v5me1390.js} +23 -23
  245. package/dist/chunks/{wellknown-5747269g.js → shell-vdmdzg77.js} +4 -4
  246. package/dist/chunks/{wellknown-veqvce7d.js → shell-veqvce7d.js} +1 -1
  247. package/dist/chunks/{wellknown-0q1f136w.js → shell-vq2r4xxp.js} +51 -51
  248. package/dist/chunks/{wellknown-vys9s7rq.js → shell-vxfrmkmy.js} +25 -25
  249. package/dist/chunks/{wellknown-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{wellknown-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{wellknown-84txncab.js → shell-w1eejvng.js} +5 -5
  252. package/dist/chunks/{wellknown-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{wellknown-eq23s0y6.js → shell-wbkyxrgf.js} +5 -5
  254. package/dist/chunks/{wellknown-psazpmmj.js → shell-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{wellknown-wd87259q.js → shell-wd87259q.js} +1 -1
  256. package/dist/chunks/{wellknown-sfkbasvm.js → shell-wdt5kg7f.js} +7 -7
  257. package/dist/chunks/{wellknown-gx58f99x.js → shell-wh0yrkpr.js} +12 -12
  258. package/dist/chunks/{wellknown-f5xysmby.js → shell-ws227ysr.js} +11 -11
  259. package/dist/chunks/{wellknown-9t7a50xb.js → shell-wv396vej.js} +6 -6
  260. package/dist/chunks/{wellknown-q4pkjmzp.js → shell-wx3q8r90.js} +12 -12
  261. package/dist/chunks/{wellknown-k74fhpa0.js → shell-wzh9kx9c.js} +4 -4
  262. package/dist/chunks/{wellknown-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{wellknown-k3zp8qmd.js → shell-x3ec03mt.js} +12 -12
  264. package/dist/chunks/{wellknown-dnxkq42g.js → shell-x661k3y3.js} +4 -4
  265. package/dist/chunks/{wellknown-bv20hq7b.js → shell-xd0e3npz.js} +21 -21
  266. package/dist/chunks/{wellknown-6yaj9rt4.js → shell-xh2bzhhz.js} +6 -6
  267. package/dist/chunks/{wellknown-qn6tktv7.js → shell-xky4w4my.js} +33 -33
  268. package/dist/chunks/{wellknown-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{wellknown-eep4qv10.js → shell-y2acyqmb.js} +33 -33
  270. package/dist/chunks/{wellknown-1jgmt200.js → shell-y30nbvw3.js} +23 -23
  271. package/dist/chunks/{wellknown-744r2be4.js → shell-y6drww2a.js} +48 -48
  272. package/dist/chunks/{wellknown-7a838fem.js → shell-yfmq466m.js} +14 -14
  273. package/dist/chunks/{wellknown-kbqjp078.js → shell-yq14pbr7.js} +5 -5
  274. package/dist/chunks/{wellknown-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{wellknown-t7cg42xb.js → shell-yrxdn3w6.js} +13 -13
  276. package/dist/chunks/{wellknown-yrznvahk.js → shell-yrznvahk.js} +2 -2
  277. package/dist/chunks/{wellknown-bjtzbw4r.js → shell-z07pqspn.js} +3 -3
  278. package/dist/chunks/{wellknown-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{wellknown-3zjyq5kp.js → shell-z2sk8n0r.js} +11 -11
  280. package/dist/chunks/{wellknown-vjjxy6yb.js → shell-z2wvrawj.js} +6 -6
  281. package/dist/chunks/{wellknown-xywe86jr.js → shell-z41n5maa.js} +72 -72
  282. package/dist/chunks/{wellknown-p73e7djm.js → shell-z4h5d8ps.js} +31 -31
  283. package/dist/chunks/{wellknown-5bzm3rcx.js → shell-z4pb129a.js} +4 -4
  284. package/dist/chunks/{wellknown-z63w68vq.js → shell-z63w68vq.js} +2 -2
  285. package/dist/chunks/{wellknown-henaaq5n.js → shell-z9v69aw7.js} +33 -33
  286. package/dist/chunks/{wellknown-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{wellknown-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{wellknown-dbf65cva.js → shell-zrfk4xcc.js} +32 -32
  289. package/dist/chunks/{wellknown-08f2t3aa.js → shell-zvjxv4v7.js} +25 -25
  290. package/dist/chunks/{wellknown-kne8f3cn.js → shell-zvt5dnpc.js} +4 -4
  291. package/dist/chunks/{wellknown-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{wellknown-a0gecma7.js → shell-zz8pmeaw.js} +19 -19
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +368 -368
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +3 -3
  460. package/dist/instance.js +361 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +134 -134
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +111 -111
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +122 -122
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +82 -82
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +2 -2
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/wellknown-443fwh93.js +0 -252
  701. package/dist/chunks/wellknown-9sh4wc5j.js +0 -18
  702. package/dist/chunks/wellknown-c6jdrc5c.js +0 -26
  703. /package/dist/chunks/{wellknown-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{wellknown-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{wellknown-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{wellknown-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{wellknown-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{wellknown-24dcb14g.js → shell-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{wellknown-2710q6r3.js → shell-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{wellknown-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{wellknown-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{wellknown-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{wellknown-359p4xyc.js → shell-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{wellknown-3asan66x.js → shell-3asan66x.js} +0 -0
  715. /package/dist/chunks/{wellknown-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{wellknown-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{wellknown-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{wellknown-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{wellknown-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{wellknown-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{wellknown-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{wellknown-53557ph1.js → shell-53557ph1.js} +0 -0
  723. /package/dist/chunks/{wellknown-550bvhaj.js → shell-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{wellknown-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{wellknown-6prwharc.js → shell-6prwharc.js} +0 -0
  726. /package/dist/chunks/{wellknown-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{wellknown-7m9af43g.js → shell-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{wellknown-822emrt2.js → shell-822emrt2.js} +0 -0
  729. /package/dist/chunks/{wellknown-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{wellknown-8n3pysct.js → shell-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{wellknown-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{wellknown-922hggd3.js → shell-922hggd3.js} +0 -0
  733. /package/dist/chunks/{wellknown-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{wellknown-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{wellknown-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{wellknown-af5trqkr.js → shell-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{wellknown-afrmfg78.js → shell-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{wellknown-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{wellknown-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{wellknown-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{wellknown-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{wellknown-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{wellknown-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{wellknown-d9fn303g.js → shell-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{wellknown-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{wellknown-dajrwvna.js → shell-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{wellknown-dap0rakb.js → shell-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{wellknown-df08tz66.js → shell-df08tz66.js} +0 -0
  749. /package/dist/chunks/{wellknown-dy18nga0.js → shell-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{wellknown-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{wellknown-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{wellknown-ec1grn59.js → shell-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{wellknown-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{wellknown-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{wellknown-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{wellknown-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{wellknown-faypxj3z.js → shell-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{wellknown-fd410y7t.js → shell-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{wellknown-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{wellknown-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{wellknown-g86h250q.js → shell-g86h250q.js} +0 -0
  762. /package/dist/chunks/{wellknown-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{wellknown-gftt206x.js → shell-gftt206x.js} +0 -0
  764. /package/dist/chunks/{wellknown-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{wellknown-hk9envan.js → shell-hk9envan.js} +0 -0
  766. /package/dist/chunks/{wellknown-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{wellknown-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{wellknown-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{wellknown-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{wellknown-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{wellknown-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{wellknown-mp448xyj.js → shell-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{wellknown-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{wellknown-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{wellknown-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{wellknown-njntx4h6.js → shell-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{wellknown-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{wellknown-q74kybfr.js → shell-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{wellknown-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{wellknown-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{wellknown-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{wellknown-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{wellknown-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{wellknown-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{wellknown-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{wellknown-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{wellknown-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{wellknown-w803qqfp.js → shell-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{wellknown-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{wellknown-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{wellknown-wtztk69x.js → shell-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{wellknown-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{wellknown-x61499pn.js → shell-x61499pn.js} +0 -0
  794. /package/dist/chunks/{wellknown-y44na4kk.js → shell-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{wellknown-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{wellknown-y8f7s663.js → shell-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{wellknown-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{wellknown-ym463w8f.js → shell-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{wellknown-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID10,
3
- Service70
4
- } from "./wellknown-wkh0553f.js";
2
+ ID13,
3
+ Service74
4
+ } from "./shell-5whaezv9.js";
5
5
  import {
6
6
  Service80
7
- } from "./wellknown-wckr6wjf.js";
7
+ } from "./shell-1ezyexdv.js";
8
8
  import {
9
- Service38
10
- } from "./wellknown-ns267dy3.js";
9
+ Service58
10
+ } from "./shell-e1t80gge.js";
11
11
  import {
12
- Service64,
12
+ Service79,
13
13
  args2
14
- } from "./wellknown-9qny7dd3.js";
14
+ } from "./shell-gce79w0q.js";
15
15
  import {
16
- Service21
17
- } from "./wellknown-aan7x28a.js";
16
+ Service29
17
+ } from "./shell-0yvfy2gr.js";
18
18
  import {
19
- make7
20
- } from "./wellknown-x9zaehp5.js";
19
+ make9
20
+ } from "./shell-spcspf24.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./wellknown-5daktx2q.js";
23
+ } from "./shell-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./shell-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin17
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin41
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin17 = define({
44
+ var Plugin41 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service38;
47
+ const config = yield* Service58;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,10 +56,10 @@ var Plugin17 = define({
56
56
  });
57
57
  const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service64;
60
- const sessions = yield* Service21;
61
- const agents = yield* Service70;
62
- const subagents = yield* make7;
59
+ const shell = yield* Service79;
60
+ const sessions = yield* Service29;
61
+ const agents = yield* Service74;
62
+ const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin17 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID13.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin17, exports_command };
207
+ export { Plugin41, exports_command2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./wellknown-ec1grn59.js";
3
+ } from "./shell-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./wellknown-tdstcens.js";
6
+ } from "./shell-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,58 +1,58 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./wellknown-h09p1vgn.js";
2
+ Service82,
3
+ node86
4
+ } from "./shell-8x3ar29j.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./wellknown-tnvxdpm3.js";
6
+ Service75,
7
+ node79
8
+ } from "./shell-763zc42s.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./wellknown-67cr51g4.js";
12
+ } from "./shell-b44gvvvr.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./wellknown-wckr6wjf.js";
17
+ } from "./shell-1ezyexdv.js";
18
18
  import {
19
19
  canonical3
20
- } from "./wellknown-vn5vaeq1.js";
20
+ } from "./shell-cs4k5zgq.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./wellknown-ec1grn59.js";
23
+ } from "./shell-ec1grn59.js";
24
24
  import {
25
- Service67,
26
- node71
27
- } from "./wellknown-0q1f136w.js";
25
+ Service71,
26
+ node75
27
+ } from "./shell-vq2r4xxp.js";
28
28
  import {
29
- Service52,
30
- node56
31
- } from "./wellknown-kf8xccby.js";
29
+ Service28,
30
+ node31
31
+ } from "./shell-pmc1jkpx.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./shell-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service18,
41
- node: () => node20
40
+ Service: () => Service27,
41
+ node: () => node30
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service27 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service18, Effect.gen(function* () {
51
- const bus = yield* Service83;
50
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
51
+ const bus = yield* Service82;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service67;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service52;
53
+ const permission = yield* Service71;
54
+ const forms = yield* Service75;
55
+ const rpc = yield* Service28;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service18.of({
78
+ return Service27.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node20 = makeLocationNode({
84
- service: Service18,
83
+ var node30 = makeLocationNode({
84
+ service: Service27,
85
85
  layer,
86
- deps: [node87, node84, node71, node85, node83, node56]
86
+ deps: [node86, node84, node75, node85, node79, node31]
87
87
  });
88
88
 
89
- export { Service18, node20, exports_location_lifecycle };
89
+ export { Service27, node30, exports_location_lifecycle };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./wellknown-emrn6kk6.js";
7
+ } from "./shell-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./wellknown-dbf65cva.js";
2
+ ID7
3
+ } from "./shell-zrfk4xcc.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID13.make(id);
27
+ const providerID = ID7.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./wellknown-henaaq5n.js";
3
+ } from "./shell-z9v69aw7.js";
4
4
  import {
5
- ID14,
5
+ ID8,
6
6
  MethodID2
7
- } from "./wellknown-wj3fzgk4.js";
7
+ } from "./shell-h3qzknde.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./wellknown-pjvnvgmy.js";
11
+ } from "./shell-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID8.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-bqar0n6y.js";
3
+ } from "./shell-9syxb0r3.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin41,
11
+ Plugin: () => Plugin20,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin41 = define({
32
+ var Plugin20 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin41 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin41 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin41, exports_tavily };
80
+ export { endpoint4, Plugin20, exports_tavily };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./wellknown-922hggd3.js";
4
+ } from "./shell-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./wellknown-wh176n5n.js";
8
+ Service83,
9
+ node87
10
+ } from "./shell-2a5svkms.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./wellknown-wckr6wjf.js";
14
+ } from "./shell-1ezyexdv.js";
15
15
  import {
16
16
  create3
17
- } from "./wellknown-rdw6cm16.js";
17
+ } from "./shell-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service49,
26
+ ID: () => ID5,
27
+ Service: () => Service52,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node52,
29
+ node: () => node54,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,11 +43,11 @@ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service52 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node52 = makeLocationNode({
144
- service: Service49,
143
+ var node54 = makeLocationNode({
144
+ service: Service52,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node87, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
148
+ var noopLayer3 = Layer.succeed(Service52, Service52.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error4, Service49, node52, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error4, Service52, node54, noopLayer3, exports_snapshot2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83
3
- } from "./wellknown-h09p1vgn.js";
2
+ Service82
3
+ } from "./shell-8x3ar29j.js";
4
4
  import {
5
- Service65,
6
- Event13
7
- } from "./wellknown-bv20hq7b.js";
5
+ Service61,
6
+ Event12
7
+ } from "./shell-xd0e3npz.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin2,
15
+ Plugin: () => Plugin15,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin2 = define({
20
+ var Plugin15 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service83;
24
- const wellknown = yield* Service65;
23
+ const bus = yield* Service82;
24
+ const wellknown = yield* Service61;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin2 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin2, exports_plugin };
48
+ export { Plugin15, exports_plugin };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service37,
8
+ Service: () => Service57,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node40
10
+ node: () => node60
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service37, () => {
17
+ var layer = Layer.sync(Service57, () => {
18
18
  const environments = new Map;
19
- return Service37.of({
19
+ return Service57.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service37, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node40 = makeGlobalNode({ service: Service37, layer, deps: [] });
29
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [] });
30
30
 
31
- export { Service37, node40, exports_environment };
31
+ export { Service57, node60, exports_environment };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-bqar0n6y.js";
3
+ } from "./shell-9syxb0r3.js";
4
4
  import {
5
- Service83
6
- } from "./wellknown-h09p1vgn.js";
5
+ Service82
6
+ } from "./shell-8x3ar29j.js";
7
7
  import {
8
- ID15,
8
+ ID10,
9
9
  OAuth3,
10
- Event19,
11
- Service78
12
- } from "./wellknown-henaaq5n.js";
10
+ Event16,
11
+ Service67
12
+ } from "./shell-z9v69aw7.js";
13
13
  import {
14
14
  key2
15
- } from "./wellknown-dnxkq42g.js";
15
+ } from "./shell-x661k3y3.js";
16
16
  import {
17
- ID14,
17
+ ID8,
18
18
  MethodID2
19
- } from "./wellknown-wj3fzgk4.js";
19
+ } from "./shell-h3qzknde.js";
20
20
  import {
21
- ID13,
21
+ ID7,
22
22
  mergeOverlay2
23
- } from "./wellknown-dbf65cva.js";
23
+ } from "./shell-zrfk4xcc.js";
24
24
  import {
25
- ID12,
25
+ ID6,
26
26
  VariantID2,
27
- Info26
28
- } from "./wellknown-dtq5dwqq.js";
27
+ Info20
28
+ } from "./shell-11xytnza.js";
29
29
  import {
30
30
  success2,
31
31
  error2
32
- } from "./wellknown-pjvnvgmy.js";
32
+ } from "./shell-pjvnvgmy.js";
33
33
 
34
34
  // src/plugin/provider/chatgpt.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
41
41
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
42
42
  var resource = "https://api.openai.com/v1";
43
43
  var tokenSharingScope = "chatgpt.tokens.use.direct";
44
- var providerID = ID13.openai;
45
- var integrationID = ID14.make("openai");
44
+ var providerID = ID7.openai;
45
+ var integrationID = ID8.make("openai");
46
46
  var methodID = MethodID2.make("chatgpt-token-sharing");
47
47
  var modelCacheKey = (clientID) => `models:${clientID}`;
48
48
  var fallbackModels = new Set([
@@ -171,8 +171,8 @@ function listen(server) {
171
171
  var ChatGPTPlugin2 = define({
172
172
  id: "opencode.provider.chatgpt",
173
173
  effect: Effect.fn(function* (ctx) {
174
- const bus = yield* Service83;
175
- const credentials = yield* Service78;
174
+ const bus = yield* Service82;
175
+ const credentials = yield* Service67;
176
176
  const loading = Semaphore.makeUnsafe(1);
177
177
  let chatgpt;
178
178
  let available;
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
194
194
  yield* ctx.integration.transform((editor) => {
195
195
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
196
196
  });
197
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
197
+ yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
198
198
  const value = entry.value;
199
199
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
200
200
  return Effect.void;
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
259
259
  });
260
260
  const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
261
261
  const connection = source;
262
- const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
262
+ const credential = connection?.type === "credential" ? (yield* credentials.get(ID10.make(connection.id)))?.value : undefined;
263
263
  if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
264
264
  return;
265
265
  const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
279
279
  }));
280
280
  });
281
281
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
282
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
282
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
283
283
  yield* refreshModels().pipe(Effect.forkScoped);
284
284
  yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
285
285
  })
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
338
338
  const found = byID.get(model.modelID);
339
339
  return found ? [deriveModel(found, model)] : [];
340
340
  }),
341
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
341
+ ...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID7.openai, ID6.make(model.slug))))
342
342
  ];
343
343
  }
344
344
  function deriveModel(remote, previous) {
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service33
6
- } from "./wellknown-744r2be4.js";
5
+ Service40
6
+ } from "./shell-y6drww2a.js";
7
7
  import {
8
- Service67
9
- } from "./wellknown-0q1f136w.js";
8
+ Service71
9
+ } from "./shell-vq2r4xxp.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin24
18
+ Plugin: () => Plugin7
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin24 = {
22
+ var Plugin7 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service33;
26
- const permission = yield* Service67;
25
+ const mcp = yield* Service40;
26
+ const permission = yield* Service71;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin24 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin24, exports_mcp_resource };
96
+ export { Plugin7, exports_mcp_resource };