@opencode/core 0.0.0-dev-431 → 0.0.0-dev-434

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 (916) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +240 -240
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{shell-phq0g8v8.js → command-01ff0a55.js} +7 -7
  9. package/dist/chunks/{shell-9p09wbjf.js → command-06wrtaec.js} +20 -20
  10. package/dist/chunks/{shell-tkzv1ga7.js → command-0eaxh8qq.js} +13 -13
  11. package/dist/chunks/{shell-sqjzf8x2.js → command-0j7gp832.js} +4 -4
  12. package/dist/chunks/{shell-jaqyf2j9.js → command-0j7njajq.js} +43 -43
  13. package/dist/chunks/{shell-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{shell-rrq56t4b.js → command-0tcj55vp.js} +11 -11
  15. package/dist/chunks/{shell-rvxhxrx3.js → command-0z90yfde.js} +9 -9
  16. package/dist/chunks/{shell-r3j2m9q7.js → command-10h4ravn.js} +21 -14
  17. package/dist/chunks/{shell-7tpyp9vw.js → command-160yv0cs.js} +8 -8
  18. package/dist/chunks/{shell-xzv52cwv.js → command-173g28c6.js} +3 -3
  19. package/dist/chunks/{shell-1aqsckx4.js → command-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{shell-hg96msre.js → command-1dzf37gy.js} +4 -4
  21. package/dist/chunks/{shell-zenbbnxs.js → command-1gc6basf.js} +11 -11
  22. package/dist/chunks/{shell-s0h6qfwx.js → command-1jx74pb3.js} +17 -17
  23. package/dist/chunks/{shell-8h403a68.js → command-1rv52bc9.js} +12 -12
  24. package/dist/chunks/{shell-w6by9cwq.js → command-1t7n7d3e.js} +9 -9
  25. package/dist/chunks/{shell-y74ve27q.js → command-1wma1wjh.js} +4 -4
  26. package/dist/chunks/{shell-1x2knyw4.js → command-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{shell-qpe0jarf.js → command-1xh4za3x.js} +2 -2
  28. package/dist/chunks/{shell-knwd8g3y.js → command-1xq91efe.js} +19 -19
  29. package/dist/chunks/{shell-p7vhpwh8.js → command-1yq9hg58.js} +5 -5
  30. package/dist/chunks/{shell-est5w5t7.js → command-22322d3s.js} +4 -4
  31. package/dist/chunks/{shell-xbrr9mx4.js → command-24fafpw7.js} +15 -15
  32. package/dist/chunks/{shell-rmpjmhqv.js → command-25ydw9rq.js} +13 -13
  33. package/dist/chunks/{shell-1ep2p91f.js → command-27w5k9zf.js} +2 -2
  34. package/dist/chunks/{shell-yw61gdr6.js → command-2e6dhtgj.js} +87 -87
  35. package/dist/chunks/{shell-s12w367s.js → command-2nqg4893.js} +5 -5
  36. package/dist/chunks/{shell-2p60zmnr.js → command-2p60zmnr.js} +2 -2
  37. package/dist/chunks/{shell-1r95fj2c.js → command-34kqkbym.js} +17 -17
  38. package/dist/chunks/{shell-45dxp6m0.js → command-38dwvzc2.js} +30 -30
  39. package/dist/chunks/{shell-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
  40. package/dist/chunks/{shell-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{shell-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{shell-vnbwfcdt.js → command-3svk23zz.js} +38 -38
  43. package/dist/chunks/{shell-28jz28yf.js → command-3xnsjp31.js} +9 -9
  44. package/dist/chunks/{shell-40y6dtc2.js → command-40y6dtc2.js} +1 -1
  45. package/dist/chunks/{shell-gsw2m7k6.js → command-4339k7tk.js} +22 -22
  46. package/dist/chunks/{shell-8smpb43d.js → command-44abv5ax.js} +6 -6
  47. package/dist/chunks/{shell-44pmzq9c.js → command-44pmzq9c.js} +2 -2
  48. package/dist/chunks/{shell-k5t1f9zg.js → command-497cbh7y.js} +16 -16
  49. package/dist/chunks/{shell-2a9e1g32.js → command-4bp07n3d.js} +11 -11
  50. package/dist/chunks/{shell-fwvz4vmm.js → command-4c1b9aw6.js} +48 -48
  51. package/dist/chunks/{shell-4dx1dgte.js → command-4dx1dgte.js} +1 -1
  52. package/dist/chunks/{shell-wqbwz6hm.js → command-4mszn7hs.js} +10 -10
  53. package/dist/chunks/{shell-193d5v67.js → command-4n0pf5fx.js} +8 -8
  54. package/dist/chunks/{shell-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{shell-0hjszs0j.js → command-4sgec3wj.js} +38 -38
  56. package/dist/chunks/{shell-6cwvt60a.js → command-4sgeyqsj.js} +25 -25
  57. package/dist/chunks/{shell-4v008n1t.js → command-4v008n1t.js} +1 -1
  58. package/dist/chunks/{shell-pg1dvydq.js → command-4z0esw61.js} +12 -12
  59. package/dist/chunks/{shell-c2na2264.js → command-5f3j9k0d.js} +2 -2
  60. package/dist/chunks/{shell-m5jddc9g.js → command-5jfjz3xv.js} +4 -4
  61. package/dist/chunks/{shell-frwvv92n.js → command-5k2w52r0.js} +8 -8
  62. package/dist/chunks/{shell-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{shell-5n0rnk8e.js → command-5n0rnk8e.js} +1 -1
  64. package/dist/chunks/{shell-r8cjbfhs.js → command-5t2nv0ty.js} +34 -34
  65. package/dist/chunks/{shell-jqhn00se.js → command-5vw144qj.js} +27 -27
  66. package/dist/chunks/{shell-t8erkws8.js → command-61qraad9.js} +5 -5
  67. package/dist/chunks/{shell-mpc68446.js → command-64dgh3k3.js} +25 -25
  68. package/dist/chunks/{shell-sn2ktsvh.js → command-64eehrrp.js} +8 -8
  69. package/dist/chunks/{shell-s0q158zn.js → command-64ks2qz2.js} +21 -21
  70. package/dist/chunks/{shell-e797dk3c.js → command-671snc9x.js} +28 -28
  71. package/dist/chunks/{shell-62zd5tzk.js → command-694dpcrp.js} +4 -4
  72. package/dist/chunks/{shell-hz4wpdd1.js → command-6af1yqan.js} +29 -29
  73. package/dist/chunks/{shell-a91jf8s9.js → command-6atfaf08.js} +10 -10
  74. package/dist/chunks/command-6bshxcsx.js +18 -0
  75. package/dist/chunks/{shell-jdeeg1qm.js → command-6jn0z4zq.js} +18 -18
  76. package/dist/chunks/{shell-vrcsa8qx.js → command-6twykydk.js} +9 -9
  77. package/dist/chunks/{shell-49c4kh4a.js → command-6zkb6m81.js} +17 -17
  78. package/dist/chunks/{shell-1ecnrbv4.js → command-74ts6fdr.js} +6 -6
  79. package/dist/chunks/{shell-76cb1hcw.js → command-76cb1hcw.js} +1 -1
  80. package/dist/chunks/{shell-ykzqzvbr.js → command-7abx72ys.js} +14 -14
  81. package/dist/chunks/{shell-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{shell-1abavcy4.js → command-7h2byrns.js} +3 -3
  83. package/dist/chunks/{shell-rjedfxjv.js → command-7jxk402j.js} +7 -7
  84. package/dist/chunks/{shell-7kr66rt3.js → command-7kr66rt3.js} +1 -1
  85. package/dist/chunks/{shell-af30khrr.js → command-7kvgb96f.js} +17 -17
  86. package/dist/chunks/{shell-2v0ht2yf.js → command-7nsm0dtp.js} +22 -22
  87. package/dist/chunks/{shell-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{shell-7weczvnd.js → command-7weczvnd.js} +1 -1
  89. package/dist/chunks/{shell-yp9xkj78.js → command-80abjh3h.js} +21 -21
  90. package/dist/chunks/{shell-775hqbnd.js → command-80mg3ag8.js} +3 -3
  91. package/dist/chunks/{shell-hgbhmszv.js → command-88gpz3gg.js} +32 -32
  92. package/dist/chunks/{shell-89287pr7.js → command-89287pr7.js} +1 -1
  93. package/dist/chunks/{shell-25h84942.js → command-8b3vzgkx.js} +4 -4
  94. package/dist/chunks/{shell-8cg7mtm3.js → command-8cg7mtm3.js} +1 -1
  95. package/dist/chunks/{shell-ns98cv9x.js → command-8gycsq8m.js} +18 -18
  96. package/dist/chunks/{shell-8t99kr38.js → command-8t99kr38.js} +1 -1
  97. package/dist/chunks/{shell-3qqjmfxr.js → command-8wnssyfy.js} +346 -346
  98. package/dist/chunks/{shell-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{shell-jm1fsxv2.js → command-8x0e9fhm.js} +47 -47
  100. package/dist/chunks/{shell-5jphrwgc.js → command-8xx0f9bs.js} +32 -32
  101. package/dist/chunks/{shell-mb7mbhnz.js → command-8z6m94af.js} +3 -3
  102. package/dist/chunks/{shell-rjkqrftx.js → command-8zb5510s.js} +18 -18
  103. package/dist/chunks/{shell-90zstvax.js → command-90zstvax.js} +1 -1
  104. package/dist/chunks/{shell-94s5f2xb.js → command-94s5f2xb.js} +1 -1
  105. package/dist/chunks/{shell-wws03c5r.js → command-95sp4hdf.js} +4 -4
  106. package/dist/chunks/{shell-0mtp185z.js → command-963hk181.js} +9 -9
  107. package/dist/chunks/{shell-f2tph26c.js → command-98wp0h2e.js} +7 -7
  108. package/dist/chunks/{shell-wemtzmhb.js → command-997x2gyn.js} +16 -16
  109. package/dist/chunks/{shell-pe8ga148.js → command-9n9g8h1e.js} +45 -45
  110. package/dist/chunks/{shell-sbegqkxp.js → command-9nkjg9qd.js} +6 -6
  111. package/dist/chunks/{shell-gvp7022y.js → command-9phmjwad.js} +24 -24
  112. package/dist/chunks/{shell-w79nt68w.js → command-9q8g9sv8.js} +4 -4
  113. package/dist/chunks/{shell-h047cagb.js → command-9xtz4xxk.js} +33 -33
  114. package/dist/chunks/{shell-44ekhfcb.js → command-a33gx8kj.js} +19 -19
  115. package/dist/chunks/{shell-r1bspy9s.js → command-a42xyq8m.js} +25 -25
  116. package/dist/chunks/{shell-j9v2cv05.js → command-a4f1ekc8.js} +37 -37
  117. package/dist/chunks/{shell-hbdj9fbj.js → command-a5vbn1gz.js} +18 -18
  118. package/dist/chunks/{shell-0wycx49y.js → command-a6ybx6kp.js} +69 -69
  119. package/dist/chunks/{shell-034tev2y.js → command-aj7mw0zk.js} +2 -2
  120. package/dist/chunks/{shell-qern7cq5.js → command-ake1ncr2.js} +21 -21
  121. package/dist/chunks/{shell-dpce6frn.js → command-arp7s6mb.js} +6 -6
  122. package/dist/chunks/{shell-b6vsg801.js → command-b6vsg801.js} +2 -2
  123. package/dist/chunks/{shell-hzwt6x4n.js → command-b7kt7hzm.js} +24 -24
  124. package/dist/chunks/{shell-kgdx1aw0.js → command-bcwbngne.js} +21 -21
  125. package/dist/chunks/{shell-fy5x2faz.js → command-bhfjntg1.js} +11 -11
  126. package/dist/chunks/{shell-8xa2vke9.js → command-bkzshpm5.js} +10 -10
  127. package/dist/chunks/{shell-y3r9dpew.js → command-bnttf9xa.js} +16 -16
  128. package/dist/chunks/{shell-9z47e9rq.js → command-bp6cyex6.js} +32 -32
  129. package/dist/chunks/{shell-qzgp0jr4.js → command-brv6mkyx.js} +4 -4
  130. package/dist/chunks/{shell-bstexjd6.js → command-bstexjd6.js} +1 -1
  131. package/dist/chunks/{shell-dt4w99j0.js → command-bzwv4pm6.js} +33 -33
  132. package/dist/chunks/{shell-c0k28r9c.js → command-c6xt3hyv.js} +10 -10
  133. package/dist/chunks/{shell-50d2ek6j.js → command-cgm929w9.js} +4 -4
  134. package/dist/chunks/{shell-ebwyk99b.js → command-cnjb880w.js} +27 -27
  135. package/dist/chunks/{shell-jrprd1cy.js → command-cnv992xx.js} +10 -10
  136. package/dist/chunks/{shell-ky55b5b1.js → command-cpe35zww.js} +4 -4
  137. package/dist/chunks/{shell-0ahs07zn.js → command-cpvd08na.js} +4 -4
  138. package/dist/chunks/{shell-awk99s3a.js → command-cr6pn214.js} +3 -3
  139. package/dist/chunks/{shell-r1x2dnd5.js → command-csxgerg0.js} +21 -21
  140. package/dist/chunks/{shell-cwrgdav8.js → command-cwrgdav8.js} +2 -2
  141. package/dist/chunks/{shell-apd33ypq.js → command-cx2jthk9.js} +43 -43
  142. package/dist/chunks/{shell-d97evh6t.js → command-cyw3yyvp.js} +11 -11
  143. package/dist/chunks/{shell-d4v9tmah.js → command-d4v9tmah.js} +2 -2
  144. package/dist/chunks/{shell-5j95cqby.js → command-d77em42c.js} +30 -30
  145. package/dist/chunks/{shell-mkkrgnv3.js → command-dadjdgyz.js} +5 -5
  146. package/dist/chunks/{shell-v736ed2x.js → command-dew5qk93.js} +3 -3
  147. package/dist/chunks/{shell-15qtk8ma.js → command-dg5naf6e.js} +4 -4
  148. package/dist/chunks/{shell-2x3j5zyt.js → command-dk7fqqpc.js} +17 -17
  149. package/dist/chunks/{shell-dt77769w.js → command-dt77769w.js} +1 -1
  150. package/dist/chunks/{shell-dv96216k.js → command-dv96216k.js} +1 -1
  151. package/dist/chunks/{shell-fw9za8th.js → command-dw9ambcw.js} +21 -21
  152. package/dist/chunks/{shell-a09rhta5.js → command-e20404rw.js} +20 -20
  153. package/dist/chunks/{shell-e834z07m.js → command-e834z07m.js} +1 -1
  154. package/dist/chunks/{shell-qrkgw2b2.js → command-e8zvtb1d.js} +4 -4
  155. package/dist/chunks/{shell-x150ncgg.js → command-eavcrtrz.js} +2 -2
  156. package/dist/chunks/{shell-ecea3fza.js → command-eb88xskz.js} +6 -6
  157. package/dist/chunks/{shell-dwccqcs6.js → command-eh0vxpws.js} +9 -9
  158. package/dist/chunks/{shell-6a1czsq8.js → command-em76vs3r.js} +21 -21
  159. package/dist/chunks/{shell-ep6pe98a.js → command-ep6pe98a.js} +2 -2
  160. package/dist/chunks/{shell-y30x783a.js → command-eq7e38gt.js} +42 -42
  161. package/dist/chunks/{shell-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
  162. package/dist/chunks/{shell-qm8rpqes.js → command-ewfampc3.js} +5 -5
  163. package/dist/chunks/{shell-kerhshr9.js → command-ex0pka66.js} +5 -5
  164. package/dist/chunks/{shell-97vmwqgx.js → command-f1yvwjyg.js} +20 -20
  165. package/dist/chunks/{shell-nt907s04.js → command-f341sazs.js} +3 -3
  166. package/dist/chunks/{shell-96zc22sb.js → command-f8xy3smx.js} +14 -14
  167. package/dist/chunks/{shell-pja29dwb.js → command-fd76rfhc.js} +15 -15
  168. package/dist/chunks/{shell-qajwpk2t.js → command-fem8f9eb.js} +7 -7
  169. package/dist/chunks/{shell-fffv3p7h.js → command-fffv3p7h.js} +1 -1
  170. package/dist/chunks/{shell-fg9p65nk.js → command-fg9p65nk.js} +2 -2
  171. package/dist/chunks/{shell-n69phmws.js → command-fkbe4g64.js} +52 -52
  172. package/dist/chunks/{shell-kxpnq44j.js → command-fp4v3mch.js} +33 -33
  173. package/dist/chunks/{shell-mpfhh4bd.js → command-fz1yarbh.js} +5 -5
  174. package/dist/chunks/{shell-29tc179s.js → command-g1k7aycc.js} +59 -59
  175. package/dist/chunks/{shell-s1qxcrks.js → command-g3gj9wbx.js} +12 -12
  176. package/dist/chunks/{shell-w8v0wgg0.js → command-g7xbx5hr.js} +20 -20
  177. package/dist/chunks/{shell-ww7bwvyr.js → command-gadfgand.js} +33 -33
  178. package/dist/chunks/{shell-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
  179. package/dist/chunks/{shell-16czvpr3.js → command-gf0n33sa.js} +43 -43
  180. package/dist/chunks/{shell-vj50rhab.js → command-gn6qas9s.js} +8 -8
  181. package/dist/chunks/{shell-34f0rf5s.js → command-h121ctj5.js} +22 -22
  182. package/dist/chunks/{shell-gx1fp3rr.js → command-h15jyg2c.js} +19 -19
  183. package/dist/chunks/{shell-nxcvrfrm.js → command-h4p3s0ke.js} +8 -8
  184. package/dist/chunks/{shell-krcm13gg.js → command-h9w2wztg.js} +7 -7
  185. package/dist/chunks/{shell-edm37t96.js → command-hdreqhvr.js} +6 -6
  186. package/dist/chunks/{shell-sj7nrpyn.js → command-hdvssxsh.js} +8 -8
  187. package/dist/chunks/{shell-be5f4zms.js → command-hggysd9g.js} +17 -17
  188. package/dist/chunks/{shell-g965az4h.js → command-hgq3vbzc.js} +17 -17
  189. package/dist/chunks/{shell-19sdd6re.js → command-hj6757n4.js} +9 -9
  190. package/dist/chunks/{shell-hmtj6hyv.js → command-hmtj6hyv.js} +3 -3
  191. package/dist/chunks/{shell-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
  192. package/dist/chunks/{shell-t3fnm34t.js → command-hsnq1va6.js} +5 -5
  193. package/dist/chunks/{shell-2s9xahkc.js → command-hydc8sb0.js} +28 -28
  194. package/dist/chunks/{shell-ssme6qjn.js → command-j2vadtqh.js} +4 -4
  195. package/dist/chunks/{shell-vhxfk71n.js → command-jehkna21.js} +37 -37
  196. package/dist/chunks/{shell-d53n7f21.js → command-jj70n8bv.js} +11 -11
  197. package/dist/chunks/{shell-zmdx3j86.js → command-jkmtdw7r.js} +35 -35
  198. package/dist/chunks/{shell-fv59jycd.js → command-jsgsqtkj.js} +28 -28
  199. package/dist/chunks/{shell-jtnps1zs.js → command-jtnps1zs.js} +2 -2
  200. package/dist/chunks/{shell-0mbfgmpk.js → command-k12egh6v.js} +12 -12
  201. package/dist/chunks/{shell-k3cx6fhe.js → command-k3cx6fhe.js} +1 -1
  202. package/dist/chunks/{shell-23tpq7wy.js → command-k3xz1kqh.js} +10 -10
  203. package/dist/chunks/{shell-fn0rv3ya.js → command-k8tfz2pr.js} +15 -15
  204. package/dist/chunks/{shell-7r2je9tv.js → command-k98vne29.js} +9 -9
  205. package/dist/chunks/{shell-2jhx4df4.js → command-k9vf01a8.js} +25 -25
  206. package/dist/chunks/{shell-d5z4bkxr.js → command-kb0np1gh.js} +11 -11
  207. package/dist/chunks/{shell-pts3bsq2.js → command-kfh2x84g.js} +22 -22
  208. package/dist/chunks/{shell-1sa8tzgh.js → command-kfk88nk4.js} +3 -3
  209. package/dist/chunks/{shell-5vpa3fvx.js → command-kfy2q1ak.js} +17 -17
  210. package/dist/chunks/{shell-3jq89af5.js → command-kk6xkkkx.js} +5 -5
  211. package/dist/chunks/{shell-hs3yxfaz.js → command-km40m5ns.js} +5 -5
  212. package/dist/chunks/{shell-aems2vrd.js → command-kpf2z2p8.js} +15 -15
  213. package/dist/chunks/{shell-kshj9d31.js → command-kshj9d31.js} +3 -3
  214. package/dist/chunks/{shell-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
  215. package/dist/chunks/{shell-4mnzwx94.js → command-kw3k79h8.js} +11 -11
  216. package/dist/chunks/{shell-7nfgxnna.js → command-kxapkf6w.js} +19 -19
  217. package/dist/chunks/{shell-kzczzf4v.js → command-kzczzf4v.js} +1 -1
  218. package/dist/chunks/{shell-m1714858.js → command-m1714858.js} +1 -1
  219. package/dist/chunks/{shell-hccd5xc6.js → command-m3kvqs0d.js} +8 -8
  220. package/dist/chunks/{shell-jxzydp3a.js → command-m3n793pr.js} +15 -15
  221. package/dist/chunks/{shell-n3t645yb.js → command-m6v42eaj.js} +15 -15
  222. package/dist/chunks/{shell-xwmtk72n.js → command-m7c7chqb.js} +5 -5
  223. package/dist/chunks/{shell-etrnj9s7.js → command-m81bzjfe.js} +8 -8
  224. package/dist/chunks/{shell-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  225. package/dist/chunks/{shell-03qx06a8.js → command-mar5fkdv.js} +18 -18
  226. package/dist/chunks/{shell-j6qs954z.js → command-mc4nak6k.js} +11 -11
  227. package/dist/chunks/{shell-bnf9rp9e.js → command-mhzfw4jr.js} +14 -14
  228. package/dist/chunks/{shell-vb80j1wh.js → command-mqe7nf5n.js} +3 -3
  229. package/dist/chunks/{shell-mr0dpwp4.js → command-mrbybpah.js} +9 -9
  230. package/dist/chunks/{shell-a5fx33f2.js → command-mrpnjyvf.js} +2 -2
  231. package/dist/chunks/{shell-jet8nhkm.js → command-msd2a3qm.js} +8 -8
  232. package/dist/chunks/{shell-6d8d064b.js → command-mzghyjtv.js} +12 -12
  233. package/dist/chunks/{shell-0d23rnfz.js → command-n6psnvgb.js} +90 -90
  234. package/dist/chunks/{shell-qtvg5wgd.js → command-nhb7dawg.js} +3 -3
  235. package/dist/chunks/{shell-a9sg7ebt.js → command-njgmnpsj.js} +17 -17
  236. package/dist/chunks/{shell-xsehgyx0.js → command-njwn7sfg.js} +5 -5
  237. package/dist/chunks/{shell-wegkxhrn.js → command-nx4vzyjd.js} +2 -2
  238. package/dist/chunks/{shell-wvr8xscb.js → command-nyxvvj5y.js} +4 -4
  239. package/dist/chunks/{shell-669m41n7.js → command-p5g9w7pv.js} +5 -5
  240. package/dist/chunks/{shell-e4bj9h60.js → command-p5zn79av.js} +12 -12
  241. package/dist/chunks/{shell-qsg8cjn6.js → command-p8707ak6.js} +8 -8
  242. package/dist/chunks/{shell-mehg9rzj.js → command-panhh2j7.js} +7 -7
  243. package/dist/chunks/{shell-v2e1rrdw.js → command-pb6ek1ed.js} +6 -6
  244. package/dist/chunks/{shell-pgqxr0th.js → command-pgqxr0th.js} +1 -1
  245. package/dist/chunks/{shell-x30drkm9.js → command-pkkerzhz.js} +9 -9
  246. package/dist/chunks/{shell-pknna89w.js → command-pknna89w.js} +1 -1
  247. package/dist/chunks/{shell-ca97wcc6.js → command-q8sewpqz.js} +28 -28
  248. package/dist/chunks/{shell-fn389wq5.js → command-qa5fs36y.js} +51 -51
  249. package/dist/chunks/{shell-1mp7wfbt.js → command-qb4gh8kf.js} +11 -11
  250. package/dist/chunks/{shell-nnrrg0xj.js → command-qcfgkj9r.js} +35 -35
  251. package/dist/chunks/{shell-27jdjj3w.js → command-qe7mwe9n.js} +21 -21
  252. package/dist/chunks/{shell-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{shell-qqvy8y24.js → command-qqvy8y24.js} +1 -1
  254. package/dist/chunks/{shell-q6vr76yn.js → command-qtqd8qd2.js} +31 -31
  255. package/dist/chunks/{shell-sj254tvt.js → command-qzt3vhe1.js} +27 -27
  256. package/dist/chunks/{shell-47m6qkpp.js → command-r0p7eeq8.js} +5 -5
  257. package/dist/chunks/{shell-ddhhfkrp.js → command-r16vpvj8.js} +21 -21
  258. package/dist/chunks/{shell-3gkcky3x.js → command-r3p0yxt4.js} +4 -4
  259. package/dist/chunks/{shell-r542h3bh.js → command-r542h3bh.js} +1 -1
  260. package/dist/chunks/{shell-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{shell-1aeagxc9.js → command-rbmcs465.js} +46 -46
  262. package/dist/chunks/{shell-g8k90hx5.js → command-rd4mm1pb.js} +11 -11
  263. package/dist/chunks/{shell-jjpqhn5j.js → command-rjg4ptcj.js} +9 -9
  264. package/dist/chunks/{shell-473whfzz.js → command-rpn80m74.js} +23 -23
  265. package/dist/chunks/{shell-4dvwkgbn.js → command-rsbwxkx1.js} +24 -24
  266. package/dist/chunks/{shell-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{shell-hbvq878w.js → command-rz96zqye.js} +37 -37
  268. package/dist/chunks/{shell-38aws4xb.js → command-rzg6y5rp.js} +4 -4
  269. package/dist/chunks/{shell-k44714xv.js → command-s876m31k.js} +1 -1
  270. package/dist/chunks/{shell-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{shell-sbya78hr.js → command-sbya78hr.js} +1 -1
  272. package/dist/chunks/{shell-a5amgwqt.js → command-sn407hwe.js} +4 -4
  273. package/dist/chunks/{shell-w5aa2add.js → command-snd2c1sc.js} +5 -5
  274. package/dist/chunks/{shell-4d9h2s3f.js → command-sq46n1ws.js} +35 -35
  275. package/dist/chunks/{shell-datw7qtq.js → command-srpr092m.js} +8 -8
  276. package/dist/chunks/{shell-js6r64sq.js → command-ss6rca7c.js} +11 -11
  277. package/dist/chunks/{shell-vemd5yc8.js → command-st0msf87.js} +11 -11
  278. package/dist/chunks/{shell-svcy3p9a.js → command-svcy3p9a.js} +1 -1
  279. package/dist/chunks/{shell-ne0be9nn.js → command-sxfhqfma.js} +17 -17
  280. package/dist/chunks/{shell-71gw76tb.js → command-szaz2na7.js} +9 -9
  281. package/dist/chunks/{shell-52wx9f6h.js → command-szk0qybb.js} +12 -12
  282. package/dist/chunks/{shell-szwm4crx.js → command-szwm4crx.js} +4 -4
  283. package/dist/chunks/{shell-ftcdnxrm.js → command-taph1qf0.js} +18 -18
  284. package/dist/chunks/{shell-tczq8hjw.js → command-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{shell-vt4r9rmy.js → command-teav1bzy.js} +9 -9
  286. package/dist/chunks/{shell-tg7s7b5t.js → command-tg7s7b5t.js} +1 -1
  287. package/dist/chunks/{shell-qj97zj8m.js → command-tg97v2x8.js} +11 -11
  288. package/dist/chunks/{shell-at2q98t1.js → command-tj8at3pd.js} +17 -17
  289. package/dist/chunks/{shell-afcwrtac.js → command-tqm8dnep.js} +29 -29
  290. package/dist/chunks/{shell-tr8x705m.js → command-tr8x705m.js} +1 -1
  291. package/dist/chunks/{shell-ysh69y78.js → command-tvxtjraa.js} +21 -21
  292. package/dist/chunks/{shell-twssxy5n.js → command-twssxy5n.js} +2 -2
  293. package/dist/chunks/{shell-h76zyjsb.js → command-v02mjp3j.js} +12 -12
  294. package/dist/chunks/{shell-53e3z61x.js → command-v05kmqya.js} +26 -26
  295. package/dist/chunks/{shell-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{shell-5ks5dv4j.js → command-v6gz3rmh.js} +11 -11
  297. package/dist/chunks/{shell-vjf35v1f.js → command-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{shell-k46dd5bg.js → command-vmqe41cb.js} +4 -4
  299. package/dist/chunks/{shell-qtf35215.js → command-vnjc296t.js} +3 -3
  300. package/dist/chunks/{shell-npg553gx.js → command-vq898f1s.js} +201 -201
  301. package/dist/chunks/{shell-m0jv0hdf.js → command-vrzg4qtw.js} +13 -13
  302. package/dist/chunks/{shell-nkqxqv0c.js → command-vwrmm61s.js} +9 -9
  303. package/dist/chunks/{shell-qnqasnye.js → command-vzppetdn.js} +6 -6
  304. package/dist/chunks/{shell-w2eysc6j.js → command-w2eysc6j.js} +2 -2
  305. package/dist/chunks/{shell-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{shell-pe85184h.js → command-w4ev9r83.js} +54 -54
  307. package/dist/chunks/{shell-7322416x.js → command-w4q3878f.js} +6 -6
  308. package/dist/chunks/{shell-sb8b9r4h.js → command-w8d5vdwn.js} +8 -8
  309. package/dist/chunks/{shell-psnt6a2q.js → command-w8kbqbtc.js} +50 -50
  310. package/dist/chunks/{shell-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{shell-cags73dr.js → command-wc7xqkqp.js} +14 -14
  312. package/dist/chunks/{shell-wd87259q.js → command-wd87259q.js} +1 -1
  313. package/dist/chunks/{shell-8dxzr75f.js → command-wdrav5q2.js} +6 -6
  314. package/dist/chunks/{shell-fhg22z1w.js → command-wkcv597c.js} +22 -22
  315. package/dist/chunks/{shell-wnhgecwx.js → command-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{shell-y5knf827.js → command-wqgynrd9.js} +20 -20
  317. package/dist/chunks/{shell-wr3re1en.js → command-wr3re1en.js} +1 -1
  318. package/dist/chunks/{shell-8kj1ydmj.js → command-wzpt9sha.js} +16 -16
  319. package/dist/chunks/{shell-0fdr8kfq.js → command-x5bmkdk7.js} +13 -13
  320. package/dist/chunks/{shell-zm27gg57.js → command-x67mg8mk.js} +2 -2
  321. package/dist/chunks/{shell-hkk57xb1.js → command-xhmyjmwr.js} +42 -34
  322. package/dist/chunks/{shell-p80v23td.js → command-xnmp91g9.js} +8 -8
  323. package/dist/chunks/{shell-v3v67mam.js → command-xnsg1h88.js} +24 -24
  324. package/dist/chunks/{shell-fy4j1bx8.js → command-xxyt325t.js} +18 -18
  325. package/dist/chunks/{shell-dfm17qbt.js → command-xz26zpy4.js} +15 -15
  326. package/dist/chunks/{shell-jxe04nha.js → command-y2m9h3t8.js} +35 -35
  327. package/dist/chunks/{shell-pzk6pdkc.js → command-y597xyv2.js} +5 -5
  328. package/dist/chunks/{shell-yb20nhc3.js → command-yb20nhc3.js} +1 -1
  329. package/dist/chunks/{shell-00n2stnc.js → command-ybr8wh1x.js} +12 -12
  330. package/dist/chunks/{shell-7t0112fz.js → command-yej5ha0y.js} +33 -33
  331. package/dist/chunks/{shell-xpve62cf.js → command-yqveydy6.js} +4 -4
  332. package/dist/chunks/{shell-yr705xyq.js → command-yr705xyq.js} +1 -1
  333. package/dist/chunks/{shell-yvtc2x31.js → command-yvtc2x31.js} +1 -1
  334. package/dist/chunks/{shell-ranh0xe7.js → command-ywh3xphk.js} +4 -4
  335. package/dist/chunks/{shell-23aqdb85.js → command-yzk0q0ka.js} +45 -45
  336. package/dist/chunks/{shell-85ngfxgw.js → command-z1n1esxz.js} +21 -21
  337. package/dist/chunks/{shell-mhn0qtha.js → command-z9xnksb8.js} +9 -9
  338. package/dist/chunks/{shell-j9nxzz3g.js → command-ze75qvmd.js} +3 -3
  339. package/dist/chunks/command-ztcs3mn5.js +261 -0
  340. package/dist/chunks/{shell-0pdkte95.js → command-zz4psmsc.js} +18 -18
  341. package/dist/codemode/catalog.js +1 -1
  342. package/dist/codemode/execution.js +3 -3
  343. package/dist/codemode/fetch.js +145 -145
  344. package/dist/codemode/instructions.js +7 -7
  345. package/dist/codemode/tool.js +151 -151
  346. package/dist/command.js +94 -94
  347. package/dist/config/discovery.js +95 -95
  348. package/dist/config/integration.js +1 -1
  349. package/dist/config/managed.js +1 -1
  350. package/dist/config/markdown.js +1 -1
  351. package/dist/config/normalize.js +112 -112
  352. package/dist/config/plugin/agent.js +130 -130
  353. package/dist/config/plugin/command.js +229 -229
  354. package/dist/config/plugin/compaction.js +171 -171
  355. package/dist/config/plugin/compatibility.js +148 -148
  356. package/dist/config/plugin/entry-observer.js +1 -1
  357. package/dist/config/plugin/formatter.js +131 -131
  358. package/dist/config/plugin/image.js +130 -130
  359. package/dist/config/plugin/instruction.js +130 -130
  360. package/dist/config/plugin/location-watcher.js +132 -132
  361. package/dist/config/plugin/mcp.js +137 -137
  362. package/dist/config/plugin/policy.js +130 -130
  363. package/dist/config/plugin/provider.js +128 -128
  364. package/dist/config/plugin/reference.js +132 -132
  365. package/dist/config/plugin/shell.js +130 -130
  366. package/dist/config/plugin/skill-file.js +146 -146
  367. package/dist/config/plugin/skill-scan.js +1 -1
  368. package/dist/config/plugin/skill.js +151 -151
  369. package/dist/config/plugin/snapshot.js +130 -130
  370. package/dist/config/plugin/source.js +131 -131
  371. package/dist/config/plugin/tool-output.js +131 -131
  372. package/dist/config/plugin/websearch.js +129 -129
  373. package/dist/config/plugin/worktree.js +132 -132
  374. package/dist/config/variable.js +1 -1
  375. package/dist/config/watch.js +1 -1
  376. package/dist/config.js +135 -135
  377. package/dist/console-access.js +1 -1
  378. package/dist/credential/sql.js +2 -2
  379. package/dist/credential.js +94 -94
  380. package/dist/database/database.js +77 -77
  381. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  383. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  384. package/dist/database/drizzle/index.js +13 -13
  385. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  388. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  389. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  390. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  394. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  395. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  396. package/dist/database/drizzle.js +14 -14
  397. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  398. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  399. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  400. package/dist/database/migration/20260225215848_workspace.js +1 -1
  401. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  402. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  403. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  404. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  405. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  406. package/dist/database/migration/20260323234822_events.js +1 -1
  407. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  408. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  409. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  410. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  411. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  412. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  413. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  414. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  415. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  416. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  417. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  418. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  419. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  420. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  421. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  422. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  423. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  424. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  425. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  426. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  427. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  428. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  429. package/dist/database/migration/20260611035744_credential.js +1 -1
  430. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  431. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  432. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  433. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  434. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  435. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  436. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  437. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  438. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  439. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  440. package/dist/database/migration/20260812213948_worktree.js +1 -1
  441. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  442. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  443. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  444. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  445. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  446. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  447. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  448. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  449. package/dist/database/migration/20261025123711_blob.js +1 -1
  450. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  451. package/dist/database/migration/20261026223005_schedule.js +1 -1
  452. package/dist/database/migration/20261029002625_session_part.js +1 -1
  453. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  454. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  455. package/dist/database/migration/20261030054400_job.js +1 -1
  456. package/dist/database/migration.gen.js +60 -60
  457. package/dist/database/migration.js +62 -62
  458. package/dist/database/path.js +2 -2
  459. package/dist/database/schema.gen.js +1 -1
  460. package/dist/database/schema.sql.js +1 -1
  461. package/dist/database/sqlite.bun.js +1 -1
  462. package/dist/database/sqlite.js +1 -1
  463. package/dist/database/sqlite.node.js +1 -1
  464. package/dist/database/sqlite.workerd.js +1 -1
  465. package/dist/database/v1-migration.bun.js +105 -105
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +430 -430
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +1 -1
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +106 -106
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +108 -108
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +1 -1
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +156 -156
  482. package/dist/file-mutation.js +107 -107
  483. package/dist/file-retention.js +1 -1
  484. package/dist/filesystem/fff.bun.js +2 -2
  485. package/dist/filesystem/fff.js +1 -1
  486. package/dist/filesystem/fff.node.js +2 -2
  487. package/dist/filesystem/fff.workerd.js +2 -2
  488. package/dist/filesystem/file-watch.js +88 -88
  489. package/dist/filesystem/location-watcher-policy.js +6 -6
  490. package/dist/filesystem/location-watcher.js +245 -245
  491. package/dist/filesystem/protected.js +1 -1
  492. package/dist/filesystem/search.js +112 -112
  493. package/dist/filesystem/watcher-binding.js +1 -1
  494. package/dist/filesystem/watcher.js +11 -11
  495. package/dist/filesystem.js +117 -117
  496. package/dist/form.js +89 -89
  497. package/dist/formatter/builtins.js +4 -4
  498. package/dist/formatter.js +100 -100
  499. package/dist/generate.js +118 -118
  500. package/dist/git.js +11 -11
  501. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  502. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  503. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  504. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  505. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  506. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  507. package/dist/github-copilot/copilot-provider.js +17 -17
  508. package/dist/github-copilot/models.js +112 -112
  509. package/dist/github-copilot/openai-compatible-error.js +1 -1
  510. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  511. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  512. package/dist/github-copilot/responses/openai-error.js +1 -1
  513. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  514. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  515. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  516. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  517. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  520. package/dist/image/notice.js +3 -3
  521. package/dist/image/photon-normalize.js +1 -1
  522. package/dist/image/photon-worker.js +1 -1
  523. package/dist/image/photon.js +4 -4
  524. package/dist/image.js +6 -6
  525. package/dist/instance/service.js +5 -5
  526. package/dist/instance.js +421 -421
  527. package/dist/instruction-discovery.js +95 -95
  528. package/dist/instructions/builtins.js +100 -100
  529. package/dist/instructions/index.js +1 -1
  530. package/dist/integration/connection.js +3 -3
  531. package/dist/integration.js +96 -96
  532. package/dist/job/sql.js +2 -2
  533. package/dist/job.js +86 -86
  534. package/dist/kv/sql.js +2 -2
  535. package/dist/kv.js +84 -84
  536. package/dist/location-activity.js +184 -178
  537. package/dist/location-lifecycle.js +150 -150
  538. package/dist/location-service-map.js +99 -99
  539. package/dist/location-services.js +418 -418
  540. package/dist/location.js +100 -100
  541. package/dist/managed-policy.js +3 -3
  542. package/dist/mcp/client.js +104 -104
  543. package/dist/mcp/index.js +122 -122
  544. package/dist/mcp/instructions.js +179 -179
  545. package/dist/mcp/oauth.js +89 -89
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +103 -103
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +112 -112
  550. package/dist/model-resolver.js +112 -112
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +111 -111
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +121 -121
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/permission/saved.js +93 -93
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +151 -151
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +99 -99
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +85 -85
  565. package/dist/plugin/command.js +113 -113
  566. package/dist/plugin/goal.js +3 -3
  567. package/dist/plugin/hooks.js +5 -5
  568. package/dist/plugin/host.js +236 -236
  569. package/dist/plugin/identity.js +5 -5
  570. package/dist/plugin/instance.js +5 -5
  571. package/dist/plugin/internal.js +397 -397
  572. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  573. package/dist/plugin/models-dev.js +110 -110
  574. package/dist/plugin/module.js +129 -129
  575. package/dist/plugin/optimize.js +2 -2
  576. package/dist/plugin/plan.js +146 -146
  577. package/dist/plugin/promise.js +1 -1
  578. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  579. package/dist/plugin/provider/azure.js +130 -130
  580. package/dist/plugin/provider/cerebras.js +1 -1
  581. package/dist/plugin/provider/chatgpt.js +130 -130
  582. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  583. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  588. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  589. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  590. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  591. package/dist/plugin/provider/claude-agent/index.js +143 -143
  592. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  593. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  596. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  597. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  600. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  601. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  602. package/dist/plugin/provider/claude-agent/session.js +114 -114
  603. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  604. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  607. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  609. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  613. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  614. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  615. package/dist/plugin/provider/configured.js +126 -126
  616. package/dist/plugin/provider/credential-settings.js +85 -85
  617. package/dist/plugin/provider/databricks.js +1 -1
  618. package/dist/plugin/provider/digitalocean.js +108 -108
  619. package/dist/plugin/provider/dynamic.js +2 -2
  620. package/dist/plugin/provider/github-copilot.js +110 -110
  621. package/dist/plugin/provider/gitlab.js +107 -107
  622. package/dist/plugin/provider/google-vertex.js +127 -127
  623. package/dist/plugin/provider/kilo.js +1 -1
  624. package/dist/plugin/provider/llmgateway.js +89 -89
  625. package/dist/plugin/provider/lmstudio.js +139 -139
  626. package/dist/plugin/provider/local.js +136 -136
  627. package/dist/plugin/provider/modal.js +107 -107
  628. package/dist/plugin/provider/neon.js +1 -1
  629. package/dist/plugin/provider/nvidia.js +1 -1
  630. package/dist/plugin/provider/ollama.js +139 -139
  631. package/dist/plugin/provider/openai-context-caps.js +103 -103
  632. package/dist/plugin/provider/openai.js +130 -130
  633. package/dist/plugin/provider/opencode.js +132 -132
  634. package/dist/plugin/provider/openrouter.js +104 -104
  635. package/dist/plugin/provider/poe.js +90 -90
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +104 -104
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  641. package/dist/plugin/provider/vllm.js +139 -139
  642. package/dist/plugin/provider/xai.js +104 -104
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +212 -212
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +147 -147
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +407 -407
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +106 -106
  655. package/dist/plugin/warming.js +128 -128
  656. package/dist/plugin/websearch/exa.js +5 -5
  657. package/dist/plugin/websearch/firecrawl.js +6 -6
  658. package/dist/plugin/websearch/index.js +9 -9
  659. package/dist/plugin/websearch/mcp.js +2 -2
  660. package/dist/plugin/websearch/parallel.js +8 -8
  661. package/dist/plugin/websearch/tavily.js +4 -4
  662. package/dist/plugin/websearch/tinyfish.js +8 -8
  663. package/dist/plugin.js +245 -245
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +8 -8
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +101 -101
  668. package/dist/provider.js +110 -110
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +111 -111
  672. package/dist/reference/instructions.js +99 -99
  673. package/dist/reference.js +99 -99
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +110 -110
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +241 -241
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +255 -255
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +129 -129
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +173 -173
  688. package/dist/session/context.js +198 -198
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +243 -243
  694. package/dist/session/execution.js +163 -163
  695. package/dist/session/generate.js +198 -198
  696. package/dist/session/history.js +136 -136
  697. package/dist/session/inbox.js +147 -147
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +88 -88
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +141 -141
  702. package/dist/session/message-updater.js +2 -2
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +168 -168
  705. package/dist/session/model-transport.js +9 -9
  706. package/dist/session/move.js +165 -165
  707. package/dist/session/projector.js +143 -143
  708. package/dist/session/prompt.js +148 -148
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +139 -139
  711. package/dist/session/run-coordinator.js +1 -1
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +248 -248
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +113 -113
  716. package/dist/session/runner/publish-llm-event.js +149 -149
  717. package/dist/session/runner/retry.js +5 -5
  718. package/dist/session/runner/step.js +161 -161
  719. package/dist/session/runner/to-llm-message.js +137 -137
  720. package/dist/session/schema.js +5 -5
  721. package/dist/session/session.js +181 -181
  722. package/dist/session/shell.js +144 -144
  723. package/dist/session/skill.js +147 -147
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +84 -84
  726. package/dist/session/store.js +142 -142
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +3 -3
  729. package/dist/session/subagent-job.js +229 -229
  730. package/dist/session/system-prompt.js +3 -3
  731. package/dist/session/title.js +196 -196
  732. package/dist/session/to-session-error.js +148 -148
  733. package/dist/session/transfer.js +237 -237
  734. package/dist/session/usage.js +1 -1
  735. package/dist/session.js +235 -235
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +11 -11
  741. package/dist/shell.js +146 -146
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +151 -151
  744. package/dist/skill.js +154 -154
  745. package/dist/snapshot.js +106 -106
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +180 -180
  750. package/dist/tool/plugin/artifact.js +228 -228
  751. package/dist/tool/plugin/edit.js +164 -164
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +166 -166
  754. package/dist/tool/plugin/grep.js +168 -168
  755. package/dist/tool/plugin/image-generate.js +239 -239
  756. package/dist/tool/plugin/mcp-resource.js +162 -162
  757. package/dist/tool/plugin/opencode.js +161 -161
  758. package/dist/tool/plugin/patch.js +162 -162
  759. package/dist/tool/plugin/question.js +148 -148
  760. package/dist/tool/plugin/read.js +169 -169
  761. package/dist/tool/plugin/schedule.js +247 -247
  762. package/dist/tool/plugin/shell.js +231 -231
  763. package/dist/tool/plugin/skill.js +153 -153
  764. package/dist/tool/plugin/subagent.js +236 -236
  765. package/dist/tool/plugin/todo.js +153 -153
  766. package/dist/tool/plugin/webfetch.js +155 -155
  767. package/dist/tool/plugin/websearch.js +153 -153
  768. package/dist/tool/plugin/write.js +164 -164
  769. package/dist/tool/read-filesystem.js +115 -115
  770. package/dist/tool/runtime.js +1 -1
  771. package/dist/tool-output.js +7 -7
  772. package/dist/tool.js +161 -161
  773. package/dist/types/location-lifecycle.d.ts +6 -1
  774. package/dist/usage-limits.js +100 -100
  775. package/dist/util/error-summary.js +1 -1
  776. package/dist/util/git-executable.js +3 -3
  777. package/dist/util/lazy.js +1 -1
  778. package/dist/util/slug.js +1 -1
  779. package/dist/util/token.js +1 -1
  780. package/dist/util/which.js +1 -1
  781. package/dist/util/wildcard.js +1 -1
  782. package/dist/v1/config/agent.js +5 -5
  783. package/dist/v1/config/command.js +3 -3
  784. package/dist/v1/config/mcp.js +4 -4
  785. package/dist/v1/config/migrate.js +105 -105
  786. package/dist/v1/config/permission.js +3 -3
  787. package/dist/v1/config/plugin.js +3 -3
  788. package/dist/v1/config/provider-options.js +1 -1
  789. package/dist/v1/config/provider.js +4 -4
  790. package/dist/variant.js +106 -106
  791. package/dist/vcs/patch.js +1 -1
  792. package/dist/vcs.js +100 -100
  793. package/dist/voice.js +99 -99
  794. package/dist/websearch.js +101 -101
  795. package/dist/wellknown/plugin.js +87 -87
  796. package/dist/wellknown.js +92 -92
  797. package/dist/workspace/driver.js +7 -7
  798. package/dist/workspace/sql.js +1 -1
  799. package/dist/workspace.js +93 -93
  800. package/dist/worktree/directory.js +2 -2
  801. package/dist/worktree/git.js +11 -11
  802. package/dist/worktree/sql.js +5 -5
  803. package/dist/worktree/strategies.js +102 -102
  804. package/dist/worktree.js +113 -113
  805. package/package.json +8 -8
  806. package/dist/chunks/shell-a610t88q.js +0 -18
  807. package/dist/chunks/shell-vjm3mk0c.js +0 -261
  808. /package/dist/chunks/{shell-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  809. /package/dist/chunks/{shell-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  810. /package/dist/chunks/{shell-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  811. /package/dist/chunks/{shell-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  812. /package/dist/chunks/{shell-1kah00gy.js → command-1kah00gy.js} +0 -0
  813. /package/dist/chunks/{shell-1pevy3nx.js → command-1pevy3nx.js} +0 -0
  814. /package/dist/chunks/{shell-24dcb14g.js → command-24dcb14g.js} +0 -0
  815. /package/dist/chunks/{shell-2710q6r3.js → command-2710q6r3.js} +0 -0
  816. /package/dist/chunks/{shell-2bv980vf.js → command-2bv980vf.js} +0 -0
  817. /package/dist/chunks/{shell-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  818. /package/dist/chunks/{shell-359p4xyc.js → command-359p4xyc.js} +0 -0
  819. /package/dist/chunks/{shell-3asan66x.js → command-3asan66x.js} +0 -0
  820. /package/dist/chunks/{shell-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  821. /package/dist/chunks/{shell-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  822. /package/dist/chunks/{shell-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  823. /package/dist/chunks/{shell-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  824. /package/dist/chunks/{shell-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
  825. /package/dist/chunks/{shell-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  826. /package/dist/chunks/{shell-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  827. /package/dist/chunks/{shell-53557ph1.js → command-53557ph1.js} +0 -0
  828. /package/dist/chunks/{shell-550bvhaj.js → command-550bvhaj.js} +0 -0
  829. /package/dist/chunks/{shell-5w3e23ze.js → command-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{shell-6agm2x70.js → command-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{shell-6prwharc.js → command-6prwharc.js} +0 -0
  832. /package/dist/chunks/{shell-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{shell-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{shell-7m9af43g.js → command-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{shell-7stb81gk.js → command-7stb81gk.js} +0 -0
  836. /package/dist/chunks/{shell-822emrt2.js → command-822emrt2.js} +0 -0
  837. /package/dist/chunks/{shell-84wd9syh.js → command-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{shell-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{shell-8n3pysct.js → command-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{shell-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{shell-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{shell-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  843. /package/dist/chunks/{shell-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  844. /package/dist/chunks/{shell-af5trqkr.js → command-af5trqkr.js} +0 -0
  845. /package/dist/chunks/{shell-afrmfg78.js → command-afrmfg78.js} +0 -0
  846. /package/dist/chunks/{shell-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  847. /package/dist/chunks/{shell-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  848. /package/dist/chunks/{shell-beh6qq61.js → command-beh6qq61.js} +0 -0
  849. /package/dist/chunks/{shell-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  850. /package/dist/chunks/{shell-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  851. /package/dist/chunks/{shell-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  852. /package/dist/chunks/{shell-cqv5kn06.js → command-cqv5kn06.js} +0 -0
  853. /package/dist/chunks/{shell-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  854. /package/dist/chunks/{shell-d9fn303g.js → command-d9fn303g.js} +0 -0
  855. /package/dist/chunks/{shell-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  856. /package/dist/chunks/{shell-dap0rakb.js → command-dap0rakb.js} +0 -0
  857. /package/dist/chunks/{shell-df08tz66.js → command-df08tz66.js} +0 -0
  858. /package/dist/chunks/{shell-dy18nga0.js → command-dy18nga0.js} +0 -0
  859. /package/dist/chunks/{shell-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  860. /package/dist/chunks/{shell-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  861. /package/dist/chunks/{shell-ean2d8b5.js → command-ean2d8b5.js} +0 -0
  862. /package/dist/chunks/{shell-ec1grn59.js → command-ec1grn59.js} +0 -0
  863. /package/dist/chunks/{shell-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  864. /package/dist/chunks/{shell-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  865. /package/dist/chunks/{shell-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  866. /package/dist/chunks/{shell-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  867. /package/dist/chunks/{shell-faypxj3z.js → command-faypxj3z.js} +0 -0
  868. /package/dist/chunks/{shell-fd410y7t.js → command-fd410y7t.js} +0 -0
  869. /package/dist/chunks/{shell-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
  870. /package/dist/chunks/{shell-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  871. /package/dist/chunks/{shell-g86h250q.js → command-g86h250q.js} +0 -0
  872. /package/dist/chunks/{shell-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  873. /package/dist/chunks/{shell-gftt206x.js → command-gftt206x.js} +0 -0
  874. /package/dist/chunks/{shell-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  875. /package/dist/chunks/{shell-hk9envan.js → command-hk9envan.js} +0 -0
  876. /package/dist/chunks/{shell-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  877. /package/dist/chunks/{shell-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  878. /package/dist/chunks/{shell-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  879. /package/dist/chunks/{shell-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  880. /package/dist/chunks/{shell-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  881. /package/dist/chunks/{shell-jwr30sdr.js → command-jwr30sdr.js} +0 -0
  882. /package/dist/chunks/{shell-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  883. /package/dist/chunks/{shell-m18g726c.js → command-m18g726c.js} +0 -0
  884. /package/dist/chunks/{shell-mp448xyj.js → command-mp448xyj.js} +0 -0
  885. /package/dist/chunks/{shell-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  886. /package/dist/chunks/{shell-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  887. /package/dist/chunks/{shell-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  888. /package/dist/chunks/{shell-nh4v3znn.js → command-nh4v3znn.js} +0 -0
  889. /package/dist/chunks/{shell-njntx4h6.js → command-njntx4h6.js} +0 -0
  890. /package/dist/chunks/{shell-p71gwv9c.js → command-p71gwv9c.js} +0 -0
  891. /package/dist/chunks/{shell-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  892. /package/dist/chunks/{shell-q74kybfr.js → command-q74kybfr.js} +0 -0
  893. /package/dist/chunks/{shell-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  894. /package/dist/chunks/{shell-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  895. /package/dist/chunks/{shell-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  896. /package/dist/chunks/{shell-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  897. /package/dist/chunks/{shell-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  898. /package/dist/chunks/{shell-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  899. /package/dist/chunks/{shell-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  900. /package/dist/chunks/{shell-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  901. /package/dist/chunks/{shell-syrav9an.js → command-syrav9an.js} +0 -0
  902. /package/dist/chunks/{shell-t03h4f5z.js → command-t03h4f5z.js} +0 -0
  903. /package/dist/chunks/{shell-ty7weeps.js → command-ty7weeps.js} +0 -0
  904. /package/dist/chunks/{shell-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  905. /package/dist/chunks/{shell-vtarvj67.js → command-vtarvj67.js} +0 -0
  906. /package/dist/chunks/{shell-w803qqfp.js → command-w803qqfp.js} +0 -0
  907. /package/dist/chunks/{shell-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  908. /package/dist/chunks/{shell-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  909. /package/dist/chunks/{shell-wtztk69x.js → command-wtztk69x.js} +0 -0
  910. /package/dist/chunks/{shell-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  911. /package/dist/chunks/{shell-x61499pn.js → command-x61499pn.js} +0 -0
  912. /package/dist/chunks/{shell-y44na4kk.js → command-y44na4kk.js} +0 -0
  913. /package/dist/chunks/{shell-y8f7s663.js → command-y8f7s663.js} +0 -0
  914. /package/dist/chunks/{shell-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  915. /package/dist/chunks/{shell-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  916. /package/dist/chunks/{shell-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  Service90,
6
6
  node93
7
- } from "./shell-v736ed2x.js";
7
+ } from "./command-dew5qk93.js";
8
8
  import {
9
9
  Service89,
10
10
  node92
11
- } from "./shell-m5jddc9g.js";
11
+ } from "./command-5jfjz3xv.js";
12
12
  import {
13
- Service87,
14
- node90
15
- } from "./shell-8h403a68.js";
13
+ Service88,
14
+ node91
15
+ } from "./command-1rv52bc9.js";
16
16
  import {
17
- ID21,
17
+ ID22,
18
18
  Current3,
19
- Info31,
19
+ Info32,
20
20
  UpdateInput5,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./shell-0mtp185z.js";
23
+ } from "./command-963hk181.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./shell-034tev2y.js";
27
+ } from "./command-aj7mw0zk.js";
28
28
  import {
29
29
  refresh2
30
- } from "./shell-zm27gg57.js";
30
+ } from "./command-x67mg8mk.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./shell-ayjs7tqn.js";
33
+ } from "./command-3cbjf1nt.js";
34
34
  import {
35
35
  __export
36
- } from "./shell-9rqn6x4v.js";
36
+ } from "./command-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  Current: () => Current2,
42
- ID: () => ID20,
43
- Info: () => Info30,
42
+ ID: () => ID21,
43
+ Info: () => Info31,
44
44
  NotFoundError: () => NotFoundError14,
45
45
  Project: () => exports_project,
46
- Service: () => Service86,
46
+ Service: () => Service87,
47
47
  UpdateInput: () => UpdateInput4,
48
48
  Vcs: () => Vcs2,
49
- node: () => node89,
49
+ node: () => node90,
50
50
  root: () => root2,
51
51
  sweepNode: () => sweepNode2
52
52
  });
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
59
59
  import { AppProcess } from "@opencode/util/process";
60
60
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
61
61
  import { Hash } from "@opencode/util/hash";
62
- var ID20 = ID21;
62
+ var ID21 = ID22;
63
63
  var Vcs2 = Vcs3;
64
64
  var Current2 = Current3;
65
- var Info30 = Info31;
65
+ var Info31 = Info32;
66
66
  var UpdateInput4 = UpdateInput5;
67
67
 
68
68
  class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
69
- projectID: ID20
69
+ projectID: ID21
70
70
  }) {
71
71
  }
72
72
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
84
84
  var ACTIVATE_INTERVAL = 60000;
85
85
  var SWEEP_INTERVAL = Duration.hours(1);
86
86
 
87
- class Service86 extends Context.Service()("@opencode/Project") {
87
+ class Service87 extends Context.Service()("@opencode/Project") {
88
88
  }
89
89
  function fromRow(row) {
90
90
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -108,9 +108,9 @@ function fromRow(row) {
108
108
  sandboxes: row.sandboxes
109
109
  };
110
110
  }
111
- var layer = Layer.effect(Service86, Effect.gen(function* () {
111
+ var layer = Layer.effect(Service87, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
- const git = yield* Service87;
113
+ const git = yield* Service88;
114
114
  const proc = yield* AppProcess.Service;
115
115
  const bus = yield* Service89;
116
116
  const db = (yield* Service90).db;
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
123
123
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
124
124
  const changed = replaced ?? unarchived;
125
125
  if (changed)
126
- yield* bus.publish(Event20.Updated, fromRow(changed));
127
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
126
+ yield* bus.publish(Event21.Updated, fromRow(changed));
127
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
128
128
  if (!project.vcs)
129
129
  return project;
130
130
  const directories = [
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
160
160
  yield* bus.publish(Worktree.Event.Resolved, {
161
161
  projectID: item.projectID,
162
162
  directory: item.directory,
163
- previous: project.previous ?? ID20.global,
163
+ previous: project.previous ?? ID21.global,
164
164
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
165
165
  }, {
166
166
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
185
185
  if (!row)
186
186
  return yield* new NotFoundError14({ projectID: input.projectID });
187
187
  const project = fromRow(row);
188
- yield* bus.publish(Event20.Updated, project);
188
+ yield* bus.publish(Event21.Updated, project);
189
189
  return project;
190
190
  });
191
191
  const activated = new Map;
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
196
196
  activated.set(projectID, now);
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event20.Updated, fromRow(row));
199
+ yield* bus.publish(Event21.Updated, fromRow(row));
200
200
  });
201
201
  const cached = Effect.fnUntraced(function* (dir) {
202
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID20.make(value) : undefined), Effect.orElseSucceed(() => {
202
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
203
203
  return;
204
204
  }));
205
205
  });
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
210
210
  const normalized = url(origin);
211
211
  if (!normalized)
212
212
  return;
213
- return ID20.make(Hash.fast(`git-remote:${normalized}`));
213
+ return ID21.make(Hash.fast(`git-remote:${normalized}`));
214
214
  });
215
215
  function url(input) {
216
216
  const value = input.trim();
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
235
235
  }
236
236
  const rootCommit = Effect.fnUntraced(function* (repo) {
237
237
  const root = (yield* git.history.rootCommits(repo))[0];
238
- return root ? ID20.make(root) : undefined;
238
+ return root ? ID21.make(root) : undefined;
239
239
  });
240
240
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
241
241
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
252
252
  const resolved = {
253
253
  previous,
254
- id: id ?? ID20.global,
254
+ id: id ?? ID21.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
276
276
  return;
277
277
  const node = result.stdout.toString("utf8").split(`
278
278
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
279
- return node ? ID20.make(node) : undefined;
279
+ return node ? ID21.make(node) : undefined;
280
280
  });
281
281
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
282
282
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
284
284
  const id = previous ?? (yield* hgRoot(worktree));
285
285
  return {
286
286
  previous,
287
- id: id ?? ID20.global,
287
+ id: id ?? ID21.global,
288
288
  directory: worktree,
289
289
  vcs: { type: "hg", store: dotHg }
290
290
  };
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
311
311
  });
312
312
  }
313
313
  return yield* save({
314
- id: ID20.make(Hash.fast(`directory:${directory}`)),
314
+ id: ID21.make(Hash.fast(`directory:${directory}`)),
315
315
  directory,
316
316
  canonical: directory,
317
317
  vcs: undefined
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
320
320
  const sweep = Effect.fn("Project.sweep")(function* () {
321
321
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
322
322
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
323
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID20.global))).all().pipe(Effect.orDie);
323
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
324
324
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
325
325
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
326
326
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
333
333
  return;
334
334
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
335
335
  if (row)
336
- yield* bus.publish(Event20.Updated, fromRow(row));
336
+ yield* bus.publish(Event21.Updated, fromRow(row));
337
337
  }), { concurrency: 8, discard: true });
338
338
  });
339
- return Service86.of({ list, update, activate, resolve, sweep });
339
+ return Service87.of({ list, update, activate, resolve, sweep });
340
340
  }));
341
- var node89 = makeGlobalNode({
342
- service: Service86,
341
+ var node90 = makeGlobalNode({
342
+ service: Service87,
343
343
  layer,
344
- deps: [node92, node93, FSUtil.node, node90, AppProcess.node]
344
+ deps: [node92, node93, FSUtil.node, node91, AppProcess.node]
345
345
  });
346
346
  var sweepNode2 = makeGlobalNode({
347
347
  name: "project-archive-sweep",
348
348
  layer: Layer.effectDiscard(Effect.gen(function* () {
349
- const project = yield* Service86;
349
+ const project = yield* Service87;
350
350
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
351
351
  })),
352
- deps: [node89]
352
+ deps: [node90]
353
353
  });
354
354
 
355
- export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError14, root2, Service86, node89, sweepNode2, exports_project };
355
+ export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, Service87, node90, sweepNode2, exports_project };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service41,
10
- node: () => node43
9
+ Service: () => Service45,
10
+ node: () => node47
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service41 extends Context.Service()("@opencode/Instance") {
16
+ class Service45 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
18
+ var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
19
19
 
20
- export { Service41, node43, exports_service2 };
20
+ export { Service45, node47, exports_service2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./shell-0ma9gw4f.js";
3
+ } from "./command-0ma9gw4f.js";
4
4
  import {
5
- ID18,
6
- Service83,
7
- node86
8
- } from "./shell-hzwt6x4n.js";
5
+ ID17,
6
+ Service79,
7
+ node81
8
+ } from "./command-b7kt7hzm.js";
9
9
  import {
10
10
  __export
11
- } from "./shell-9rqn6x4v.js";
11
+ } from "./command-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service14,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service17,
18
+ UnavailableError: () => UnavailableError3,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer9,
21
- node: () => node16
20
+ layer: () => layer11,
21
+ node: () => node19
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service14 extends Context.Service()("@opencode/Voice") {
40
+ class Service17 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer9 = Layer.effect(Service14, Effect.gen(function* () {
42
+ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service83;
45
- const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
44
+ const integrations = yield* Service79;
45
+ const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
48
48
  if (connection)
@@ -67,10 +67,10 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError2({
73
+ return yield* new UnavailableError3({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service14.of({ models, session });
84
+ return Service17.of({ models, session });
85
85
  }));
86
- var node16 = makeLocationNode({
87
- service: Service14,
88
- layer: layer9,
89
- deps: [node86, requestExecutor2]
86
+ var node19 = makeLocationNode({
87
+ service: Service17,
88
+ layer: layer11,
89
+ deps: [node81, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError2, UnavailableError2, Service14, layer9, node16, exports_voice };
111
+ export { InvalidRequestError2, UnavailableError3, Service17, layer11, node19, exports_voice };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
@@ -8,7 +8,7 @@ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info22,
11
+ Info: () => Info19,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule3
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info22 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
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, Info22, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
@@ -1,74 +1,74 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./shell-m5jddc9g.js";
4
+ } from "./command-5jfjz3xv.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./shell-23tpq7wy.js";
6
+ Service76,
7
+ node78
8
+ } from "./command-k3xz1kqh.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./shell-40y6dtc2.js";
12
+ } from "./command-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./shell-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
- DisabledError: () => DisabledError4,
21
- Event: () => Event11,
22
- ID: () => ID9,
23
- Input: () => Input16,
24
- Provider: () => Provider3,
20
+ DisabledError: () => DisabledError3,
21
+ Event: () => Event5,
22
+ ID: () => ID7,
23
+ Input: () => Input15,
24
+ Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
26
- ProviderNotFoundError: () => ProviderNotFoundError3,
26
+ ProviderNotFoundError: () => ProviderNotFoundError2,
27
27
  ProviderRequiredError: () => ProviderRequiredError2,
28
28
  RequestError: () => RequestError2,
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service52,
32
+ Service: () => Service23,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node54
34
+ node: () => node26
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
38
38
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
- import { Event as Event11 } from "@opencode/schema/websearch";
42
- var ID9 = WebSearch.ID;
43
- var Provider3 = WebSearch.Provider;
44
- var Input16 = WebSearch.Input;
41
+ import { Event as Event5 } from "@opencode/schema/websearch";
42
+ var ID7 = WebSearch.ID;
43
+ var Provider2 = WebSearch.Provider;
44
+ var Input15 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response2 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
- class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID9
53
+ class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
+ providerID: ID7
55
55
  }) {
56
56
  }
57
57
 
58
- class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
+ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID9,
62
+ providerID: ID7,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service52 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service23 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service52, Effect.gen(function* () {
69
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
70
70
  const bus = yield* Service89;
71
- const kv = yield* Service80;
71
+ const kv = yield* Service76;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
74
74
  const preferred = new Map;
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
95
95
  });
96
96
  const requireProvider = (providers, providerID) => {
97
97
  const provider = providers.get(providerID);
98
- return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError3({ providerID }));
98
+ return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
99
99
  };
100
100
  const selection = Effect.fn("WebSearch.selection")(function* () {
101
101
  const data = state.get();
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
124
124
  };
125
125
  const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
126
126
  if (choice === false)
127
- return yield* new DisabledError4;
127
+ return yield* new DisabledError3;
128
128
  if (choice === "random") {
129
129
  const active = preferred.get(undefined)?.provider;
130
130
  return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service52.of({
134
+ return Service23.of({
135
135
  transform: state.transform,
136
136
  reload: state.reload,
137
137
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
188
188
  const date = Date.parse(value);
189
189
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
190
190
  }
191
- var node54 = makeLocationNode({
192
- service: Service52,
191
+ var node26 = makeLocationNode({
192
+ service: Service23,
193
193
  layer,
194
- deps: [node92, node83]
194
+ deps: [node92, node78]
195
195
  });
196
196
 
197
- export { ID9, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service52, node54, exports_websearch3, Event11 };
197
+ export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service23, node26, exports_websearch3, Event5 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-qj97zj8m.js";
3
+ } from "./command-tg97v2x8.js";
4
4
  import {
5
5
  Service89
6
- } from "./shell-m5jddc9g.js";
6
+ } from "./command-5jfjz3xv.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./shell-2s9xahkc.js";
9
+ Event20
10
+ } from "./command-hydc8sb0.js";
11
11
  import {
12
- ID18,
12
+ ID17,
13
13
  MethodID2
14
- } from "./shell-hzwt6x4n.js";
14
+ } from "./command-b7kt7hzm.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./shell-yb20nhc3.js";
18
+ } from "./command-yb20nhc3.js";
19
19
  import {
20
- ID17,
20
+ ID16,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./shell-53e3z61x.js";
23
+ } from "./command-v05kmqya.js";
24
24
  import {
25
25
  get5
26
- } from "./shell-3nnrz6f6.js";
26
+ } from "./command-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./shell-1ecnrbv4.js";
29
+ } from "./command-74ts6fdr.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID18.make("openai"),
53
+ integrationID: ID17.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID18.make("openai"),
126
+ integrationID: ID17.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -185,9 +185,9 @@ var OpenAIPlugin3 = define({
185
185
  editor.method.update(headless(ctx.app));
186
186
  });
187
187
  yield* load();
188
- const configured = yield* configuredSettings2(ID17.openai);
188
+ const configured = yield* configuredSettings2(ID16.openai);
189
189
  yield* ctx.provider.transform((providers) => {
190
- const item = providers.get(ID17.openai);
190
+ const item = providers.get(ID16.openai);
191
191
  if (!item)
192
192
  return;
193
193
  const account = chatgpt?.metadata?.accountID;
@@ -207,7 +207,7 @@ var OpenAIPlugin3 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- for (const model of models.list(ID17.openai)) {
210
+ for (const model of models.list(ID16.openai)) {
211
211
  models.update(model.providerID, model.id, (draft) => {
212
212
  if (!chatgpt)
213
213
  return;
@@ -244,14 +244,14 @@ var OpenAIPlugin3 = define({
244
244
  }));
245
245
  evt.headers.originator = "opencode";
246
246
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
247
- }), { providerID: ID17.openai });
247
+ }), { providerID: ID16.openai });
248
248
  const omitOutputLimit = (evt) => Effect.sync(() => {
249
249
  delete evt.options.maxTokens;
250
250
  });
251
251
  for (const name of ["context", "compaction"])
252
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
252
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID16.openai });
253
253
  const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
254
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
254
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
255
255
  })
256
256
  });
257
257
  function headers(contentType, app) {