@opencode/core 0.0.0-dev-21673 → 0.0.0-dev-21676

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{project-034tev2y.js → shell-034tev2y.js} +2 -2
  8. package/dist/chunks/{project-vgk61ywp.js → shell-0421tmwc.js} +9 -9
  9. package/dist/chunks/{project-ws4j3s0e.js → shell-052hgm15.js} +4 -4
  10. package/dist/chunks/{project-zpc2hwcg.js → shell-074n756q.js} +20 -20
  11. package/dist/chunks/{project-1zw7gc13.js → shell-099mgyan.js} +27 -27
  12. package/dist/chunks/{project-cky18ayb.js → shell-0a71s41t.js} +11 -11
  13. package/dist/chunks/{project-dkq45v8d.js → shell-0gka690g.js} +6 -6
  14. package/dist/chunks/{project-f14tnanx.js → shell-0k149xew.js} +3 -3
  15. package/dist/chunks/{project-yv12yyqt.js → shell-0pv52n9j.js} +12 -12
  16. package/dist/chunks/{project-n39q19g8.js → shell-0q213vj2.js} +4 -4
  17. package/dist/chunks/{project-7p97jbeh.js → shell-0q39ew5d.js} +187 -187
  18. package/dist/chunks/{project-cxk0zn9v.js → shell-0tzmkv2e.js} +17 -17
  19. package/dist/chunks/{project-8daav2af.js → shell-0v3xvz1q.js} +50 -50
  20. package/dist/chunks/{project-84em95zf.js → shell-0v6bwa58.js} +28 -28
  21. package/dist/chunks/{project-vecebjw1.js → shell-0vgge0e4.js} +21 -21
  22. package/dist/chunks/{project-rhzb5sgv.js → shell-0wrn680p.js} +43 -43
  23. package/dist/chunks/{project-kx3xq9yx.js → shell-10jw5ygn.js} +25 -25
  24. package/dist/chunks/{project-24ex7jtb.js → shell-12pj2cn2.js} +90 -90
  25. package/dist/chunks/{project-cqkh3ysm.js → shell-18pk5v5f.js} +51 -51
  26. package/dist/chunks/{project-0yrbxed6.js → shell-19pped8k.js} +15 -15
  27. package/dist/chunks/{project-s5kv2cn0.js → shell-1bprt56t.js} +4 -4
  28. package/dist/chunks/{project-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{project-nrf42yrn.js → shell-1exqj9pt.js} +11 -11
  30. package/dist/chunks/{project-z0pkw490.js → shell-1j6cffe2.js} +20 -20
  31. package/dist/chunks/{project-qaxt5sce.js → shell-1r91ydea.js} +4 -4
  32. package/dist/chunks/{project-bt69sbx0.js → shell-1rarfw9s.js} +35 -35
  33. package/dist/chunks/{project-abz5va8s.js → shell-1w59jp7z.js} +5 -5
  34. package/dist/chunks/{project-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  35. package/dist/chunks/{project-5hvygcnt.js → shell-20nwq5j7.js} +10 -10
  36. package/dist/chunks/{project-me2jyc9e.js → shell-27037k44.js} +17 -17
  37. package/dist/chunks/{project-n32atgs2.js → shell-2ah0g8wp.js} +3 -3
  38. package/dist/chunks/{project-1fqeg8az.js → shell-2jdqz29y.js} +16 -16
  39. package/dist/chunks/shell-2mqgqhm8.js +26 -0
  40. package/dist/chunks/{project-2z1j29yd.js → shell-2z1j29yd.js} +1 -1
  41. package/dist/chunks/{project-35a94sfp.js → shell-2z9d2exz.js} +9 -9
  42. package/dist/chunks/{project-vpgvrtdm.js → shell-30xq731m.js} +6 -6
  43. package/dist/chunks/{project-8tb7jz03.js → shell-35s6a6dm.js} +5 -5
  44. package/dist/chunks/{project-b2naxwvt.js → shell-3f6nh3fm.js} +13 -13
  45. package/dist/chunks/{project-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{project-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{project-pdn1jn4w.js → shell-3sywvchv.js} +21 -21
  48. package/dist/chunks/{project-pwk354ja.js → shell-3vwgbyw7.js} +14 -14
  49. package/dist/chunks/{project-97kra8sc.js → shell-3xqr0t2x.js} +33 -33
  50. package/dist/chunks/{project-svf80yc0.js → shell-40ttsd7n.js} +47 -47
  51. package/dist/chunks/{project-amz5fvp1.js → shell-495kryxw.js} +13 -13
  52. package/dist/chunks/{project-9zn1tp8t.js → shell-4b27svsp.js} +51 -51
  53. package/dist/chunks/{project-rabtnz7e.js → shell-4b4byd6t.js} +340 -340
  54. package/dist/chunks/{project-dvbbs10e.js → shell-4e2nnt3c.js} +11 -11
  55. package/dist/chunks/{project-avrygwsy.js → shell-4nfcmvhk.js} +35 -35
  56. package/dist/chunks/{project-4v008n1t.js → shell-4v008n1t.js} +1 -1
  57. package/dist/chunks/{project-4xvmh7wp.js → shell-4xvmh7wp.js} +3 -3
  58. package/dist/chunks/{project-3rs19bb4.js → shell-4zqkcf57.js} +16 -16
  59. package/dist/chunks/{project-3asb4mz5.js → shell-52apm2b7.js} +14 -14
  60. package/dist/chunks/{project-avt17yc9.js → shell-53zfzs41.js} +9 -9
  61. package/dist/chunks/{project-pbck7hjv.js → shell-5h69x8yw.js} +15 -15
  62. package/dist/chunks/{project-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{project-5nnwax6m.js → shell-5nnwax6m.js} +2 -2
  64. package/dist/chunks/{project-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{project-g2r9we7k.js → shell-5qgzfdx6.js} +19 -19
  66. package/dist/chunks/{project-27bs79w9.js → shell-5rsk1nq8.js} +2 -2
  67. package/dist/chunks/{project-kn0rqzkh.js → shell-5x4mtra2.js} +9 -9
  68. package/dist/chunks/{project-v9ez2kgh.js → shell-5zrxpy3q.js} +5 -5
  69. package/dist/chunks/{project-5kvmfnk6.js → shell-6dj066xs.js} +15 -15
  70. package/dist/chunks/{project-brgvyzq9.js → shell-6dvkpyc2.js} +3 -3
  71. package/dist/chunks/{project-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{project-vgw2z44b.js → shell-6n2c9nvr.js} +42 -42
  73. package/dist/chunks/{project-6pjqjmy2.js → shell-6pjqjmy2.js} +1 -1
  74. package/dist/chunks/{project-sjbapc6a.js → shell-6w0nd92w.js} +32 -32
  75. package/dist/chunks/{project-237j14t0.js → shell-750jpgf2.js} +21 -21
  76. package/dist/chunks/{project-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{project-e4hjbd03.js → shell-79vtmvb8.js} +35 -35
  78. package/dist/chunks/{project-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{project-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  80. package/dist/chunks/{project-zgqyyky3.js → shell-7zt9x3hf.js} +13 -13
  81. package/dist/chunks/{project-nnpg8337.js → shell-81rwv4vy.js} +5 -5
  82. package/dist/chunks/{project-ymtfe6ys.js → shell-83y10q5s.js} +13 -13
  83. package/dist/chunks/{project-r96ere88.js → shell-88kypjvy.js} +4 -4
  84. package/dist/chunks/{project-e614209m.js → shell-89tdhaej.js} +2 -2
  85. package/dist/chunks/{project-eapz8twa.js → shell-8cf452yy.js} +33 -33
  86. package/dist/chunks/{project-sy1zgpba.js → shell-8fzmkc5d.js} +11 -11
  87. package/dist/chunks/{project-c618cpra.js → shell-8k8atbvj.js} +29 -29
  88. package/dist/chunks/{project-qq1647kk.js → shell-8pqzhdc3.js} +4 -4
  89. package/dist/chunks/{project-rdyeje7b.js → shell-8rp0m0m0.js} +4 -4
  90. package/dist/chunks/{project-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{project-91rj84md.js → shell-91rj84md.js} +1 -1
  92. package/dist/chunks/{project-f00hk273.js → shell-91vv7ayb.js} +18 -18
  93. package/dist/chunks/{project-998yhzzq.js → shell-998yhzzq.js} +3 -3
  94. package/dist/chunks/{project-aqxp75b5.js → shell-99dgtdd3.js} +25 -25
  95. package/dist/chunks/{project-ex2ghmgq.js → shell-9g4cv0f3.js} +5 -5
  96. package/dist/chunks/{project-ve21yh3e.js → shell-9hz3fran.js} +25 -25
  97. package/dist/chunks/{project-1z530119.js → shell-9kfzqwtx.js} +17 -17
  98. package/dist/chunks/{project-qn7gt9tf.js → shell-9kh0htnp.js} +13 -13
  99. package/dist/chunks/{project-9p9xqj3m.js → shell-9p9xqj3m.js} +1 -1
  100. package/dist/chunks/{project-n2n972dz.js → shell-9zxsqdn3.js} +21 -21
  101. package/dist/chunks/{project-bjhzkqyk.js → shell-a13nhj24.js} +4 -4
  102. package/dist/chunks/{project-prwsxbm1.js → shell-a4j9f8bt.js} +13 -13
  103. package/dist/chunks/{project-krhbb1d7.js → shell-aeqacknm.js} +11 -11
  104. package/dist/chunks/{project-6y263vp8.js → shell-afmnpta1.js} +5 -5
  105. package/dist/chunks/{project-ryyfth3r.js → shell-ammt9wv8.js} +31 -31
  106. package/dist/chunks/{project-1awzgpvc.js → shell-axmn5kjp.js} +72 -72
  107. package/dist/chunks/{project-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{project-b0mv4wxm.js → shell-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{project-e3t0s7gt.js → shell-b2rkyjcn.js} +7 -7
  110. package/dist/chunks/{project-rnvbgrrs.js → shell-b3nb49ay.js} +13 -13
  111. package/dist/chunks/{project-wzr5z9r3.js → shell-b5z61bee.js} +5 -5
  112. package/dist/chunks/{project-5n01dcds.js → shell-b5za93j9.js} +59 -59
  113. package/dist/chunks/{project-qre60qsh.js → shell-bjb78nd5.js} +25 -25
  114. package/dist/chunks/{project-0zmsqe55.js → shell-bnjf1eky.js} +7 -7
  115. package/dist/chunks/{project-mrfk2h0w.js → shell-bqrhmwq8.js} +36 -36
  116. package/dist/chunks/{project-vzmjdaw1.js → shell-bqwdyg2t.js} +9 -9
  117. package/dist/chunks/{project-p9jvgf3w.js → shell-bsrm4kv0.js} +6 -6
  118. package/dist/chunks/{project-bstexjd6.js → shell-bstexjd6.js} +1 -1
  119. package/dist/chunks/{project-z7r3dw85.js → shell-bx6xdp1z.js} +20 -20
  120. package/dist/chunks/{project-e2x7gzav.js → shell-c3cfh5w6.js} +5 -5
  121. package/dist/chunks/{project-7x0wbv1r.js → shell-c3g877z7.js} +22 -22
  122. package/dist/chunks/{project-psxnrejk.js → shell-c57tq9x6.js} +11 -11
  123. package/dist/chunks/{project-yvjpmm8d.js → shell-c7j93mmt.js} +8 -8
  124. package/dist/chunks/{project-83hm2hev.js → shell-c9fgk02w.js} +49 -49
  125. package/dist/chunks/{project-v8d3mx5z.js → shell-cd1jdth3.js} +10 -10
  126. package/dist/chunks/{project-jvrybeq8.js → shell-ceq71z2s.js} +21 -21
  127. package/dist/chunks/{project-h4a90mfm.js → shell-cfmjsj78.js} +32 -32
  128. package/dist/chunks/{project-5499276f.js → shell-cs7yvevk.js} +6 -6
  129. package/dist/chunks/{project-z928tvaj.js → shell-ctdwq0jb.js} +18 -18
  130. package/dist/chunks/{project-csp9wjvb.js → shell-cx0xwsw9.js} +28 -28
  131. package/dist/chunks/{project-edejzvfw.js → shell-cybp101z.js} +3 -3
  132. package/dist/chunks/{project-x2djvzav.js → shell-cyeygnsd.js} +8 -8
  133. package/dist/chunks/{project-r44hbkey.js → shell-czrdzzab.js} +9 -9
  134. package/dist/chunks/{project-4d5zmrjg.js → shell-d1x9sp18.js} +13 -13
  135. package/dist/chunks/{project-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  136. package/dist/chunks/shell-d77dj7jw.js +18 -0
  137. package/dist/chunks/{project-aws0phmy.js → shell-dvz1915h.js} +18 -18
  138. package/dist/chunks/{project-nrtw1kat.js → shell-dx4aek7k.js} +6 -6
  139. package/dist/chunks/{project-mtxm79q0.js → shell-dzwp3hcx.js} +5 -5
  140. package/dist/chunks/{project-s1hccf1w.js → shell-e00z28p8.js} +16 -16
  141. package/dist/chunks/{project-aay9q4a1.js → shell-e145p2ha.js} +4 -4
  142. package/dist/chunks/{project-tqwv9q63.js → shell-e3hyx3wp.js} +9 -9
  143. package/dist/chunks/{project-e834z07m.js → shell-e834z07m.js} +1 -1
  144. package/dist/chunks/{project-f29nb3rh.js → shell-ed0mtxnh.js} +24 -24
  145. package/dist/chunks/{project-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{project-ftmc5s4e.js → shell-efacwc3z.js} +4 -4
  147. package/dist/chunks/{project-6q8sqnyr.js → shell-ervpxwtf.js} +14 -14
  148. package/dist/chunks/{project-n810t9ja.js → shell-ey9szsmw.js} +24 -24
  149. package/dist/chunks/{project-avcx7cx1.js → shell-f1e7k22r.js} +4 -4
  150. package/dist/chunks/{project-0yqx85sf.js → shell-f5t8t5m7.js} +20 -20
  151. package/dist/chunks/{project-e17k0hsv.js → shell-f82ybqrx.js} +9 -9
  152. package/dist/chunks/{project-zq38syqk.js → shell-f9jmr95f.js} +27 -27
  153. package/dist/chunks/{project-gn0ser4y.js → shell-f9nf7jc4.js} +13 -13
  154. package/dist/chunks/{project-9gmhk2dr.js → shell-fa903x7f.js} +17 -17
  155. package/dist/chunks/{project-5r72z9dp.js → shell-fbjqxkhq.js} +8 -8
  156. package/dist/chunks/{project-rva2q560.js → shell-fcngkh0c.js} +22 -22
  157. package/dist/chunks/{project-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  158. package/dist/chunks/{project-6eanynha.js → shell-fjfaey98.js} +41 -41
  159. package/dist/chunks/{project-pacbbjc0.js → shell-fvc4bqe2.js} +5 -5
  160. package/dist/chunks/{project-g5h9c0rr.js → shell-g5h9c0rr.js} +2 -2
  161. package/dist/chunks/{project-756mjj2v.js → shell-gawdr880.js} +16 -16
  162. package/dist/chunks/{project-s0kjfseb.js → shell-gcf8bw3p.js} +57 -57
  163. package/dist/chunks/{project-v3bag9qh.js → shell-gdc8gtm1.js} +16 -16
  164. package/dist/chunks/{project-rr10qkmh.js → shell-gjp1trbb.js} +16 -16
  165. package/dist/chunks/{project-76zwaa62.js → shell-gt5g569e.js} +35 -35
  166. package/dist/chunks/{project-5n9pkk4a.js → shell-gv55t52j.js} +28 -28
  167. package/dist/chunks/{project-dkhtsk1k.js → shell-gv59wj6b.js} +41 -41
  168. package/dist/chunks/{project-704d1ccs.js → shell-h5qan5zz.js} +11 -11
  169. package/dist/chunks/{project-hwtw9fqj.js → shell-ha4hgd8e.js} +24 -24
  170. package/dist/chunks/{project-4xr8w5a9.js → shell-hbg8agq7.js} +11 -11
  171. package/dist/chunks/{project-wheq58gc.js → shell-hc7ans2w.js} +3 -3
  172. package/dist/chunks/{project-mpq7vr27.js → shell-hecd99m2.js} +4 -4
  173. package/dist/chunks/{project-vdpnyne0.js → shell-hj6y046f.js} +23 -23
  174. package/dist/chunks/{project-dns528vs.js → shell-hsphd179.js} +11 -11
  175. package/dist/chunks/{project-z111sdr0.js → shell-hvzv56hn.js} +33 -33
  176. package/dist/chunks/{project-j43y3xqp.js → shell-hx6gesf1.js} +8 -8
  177. package/dist/chunks/{project-j113cymg.js → shell-j113cymg.js} +1 -1
  178. package/dist/chunks/{project-bg8ynzhc.js → shell-j2a3kw55.js} +18 -18
  179. package/dist/chunks/{project-8e1dptnb.js → shell-j6r0nxf6.js} +30 -30
  180. package/dist/chunks/{project-hgaqcch1.js → shell-j9v24vp1.js} +21 -21
  181. package/dist/chunks/{project-tx1skdes.js → shell-jentk5nx.js} +23 -23
  182. package/dist/chunks/{project-pc1v25hk.js → shell-jx89vj1k.js} +3 -3
  183. package/dist/chunks/{project-dwrjgvf7.js → shell-jxf43kwy.js} +6 -6
  184. package/dist/chunks/{project-r3sapc0f.js → shell-k18xgkct.js} +16 -16
  185. package/dist/chunks/{project-wtzytv8z.js → shell-k4ggaqy8.js} +36 -36
  186. package/dist/chunks/{project-k814nvkf.js → shell-k814nvkf.js} +1 -1
  187. package/dist/chunks/{project-bgn46r2r.js → shell-kdxgykmr.js} +9 -9
  188. package/dist/chunks/{project-pr80rsms.js → shell-kt2gry7f.js} +13 -13
  189. package/dist/chunks/{project-1q3jvbda.js → shell-kxa065gd.js} +5 -5
  190. package/dist/chunks/{project-m1714858.js → shell-m1714858.js} +1 -1
  191. package/dist/chunks/{project-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{project-maspj1v3.js → shell-maspj1v3.js} +1 -1
  193. package/dist/chunks/shell-mcszswe1.js +257 -0
  194. package/dist/chunks/{project-6m3233am.js → shell-msft5056.js} +29 -29
  195. package/dist/chunks/{project-d2887f8n.js → shell-mtkfycnh.js} +4 -4
  196. package/dist/chunks/{project-n0p0277s.js → shell-n0p0277s.js} +1 -1
  197. package/dist/chunks/{project-770pw0s1.js → shell-nah043kf.js} +4 -4
  198. package/dist/chunks/{project-pmebwkpn.js → shell-nkpw7cy5.js} +4 -4
  199. package/dist/chunks/{project-3w089d6d.js → shell-nsqj0y1h.js} +27 -27
  200. package/dist/chunks/{project-9q84888z.js → shell-ny4bcy2e.js} +1 -1
  201. package/dist/chunks/{project-p015t6z3.js → shell-p015t6z3.js} +2 -2
  202. package/dist/chunks/{project-12t1dx64.js → shell-p6xjr4s7.js} +23 -23
  203. package/dist/chunks/{project-q6byt1vy.js → shell-pd641wyg.js} +49 -49
  204. package/dist/chunks/{project-yd39ydqg.js → shell-pg605kec.js} +12 -12
  205. package/dist/chunks/{project-v8axt5a9.js → shell-pjxmvhc5.js} +19 -19
  206. package/dist/chunks/{project-pknna89w.js → shell-pknna89w.js} +1 -1
  207. package/dist/chunks/{project-fy0rchc1.js → shell-pqyj7c3t.js} +14 -14
  208. package/dist/chunks/{project-5wfhjcjp.js → shell-pyab3nm0.js} +12 -12
  209. package/dist/chunks/{project-hg0cvh6j.js → shell-qb45pfqr.js} +37 -37
  210. package/dist/chunks/{project-qjgzc4b4.js → shell-qjgzc4b4.js} +1 -1
  211. package/dist/chunks/{project-t95shdbt.js → shell-qq321qph.js} +5 -5
  212. package/dist/chunks/{project-s7kyse9r.js → shell-qv7y9773.js} +9 -9
  213. package/dist/chunks/{project-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{project-srg5xmqx.js → shell-r9mr2fx2.js} +18 -18
  215. package/dist/chunks/{project-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  216. package/dist/chunks/{project-jpf3p7ma.js → shell-revj3tw3.js} +34 -34
  217. package/dist/chunks/{project-8s5m2r2h.js → shell-rf4jwcas.js} +24 -24
  218. package/dist/chunks/{project-ktvnvra2.js → shell-rm20pgxh.js} +14 -14
  219. package/dist/chunks/{project-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  220. package/dist/chunks/{project-ce3vjht6.js → shell-ry17vq2q.js} +9 -9
  221. package/dist/chunks/{project-jns4gqy7.js → shell-s85z3cra.js} +4 -4
  222. package/dist/chunks/{project-6dbzns9q.js → shell-s9dwmje5.js} +24 -24
  223. package/dist/chunks/{project-66r9f6z1.js → shell-sfkj0ta1.js} +5 -5
  224. package/dist/chunks/{project-4wfnas2w.js → shell-sjrghj3a.js} +12 -12
  225. package/dist/chunks/{project-f607rzmc.js → shell-sn2bmg30.js} +9 -9
  226. package/dist/chunks/{project-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{project-vx3jgdek.js → shell-ss358qx3.js} +3 -3
  228. package/dist/chunks/{project-efv89yt1.js → shell-syjgkag2.js} +18 -18
  229. package/dist/chunks/{project-dkm5gnst.js → shell-szcyxb54.js} +7 -7
  230. package/dist/chunks/{project-40v8dpjy.js → shell-t12sb919.js} +32 -32
  231. package/dist/chunks/{project-p9aq54br.js → shell-t75rajx1.js} +45 -45
  232. package/dist/chunks/{project-h98gx716.js → shell-t7e9twk7.js} +19 -19
  233. package/dist/chunks/{project-ywn1tvqn.js → shell-ta9qyare.js} +29 -29
  234. package/dist/chunks/{project-c8666r4c.js → shell-tasvem1v.js} +6 -6
  235. package/dist/chunks/{project-nad4mkqt.js → shell-tb7p4ryh.js} +8 -8
  236. package/dist/chunks/{project-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{project-ennfa1r2.js → shell-te93dn38.js} +9 -9
  238. package/dist/chunks/{project-haqddkbz.js → shell-tfhekx6w.js} +17 -17
  239. package/dist/chunks/{project-grtakk98.js → shell-tfmz659n.js} +2 -2
  240. package/dist/chunks/{project-9w7p9nvj.js → shell-tgrj2fed.js} +39 -39
  241. package/dist/chunks/{project-qq16f8az.js → shell-th8jc8p0.js} +9 -9
  242. package/dist/chunks/{project-a7p6ajz7.js → shell-tngq8s39.js} +27 -27
  243. package/dist/chunks/{project-arr0esyr.js → shell-trc09wwy.js} +24 -24
  244. package/dist/chunks/{project-tw8zr1ps.js → shell-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{project-twv2r8f4.js → shell-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{project-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{project-fwte2t7r.js → shell-v40bhpkf.js} +12 -12
  248. package/dist/chunks/{project-r7gv03kz.js → shell-v4sbtd6b.js} +35 -35
  249. package/dist/chunks/{project-vd3b3yk9.js → shell-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{project-veqvce7d.js → shell-veqvce7d.js} +1 -1
  251. package/dist/chunks/{project-r77dtqge.js → shell-vkfaa8pw.js} +9 -9
  252. package/dist/chunks/{project-m37sd98t.js → shell-vmfhgzt5.js} +4 -4
  253. package/dist/chunks/{project-gcjdgkn2.js → shell-vrcsa8qx.js} +9 -9
  254. package/dist/chunks/{project-war36t1a.js → shell-w0e5dcpe.js} +94 -94
  255. package/dist/chunks/{project-40za9wsf.js → shell-w2eysc6j.js} +9 -9
  256. package/dist/chunks/{project-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{project-89jcpgd4.js → shell-wafjmk08.js} +1 -1
  258. package/dist/chunks/{project-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{project-d4d7sshf.js → shell-wd6msta3.js} +11 -11
  260. package/dist/chunks/{project-wd87259q.js → shell-wd87259q.js} +1 -1
  261. package/dist/chunks/{project-0ge19jyf.js → shell-wed5rh1m.js} +13 -13
  262. package/dist/chunks/{project-3ryz99p0.js → shell-wmjzvx4b.js} +4 -4
  263. package/dist/chunks/{project-j8b1q04x.js → shell-wmy22jry.js} +21 -21
  264. package/dist/chunks/{project-0qaw3rsr.js → shell-wn8cs04e.js} +14 -14
  265. package/dist/chunks/{project-6fcww07n.js → shell-wpjr39xp.js} +25 -25
  266. package/dist/chunks/{project-fznmdakp.js → shell-wr3re1en.js} +4 -4
  267. package/dist/chunks/{project-0d7fk1v9.js → shell-wyrx21ay.js} +5 -5
  268. package/dist/chunks/{project-k4dxaq26.js → shell-x0ra2npf.js} +10 -10
  269. package/dist/chunks/{project-xybskrbg.js → shell-x4vc4qa8.js} +17 -17
  270. package/dist/chunks/{project-y5s18w2x.js → shell-xccgq3qx.js} +15 -15
  271. package/dist/chunks/{project-nfmgtk0z.js → shell-xd25kzce.js} +14 -14
  272. package/dist/chunks/{project-w9zvebzj.js → shell-xdq354nz.js} +6 -6
  273. package/dist/chunks/{project-ww91z9j1.js → shell-xes9mfxx.js} +30 -30
  274. package/dist/chunks/{project-3j2bx2e1.js → shell-xtxrze2j.js} +11 -11
  275. package/dist/chunks/{project-1qc61ek6.js → shell-y1hjbq0d.js} +11 -11
  276. package/dist/chunks/{project-739vedpf.js → shell-y5nnnm2j.js} +16 -16
  277. package/dist/chunks/{project-y7y0w8zn.js → shell-y7y0w8zn.js} +3 -3
  278. package/dist/chunks/{project-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{project-hv9wbna8.js → shell-ybyct7vf.js} +20 -20
  280. package/dist/chunks/{project-q5zq6djh.js → shell-ydpx6gyr.js} +8 -8
  281. package/dist/chunks/{project-hy8c1z76.js → shell-ydsespw1.js} +8 -8
  282. package/dist/chunks/{project-ycnyt74c.js → shell-ypzxf1by.js} +10 -10
  283. package/dist/chunks/{project-z7tg6gqn.js → shell-yrab93vt.js} +19 -19
  284. package/dist/chunks/{project-7045vmc6.js → shell-yz8d3crg.js} +22 -22
  285. package/dist/chunks/{project-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{project-z38nccrw.js → shell-z38nccrw.js} +1 -1
  287. package/dist/chunks/{project-zkg84ctx.js → shell-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{project-ytb85x07.js → shell-zsm4q6zj.js} +34 -34
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +118 -118
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +74 -74
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +92 -92
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +99 -99
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +102 -102
  430. package/dist/form.js +88 -88
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +107 -107
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +89 -89
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +138 -138
  475. package/dist/mcp/oauth.js +89 -83
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +105 -105
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +119 -119
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +84 -84
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +78 -78
  494. package/dist/plugin/command.js +104 -104
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -171
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +4 -4
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +103 -103
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +166 -166
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +93 -93
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +7 -7
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +101 -101
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +77 -77
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +222 -222
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +7 -7
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +114 -114
  636. package/dist/snapshot.js +87 -87
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +137 -137
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +122 -122
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +213 -213
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +138 -138
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +116 -116
  656. package/dist/tool/plugin/write.js +124 -124
  657. package/dist/tool/read-filesystem.js +104 -104
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +12 -12
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  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 +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/project-2dkjcnxp.js +0 -18
  693. package/dist/chunks/project-kw5jcj1m.js +0 -26
  694. package/dist/chunks/project-sgz1ehav.js +0 -257
  695. /package/dist/chunks/{project-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{project-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{project-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{project-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{project-24dcb14g.js → shell-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{project-2710q6r3.js → shell-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{project-2bv980vf.js → shell-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{project-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{project-359p4xyc.js → shell-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{project-3asan66x.js → shell-3asan66x.js} +0 -0
  705. /package/dist/chunks/{project-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{project-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{project-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{project-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{project-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{project-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{project-53557ph1.js → shell-53557ph1.js} +0 -0
  712. /package/dist/chunks/{project-550bvhaj.js → shell-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{project-5fjb7ams.js → shell-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{project-6prwharc.js → shell-6prwharc.js} +0 -0
  715. /package/dist/chunks/{project-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{project-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{project-7m9af43g.js → shell-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{project-822emrt2.js → shell-822emrt2.js} +0 -0
  719. /package/dist/chunks/{project-84wd9syh.js → shell-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{project-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{project-8n3pysct.js → shell-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{project-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{project-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{project-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{project-a058387c.js → shell-a058387c.js} +0 -0
  726. /package/dist/chunks/{project-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{project-af5trqkr.js → shell-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{project-afrmfg78.js → shell-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{project-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{project-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{project-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{project-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{project-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{project-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{project-d9fn303g.js → shell-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{project-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{project-dajrwvna.js → shell-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{project-dap0rakb.js → shell-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{project-df08tz66.js → shell-df08tz66.js} +0 -0
  740. /package/dist/chunks/{project-dy18nga0.js → shell-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{project-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{project-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{project-ec1grn59.js → shell-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{project-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{project-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{project-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{project-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{project-faypxj3z.js → shell-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{project-fd410y7t.js → shell-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{project-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{project-g86h250q.js → shell-g86h250q.js} +0 -0
  752. /package/dist/chunks/{project-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{project-gftt206x.js → shell-gftt206x.js} +0 -0
  754. /package/dist/chunks/{project-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{project-hk9envan.js → shell-hk9envan.js} +0 -0
  756. /package/dist/chunks/{project-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{project-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{project-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{project-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{project-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{project-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{project-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{project-m18g726c.js → shell-m18g726c.js} +0 -0
  764. /package/dist/chunks/{project-mp448xyj.js → shell-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{project-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{project-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{project-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{project-njntx4h6.js → shell-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{project-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{project-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{project-q74kybfr.js → shell-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{project-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{project-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{project-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{project-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{project-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{project-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{project-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{project-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{project-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{project-w803qqfp.js → shell-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{project-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{project-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{project-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{project-wtztk69x.js → shell-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{project-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{project-x61499pn.js → shell-x61499pn.js} +0 -0
  788. /package/dist/chunks/{project-y44na4kk.js → shell-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{project-y8f7s663.js → shell-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{project-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{project-ym463w8f.js → shell-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{project-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{project-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./project-z5v4ffb3.js";
5
+ } from "./shell-z5v4ffb3.js";
6
6
  import {
7
- Service67,
8
- node70
9
- } from "./project-hwtw9fqj.js";
7
+ Service59,
8
+ node62
9
+ } from "./shell-ha4hgd8e.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./project-maspj1v3.js";
12
+ } from "./shell-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./project-9rqn6x4v.js";
15
+ } from "./shell-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service50,
24
- node: () => node52
23
+ Service: () => Service51,
24
+ node: () => node53
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service50 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service51 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service50, Effect.gen(function* () {
67
- const environment = yield* Service67;
66
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
67
+ const environment = yield* Service59;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service50.of({
95
+ return Service51.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node52 = makeLocationNode({ service: Service50, layer, deps: [node70, RipgrepBinary2.node] });
178
+ var node53 = makeLocationNode({ service: Service51, layer, deps: [node62, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service50, node52, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service51, node53, exports_ripgrep };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service84
3
- } from "./project-s1hccf1w.js";
2
+ Service85
3
+ } from "./shell-e00z28p8.js";
4
4
  import {
5
- Event17
6
- } from "./project-97kra8sc.js";
5
+ Event13
6
+ } from "./shell-3xqr0t2x.js";
7
7
  import {
8
- ID14
9
- } from "./project-ywn1tvqn.js";
8
+ ID8
9
+ } from "./shell-ta9qyare.js";
10
10
  import {
11
- ID13
12
- } from "./project-bt69sbx0.js";
11
+ ID7
12
+ } from "./shell-1rarfw9s.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID14.make("openai");
17
+ var integrationID = ID8.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
21
21
  var OpenAIContextCapsPlugin2 = define({
22
22
  id: "opencode.provider.openai-context-caps",
23
23
  effect: Effect.fn(function* (ctx) {
24
- const bus = yield* Service84;
24
+ const bus = yield* Service85;
25
25
  let signedIn = false;
26
26
  const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
27
27
  const connection = yield* ctx.integration.connection.active(integrationID);
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
34
34
  yield* ctx.model.transform((models) => {
35
35
  if (!signedIn)
36
36
  return;
37
- for (const model of models.list(ID13.openai)) {
37
+ for (const model of models.list(ID7.openai)) {
38
38
  models.update(model.providerID, model.id, (draft) => {
39
39
  const input = cap(draft.modelID ?? draft.id);
40
40
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
43
43
  });
44
44
  }
45
45
  });
46
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
46
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
47
47
  })
48
48
  });
49
49
  function cap(apiID) {
@@ -1,79 +1,79 @@
1
1
  import {
2
- Service85
3
- } from "./project-b2naxwvt.js";
2
+ Service86
3
+ } from "./shell-3f6nh3fm.js";
4
4
  import {
5
- Service84
6
- } from "./project-s1hccf1w.js";
5
+ Service85
6
+ } from "./shell-e00z28p8.js";
7
7
  import {
8
- Service43
9
- } from "./project-p9jvgf3w.js";
8
+ Service37
9
+ } from "./shell-bsrm4kv0.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./project-k814nvkf.js";
12
+ } from "./shell-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./project-gftt206x.js";
15
+ } from "./shell-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError11,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./project-dwrjgvf7.js";
23
+ } from "./shell-jxf43kwy.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./project-ec1grn59.js";
26
+ } from "./shell-ec1grn59.js";
27
27
  import {
28
- Service57
29
- } from "./project-1z530119.js";
28
+ Service79
29
+ } from "./shell-9kfzqwtx.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service42
33
- } from "./project-arr0esyr.js";
32
+ Service35
33
+ } from "./shell-trc09wwy.js";
34
34
  import {
35
- Service40
36
- } from "./project-dkhtsk1k.js";
35
+ Service33
36
+ } from "./shell-gv59wj6b.js";
37
37
  import {
38
38
  prepare2
39
- } from "./project-756mjj2v.js";
39
+ } from "./shell-gawdr880.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./project-f00hk273.js";
44
+ } from "./shell-91vv7ayb.js";
45
45
  import {
46
46
  start2
47
- } from "./project-ennfa1r2.js";
47
+ } from "./shell-te93dn38.js";
48
48
  import {
49
49
  get4
50
- } from "./project-tqwv9q63.js";
50
+ } from "./shell-e3hyx3wp.js";
51
51
  import {
52
52
  __export
53
- } from "./project-9rqn6x4v.js";
53
+ } from "./shell-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
57
57
  __export(exports_session2, {
58
58
  Session: () => exports_session2,
59
- make: () => make14
59
+ make: () => make12
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make14 = Effect.fn("Session.make")(function* () {
65
- const bus = yield* Service84;
66
- const database = yield* Service85;
67
- const store = yield* Service57;
68
- const instances = yield* Service43;
69
- const execution = yield* Service40;
70
- const admission = yield* Service42;
64
+ var make12 = Effect.fn("Session.make")(function* () {
65
+ const bus = yield* Service85;
66
+ const database = yield* Service86;
67
+ const store = yield* Service79;
68
+ const instances = yield* Service37;
69
+ const execution = yield* Service33;
70
+ const admission = yield* Service35;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError7({ sessionID });
76
+ return yield* new NotFoundError11({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -146,7 +146,7 @@ var make14 = Effect.fn("Session.make")(function* () {
146
146
  });
147
147
  if (existing)
148
148
  return existing;
149
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
149
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
150
150
  if (session.revert)
151
151
  yield* commit2(bus, session);
152
152
  return yield* admission.admit({
@@ -162,7 +162,7 @@ var make14 = Effect.fn("Session.make")(function* () {
162
162
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
163
163
  const session = yield* get(sessionID);
164
164
  const running = yield* Effect.gen(function* () {
165
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
165
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
166
166
  text: `User shell command failed to start:
167
167
  ${input.command}
168
168
 
@@ -191,7 +191,7 @@ ${error.message}`,
191
191
  });
192
192
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
193
193
  const session = yield* get(sessionID);
194
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
194
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
195
195
  yield* bus.publish(SessionEvent2.Skill.Activated, {
196
196
  sessionID,
197
197
  id: skill.id,
@@ -248,13 +248,13 @@ ${error.message}`,
248
248
  const session = yield* get(sessionID);
249
249
  if (yield* execution.isActive(sessionID))
250
250
  return yield* new BusyError2({ sessionID });
251
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
251
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
252
252
  });
253
253
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
254
254
  const session = yield* get(sessionID);
255
255
  if (yield* execution.isActive(sessionID))
256
256
  return yield* new BusyError2({ sessionID });
257
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, bus));
257
+ yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service85, bus));
258
258
  return yield* execution.wake(sessionID);
259
259
  });
260
260
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -346,4 +346,4 @@ ${error.message}`,
346
346
  return { forSession };
347
347
  });
348
348
 
349
- export { make14, exports_session2 };
349
+ export { make12, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./project-bt69sbx0.js";
2
+ ID7
3
+ } from "./shell-1rarfw9s.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID13.amazonBedrock,
38
+ integrationID: ID7.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID13.amazonBedrock,
42
+ integrationID: ID7.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID13.amazonBedrock,
46
+ integrationID: ID7.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info18,
11
+ Info: () => Info15,
12
12
  Object: () => Object2,
13
- Rule: () => Rule3
13
+ Rule: () => Rule2
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info15 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule2, Info15, exports_permission };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./project-s1hccf1w.js";
2
+ Service85,
3
+ node89
4
+ } from "./shell-e00z28p8.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./project-z5v4ffb3.js";
8
+ } from "./shell-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
- Service77,
12
- node81
13
- } from "./project-3rs19bb4.js";
11
+ Service82,
12
+ node86
13
+ } from "./shell-4zqkcf57.js";
14
14
  import {
15
15
  __export
16
- } from "./project-9rqn6x4v.js";
16
+ } from "./shell-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service25,
22
+ Service: () => Service44,
23
23
  define: () => define2,
24
- node: () => node28
24
+ node: () => node46
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service25 extends Context.Service()("@opencode/Rpc") {
30
+ class Service44 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service25, Effect.gen(function* () {
43
- const bus = yield* Service84;
44
- const location = yield* Service77;
42
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
43
+ const bus = yield* Service85;
44
+ const location = yield* Service82;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service25.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service44.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node28 = makeLocationNode({ service: Service25, layer, deps: [node88, node81] });
128
+ var node46 = makeLocationNode({ service: Service44, layer, deps: [node89, node86] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service25, node28, exports_rpc, define2 };
213
+ export { Service44, node46, exports_rpc, define2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./project-s1hccf1w.js";
2
+ Service85,
3
+ node89
4
+ } from "./shell-e00z28p8.js";
5
5
  import {
6
- Service38,
7
- node41
8
- } from "./project-9zn1tp8t.js";
6
+ Service22,
7
+ node25
8
+ } from "./shell-4b27svsp.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./project-2z1j29yd.js";
11
+ } from "./shell-2z1j29yd.js";
12
12
  import {
13
- Service56,
14
- node59
15
- } from "./project-s0kjfseb.js";
13
+ Service77,
14
+ node81
15
+ } from "./shell-gcf8bw3p.js";
16
16
  import {
17
- Service46,
18
- node48
19
- } from "./project-rva2q560.js";
17
+ Service30,
18
+ node33
19
+ } from "./shell-fcngkh0c.js";
20
20
  import {
21
- Service70,
22
- node74
23
- } from "./project-cky18ayb.js";
21
+ Service58,
22
+ node61
23
+ } from "./shell-0a71s41t.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./project-g2r9we7k.js";
26
+ } from "./shell-5qgzfdx6.js";
27
27
  import {
28
28
  __export
29
- } from "./project-9rqn6x4v.js";
29
+ } from "./shell-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service32,
36
- layer: () => layer13,
35
+ Service: () => Service19,
36
+ layer: () => layer12,
37
37
  name: () => name14,
38
38
  namespace: () => namespace2,
39
- node: () => node35
39
+ node: () => node22
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
48
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service32 extends Context.Service()("@opencode/McpTool") {
50
+ class Service19 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
53
- const mcp = yield* Service38;
54
- const tools = yield* Service46;
55
- const bus = yield* Service84;
56
- const permission = yield* Service56;
57
- const toolOutput = yield* Service70;
52
+ var layer12 = Layer.effect(Service19, Effect.gen(function* () {
53
+ const mcp = yield* Service22;
54
+ const tools = yield* Service30;
55
+ const bus = yield* Service85;
56
+ const permission = yield* Service77;
57
+ const toolOutput = yield* Service58;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service19.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node35 = makeLocationNode({
148
- service: Service32,
149
- layer: layer13,
150
- deps: [node48, node41, node88, node59, node74]
147
+ var node22 = makeLocationNode({
148
+ service: Service19,
149
+ layer: layer12,
150
+ deps: [node33, node25, node89, node81, node61]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service32, layer13, node35, exports_mcp3 };
153
+ export { namespace2, name14, Service19, layer12, node22, exports_mcp3 };