@opencode/core 0.0.0-dev-678 → 0.0.0-dev-695

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 (935) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  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 +250 -249
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{workspace-034tev2y.js → image-034tev2y.js} +2 -2
  9. package/dist/chunks/{workspace-8h8e8n15.js → image-0393whd5.js} +15 -15
  10. package/dist/chunks/{workspace-1z92vj22.js → image-0480yb81.js} +8 -8
  11. package/dist/chunks/{workspace-0xvkyzh7.js → image-068xz90e.js} +11 -11
  12. package/dist/chunks/{workspace-xxdzcxzw.js → image-0fhfj518.js} +19 -19
  13. package/dist/chunks/{workspace-0ma9gw4f.js → image-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{workspace-7y4fptee.js → image-0p5kzdyh.js} +16 -16
  15. package/dist/chunks/{workspace-fvxw9k0s.js → image-0pxvnbtm.js} +80 -80
  16. package/dist/chunks/{workspace-n5ft8qmj.js → image-0qn0ymqz.js} +47 -47
  17. package/dist/chunks/{workspace-8wxwsd5v.js → image-0rd1d8cc.js} +46 -46
  18. package/dist/chunks/{workspace-1p5srj1c.js → image-0wmvpymx.js} +20 -20
  19. package/dist/chunks/{workspace-6kjz2f4d.js → image-12m4qzb4.js} +16 -16
  20. package/dist/chunks/{workspace-1aqsckx4.js → image-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{workspace-kp65zg9d.js → image-1e4jsk78.js} +3 -3
  22. package/dist/chunks/{workspace-1ep2p91f.js → image-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{workspace-9ztwrape.js → image-1j3ejdgt.js} +10 -10
  24. package/dist/chunks/{workspace-7bs7td23.js → image-1jfss32g.js} +10 -10
  25. package/dist/chunks/{workspace-gntnm11s.js → image-1s2wjsmt.js} +34 -34
  26. package/dist/chunks/{workspace-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{workspace-5zrxpy3q.js → image-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{workspace-cw7qf2q7.js → image-24j3j2wk.js} +19 -19
  29. package/dist/chunks/{workspace-8b3vzgkx.js → image-25h84942.js} +4 -4
  30. package/dist/chunks/{workspace-66w22gpr.js → image-29t2bjsh.js} +30 -30
  31. package/dist/chunks/{workspace-wnhgecwx.js → image-2fc7eemy.js} +14 -3
  32. package/dist/chunks/{workspace-8fq7ft0b.js → image-2gk0tjj2.js} +10 -10
  33. package/dist/chunks/image-2hefcmtv.js +265 -0
  34. package/dist/chunks/{workspace-gfcye9yw.js → image-2j5tccbn.js} +5 -5
  35. package/dist/chunks/image-2jjfs7g5.js +16 -0
  36. package/dist/chunks/{workspace-c4hrkxy0.js → image-2k0s9h12.js} +4 -4
  37. package/dist/chunks/{workspace-4h57hff9.js → image-2v2chkae.js} +35 -35
  38. package/dist/chunks/{workspace-mdt2ypdr.js → image-34wzbf36.js} +10 -10
  39. package/dist/chunks/{workspace-r74kddvb.js → image-375cgq6g.js} +22 -22
  40. package/dist/chunks/{workspace-g5agcsak.js → image-39sgvy3e.js} +4 -4
  41. package/dist/chunks/{workspace-mjrcsjpa.js → image-3adw4bt5.js} +9 -9
  42. package/dist/chunks/{workspace-3ppfbg49.js → image-3bhepz12.js} +12 -12
  43. package/dist/chunks/{workspace-akee56p2.js → image-3h7hf2nm.js} +18 -18
  44. package/dist/chunks/{workspace-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{workspace-54bjh6mf.js → image-3n83b0be.js} +21 -21
  46. package/dist/chunks/{workspace-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{workspace-40y6dtc2.js → image-40y6dtc2.js} +1 -1
  48. package/dist/chunks/{workspace-g0m3yf2z.js → image-43sepmd6.js} +24 -21
  49. package/dist/chunks/{workspace-h1kc2mjq.js → image-4aafjf2c.js} +22 -22
  50. package/dist/chunks/{workspace-4dx1dgte.js → image-4dx1dgte.js} +1 -1
  51. package/dist/chunks/{workspace-ya4qwqg1.js → image-4gsnadnv.js} +26 -26
  52. package/dist/chunks/{workspace-7gm9k7ns.js → image-4j8e6rms.js} +7 -7
  53. package/dist/chunks/{workspace-5kv53nmy.js → image-4k5621ne.js} +6 -6
  54. package/dist/chunks/{workspace-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{workspace-drraqxvn.js → image-4tgas3n4.js} +25 -25
  56. package/dist/chunks/{workspace-4v008n1t.js → image-4v008n1t.js} +1 -1
  57. package/dist/chunks/{workspace-qsbb99wt.js → image-4xgx3a4s.js} +22 -22
  58. package/dist/chunks/{workspace-c3zgdyby.js → image-4y3kkbwp.js} +18 -18
  59. package/dist/chunks/{workspace-yfwmymrp.js → image-55dm5exg.js} +11 -11
  60. package/dist/chunks/{workspace-6sg7v011.js → image-55g2q5p5.js} +2 -2
  61. package/dist/chunks/{workspace-qnqasnye.js → image-5asgddgx.js} +6 -6
  62. package/dist/chunks/{workspace-epey1acq.js → image-5d75rfv3.js} +5 -5
  63. package/dist/chunks/{workspace-w2eysc6j.js → image-5enarcya.js} +6 -6
  64. package/dist/chunks/{workspace-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{workspace-mjasb2yr.js → image-5p7dtc6v.js} +23 -23
  66. package/dist/chunks/{workspace-taqgwch1.js → image-5qns2asc.js} +28 -28
  67. package/dist/chunks/{workspace-bm6a2y6s.js → image-5sbv6arc.js} +13 -13
  68. package/dist/chunks/{workspace-4a5d1rrj.js → image-5x5fts2f.js} +10 -10
  69. package/dist/chunks/{workspace-2kedh6bd.js → image-67mxzy6e.js} +8 -8
  70. package/dist/chunks/{workspace-ab8yzrrq.js → image-68b3nmxs.js} +21 -21
  71. package/dist/chunks/{workspace-b6wxxw1y.js → image-6b8r5f2g.js} +16 -16
  72. package/dist/chunks/{workspace-kgab7tq0.js → image-6nqkrg6t.js} +14 -14
  73. package/dist/chunks/{workspace-yyjn20hv.js → image-6t44e37v.js} +13 -13
  74. package/dist/chunks/{workspace-kek3h0en.js → image-70ae0w5g.js} +9 -9
  75. package/dist/chunks/{workspace-80mg3ag8.js → image-775hqbnd.js} +3 -3
  76. package/dist/chunks/{workspace-wvr8xscb.js → image-79k544d0.js} +7 -7
  77. package/dist/chunks/{workspace-e71bb87j.js → image-7bg5w1mh.js} +8 -8
  78. package/dist/chunks/{workspace-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{workspace-4kjn9ksr.js → image-7ebk4eec.js} +14 -14
  80. package/dist/chunks/{workspace-jhgh1a0t.js → image-7hqm749x.js} +8 -8
  81. package/dist/chunks/{workspace-7d680rbb.js → image-7rtgxq9w.js} +26 -26
  82. package/dist/chunks/{workspace-34zjd965.js → image-7s54hp2d.js} +8 -8
  83. package/dist/chunks/{workspace-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{workspace-7weczvnd.js → image-7weczvnd.js} +1 -1
  85. package/dist/chunks/{workspace-rke42rrk.js → image-7x0nx62q.js} +5 -5
  86. package/dist/chunks/{workspace-ww60k523.js → image-83ps3qg0.js} +22 -22
  87. package/dist/chunks/{workspace-89287pr7.js → image-89287pr7.js} +1 -1
  88. package/dist/chunks/{workspace-8cg7mtm3.js → image-8cg7mtm3.js} +1 -1
  89. package/dist/chunks/{workspace-5628et6m.js → image-8dbj5e4r.js} +11 -11
  90. package/dist/chunks/{workspace-z522rwm8.js → image-8jtqykc1.js} +33 -33
  91. package/dist/chunks/{workspace-8sxe6kv8.js → image-8sxe6kv8.js} +2 -2
  92. package/dist/chunks/{workspace-wfs84ra6.js → image-8t99kr38.js} +4 -4
  93. package/dist/chunks/{workspace-6vtzmyfg.js → image-8vrwzarc.js} +6 -6
  94. package/dist/chunks/{workspace-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  95. package/dist/chunks/{workspace-8zv0xmg5.js → image-8zv0xmg5.js} +1 -1
  96. package/dist/chunks/{workspace-90zstvax.js → image-90zstvax.js} +1 -1
  97. package/dist/chunks/{workspace-qz5h613z.js → image-92rck4hw.js} +4 -4
  98. package/dist/chunks/{workspace-hsfeb6dj.js → image-938p512a.js} +19 -19
  99. package/dist/chunks/{workspace-20zapttw.js → image-95p1x51z.js} +11 -11
  100. package/dist/chunks/{workspace-zg47tsk2.js → image-963hk181.js} +9 -9
  101. package/dist/chunks/{workspace-rtb1tmc5.js → image-96djdqw5.js} +7 -7
  102. package/dist/chunks/{workspace-bvh463d7.js → image-989t5a8k.js} +15 -15
  103. package/dist/chunks/{workspace-q2ewgeb1.js → image-993fem5p.js} +3 -3
  104. package/dist/chunks/{workspace-v0emb7vt.js → image-9dmv02kv.js} +43 -43
  105. package/dist/chunks/{workspace-z0jv2kcw.js → image-9f8bqk4a.js} +11 -11
  106. package/dist/chunks/{workspace-2kg89srt.js → image-9q8g9sv8.js} +4 -4
  107. package/dist/chunks/{workspace-er3bpk3r.js → image-9rxde50t.js} +24 -24
  108. package/dist/chunks/{workspace-zf9t0rg5.js → image-9trrg96j.js} +10 -10
  109. package/dist/chunks/{workspace-00b6wk7a.js → image-9v8sw4q0.js} +11 -11
  110. package/dist/chunks/{workspace-mxhhacq2.js → image-a4dsvtxz.js} +35 -35
  111. package/dist/chunks/{workspace-86xhc84s.js → image-a9f7f6sa.js} +19 -19
  112. package/dist/chunks/{workspace-ka5mw2jd.js → image-aatxk1dc.js} +2 -2
  113. package/dist/chunks/{workspace-y3qe1we7.js → image-abttpyd4.js} +11 -11
  114. package/dist/chunks/{workspace-d7m65cx1.js → image-arsf1kwh.js} +40 -40
  115. package/dist/chunks/{workspace-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
  116. package/dist/chunks/{workspace-hhwgthyv.js → image-az81vt93.js} +77 -77
  117. package/dist/chunks/{workspace-4trj2kny.js → image-b0ny7cnc.js} +11 -11
  118. package/dist/chunks/{workspace-pz5w5yg9.js → image-b3m5mspr.js} +8 -8
  119. package/dist/chunks/{workspace-4wvtc0e3.js → image-b8e0rmyn.js} +4 -4
  120. package/dist/chunks/{workspace-evkchrw3.js → image-b94hv5d1.js} +16 -16
  121. package/dist/chunks/{workspace-vwdcswbs.js → image-bap6mpfc.js} +12 -12
  122. package/dist/chunks/{workspace-tjyq3t2b.js → image-bgg78hcj.js} +57 -51
  123. package/dist/chunks/{workspace-52ps0vwb.js → image-bn7p8ye2.js} +15 -15
  124. package/dist/chunks/{workspace-bstexjd6.js → image-bstexjd6.js} +1 -1
  125. package/dist/chunks/image-bwgz1akh.js +26 -0
  126. package/dist/chunks/{workspace-by8ty0bx.js → image-by8ty0bx.js} +1 -1
  127. package/dist/chunks/{workspace-ph2g2emk.js → image-c1h171bp.js} +12 -12
  128. package/dist/chunks/{workspace-t3qgac3j.js → image-c2p0j2y8.js} +5 -5
  129. package/dist/chunks/{workspace-gehtqm8z.js → image-c533qx2t.js} +16 -16
  130. package/dist/chunks/{workspace-c7cw818c.js → image-c7cw818c.js} +2 -2
  131. package/dist/chunks/{workspace-s4286pke.js → image-c83db1tt.js} +25 -25
  132. package/dist/chunks/{workspace-3pf3v1ej.js → image-c8g6j00g.js} +4 -4
  133. package/dist/chunks/{workspace-jn7865eg.js → image-cadbf1dk.js} +20 -20
  134. package/dist/chunks/{workspace-2chrnrgg.js → image-cea207v7.js} +18 -18
  135. package/dist/chunks/{workspace-gsybpqjy.js → image-cfecrg90.js} +8 -8
  136. package/dist/chunks/{workspace-011jp90z.js → image-ctmpqb7w.js} +9 -9
  137. package/dist/chunks/{workspace-cwrgdav8.js → image-cwrgdav8.js} +2 -2
  138. package/dist/chunks/{workspace-1mry7be8.js → image-cz9m0g43.js} +59 -59
  139. package/dist/chunks/{workspace-dmrv1dmn.js → image-d4e7nkvr.js} +9 -9
  140. package/dist/chunks/{workspace-d4v9tmah.js → image-d4v9tmah.js} +2 -2
  141. package/dist/chunks/{workspace-y49z93ap.js → image-d9sb1j4d.js} +11 -11
  142. package/dist/chunks/{workspace-ra6js1h8.js → image-ddvn7d3w.js} +8 -8
  143. package/dist/chunks/{workspace-cppsts8r.js → image-dgz0k1mp.js} +41 -41
  144. package/dist/chunks/{workspace-8k3rmt1b.js → image-dpm48xm5.js} +4 -4
  145. package/dist/chunks/{workspace-dt77769w.js → image-dt77769w.js} +1 -1
  146. package/dist/chunks/{workspace-e834z07m.js → image-e834z07m.js} +1 -1
  147. package/dist/chunks/{workspace-r9ywparb.js → image-edrkh58z.js} +15 -10
  148. package/dist/chunks/{workspace-sy24fjas.js → image-egb6sqjg.js} +20 -20
  149. package/dist/chunks/{workspace-2xs49srk.js → image-eh1xkk5s.js} +11 -11
  150. package/dist/chunks/{workspace-kvhr5bb6.js → image-eqvc371y.js} +18 -18
  151. package/dist/chunks/{workspace-eqw4pqj1.js → image-eqw4pqj1.js} +2 -2
  152. package/dist/chunks/{workspace-f67n8emy.js → image-evxfxzby.js} +5 -5
  153. package/dist/chunks/{workspace-sv909n4y.js → image-f341sazs.js} +3 -3
  154. package/dist/chunks/{workspace-vqacqe03.js → image-f39h99re.js} +20 -13
  155. package/dist/chunks/{workspace-sv6ega32.js → image-fbpjprrh.js} +35 -35
  156. package/dist/chunks/{workspace-fcrd7kek.js → image-fcrd7kek.js} +1 -1
  157. package/dist/chunks/{workspace-79d2kzvn.js → image-fdzx4tz0.js} +17 -17
  158. package/dist/chunks/{workspace-kdtpe2vy.js → image-ff089ejz.js} +17 -5
  159. package/dist/chunks/{workspace-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  160. package/dist/chunks/{workspace-prq7xxp2.js → image-fg9p65nk.js} +6 -6
  161. package/dist/chunks/{workspace-63mjq513.js → image-fkgaf3wr.js} +15 -15
  162. package/dist/chunks/{workspace-cx0zpgej.js → image-fm4etj3f.js} +23 -23
  163. package/dist/chunks/{workspace-ewt6jbtx.js → image-fp8jr21p.js} +185 -185
  164. package/dist/chunks/{workspace-v31c066e.js → image-g46xr4j5.js} +18 -18
  165. package/dist/chunks/{workspace-gbjdnr5j.js → image-gbjdnr5j.js} +2 -2
  166. package/dist/chunks/{workspace-83bsjey4.js → image-gf3x61d1.js} +33 -33
  167. package/dist/chunks/{workspace-ghrv1g9c.js → image-ghrv1g9c.js} +1 -1
  168. package/dist/chunks/{workspace-p6qk19qa.js → image-gjr4kh7j.js} +6 -6
  169. package/dist/chunks/{workspace-0xa533gr.js → image-gwqm3edm.js} +12 -12
  170. package/dist/chunks/{workspace-tg7s7b5t.js → image-gxs71cxp.js} +4 -4
  171. package/dist/chunks/{workspace-wv40mmeb.js → image-h0kkvx4x.js} +3 -3
  172. package/dist/chunks/{workspace-9q4nq1c6.js → image-h1ht5fw7.js} +43 -43
  173. package/dist/chunks/{workspace-see2tnqp.js → image-h4jf1472.js} +20 -20
  174. package/dist/chunks/{workspace-4bhv40mk.js → image-h8dm1vwm.js} +7 -7
  175. package/dist/chunks/{workspace-fdczpx5s.js → image-h9dnnr50.js} +18 -18
  176. package/dist/chunks/{workspace-qs96j4t3.js → image-hcw5s73j.js} +361 -355
  177. package/dist/chunks/{workspace-pk123et4.js → image-hfmwzvp5.js} +37 -37
  178. package/dist/chunks/{workspace-znvmg0xb.js → image-hkhkbvk0.js} +4 -4
  179. package/dist/chunks/{workspace-m9py3t94.js → image-hnaq8hr3.js} +77 -77
  180. package/dist/chunks/{workspace-7h3ekc0e.js → image-j0c0qck9.js} +7 -7
  181. package/dist/chunks/{workspace-knpbkrg7.js → image-j376ae4e.js} +4 -4
  182. package/dist/chunks/{workspace-6d4rtfjy.js → image-j3vekx9t.js} +1 -1
  183. package/dist/chunks/{workspace-kekqsqqd.js → image-j8azkgjv.js} +16 -13
  184. package/dist/chunks/{workspace-pfqw83hm.js → image-j8xx8pcz.js} +2 -2
  185. package/dist/chunks/{workspace-ze75qvmd.js → image-j9nxzz3g.js} +3 -3
  186. package/dist/chunks/{workspace-y9hckaaa.js → image-ja2hdmbx.js} +3 -3
  187. package/dist/chunks/{workspace-2g7dwy4s.js → image-jhdwfvxj.js} +35 -35
  188. package/dist/chunks/{workspace-jm70asfg.js → image-jm70asfg.js} +1 -1
  189. package/dist/chunks/{workspace-ev9xz77x.js → image-jmwgcayr.js} +15 -15
  190. package/dist/chunks/{workspace-2bkzfbsz.js → image-jnckdpqq.js} +43 -43
  191. package/dist/chunks/{workspace-t8erkws8.js → image-jv5ccajn.js} +5 -5
  192. package/dist/chunks/{workspace-vam0z8fa.js → image-jw6vavyy.js} +18 -18
  193. package/dist/chunks/{workspace-d4qb2rc3.js → image-jwve1gmd.js} +4 -4
  194. package/dist/chunks/{workspace-2r1es908.js → image-jxd6f16v.js} +4 -4
  195. package/dist/chunks/{workspace-6h7vsf3n.js → image-jz54jwmd.js} +5 -5
  196. package/dist/chunks/{workspace-at45f4fp.js → image-k6ks5nht.js} +33 -33
  197. package/dist/chunks/{workspace-k4h5p2ad.js → image-ka4hdt9m.js} +6 -6
  198. package/dist/chunks/{workspace-0mk1tev8.js → image-kdvh6dtt.js} +29 -29
  199. package/dist/chunks/{workspace-a4ww6fpm.js → image-kgq6c069.js} +6 -6
  200. package/dist/chunks/{workspace-baxwm4d8.js → image-kjzchk72.js} +7 -7
  201. package/dist/chunks/{workspace-5xt13vk8.js → image-kkmg8mrh.js} +35 -35
  202. package/dist/chunks/{workspace-4nq527ny.js → image-kpzvbjja.js} +3 -3
  203. package/dist/chunks/{workspace-vdbfgpn3.js → image-krhx29sx.js} +5 -5
  204. package/dist/chunks/{workspace-4krz84m7.js → image-kvmx4gfp.js} +7 -7
  205. package/dist/chunks/{workspace-kzczzf4v.js → image-kzczzf4v.js} +1 -1
  206. package/dist/chunks/{workspace-bq5ppnsn.js → image-kze6nzna.js} +4 -4
  207. package/dist/chunks/{workspace-scpjtdd8.js → image-m02ngggr.js} +60 -60
  208. package/dist/chunks/{workspace-97j0qqrs.js → image-m10h1t4v.js} +33 -33
  209. package/dist/chunks/{workspace-z9w7d102.js → image-m144teev.js} +28 -28
  210. package/dist/chunks/{workspace-m1714858.js → image-m1714858.js} +1 -1
  211. package/dist/chunks/{workspace-fwp9mfc9.js → image-m7xh3h0x.js} +4 -4
  212. package/dist/chunks/{workspace-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  213. package/dist/chunks/{workspace-mb7mbhnz.js → image-mb7mbhnz.js} +3 -3
  214. package/dist/chunks/{workspace-qdr4rq3e.js → image-me8eetjk.js} +33 -33
  215. package/dist/chunks/{workspace-mm06edep.js → image-mm06edep.js} +1 -1
  216. package/dist/chunks/{workspace-vn84zkq5.js → image-mn65da8d.js} +4 -4
  217. package/dist/chunks/{workspace-vg0erq9k.js → image-mqe7nf5n.js} +3 -3
  218. package/dist/chunks/{workspace-9cn7jfar.js → image-mxkp4nz4.js} +5 -5
  219. package/dist/chunks/{workspace-6caf7qbs.js → image-n52ntc90.js} +3 -3
  220. package/dist/chunks/{workspace-50n8f5wq.js → image-n89mkvab.js} +9 -9
  221. package/dist/chunks/{workspace-f59t34pb.js → image-n90dran5.js} +29 -29
  222. package/dist/chunks/{workspace-nchw3v9s.js → image-nchw3v9s.js} +2 -2
  223. package/dist/chunks/{workspace-ehnbt8y2.js → image-ncwdf7xm.js} +15 -15
  224. package/dist/chunks/{workspace-x7p9qjep.js → image-nd2y993x.js} +27 -27
  225. package/dist/chunks/{workspace-37pk4rrs.js → image-nehgkh2k.js} +14 -14
  226. package/dist/chunks/{workspace-ars90k0f.js → image-npnjq2ds.js} +8 -8
  227. package/dist/chunks/{workspace-p44ynsf9.js → image-nq25yh39.js} +16 -13
  228. package/dist/chunks/{workspace-7m9jtzqb.js → image-nv1p69fx.js} +15 -15
  229. package/dist/chunks/{workspace-75a2gs08.js → image-nw5eecxx.js} +1 -1
  230. package/dist/chunks/{workspace-caqm80py.js → image-p46yhy6h.js} +4 -4
  231. package/dist/chunks/{workspace-0j6nkc2e.js → image-p4w5px8h.js} +14 -14
  232. package/dist/chunks/{workspace-tp49b57m.js → image-p6ek42b6.js} +8 -8
  233. package/dist/chunks/{workspace-kqddg63j.js → image-p8pjvayg.js} +3 -3
  234. package/dist/chunks/{workspace-fmsk93db.js → image-pfp2cdwb.js} +8 -8
  235. package/dist/chunks/{workspace-pknna89w.js → image-pknna89w.js} +1 -1
  236. package/dist/chunks/{workspace-d390zwf3.js → image-pnwsrq7c.js} +8 -8
  237. package/dist/chunks/{workspace-yey25jw1.js → image-ppxwaz2f.js} +8 -8
  238. package/dist/chunks/{workspace-bmydr3hf.js → image-pzfb8wxx.js} +25 -25
  239. package/dist/chunks/{workspace-rhd7v640.js → image-q7swgyvp.js} +33 -33
  240. package/dist/chunks/{workspace-wmhg6hg6.js → image-q86br2fz.js} +15 -15
  241. package/dist/chunks/{workspace-p7ra6mek.js → image-qbchxtmw.js} +42 -42
  242. package/dist/chunks/{workspace-mcvncqkb.js → image-qf1mhmyq.js} +6 -6
  243. package/dist/chunks/{workspace-574s5hg6.js → image-qfvy96k7.js} +4 -4
  244. package/dist/chunks/{workspace-1303zeef.js → image-qmg3nejr.js} +9 -9
  245. package/dist/chunks/{workspace-xjvm1wye.js → image-qmpxexvn.js} +41 -41
  246. package/dist/chunks/{workspace-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
  247. package/dist/chunks/{workspace-kvq38q23.js → image-qt0cjsxj.js} +16 -16
  248. package/dist/chunks/{workspace-bkv5etzs.js → image-qwt0jdbt.js} +47 -47
  249. package/dist/chunks/{workspace-z2dpjp0f.js → image-qx8685tk.js} +4 -4
  250. package/dist/chunks/{workspace-x3dwxgt2.js → image-r1rndmnb.js} +23 -23
  251. package/dist/chunks/{workspace-r542h3bh.js → image-r542h3bh.js} +1 -1
  252. package/dist/chunks/{workspace-n3j33rb6.js → image-r7zrbnjn.js} +4 -4
  253. package/dist/chunks/{workspace-fc9d0whs.js → image-r8xb51g4.js} +22 -65
  254. package/dist/chunks/{workspace-bzcevmya.js → image-r97y7z4q.js} +23 -23
  255. package/dist/chunks/{workspace-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  256. package/dist/chunks/{workspace-rgc9cx3e.js → image-rgc9cx3e.js} +2 -2
  257. package/dist/chunks/{workspace-t521gf9q.js → image-rhx7sxcq.js} +9 -9
  258. package/dist/chunks/{workspace-ww75070p.js → image-rjjp10n0.js} +16 -16
  259. package/dist/chunks/{workspace-hgn89zd1.js → image-rrfj5kzf.js} +36 -36
  260. package/dist/chunks/{workspace-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  261. package/dist/chunks/{workspace-f1r7qwst.js → image-rxbrvpc6.js} +4 -4
  262. package/dist/chunks/{workspace-ve7y5qbm.js → image-rzhsenre.js} +25 -25
  263. package/dist/chunks/{workspace-pah254n3.js → image-s1ba0vj0.js} +4 -4
  264. package/dist/chunks/{workspace-bhfd478d.js → image-s26c8eb5.js} +4 -4
  265. package/dist/chunks/{workspace-55v12qa6.js → image-s3mvrmpv.js} +11 -11
  266. package/dist/chunks/{workspace-qfvbtd9b.js → image-s4gbq77g.js} +31 -31
  267. package/dist/chunks/{workspace-7ane29vr.js → image-s4gg8fqd.js} +15 -15
  268. package/dist/chunks/{workspace-n6vj9dqb.js → image-s4pv3sv6.js} +6 -6
  269. package/dist/chunks/{workspace-7smtdct0.js → image-s8v1c8qj.js} +12 -12
  270. package/dist/chunks/{workspace-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{workspace-sbya78hr.js → image-sbya78hr.js} +1 -1
  272. package/dist/chunks/{workspace-jgd4e8e6.js → image-sf9y72b7.js} +4 -4
  273. package/dist/chunks/{workspace-1bx7q8nr.js → image-sqg7s7mh.js} +9 -9
  274. package/dist/chunks/{workspace-0j7gp832.js → image-sqjzf8x2.js} +4 -4
  275. package/dist/chunks/{workspace-9j4v15dw.js → image-sryexa64.js} +4 -4
  276. package/dist/chunks/{workspace-svcy3p9a.js → image-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{workspace-f4krjp8e.js → image-sx27c7qs.js} +7 -7
  278. package/dist/chunks/{workspace-5jgxv5yq.js → image-sx65a310.js} +13 -13
  279. package/dist/chunks/{workspace-5j59vfgn.js → image-t4hbgkrg.js} +50 -50
  280. package/dist/chunks/image-t6ajyazv.js +53 -0
  281. package/dist/chunks/{workspace-6w81cxr7.js → image-t82zdxkn.js} +27 -27
  282. package/dist/chunks/{workspace-y2ptcyja.js → image-t9re252t.js} +28 -28
  283. package/dist/chunks/{workspace-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  284. package/dist/chunks/{workspace-czxmwfdg.js → image-tdprqhz1.js} +20 -20
  285. package/dist/chunks/{workspace-4pw98qd4.js → image-tmd1r8tg.js} +4 -4
  286. package/dist/chunks/{workspace-q4svz67e.js → image-ts79kh9t.js} +19 -19
  287. package/dist/chunks/{workspace-348fzt08.js → image-tt9wpcwc.js} +28 -28
  288. package/dist/chunks/{workspace-eck3pvym.js → image-tv28p82x.js} +5 -5
  289. package/dist/chunks/{workspace-twssxy5n.js → image-twssxy5n.js} +2 -2
  290. package/dist/chunks/{workspace-n7q0hate.js → image-v2qcsn0z.js} +11 -11
  291. package/dist/chunks/{workspace-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{workspace-b6c5ggjb.js → image-v8kqybhm.js} +34 -34
  293. package/dist/chunks/{workspace-aj5fgcv7.js → image-vcczav70.js} +7 -7
  294. package/dist/chunks/{workspace-83yvc02p.js → image-vhjswrnf.js} +27 -27
  295. package/dist/chunks/{workspace-vjf35v1f.js → image-vjf35v1f.js} +1 -1
  296. package/dist/chunks/{workspace-20pht57w.js → image-vmqe41cb.js} +4 -4
  297. package/dist/chunks/{workspace-8kcs33zx.js → image-vmvta781.js} +5 -5
  298. package/dist/chunks/{workspace-33wwkde5.js → image-vr6evk9h.js} +20 -20
  299. package/dist/chunks/{workspace-229tvxdn.js → image-vt2d6wap.js} +4 -4
  300. package/dist/chunks/{workspace-9x2qg9pq.js → image-w1yx0887.js} +19 -19
  301. package/dist/chunks/{workspace-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  302. package/dist/chunks/{workspace-87pdjwah.js → image-w6d5c0cg.js} +12 -12
  303. package/dist/chunks/{workspace-zxzphe8d.js → image-w8mhet88.js} +17 -17
  304. package/dist/chunks/{workspace-0cmpn9c6.js → image-w9akxy8a.js} +12 -12
  305. package/dist/chunks/{workspace-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  306. package/dist/chunks/{workspace-0730n636.js → image-wbqzq31q.js} +32 -32
  307. package/dist/chunks/{workspace-wd87259q.js → image-wd87259q.js} +1 -1
  308. package/dist/chunks/{workspace-wegkxhrn.js → image-wegkxhrn.js} +2 -2
  309. package/dist/chunks/{workspace-v37bc009.js → image-weqc7sb9.js} +2 -2
  310. package/dist/chunks/{workspace-qsdghx1p.js → image-wfdx5ztx.js} +4 -4
  311. package/dist/chunks/{workspace-v7bhfc4q.js → image-wk8n697k.js} +40 -40
  312. package/dist/chunks/{workspace-0h8y3ex8.js → image-wr3re1en.js} +4 -4
  313. package/dist/chunks/{workspace-2ss4x588.js → image-wr8538z1.js} +10 -10
  314. package/dist/chunks/{workspace-rxg3th5z.js → image-ww04r310.js} +11 -11
  315. package/dist/chunks/{workspace-pb94tfqt.js → image-ww5ctf9z.js} +9 -9
  316. package/dist/chunks/{workspace-jcb0fr6q.js → image-wy26kztd.js} +15 -15
  317. package/dist/chunks/{workspace-7nqkf5r1.js → image-x4mcewfn.js} +4 -4
  318. package/dist/chunks/{workspace-q63wdnth.js → image-x65pg8y6.js} +21 -21
  319. package/dist/chunks/{workspace-a26vdw7f.js → image-xavm1nma.js} +17 -17
  320. package/dist/chunks/{workspace-d8mebr7j.js → image-xbm420df.js} +11 -11
  321. package/dist/chunks/{workspace-mp62b2pv.js → image-xcd9x2m8.js} +19 -19
  322. package/dist/chunks/{workspace-etpy72cx.js → image-xg85k6qh.js} +26 -23
  323. package/dist/chunks/{workspace-qctjb626.js → image-xjv0j3p1.js} +4 -4
  324. package/dist/chunks/{workspace-bz0b2j3k.js → image-xm9v27am.js} +17 -17
  325. package/dist/chunks/{workspace-2kj7f5bg.js → image-xmx7xj34.js} +7 -7
  326. package/dist/chunks/{workspace-0ppn72gd.js → image-xpaagfnw.js} +8 -8
  327. package/dist/chunks/{workspace-xxschbft.js → image-xxschbft.js} +1 -1
  328. package/dist/chunks/{workspace-pa1as6qa.js → image-y3km2dqd.js} +22 -22
  329. package/dist/chunks/{workspace-bgd9s1ff.js → image-y6g9ps9m.js} +16 -16
  330. package/dist/chunks/{workspace-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  331. package/dist/chunks/{workspace-8e8wqawb.js → image-ybjb08fp.js} +38 -31
  332. package/dist/chunks/{workspace-tp10xhh7.js → image-ybtve0yw.js} +9 -9
  333. package/dist/chunks/{workspace-6zps0eyt.js → image-ybws1qgk.js} +6 -6
  334. package/dist/chunks/{workspace-62xw0mvt.js → image-yfvje0j3.js} +3 -3
  335. package/dist/chunks/{workspace-8fvyfs7w.js → image-ykp72mz6.js} +18 -18
  336. package/dist/chunks/{workspace-yr705xyq.js → image-yr705xyq.js} +1 -1
  337. package/dist/chunks/{workspace-yts2a8qm.js → image-yts2a8qm.js} +1 -1
  338. package/dist/chunks/{workspace-yvtc2x31.js → image-yvtc2x31.js} +1 -1
  339. package/dist/chunks/{workspace-d6vvd2ec.js → image-yw29qg17.js} +30 -30
  340. package/dist/chunks/{workspace-z3eg134k.js → image-z3k32dq3.js} +13 -13
  341. package/dist/chunks/{workspace-ck76ea61.js → image-z42jmq9s.js} +21 -21
  342. package/dist/chunks/image-z7bdqmx5.js +18 -0
  343. package/dist/chunks/{workspace-bma2xte4.js → image-z8y0wng0.js} +6 -6
  344. package/dist/chunks/{workspace-xjksw0pd.js → image-za1jhmjh.js} +10 -10
  345. package/dist/chunks/{workspace-9x9jzkyy.js → image-zh26pg9r.js} +28 -28
  346. package/dist/chunks/{workspace-v2bkhstg.js → image-zhyjgva6.js} +5 -5
  347. package/dist/chunks/{workspace-q93jpgmj.js → image-zpjwqtwn.js} +50 -50
  348. package/dist/chunks/{workspace-zjcx5m3z.js → image-zq59e3z3.js} +9 -9
  349. package/dist/chunks/{workspace-av6f822f.js → image-zqgsnbgv.js} +31 -31
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -146
  353. package/dist/codemode/instructions.js +7 -7
  354. package/dist/codemode/tool.js +155 -152
  355. package/dist/command.js +96 -96
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +131 -131
  362. package/dist/config/plugin/command.js +238 -237
  363. package/dist/config/plugin/compaction.js +173 -172
  364. package/dist/config/plugin/compatibility.js +153 -151
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +132 -132
  370. package/dist/config/plugin/mcp.js +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +132 -132
  375. package/dist/config/plugin/skill-file.js +149 -147
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +132 -132
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +131 -131
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +135 -135
  386. package/dist/console-access.js +7 -7
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +105 -105
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -439
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +1 -1
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +107 -107
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +3 -3
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +156 -154
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -162
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +253 -252
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +118 -118
  503. package/dist/flag.js +142 -0
  504. package/dist/form.js +93 -93
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +122 -122
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +3 -3
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -430
  535. package/dist/instruction-discovery.js +97 -97
  536. package/dist/instructions/builtins.js +98 -98
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +1 -1
  539. package/dist/integration.js +96 -96
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -179
  547. package/dist/location-lifecycle.js +153 -151
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -427
  550. package/dist/location.js +100 -100
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -156
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +124 -124
  555. package/dist/mcp/instructions.js +187 -184
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +110 -110
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -155
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +110 -110
  563. package/dist/model-retry.js +5 -1
  564. package/dist/model.js +111 -111
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +91 -91
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +156 -154
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +101 -101
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -243
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +407 -406
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +127 -127
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -147
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -158
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -236
  657. package/dist/plugin/sdk.js +87 -87
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -150
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +417 -416
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +6 -6
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +4 -4
  672. package/dist/plugin/websearch/parallel.js +7 -7
  673. package/dist/plugin/websearch/provider.js +1 -1
  674. package/dist/plugin/websearch/tavily.js +5 -5
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +251 -250
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +105 -105
  681. package/dist/provider.js +110 -110
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +111 -111
  685. package/dist/reference/instructions.js +99 -99
  686. package/dist/reference.js +101 -101
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -248
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +255 -254
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +1 -1
  698. package/dist/session/blob.js +132 -130
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +173 -172
  701. package/dist/session/context.js +203 -201
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +3 -3
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +249 -248
  707. package/dist/session/execution.js +171 -168
  708. package/dist/session/generate.js +206 -205
  709. package/dist/session/history.js +139 -137
  710. package/dist/session/inbox.js +150 -148
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -144
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -169
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +169 -166
  720. package/dist/session/projector.js +146 -144
  721. package/dist/session/prompt.js +151 -149
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -140
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -257
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -150
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +164 -162
  732. package/dist/session/runner/to-llm-message.js +140 -138
  733. package/dist/session/schema.js +3 -3
  734. package/dist/session/session.js +188 -185
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -148
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -143
  740. package/dist/session/stored.js +4 -4
  741. package/dist/session/subagent-completion.js +3 -3
  742. package/dist/session/subagent-job.js +237 -236
  743. package/dist/session/system-prompt.js +5 -5
  744. package/dist/session/title.js +207 -205
  745. package/dist/session/to-session-error.js +152 -149
  746. package/dist/session/transfer.js +244 -243
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +235 -234
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +7 -7
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +154 -152
  757. package/dist/skill.js +155 -153
  758. package/dist/snapshot.js +106 -106
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +188 -185
  763. package/dist/tool/plugin/artifact.js +236 -235
  764. package/dist/tool/plugin/edit.js +170 -168
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -172
  767. package/dist/tool/plugin/grep.js +173 -171
  768. package/dist/tool/plugin/image-generate.js +247 -246
  769. package/dist/tool/plugin/mcp-resource.js +169 -167
  770. package/dist/tool/plugin/opencode.js +166 -164
  771. package/dist/tool/plugin/patch.js +171 -169
  772. package/dist/tool/plugin/question.js +151 -149
  773. package/dist/tool/plugin/read.js +175 -173
  774. package/dist/tool/plugin/schedule.js +255 -254
  775. package/dist/tool/plugin/shell.js +243 -242
  776. package/dist/tool/plugin/skill.js +160 -158
  777. package/dist/tool/plugin/subagent.js +244 -243
  778. package/dist/tool/plugin/todo.js +156 -154
  779. package/dist/tool/plugin/webfetch.js +160 -158
  780. package/dist/tool/plugin/websearch.js +152 -150
  781. package/dist/tool/plugin/write.js +171 -169
  782. package/dist/tool/read-filesystem.js +116 -116
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +165 -162
  787. package/dist/types/flag.d.ts +32 -0
  788. package/dist/types/model-retry.d.ts +4 -1
  789. package/dist/types/plugin/internal.d.ts +2 -1
  790. package/dist/types/session/blob.d.ts +6 -4
  791. package/dist/usage-limits.js +100 -100
  792. package/dist/util/error-summary.js +1 -1
  793. package/dist/util/git-executable.js +3 -3
  794. package/dist/util/lazy.js +1 -1
  795. package/dist/util/slug.js +1 -1
  796. package/dist/util/token.js +1 -1
  797. package/dist/util/which.js +1 -1
  798. package/dist/util/wildcard.js +1 -1
  799. package/dist/v1/config/agent.js +5 -5
  800. package/dist/v1/config/command.js +5 -5
  801. package/dist/v1/config/mcp.js +4 -4
  802. package/dist/v1/config/migrate.js +105 -105
  803. package/dist/v1/config/permission.js +3 -3
  804. package/dist/v1/config/plugin.js +3 -3
  805. package/dist/v1/config/provider-options.js +1 -1
  806. package/dist/v1/config/provider.js +2 -2
  807. package/dist/variant.js +104 -104
  808. package/dist/vcs/patch.js +1 -1
  809. package/dist/vcs.js +102 -102
  810. package/dist/voice.js +99 -99
  811. package/dist/websearch.js +101 -101
  812. package/dist/wellknown/plugin.js +87 -87
  813. package/dist/wellknown.js +92 -92
  814. package/dist/workspace/driver.js +3 -3
  815. package/dist/workspace/sql.js +1 -1
  816. package/dist/workspace.js +91 -91
  817. package/dist/worktree/directory.js +2 -2
  818. package/dist/worktree/git.js +11 -11
  819. package/dist/worktree/sql.js +5 -5
  820. package/dist/worktree/strategies.js +102 -102
  821. package/dist/worktree.js +113 -113
  822. package/package.json +8 -8
  823. package/dist/chunks/workspace-2jmkt892.js +0 -26
  824. package/dist/chunks/workspace-6pkp7j51.js +0 -265
  825. package/dist/chunks/workspace-grzehpz7.js +0 -18
  826. package/dist/chunks/workspace-tt9rk80g.js +0 -16
  827. /package/dist/chunks/{workspace-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  828. /package/dist/chunks/{workspace-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  829. /package/dist/chunks/{workspace-108x4f4w.js → image-108x4f4w.js} +0 -0
  830. /package/dist/chunks/{workspace-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  831. /package/dist/chunks/{workspace-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  832. /package/dist/chunks/{workspace-1kah00gy.js → image-1kah00gy.js} +0 -0
  833. /package/dist/chunks/{workspace-24dcb14g.js → image-24dcb14g.js} +0 -0
  834. /package/dist/chunks/{workspace-2710q6r3.js → image-2710q6r3.js} +0 -0
  835. /package/dist/chunks/{workspace-2bv980vf.js → image-2bv980vf.js} +0 -0
  836. /package/dist/chunks/{workspace-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  837. /package/dist/chunks/{workspace-359p4xyc.js → image-359p4xyc.js} +0 -0
  838. /package/dist/chunks/{workspace-3af0jn4w.js → image-3af0jn4w.js} +0 -0
  839. /package/dist/chunks/{workspace-3asan66x.js → image-3asan66x.js} +0 -0
  840. /package/dist/chunks/{workspace-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  841. /package/dist/chunks/{workspace-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  842. /package/dist/chunks/{workspace-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  843. /package/dist/chunks/{workspace-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  844. /package/dist/chunks/{workspace-4qk9sjk2.js → image-4qk9sjk2.js} +0 -0
  845. /package/dist/chunks/{workspace-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  846. /package/dist/chunks/{workspace-53557ph1.js → image-53557ph1.js} +0 -0
  847. /package/dist/chunks/{workspace-550bvhaj.js → image-550bvhaj.js} +0 -0
  848. /package/dist/chunks/{workspace-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  849. /package/dist/chunks/{workspace-6agm2x70.js → image-6agm2x70.js} +0 -0
  850. /package/dist/chunks/{workspace-6prwharc.js → image-6prwharc.js} +0 -0
  851. /package/dist/chunks/{workspace-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  852. /package/dist/chunks/{workspace-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  853. /package/dist/chunks/{workspace-7m9af43g.js → image-7m9af43g.js} +0 -0
  854. /package/dist/chunks/{workspace-822emrt2.js → image-822emrt2.js} +0 -0
  855. /package/dist/chunks/{workspace-84wd9syh.js → image-84wd9syh.js} +0 -0
  856. /package/dist/chunks/{workspace-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  857. /package/dist/chunks/{workspace-8n3pysct.js → image-8n3pysct.js} +0 -0
  858. /package/dist/chunks/{workspace-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  859. /package/dist/chunks/{workspace-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  860. /package/dist/chunks/{workspace-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  861. /package/dist/chunks/{workspace-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  862. /package/dist/chunks/{workspace-af5trqkr.js → image-af5trqkr.js} +0 -0
  863. /package/dist/chunks/{workspace-afrmfg78.js → image-afrmfg78.js} +0 -0
  864. /package/dist/chunks/{workspace-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  865. /package/dist/chunks/{workspace-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  866. /package/dist/chunks/{workspace-beh6qq61.js → image-beh6qq61.js} +0 -0
  867. /package/dist/chunks/{workspace-bhmrqjy3.js → image-bhmrqjy3.js} +0 -0
  868. /package/dist/chunks/{workspace-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  869. /package/dist/chunks/{workspace-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  870. /package/dist/chunks/{workspace-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  871. /package/dist/chunks/{workspace-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  872. /package/dist/chunks/{workspace-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  873. /package/dist/chunks/{workspace-d9fn303g.js → image-d9fn303g.js} +0 -0
  874. /package/dist/chunks/{workspace-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  875. /package/dist/chunks/{workspace-dap0rakb.js → image-dap0rakb.js} +0 -0
  876. /package/dist/chunks/{workspace-df08tz66.js → image-df08tz66.js} +0 -0
  877. /package/dist/chunks/{workspace-dy18nga0.js → image-dy18nga0.js} +0 -0
  878. /package/dist/chunks/{workspace-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  879. /package/dist/chunks/{workspace-ean2d8b5.js → image-ean2d8b5.js} +0 -0
  880. /package/dist/chunks/{workspace-ec1grn59.js → image-ec1grn59.js} +0 -0
  881. /package/dist/chunks/{workspace-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  882. /package/dist/chunks/{workspace-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  883. /package/dist/chunks/{workspace-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  884. /package/dist/chunks/{workspace-faypxj3z.js → image-faypxj3z.js} +0 -0
  885. /package/dist/chunks/{workspace-fd410y7t.js → image-fd410y7t.js} +0 -0
  886. /package/dist/chunks/{workspace-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  887. /package/dist/chunks/{workspace-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  888. /package/dist/chunks/{workspace-g86h250q.js → image-g86h250q.js} +0 -0
  889. /package/dist/chunks/{workspace-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  890. /package/dist/chunks/{workspace-gftt206x.js → image-gftt206x.js} +0 -0
  891. /package/dist/chunks/{workspace-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  892. /package/dist/chunks/{workspace-hk9envan.js → image-hk9envan.js} +0 -0
  893. /package/dist/chunks/{workspace-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  894. /package/dist/chunks/{workspace-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  895. /package/dist/chunks/{workspace-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  896. /package/dist/chunks/{workspace-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  897. /package/dist/chunks/{workspace-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  898. /package/dist/chunks/{workspace-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  899. /package/dist/chunks/{workspace-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  900. /package/dist/chunks/{workspace-m18g726c.js → image-m18g726c.js} +0 -0
  901. /package/dist/chunks/{workspace-mp448xyj.js → image-mp448xyj.js} +0 -0
  902. /package/dist/chunks/{workspace-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  903. /package/dist/chunks/{workspace-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  904. /package/dist/chunks/{workspace-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  905. /package/dist/chunks/{workspace-nh4v3znn.js → image-nh4v3znn.js} +0 -0
  906. /package/dist/chunks/{workspace-njntx4h6.js → image-njntx4h6.js} +0 -0
  907. /package/dist/chunks/{workspace-p71gwv9c.js → image-p71gwv9c.js} +0 -0
  908. /package/dist/chunks/{workspace-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  909. /package/dist/chunks/{workspace-q74kybfr.js → image-q74kybfr.js} +0 -0
  910. /package/dist/chunks/{workspace-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  911. /package/dist/chunks/{workspace-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  912. /package/dist/chunks/{workspace-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  913. /package/dist/chunks/{workspace-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  914. /package/dist/chunks/{workspace-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  915. /package/dist/chunks/{workspace-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  916. /package/dist/chunks/{workspace-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  917. /package/dist/chunks/{workspace-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  918. /package/dist/chunks/{workspace-syrav9an.js → image-syrav9an.js} +0 -0
  919. /package/dist/chunks/{workspace-t03h4f5z.js → image-t03h4f5z.js} +0 -0
  920. /package/dist/chunks/{workspace-ty7weeps.js → image-ty7weeps.js} +0 -0
  921. /package/dist/chunks/{workspace-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  922. /package/dist/chunks/{workspace-vtarvj67.js → image-vtarvj67.js} +0 -0
  923. /package/dist/chunks/{workspace-w803qqfp.js → image-w803qqfp.js} +0 -0
  924. /package/dist/chunks/{workspace-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  925. /package/dist/chunks/{workspace-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  926. /package/dist/chunks/{workspace-wtztk69x.js → image-wtztk69x.js} +0 -0
  927. /package/dist/chunks/{workspace-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  928. /package/dist/chunks/{workspace-x61499pn.js → image-x61499pn.js} +0 -0
  929. /package/dist/chunks/{workspace-y44na4kk.js → image-y44na4kk.js} +0 -0
  930. /package/dist/chunks/{workspace-y8f7s663.js → image-y8f7s663.js} +0 -0
  931. /package/dist/chunks/{workspace-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  932. /package/dist/chunks/{workspace-z0h12gs8.js → image-z0h12gs8.js} +0 -0
  933. /package/dist/chunks/{workspace-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  934. /package/dist/chunks/{workspace-z9919s4g.js → image-z9919s4g.js} +0 -0
  935. /package/dist/chunks/{workspace-zxpyjp51.js → image-zxpyjp51.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  makeFiles2
3
- } from "./workspace-rgc9cx3e.js";
3
+ } from "./image-rgc9cx3e.js";
4
4
  import {
5
5
  makeLocalDriver2
6
- } from "./workspace-cwrgdav8.js";
6
+ } from "./image-cwrgdav8.js";
7
7
  import {
8
- Service61
9
- } from "./workspace-mp62b2pv.js";
8
+ Service83
9
+ } from "./image-xcd9x2m8.js";
10
10
  import {
11
11
  fingerprint2
12
- } from "./workspace-pz5w5yg9.js";
12
+ } from "./image-b3m5mspr.js";
13
13
  import {
14
- make24
15
- } from "./workspace-tp49b57m.js";
14
+ make26
15
+ } from "./image-p6ek42b6.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/mcp/pool.ts
21
21
  var exports_pool = {};
22
22
  __export(exports_pool, {
23
23
  McpPool: () => exports_pool,
24
- Service: () => Service38,
24
+ Service: () => Service37,
25
25
  key: () => key2,
26
- layer: () => layer16,
26
+ layer: () => layer18,
27
27
  node: () => node41
28
28
  });
29
29
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
32
32
  import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
33
33
  import { FetchHttpClient } from "effect/http";
34
34
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
35
- class Service38 extends Context.Service()("@opencode/McpPool") {
35
+ class Service37 extends Context.Service()("@opencode/McpPool") {
36
36
  }
37
37
  var key2 = (input) => {
38
38
  const config = input.config;
@@ -61,11 +61,11 @@ function fingerprint(secret) {
61
61
  return null;
62
62
  return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
63
63
  }
64
- var layer16 = Layer.effect(Service38, Effect.gen(function* () {
64
+ var layer18 = Layer.effect(Service37, Effect.gen(function* () {
65
65
  const scope = yield* Effect.scope;
66
66
  const run = yield* FiberSet.makeRuntime();
67
67
  const driver = makeLocalDriver2(yield* ChildProcessSpawner);
68
- const host = Service61.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ const host = Service83.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  const fetch = yield* FetchHttpClient.Fetch;
70
70
  const slots = new Map;
71
71
  const unpoolable = new Set;
@@ -77,7 +77,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
77
77
  lock: Semaphore.makeUnsafe(1),
78
78
  outcome: Deferred.makeUnsafe(),
79
79
  connected: false,
80
- connection: make24({
80
+ connection: make26({
81
81
  name: input.name,
82
82
  config: input.config,
83
83
  directory: input.directory,
@@ -179,7 +179,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
179
179
  });
180
180
  const connection = (input) => {
181
181
  const state = {};
182
- const privately = (config) => make24({
182
+ const privately = (config) => make26({
183
183
  ...input,
184
184
  config,
185
185
  authProvider: Effect.suspend(() => state.selected?.authProvider ?? input.authProvider)
@@ -263,8 +263,8 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
263
263
  catalog: (client) => live().catalog(client)
264
264
  };
265
265
  };
266
- return Service38.of({ connection });
266
+ return Service37.of({ connection });
267
267
  }));
268
- var node41 = makeGlobalNode({ service: Service38, layer: layer16, deps: [CrossSpawnSpawner.node, httpFetch] });
268
+ var node41 = makeGlobalNode({ service: Service37, layer: layer18, deps: [CrossSpawnSpawner.node, httpFetch] });
269
269
 
270
- export { Service38, key2, layer16, node41, exports_pool };
270
+ export { Service37, key2, layer18, node41, exports_pool };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  groups2
3
- } from "./workspace-vjf35v1f.js";
3
+ } from "./image-vjf35v1f.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/sync/decide.ts
9
9
  var exports_decide = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./workspace-z5v4ffb3.js";
4
+ } from "./image-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node84
10
- } from "./workspace-0cmpn9c6.js";
8
+ Service90,
9
+ node94
10
+ } from "./image-w9akxy8a.js";
11
11
  import {
12
- Service80,
13
- node82
14
- } from "./workspace-evkchrw3.js";
12
+ Service88,
13
+ node92
14
+ } from "./image-b94hv5d1.js";
15
15
  import {
16
16
  create4
17
- } from "./workspace-40y6dtc2.js";
17
+ } from "./image-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./workspace-9rqn6x4v.js";
20
+ } from "./image-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID9,
27
- Service: () => Service47,
25
+ Error: () => Error3,
26
+ ID: () => ID7,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node49,
30
- noopLayer: () => noopLayer3
29
+ node: () => node45,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service47 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service47, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service90;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service88;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID9.make(tree);
100
+ return ID7.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node49 = makeLocationNode({
159
- service: Service47,
158
+ var node45 = makeLocationNode({
159
+ service: Service42,
160
160
  layer,
161
- deps: [FSUtil.node, node84, Global.node, node82]
161
+ deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service47, Service47.of({
163
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service47, Service47.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error3 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error3({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error2, Service47, node49, noopLayer3, exports_snapshot2 };
181
+ export { ID7, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service77
4
- } from "./workspace-6w81cxr7.js";
3
+ Service79
4
+ } from "./image-t82zdxkn.js";
5
5
  import {
6
- Service70
7
- } from "./workspace-q93jpgmj.js";
6
+ Service74
7
+ } from "./image-zpjwqtwn.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service77;
12
+ const providers = yield* Service79;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service70);
14
+ const service = yield* Effect.serviceOption(Service74);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service80,
3
- node82
4
- } from "./workspace-evkchrw3.js";
2
+ Service88,
3
+ node92
4
+ } from "./image-b94hv5d1.js";
5
5
  import {
6
6
  Key3,
7
- make31,
7
+ make30,
8
8
  combine2
9
- } from "./workspace-n3j33rb6.js";
9
+ } from "./image-r7zrbnjn.js";
10
10
  import {
11
11
  __export
12
- } from "./workspace-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
18
  Service: () => Service29,
19
- node: () => node33
19
+ node: () => node34
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
@@ -25,10 +25,10 @@ class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
26
  var layer = Layer.effect(Service29, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service80;
28
+ const location = yield* Service88;
29
29
  return Service29.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make31({
31
+ make30({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make31({
40
+ make30({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node33 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node82] });
63
+ var node34 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node92] });
64
64
 
65
- export { Service29, node33, exports_builtins };
65
+ export { Service29, node34, exports_builtins };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/tools/names.ts
6
6
  var exports_names = {};
7
7
  __export(exports_names, {
8
8
  PREFIX: () => PREFIX2,
9
9
  ToolNames: () => exports_names,
10
- description: () => description7,
10
+ description: () => description2,
11
11
  original: () => original2,
12
12
  short: () => short2
13
13
  });
@@ -24,7 +24,7 @@ function original2(name, tools) {
24
24
  return tools.find((tool) => PREFIX2 + short2(tool.name) === name)?.name;
25
25
  }
26
26
  var DESCRIPTION_LIMIT = 2048;
27
- function description7(tool) {
27
+ function description2(tool) {
28
28
  const text = tool.description ?? "";
29
29
  if (tool.name !== "subagent" || text.length <= DESCRIPTION_LIMIT)
30
30
  return text.slice(0, DESCRIPTION_LIMIT);
@@ -36,4 +36,4 @@ function description7(tool) {
36
36
  ` + text.slice(0, agents)).slice(0, DESCRIPTION_LIMIT);
37
37
  }
38
38
 
39
- export { PREFIX2, short2, original2, description7, exports_names };
39
+ export { PREFIX2, short2, original2, description2, exports_names };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./workspace-ec1grn59.js";
3
+ } from "./image-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./workspace-z0h12gs8.js";
6
+ } from "./image-z0h12gs8.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./workspace-kdtpe2vy.js";
9
+ } from "./image-ff089ejz.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./workspace-8k3rmt1b.js";
4
+ } from "./image-dpm48xm5.js";
5
5
  import {
6
- Service80,
7
- node82
8
- } from "./workspace-evkchrw3.js";
6
+ Service88,
7
+ node92
8
+ } from "./image-b94hv5d1.js";
9
9
  import {
10
- Service68,
11
- node70
12
- } from "./workspace-7y4fptee.js";
10
+ Service72,
11
+ node74
12
+ } from "./image-0p5kzdyh.js";
13
13
  import {
14
14
  NotFoundError10
15
- } from "./workspace-y9hckaaa.js";
15
+ } from "./image-ja2hdmbx.js";
16
16
  import {
17
17
  match3
18
- } from "./workspace-1aqsckx4.js";
18
+ } from "./image-1aqsckx4.js";
19
19
  import {
20
- Service67,
21
- node69
22
- } from "./workspace-vwdcswbs.js";
20
+ Service70,
21
+ node72
22
+ } from "./image-bap6mpfc.js";
23
23
  import {
24
- Service66,
25
- node68
26
- } from "./workspace-cw7qf2q7.js";
24
+ Service71,
25
+ node73
26
+ } from "./image-24j3j2wk.js";
27
27
  import {
28
- Service69,
29
- node71
30
- } from "./workspace-2kedh6bd.js";
28
+ Service73,
29
+ node75
30
+ } from "./image-67mxzy6e.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./image-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,30 +39,30 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event11,
43
- ID: () => ID11,
44
- NotFoundError: () => NotFoundError8,
42
+ Event: () => Event12,
43
+ ID: () => ID10,
44
+ NotFoundError: () => NotFoundError9,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service65,
50
+ Service: () => Service69,
51
51
  Source: () => Source5,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node67
56
+ node: () => node71
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
60
60
  import { Permission } from "@opencode/schema/permission";
61
61
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
62
- import { Event as Event11 } from "@opencode/schema/permission";
62
+ import { Event as Event12 } from "@opencode/schema/permission";
63
63
  var PermissionEffect = Permission.Effect;
64
64
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
65
- var ID11 = Permission.ID;
65
+ var ID10 = Permission.ID;
66
66
  var Source5 = Permission.Source;
67
67
  var Request3 = Permission.Request;
68
68
  var Reply2 = Permission.Reply;
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
99
99
  }
100
100
  }
101
101
 
102
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
103
- requestID: ID11
102
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
103
+ requestID: ID10
104
104
  }) {
105
105
  }
106
106
  function evaluate3(action, resource, ...rulesets) {
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service65 extends Context.Service()("@opencode/Permission") {
117
+ class Service69 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service65, Effect.gen(function* () {
119
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
120
120
  const bus = yield* Service91;
121
- const location = yield* Service80;
122
- const agents = yield* Service68;
123
- const sessions = yield* Service67;
124
- const saved = yield* Service66;
125
- const hooks = yield* Service69;
121
+ const location = yield* Service88;
122
+ const agents = yield* Service72;
123
+ const sessions = yield* Service70;
124
+ const saved = yield* Service71;
125
+ const hooks = yield* Service73;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID11.create(),
189
+ id: input.id ?? ID10.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID11.create(), effect: "deny" };
214
+ return { id: input.id ?? ID10.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
258
258
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
259
259
  const existing = pending.get(input.requestID);
260
260
  if (!existing)
261
- return yield* new NotFoundError8({ requestID: input.requestID });
261
+ return yield* new NotFoundError9({ requestID: input.requestID });
262
262
  yield* bus.publish(Permission.Event.Replied, {
263
263
  sessionID: existing.request.sessionID,
264
264
  requestID: existing.request.id,
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service65.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service69.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node67 = makeLocationNode({
319
- service: Service65,
318
+ var node71 = makeLocationNode({
319
+ service: Service69,
320
320
  layer,
321
- deps: [node95, node82, node70, node69, node68, node71]
321
+ deps: [node95, node92, node74, node72, node73, node75]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate3, merge2, Service65, node67, exports_permission, Rule2, Ruleset2, Event11 };
324
+ export { PermissionEffect, ID10, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service69, node71, exports_permission, Rule2, Ruleset2, Event12 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID16,
2
+ ID15,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./workspace-6w81cxr7.js";
5
+ } from "./image-t82zdxkn.js";
6
6
  import {
7
- ID15,
7
+ ID14,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info22
11
- } from "./workspace-0mk1tev8.js";
11
+ } from "./image-kdvh6dtt.js";
12
12
  import {
13
13
  __export
14
- } from "./workspace-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load5
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load4
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Effect, Option, Schema } from "effect";
@@ -68,17 +68,17 @@ var RemoteModel = Schema.Struct({
68
68
  });
69
69
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- function get3(http, baseURL, headers, existing) {
72
- return load5(http, baseURL, headers).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
71
+ function get2(http, baseURL, headers, existing) {
72
+ return load4(http, baseURL, headers).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
73
73
  }
74
- var load5 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
74
+ var load4 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
75
75
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL}/models`).pipe(HttpClientRequest.setHeaders(headers))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("5 seconds"));
76
76
  return new Map(response.data.flatMap((raw) => {
77
77
  const model = Option.getOrUndefined(decodeModel(raw));
78
78
  return model && usable(model) ? [[model.id, model]] : [];
79
79
  }));
80
80
  });
81
- function derive3(baseURL, remote, existing) {
81
+ function derive2(baseURL, remote, existing) {
82
82
  const result = new Map(existing.map((model) => [model.id, model]));
83
83
  for (const [id, model] of result) {
84
84
  const current = remote.get(model.modelID);
@@ -89,7 +89,7 @@ function derive3(baseURL, remote, existing) {
89
89
  result.set(id, build(id, current, baseURL, model));
90
90
  }
91
91
  for (const [id, model] of remote) {
92
- const key = ID15.make(id);
92
+ const key = ID14.make(id);
93
93
  if (result.has(key))
94
94
  continue;
95
95
  result.set(key, build(key, model, baseURL));
@@ -114,10 +114,10 @@ function build(id, remote, baseURL, previous) {
114
114
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
115
115
  const released = previous?.time.released || Date.parse(version);
116
116
  return Info22.make({
117
- ...Info22.default(ID16.githubCopilot, id),
117
+ ...Info22.default(ID15.githubCopilot, id),
118
118
  id,
119
- modelID: ID15.make(remote.id),
120
- providerID: ID16.githubCopilot,
119
+ modelID: ID14.make(remote.id),
120
+ providerID: ID15.githubCopilot,
121
121
  family: previous?.family ?? Family2.make(remote.capabilities.family),
122
122
  name: previous?.name ?? remote.name,
123
123
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -192,4 +192,4 @@ function variants(remote, messages) {
192
192
  ];
193
193
  }
194
194
 
195
- export { get3, load5, derive3, exports_models2 };
195
+ export { get2, load4, derive2, exports_models };