@opencode/core 0.0.0-dev-449 → 0.0.0-dev-455

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 (555) hide show
  1. package/dist/agent.js +76 -76
  2. package/dist/aisdk-native.js +79 -79
  3. package/dist/aisdk.js +84 -84
  4. package/dist/app.js +7 -7
  5. package/dist/artifact.js +191 -191
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-retention-me8mm9z9.js → file-retention-05aqx4at.js} +47 -47
  8. package/dist/chunks/{file-retention-kx9qtpmv.js → file-retention-06w90rm1.js} +15 -15
  9. package/dist/chunks/{file-retention-nyra3b4e.js → file-retention-0aycggmx.js} +19 -19
  10. package/dist/chunks/{file-retention-3tfpa1a4.js → file-retention-0bhp1jsg.js} +17 -17
  11. package/dist/chunks/{file-retention-3th5y0xn.js → file-retention-0cwqm0ac.js} +37 -37
  12. package/dist/chunks/{file-retention-m7ykyrbv.js → file-retention-0jstpsmh.js} +21 -21
  13. package/dist/chunks/{file-retention-emaa4905.js → file-retention-0r7m7rz3.js} +12 -12
  14. package/dist/chunks/{file-retention-gxahm4xg.js → file-retention-0wcgapck.js} +4 -4
  15. package/dist/chunks/{file-retention-a0vapen2.js → file-retention-1gep6f7s.js} +7 -7
  16. package/dist/chunks/{file-retention-7th9pvxb.js → file-retention-1pd9p4zg.js} +22 -22
  17. package/dist/chunks/{file-retention-hecddnr3.js → file-retention-1phbxqt1.js} +1 -1
  18. package/dist/chunks/{file-retention-dqxhv1nb.js → file-retention-1pq4mddz.js} +18 -18
  19. package/dist/chunks/{file-retention-djp2yf7t.js → file-retention-1tdxr5p7.js} +29 -29
  20. package/dist/chunks/{file-retention-ybws1qgk.js → file-retention-1v2g13eq.js} +2 -2
  21. package/dist/chunks/file-retention-1v8gr36j.js +261 -0
  22. package/dist/chunks/{file-retention-5zgc43gz.js → file-retention-200qe1b4.js} +15 -15
  23. package/dist/chunks/{file-retention-1scgcwfj.js → file-retention-2cdjxzfg.js} +2 -2
  24. package/dist/chunks/{file-retention-qfbjs7tc.js → file-retention-2dfh1hr2.js} +28 -28
  25. package/dist/chunks/{file-retention-z4qfpq4d.js → file-retention-2n7mmhny.js} +20 -20
  26. package/dist/chunks/{file-retention-s1ba0vj0.js → file-retention-2p60zmnr.js} +1 -1
  27. package/dist/chunks/{file-retention-60m2sppj.js → file-retention-2ydq151f.js} +12 -12
  28. package/dist/chunks/{file-retention-xzb1rrrv.js → file-retention-30asjkfk.js} +11 -11
  29. package/dist/chunks/file-retention-3aarzgek.js +26 -0
  30. package/dist/chunks/{file-retention-y8y3xh3s.js → file-retention-3d3mj0t0.js} +356 -356
  31. package/dist/chunks/{file-retention-ys7rp9j6.js → file-retention-3g1e149e.js} +13 -13
  32. package/dist/chunks/{file-retention-a95pzf1x.js → file-retention-3gvmrzme.js} +34 -34
  33. package/dist/chunks/{file-retention-gve1ghrf.js → file-retention-3kr3r5pw.js} +1 -1
  34. package/dist/chunks/{file-retention-kx4857fp.js → file-retention-3nfqphsz.js} +27 -27
  35. package/dist/chunks/{file-retention-j3f8hyeg.js → file-retention-3ryz99p0.js} +3 -3
  36. package/dist/chunks/{file-retention-7kjy5yhf.js → file-retention-3zhtqa8b.js} +10 -10
  37. package/dist/chunks/{file-retention-jxd6f16v.js → file-retention-44pmzq9c.js} +1 -1
  38. package/dist/chunks/{file-retention-vatt5ny9.js → file-retention-496yft2b.js} +6 -6
  39. package/dist/chunks/{file-retention-0yn3ka5j.js → file-retention-4angwywx.js} +18 -18
  40. package/dist/chunks/{file-retention-b6prfk3g.js → file-retention-4aqrmm1g.js} +1 -1
  41. package/dist/chunks/{file-retention-3dpbtckw.js → file-retention-4gggmape.js} +1 -1
  42. package/dist/chunks/{file-retention-gf5d3kfh.js → file-retention-4pa2br34.js} +37 -37
  43. package/dist/chunks/{file-retention-cn4qtwde.js → file-retention-4pmefyym.js} +30 -30
  44. package/dist/chunks/{file-retention-sakzxw8a.js → file-retention-4s01kztf.js} +7 -7
  45. package/dist/chunks/{file-retention-9kgghjmg.js → file-retention-4whyrg43.js} +5 -5
  46. package/dist/chunks/{file-retention-7gaksq79.js → file-retention-4xape4ax.js} +19 -19
  47. package/dist/chunks/{file-retention-07mz05rb.js → file-retention-4yazknq3.js} +47 -47
  48. package/dist/chunks/{file-retention-pb6wsrs5.js → file-retention-55mjyme4.js} +3 -3
  49. package/dist/chunks/{file-retention-61c892db.js → file-retention-581r698v.js} +1 -1
  50. package/dist/chunks/{file-retention-34cvy9ct.js → file-retention-5b8228w4.js} +11 -11
  51. package/dist/chunks/{file-retention-433pf4gj.js → file-retention-5cfjc002.js} +81 -81
  52. package/dist/chunks/{file-retention-8qcax5vp.js → file-retention-5em2n0xv.js} +31 -31
  53. package/dist/chunks/{file-retention-g6nneh33.js → file-retention-5ewy4ftf.js} +34 -34
  54. package/dist/chunks/{file-retention-rt7n98jb.js → file-retention-5j4z2rnn.js} +20 -20
  55. package/dist/chunks/{file-retention-7vk0t554.js → file-retention-5m3xrn1j.js} +7 -7
  56. package/dist/chunks/{file-retention-aedrg0ge.js → file-retention-5qg32bbs.js} +23 -23
  57. package/dist/chunks/{file-retention-kdcv3xak.js → file-retention-5s9wkzxm.js} +16 -16
  58. package/dist/chunks/{file-retention-28nhxqg9.js → file-retention-5td38wnz.js} +13 -13
  59. package/dist/chunks/{file-retention-1yq9hg58.js → file-retention-5zrxpy3q.js} +4 -4
  60. package/dist/chunks/{file-retention-78p2h4ex.js → file-retention-61qraad9.js} +3 -3
  61. package/dist/chunks/{file-retention-6nkv0fkw.js → file-retention-650f1sfx.js} +9 -9
  62. package/dist/chunks/{file-retention-qzdnvnff.js → file-retention-68qb3djy.js} +8 -8
  63. package/dist/chunks/{file-retention-acpwnfxs.js → file-retention-68tk6k3r.js} +11 -11
  64. package/dist/chunks/{file-retention-yc2h06fb.js → file-retention-68tn9ypg.js} +12 -12
  65. package/dist/chunks/{file-retention-4awjamkd.js → file-retention-6sg7v011.js} +1 -1
  66. package/dist/chunks/{file-retention-mr07ez2r.js → file-retention-6xnqn21j.js} +5 -5
  67. package/dist/chunks/{file-retention-kpkf4881.js → file-retention-6xwywkh7.js} +19 -13
  68. package/dist/chunks/{file-retention-hwq2cs9e.js → file-retention-6zvhcg4h.js} +14 -14
  69. package/dist/chunks/{file-retention-n2pc7kwe.js → file-retention-721agqj7.js} +32 -32
  70. package/dist/chunks/{file-retention-v5yvcr0w.js → file-retention-72b6x64g.js} +5 -5
  71. package/dist/chunks/{file-retention-wvr8xscb.js → file-retention-79k544d0.js} +6 -6
  72. package/dist/chunks/{file-retention-hkh70t29.js → file-retention-7ecjk65p.js} +10 -10
  73. package/dist/chunks/file-retention-7etbzm9y.js +46 -0
  74. package/dist/chunks/{file-retention-h6jcj9p8.js → file-retention-7jen3kst.js} +7 -7
  75. package/dist/chunks/{file-retention-cjgsn2s6.js → file-retention-837bxc3c.js} +10 -10
  76. package/dist/chunks/{file-retention-7xm9wv05.js → file-retention-87jq36v2.js} +14 -14
  77. package/dist/chunks/{file-retention-wzp3mys1.js → file-retention-8eshswe5.js} +2 -2
  78. package/dist/chunks/{file-retention-zm27gg57.js → file-retention-8sxe6kv8.js} +6 -1
  79. package/dist/chunks/{file-retention-yx1z8yqh.js → file-retention-8v7h9drr.js} +43 -41
  80. package/dist/chunks/{file-retention-yf177qcx.js → file-retention-90gj1595.js} +1 -1
  81. package/dist/chunks/{file-retention-89rb9xh3.js → file-retention-9dm6vsa2.js} +33 -29
  82. package/dist/chunks/{file-retention-ctmpqb7w.js → file-retention-9f3jsh1d.js} +7 -7
  83. package/dist/chunks/{file-retention-txt9e0aq.js → file-retention-9g6yrp67.js} +197 -197
  84. package/dist/chunks/{file-retention-kzxm184s.js → file-retention-9gczbj86.js} +10 -10
  85. package/dist/chunks/{file-retention-n9x9rf44.js → file-retention-9pkyxfc8.js} +28 -28
  86. package/dist/chunks/{file-retention-gt12nt52.js → file-retention-9s6tmzsz.js} +12 -12
  87. package/dist/chunks/{file-retention-x38wddp3.js → file-retention-9s8ccxzp.js} +10 -10
  88. package/dist/chunks/{file-retention-f7kqgmxs.js → file-retention-9v7xfrsr.js} +8 -8
  89. package/dist/chunks/{file-retention-95c1p5m6.js → file-retention-9z0qc3sg.js} +28 -28
  90. package/dist/chunks/{file-retention-aakm8s55.js → file-retention-a1j9h5sv.js} +25 -25
  91. package/dist/chunks/{file-retention-q85rya1m.js → file-retention-a4ww6fpm.js} +5 -5
  92. package/dist/chunks/{file-retention-dgdxz5tx.js → file-retention-a5wpc3w3.js} +49 -49
  93. package/dist/chunks/{file-retention-a3q9dv9j.js → file-retention-abtpjz44.js} +27 -27
  94. package/dist/chunks/{file-retention-0chqk1tf.js → file-retention-agemttc5.js} +30 -30
  95. package/dist/chunks/{file-retention-h5mecdsr.js → file-retention-ananre62.js} +9 -9
  96. package/dist/chunks/{file-retention-cxbntz7s.js → file-retention-ap8y92rr.js} +8 -8
  97. package/dist/chunks/{file-retention-hb8g288h.js → file-retention-atscc837.js} +13 -13
  98. package/dist/chunks/{file-retention-6n7kk6x7.js → file-retention-av46dpsn.js} +8 -8
  99. package/dist/chunks/{file-retention-zece804q.js → file-retention-avaerfkj.js} +8 -8
  100. package/dist/chunks/{file-retention-7dhaefc4.js → file-retention-ay9b3rdk.js} +21 -21
  101. package/dist/chunks/{file-retention-gbyaw8gf.js → file-retention-b1tz7g4k.js} +23 -23
  102. package/dist/chunks/{file-retention-x8yhzycg.js → file-retention-b4rwxy6m.js} +7 -7
  103. package/dist/chunks/{file-retention-5nnwax6m.js → file-retention-b6vsg801.js} +3 -3
  104. package/dist/chunks/{file-retention-ccvcfenq.js → file-retention-b8n7cma0.js} +1 -1
  105. package/dist/chunks/{file-retention-wx1v6zv9.js → file-retention-ba16f7j8.js} +14 -14
  106. package/dist/chunks/{file-retention-zd3y931c.js → file-retention-bg3xpdpw.js} +22 -22
  107. package/dist/chunks/{file-retention-6ma7pn4v.js → file-retention-bjaevfq0.js} +9 -9
  108. package/dist/chunks/{file-retention-p55ejza0.js → file-retention-bnzx9dwt.js} +3 -3
  109. package/dist/chunks/{file-retention-nyxfy9wj.js → file-retention-brbp1jmy.js} +7 -7
  110. package/dist/chunks/{file-retention-31avdb49.js → file-retention-c0tz6aqz.js} +4 -4
  111. package/dist/chunks/{file-retention-64eehrrp.js → file-retention-c32zfq3f.js} +7 -7
  112. package/dist/chunks/{file-retention-62ngxq4c.js → file-retention-ctj276x0.js} +10 -10
  113. package/dist/chunks/{file-retention-g4v74gy6.js → file-retention-ctxsgcm2.js} +7 -7
  114. package/dist/chunks/{file-retention-s3ccn36m.js → file-retention-d1jwara1.js} +23 -23
  115. package/dist/chunks/{file-retention-9e0zdsd0.js → file-retention-d4gmqgvp.js} +13 -13
  116. package/dist/chunks/{file-retention-6bshxcsx.js → file-retention-d77dj7jw.js} +4 -4
  117. package/dist/chunks/{file-retention-xz5yt0yg.js → file-retention-d9b1e71e.js} +18 -18
  118. package/dist/chunks/{file-retention-y8e7ya07.js → file-retention-dbhc229r.js} +41 -41
  119. package/dist/chunks/{file-retention-at1c8yrs.js → file-retention-dcdd8gp0.js} +25 -25
  120. package/dist/chunks/{file-retention-237anfc9.js → file-retention-dcybvycp.js} +8 -8
  121. package/dist/chunks/{file-retention-yszbb02h.js → file-retention-dhv1xx0k.js} +9 -9
  122. package/dist/chunks/{file-retention-6bacesmw.js → file-retention-dkb1sx3x.js} +38 -34
  123. package/dist/chunks/{file-retention-f32h92jn.js → file-retention-dncts3kv.js} +56 -56
  124. package/dist/chunks/{file-retention-539dw32x.js → file-retention-dvnqv6yn.js} +3 -3
  125. package/dist/chunks/{file-retention-0tsw2pcx.js → file-retention-dvyrd087.js} +38 -38
  126. package/dist/chunks/{file-retention-rt5m8xq2.js → file-retention-dx38te4v.js} +19 -19
  127. package/dist/chunks/{file-retention-dwsd3zgn.js → file-retention-e5dmmprw.js} +9 -9
  128. package/dist/chunks/{file-retention-gv8nw05x.js → file-retention-e6er0smf.js} +5 -5
  129. package/dist/chunks/{file-retention-pn48ae9c.js → file-retention-evsac8k0.js} +25 -25
  130. package/dist/chunks/{file-retention-3vc76bbn.js → file-retention-f15w2kpp.js} +7 -7
  131. package/dist/chunks/{file-retention-x8pa5p51.js → file-retention-f3efch3k.js} +22 -22
  132. package/dist/chunks/{file-retention-6mzz8e2v.js → file-retention-f7rj94ae.js} +43 -43
  133. package/dist/chunks/{file-retention-z9ersv62.js → file-retention-fa7jqgqj.js} +3 -3
  134. package/dist/chunks/{file-retention-68cc458t.js → file-retention-ffka7n84.js} +11 -11
  135. package/dist/chunks/{file-retention-n56yhxz0.js → file-retention-fjjazzdv.js} +12 -12
  136. package/dist/chunks/{file-retention-qkc3z5ds.js → file-retention-fwp9mfc9.js} +3 -3
  137. package/dist/chunks/{file-retention-wr3re1en.js → file-retention-fznmdakp.js} +3 -3
  138. package/dist/chunks/{file-retention-et16066w.js → file-retention-g2jbspnp.js} +18 -18
  139. package/dist/chunks/{file-retention-whgw2pzj.js → file-retention-g63e6h3e.js} +25 -25
  140. package/dist/chunks/{file-retention-teyq45ea.js → file-retention-gbcn9d4h.js} +2 -2
  141. package/dist/chunks/{file-retention-8zh1h1pe.js → file-retention-gbgy6ap4.js} +4 -4
  142. package/dist/chunks/{file-retention-a1d98dpx.js → file-retention-gh4z7wry.js} +33 -33
  143. package/dist/chunks/{file-retention-p0g9dthf.js → file-retention-gj10dfeb.js} +4 -4
  144. package/dist/chunks/{file-retention-yk7egwn6.js → file-retention-gmnq7sxz.js} +48 -48
  145. package/dist/chunks/{file-retention-9dwnyty3.js → file-retention-gxe5e77w.js} +9 -9
  146. package/dist/chunks/{file-retention-tq5makbn.js → file-retention-h5enc8pd.js} +27 -27
  147. package/dist/chunks/{file-retention-gr24kjxn.js → file-retention-h6ejcba2.js} +3 -3
  148. package/dist/chunks/{file-retention-v6sdsd1y.js → file-retention-hew1js5q.js} +1 -1
  149. package/dist/chunks/{file-retention-ee476ptv.js → file-retention-hkyks9g6.js} +13 -13
  150. package/dist/chunks/{file-retention-4y9qf8ry.js → file-retention-hm3wjv3t.js} +21 -21
  151. package/dist/chunks/{file-retention-7bt6msz7.js → file-retention-hmmsk6f4.js} +18 -18
  152. package/dist/chunks/{file-retention-z8w58q3b.js → file-retention-hn189zr5.js} +2 -2
  153. package/dist/chunks/{file-retention-75zng1ge.js → file-retention-hnxa655x.js} +19 -19
  154. package/dist/chunks/{file-retention-6n8q8wse.js → file-retention-hqvhb0wh.js} +9 -9
  155. package/dist/chunks/{file-retention-dvt58bph.js → file-retention-hvgfddwz.js} +10 -10
  156. package/dist/chunks/{file-retention-b5yzcczs.js → file-retention-hx2h0g86.js} +7 -7
  157. package/dist/chunks/{file-retention-fx5dbny4.js → file-retention-hz2g8n0e.js} +4 -4
  158. package/dist/chunks/{file-retention-a5e6ddn4.js → file-retention-j4tx0dw9.js} +32 -32
  159. package/dist/chunks/{file-retention-tykajzt3.js → file-retention-j6q7spb2.js} +29 -29
  160. package/dist/chunks/{file-retention-m7sx3bgz.js → file-retention-j90hxq85.js} +3 -3
  161. package/dist/chunks/{file-retention-xgbbyafx.js → file-retention-jd8phrvf.js} +33 -33
  162. package/dist/chunks/{file-retention-pfb54thj.js → file-retention-jmekf4r3.js} +7 -7
  163. package/dist/chunks/{file-retention-ae862rdn.js → file-retention-k0kcv3gp.js} +2 -2
  164. package/dist/chunks/{file-retention-jjxkdvhg.js → file-retention-k2xygrq7.js} +9 -9
  165. package/dist/chunks/{file-retention-qfz6bxfd.js → file-retention-k46dd5bg.js} +3 -3
  166. package/dist/chunks/{file-retention-yxmmjzm7.js → file-retention-k9wymzdg.js} +2 -2
  167. package/dist/chunks/{file-retention-26tkb14f.js → file-retention-kkgm43pe.js} +9 -9
  168. package/dist/chunks/{file-retention-tmwatq56.js → file-retention-kpa09rhw.js} +7 -7
  169. package/dist/chunks/{file-retention-41mgdpyq.js → file-retention-m2bn1thc.js} +44 -44
  170. package/dist/chunks/{file-retention-fsgv702d.js → file-retention-m2vpvwkm.js} +51 -51
  171. package/dist/chunks/{file-retention-3j68zxqn.js → file-retention-m9js7g7m.js} +8 -8
  172. package/dist/chunks/{file-retention-75ax6x68.js → file-retention-mbhkhp6q.js} +4 -4
  173. package/dist/chunks/{file-retention-csdmpgm1.js → file-retention-mhwtew22.js} +15 -15
  174. package/dist/chunks/{file-retention-b924sz3m.js → file-retention-mtqqxse4.js} +3 -3
  175. package/dist/chunks/{file-retention-95sp4hdf.js → file-retention-mzm8bzzq.js} +3 -3
  176. package/dist/chunks/{file-retention-04s74fx7.js → file-retention-n3bkb5q1.js} +4 -4
  177. package/dist/chunks/{file-retention-aprkypsk.js → file-retention-n3ga810d.js} +15 -15
  178. package/dist/chunks/{file-retention-bt4213zy.js → file-retention-n6xbcgna.js} +12 -12
  179. package/dist/chunks/{file-retention-j7qy0s5h.js → file-retention-n8089wab.js} +14 -14
  180. package/dist/chunks/{file-retention-jz8ht1jj.js → file-retention-ndksvsqq.js} +3 -3
  181. package/dist/chunks/{file-retention-c2gmg5r9.js → file-retention-nfggrfj2.js} +7 -7
  182. package/dist/chunks/{file-retention-rdj0vc1c.js → file-retention-nmarmpt2.js} +17 -17
  183. package/dist/chunks/{file-retention-kmxy273m.js → file-retention-pjx7tz23.js} +4 -4
  184. package/dist/chunks/{file-retention-ty3f8ea2.js → file-retention-pkq3dv06.js} +14 -14
  185. package/dist/chunks/{file-retention-35hcamnh.js → file-retention-pmhb73dp.js} +19 -19
  186. package/dist/chunks/{file-retention-kz7xb2xy.js → file-retention-q5nd4tdk.js} +6 -6
  187. package/dist/chunks/{file-retention-3q6fzyrv.js → file-retention-qbkx85ty.js} +13 -13
  188. package/dist/chunks/{file-retention-byjg35ec.js → file-retention-qe6wsf1h.js} +5 -5
  189. package/dist/chunks/{file-retention-b6wwfjf1.js → file-retention-qtjtwdkb.js} +25 -25
  190. package/dist/chunks/{file-retention-w0rkd9p8.js → file-retention-qxk677ch.js} +30 -30
  191. package/dist/chunks/{file-retention-enexbtbh.js → file-retention-r388hamt.js} +28 -28
  192. package/dist/chunks/{file-retention-pzkzmzjr.js → file-retention-rcw12gd3.js} +40 -40
  193. package/dist/chunks/{file-retention-qja0360d.js → file-retention-rfhh9jbp.js} +5 -5
  194. package/dist/chunks/{file-retention-z1qht066.js → file-retention-rjdswr2s.js} +21 -21
  195. package/dist/chunks/{file-retention-vrcsa8qx.js → file-retention-rmt6m6se.js} +7 -7
  196. package/dist/chunks/{file-retention-vcjsbe3m.js → file-retention-rpxemsgz.js} +87 -87
  197. package/dist/chunks/{file-retention-cmnsegyx.js → file-retention-rpzwd4m9.js} +1 -1
  198. package/dist/chunks/{file-retention-ztvrq7gb.js → file-retention-rr9v9k3b.js} +10 -10
  199. package/dist/chunks/{file-retention-6qj6ge7d.js → file-retention-s0699xsp.js} +15 -15
  200. package/dist/chunks/{file-retention-zsv35m7p.js → file-retention-s5vg2p0e.js} +7 -7
  201. package/dist/chunks/{file-retention-p9nz32sq.js → file-retention-s93d5mte.js} +21 -21
  202. package/dist/chunks/{file-retention-kyb7yekh.js → file-retention-sctph3n4.js} +32 -32
  203. package/dist/chunks/{file-retention-ywppahe3.js → file-retention-sj2s1b9m.js} +28 -28
  204. package/dist/chunks/{file-retention-fwwnnvpx.js → file-retention-sj70yks3.js} +7 -7
  205. package/dist/chunks/{file-retention-9mt9fcpt.js → file-retention-skrg2vfv.js} +28 -28
  206. package/dist/chunks/{file-retention-ztz48n3d.js → file-retention-snhnc0ef.js} +10 -10
  207. package/dist/chunks/{file-retention-963hk181.js → file-retention-snjqag79.js} +7 -7
  208. package/dist/chunks/{file-retention-q945z18s.js → file-retention-swwepy7r.js} +9 -9
  209. package/dist/chunks/{file-retention-tngvyp2y.js → file-retention-szfk6t8e.js} +30 -30
  210. package/dist/chunks/{file-retention-96djdqw5.js → file-retention-szwm4crx.js} +2 -2
  211. package/dist/chunks/{file-retention-db2v7vv4.js → file-retention-t6zxhcnm.js} +38 -38
  212. package/dist/chunks/{file-retention-n87deehv.js → file-retention-tb15rp1c.js} +4 -4
  213. package/dist/chunks/{file-retention-26wfx3k0.js → file-retention-tb2mrvc9.js} +3 -3
  214. package/dist/chunks/{file-retention-8j5rt9k2.js → file-retention-tfhex4ds.js} +74 -74
  215. package/dist/chunks/{file-retention-50hftrwd.js → file-retention-tgc8br6y.js} +9 -9
  216. package/dist/chunks/{file-retention-cse8gxc3.js → file-retention-tnya1cye.js} +6 -6
  217. package/dist/chunks/{file-retention-j376ae4e.js → file-retention-tr8x705m.js} +4 -4
  218. package/dist/chunks/{file-retention-vvxtm2dm.js → file-retention-v1mj0bgs.js} +28 -28
  219. package/dist/chunks/{file-retention-81hxxa3v.js → file-retention-v37bc009.js} +3 -3
  220. package/dist/chunks/{file-retention-p96e2xw0.js → file-retention-vh942nm4.js} +12 -12
  221. package/dist/chunks/{file-retention-px7qpgcn.js → file-retention-vt2d6wap.js} +3 -3
  222. package/dist/chunks/{file-retention-0j8mhk4d.js → file-retention-vxcj7dj3.js} +16 -16
  223. package/dist/chunks/{file-retention-p9gybnkz.js → file-retention-w1g97wbr.js} +11 -11
  224. package/dist/chunks/{file-retention-y4f0c2re.js → file-retention-w4whnx61.js} +19 -19
  225. package/dist/chunks/{file-retention-pdpask2k.js → file-retention-wa6q08vq.js} +23 -23
  226. package/dist/chunks/{file-retention-qs85e3xq.js → file-retention-waxfvz31.js} +28 -28
  227. package/dist/chunks/{file-retention-txjcpmgd.js → file-retention-weqsz73e.js} +4 -4
  228. package/dist/chunks/{file-retention-cgy1nctk.js → file-retention-wfnayh71.js} +7 -7
  229. package/dist/chunks/{file-retention-ccp6j38y.js → file-retention-wgvnftve.js} +7 -7
  230. package/dist/chunks/{file-retention-3rjt9f5s.js → file-retention-wh423nk9.js} +23 -23
  231. package/dist/chunks/{file-retention-kf485nxs.js → file-retention-wm09fakr.js} +32 -32
  232. package/dist/chunks/{file-retention-f30y5q5n.js → file-retention-wr27nwte.js} +9 -9
  233. package/dist/chunks/{file-retention-497brhdq.js → file-retention-wy0xsgxw.js} +4 -4
  234. package/dist/chunks/{file-retention-z5s1hzbx.js → file-retention-x24tvm8w.js} +19 -19
  235. package/dist/chunks/{file-retention-a5fx33f2.js → file-retention-x4mcewfn.js} +7 -7
  236. package/dist/chunks/{file-retention-0n6d4kn5.js → file-retention-x4t5xjs0.js} +23 -23
  237. package/dist/chunks/{file-retention-fyj2mfgy.js → file-retention-x59t0gss.js} +30 -30
  238. package/dist/chunks/{file-retention-1ss1y6bx.js → file-retention-xa716ypk.js} +11 -11
  239. package/dist/chunks/{file-retention-bstexjd6.js → file-retention-xd9cc171.js} +4 -4
  240. package/dist/chunks/{file-retention-wejx1yzz.js → file-retention-xe84dabc.js} +3 -3
  241. package/dist/chunks/{file-retention-f2j6m0ac.js → file-retention-xgbgysg1.js} +18 -18
  242. package/dist/chunks/{file-retention-8f42kaey.js → file-retention-xhthag0s.js} +11 -11
  243. package/dist/chunks/{file-retention-rt5qjrvj.js → file-retention-xksw6ev0.js} +3 -3
  244. package/dist/chunks/{file-retention-gmdj38bx.js → file-retention-xmm4qtr7.js} +21 -21
  245. package/dist/chunks/{file-retention-605b6zwb.js → file-retention-xnc68z72.js} +9 -9
  246. package/dist/chunks/{file-retention-ranh0xe7.js → file-retention-y32xxt00.js} +3 -3
  247. package/dist/chunks/{file-retention-4xcsbp6b.js → file-retention-y9hckaaa.js} +4 -4
  248. package/dist/chunks/{file-retention-tg1vr1qt.js → file-retention-ydsespw1.js} +7 -7
  249. package/dist/chunks/{file-retention-0smjzhyp.js → file-retention-yfe5zj2r.js} +3 -3
  250. package/dist/chunks/{file-retention-tfcvmk9c.js → file-retention-ym5ftk47.js} +16 -16
  251. package/dist/chunks/{file-retention-8gc7e869.js → file-retention-ymb0ygkv.js} +20 -20
  252. package/dist/chunks/{file-retention-3whc36fx.js → file-retention-ynsc8wg2.js} +9 -9
  253. package/dist/chunks/{file-retention-5wwt8jnt.js → file-retention-ysfhhwnn.js} +6 -6
  254. package/dist/chunks/{file-retention-h63ygx1j.js → file-retention-yv7pt3ah.js} +2 -2
  255. package/dist/chunks/{file-retention-x457m8xb.js → file-retention-yvchjg13.js} +13 -13
  256. package/dist/chunks/{file-retention-70t2yy6e.js → file-retention-yx0ag50g.js} +15 -15
  257. package/dist/chunks/{file-retention-06e0bzah.js → file-retention-yzde64vc.js} +10 -10
  258. package/dist/chunks/{file-retention-anvcme1c.js → file-retention-z080rjh6.js} +3 -3
  259. package/dist/chunks/{file-retention-8xxrj23x.js → file-retention-z7re6mpg.js} +9 -9
  260. package/dist/codemode/execution.js +3 -3
  261. package/dist/codemode/fetch.js +113 -113
  262. package/dist/codemode/instructions.js +9 -9
  263. package/dist/codemode/tool.js +119 -119
  264. package/dist/command.js +78 -78
  265. package/dist/config/discovery.js +72 -72
  266. package/dist/config/normalize.js +87 -87
  267. package/dist/config/plugin/agent.js +101 -101
  268. package/dist/config/plugin/command.js +189 -189
  269. package/dist/config/plugin/compaction.js +136 -136
  270. package/dist/config/plugin/compatibility.js +116 -116
  271. package/dist/config/plugin/formatter.js +102 -102
  272. package/dist/config/plugin/image.js +101 -101
  273. package/dist/config/plugin/instruction.js +102 -102
  274. package/dist/config/plugin/location-watcher.js +101 -101
  275. package/dist/config/plugin/mcp.js +106 -106
  276. package/dist/config/plugin/policy.js +101 -101
  277. package/dist/config/plugin/provider.js +101 -101
  278. package/dist/config/plugin/reference.js +103 -103
  279. package/dist/config/plugin/shell.js +103 -103
  280. package/dist/config/plugin/skill-file.js +113 -113
  281. package/dist/config/plugin/skill.js +119 -119
  282. package/dist/config/plugin/snapshot.js +101 -101
  283. package/dist/config/plugin/source.js +104 -104
  284. package/dist/config/plugin/tool-output.js +102 -102
  285. package/dist/config/plugin/websearch.js +102 -102
  286. package/dist/config/plugin/worktree.js +102 -102
  287. package/dist/config.js +107 -107
  288. package/dist/credential.js +76 -76
  289. package/dist/database/database.js +64 -64
  290. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  291. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  292. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  293. package/dist/database/drizzle/index.js +8 -8
  294. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  295. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  296. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  297. package/dist/database/drizzle.js +8 -8
  298. package/dist/database/migration.gen.js +48 -48
  299. package/dist/database/migration.js +49 -49
  300. package/dist/database/sqlite.bun.js +3 -71
  301. package/dist/database/sqlite.node.js +3 -67
  302. package/dist/database/sqlite.workerd.js +11 -14
  303. package/dist/database/v1-migration.bun.js +21 -21
  304. package/dist/effect/app-node-builder.js +268 -268
  305. package/dist/environment/environment.js +80 -80
  306. package/dist/environment/index.js +82 -82
  307. package/dist/environment/unavailable.js +3 -3
  308. package/dist/event-logger.js +13 -13
  309. package/dist/file-access.js +117 -117
  310. package/dist/file-mutation.js +83 -81
  311. package/dist/filesystem/file-watch.js +17 -17
  312. package/dist/filesystem/location-watcher-policy.js +5 -5
  313. package/dist/filesystem/location-watcher.js +203 -203
  314. package/dist/filesystem/search.js +84 -84
  315. package/dist/filesystem/watcher.js +11 -11
  316. package/dist/filesystem.js +87 -87
  317. package/dist/form.js +76 -76
  318. package/dist/formatter/builtins.js +3 -3
  319. package/dist/formatter.js +77 -77
  320. package/dist/generate.js +93 -93
  321. package/dist/git.js +6 -6
  322. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  323. package/dist/github-copilot/copilot-provider.js +3 -3
  324. package/dist/github-copilot/models.js +81 -81
  325. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  326. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  327. package/dist/image/photon.js +1 -1
  328. package/dist/image.js +5 -5
  329. package/dist/instance/service.js +5 -5
  330. package/dist/instance.js +362 -362
  331. package/dist/instruction-discovery.js +74 -74
  332. package/dist/instructions/builtins.js +76 -76
  333. package/dist/integration/connection.js +3 -3
  334. package/dist/integration.js +81 -81
  335. package/dist/job.js +72 -72
  336. package/dist/kv.js +69 -69
  337. package/dist/location-activity.js +75 -75
  338. package/dist/location-lifecycle.js +118 -118
  339. package/dist/location-service-map.js +76 -76
  340. package/dist/location-services.js +361 -361
  341. package/dist/location.js +79 -79
  342. package/dist/managed-policy.js +2 -2
  343. package/dist/mcp/client.js +18 -18
  344. package/dist/mcp/index.js +96 -96
  345. package/dist/mcp/instructions.js +144 -144
  346. package/dist/mcp/oauth.js +13 -13
  347. package/dist/mcp/stdio.js +77 -77
  348. package/dist/modal/models.js +81 -81
  349. package/dist/model-resolver.js +88 -88
  350. package/dist/model.js +90 -90
  351. package/dist/models-dev.js +97 -97
  352. package/dist/permission/saved.js +71 -71
  353. package/dist/permission.js +121 -121
  354. package/dist/persistent-pty/index.js +84 -84
  355. package/dist/persistent-pty.js +68 -68
  356. package/dist/plugin/agent.js +69 -69
  357. package/dist/plugin/command.js +87 -87
  358. package/dist/plugin/goal.js +3 -3
  359. package/dist/plugin/hooks.js +5 -5
  360. package/dist/plugin/host.js +196 -196
  361. package/dist/plugin/identity.js +5 -5
  362. package/dist/plugin/instance.js +5 -5
  363. package/dist/plugin/internal.js +339 -339
  364. package/dist/plugin/models-dev.js +86 -86
  365. package/dist/plugin/module.js +98 -98
  366. package/dist/plugin/optimize.js +4 -4
  367. package/dist/plugin/plan.js +114 -114
  368. package/dist/plugin/provider/amazon-bedrock.js +81 -81
  369. package/dist/plugin/provider/azure.js +102 -102
  370. package/dist/plugin/provider/chatgpt.js +100 -100
  371. package/dist/plugin/provider/claude-agent/aisdk.js +89 -89
  372. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  373. package/dist/plugin/provider/claude-agent/claude/io.js +3 -3
  374. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  375. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  376. package/dist/plugin/provider/claude-agent/claude/session.js +3 -3
  377. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  378. package/dist/plugin/provider/claude-agent/claude/status.js +5 -5
  379. package/dist/plugin/provider/claude-agent/index.js +112 -112
  380. package/dist/plugin/provider/claude-agent/instructions.js +85 -85
  381. package/dist/plugin/provider/claude-agent/integration.js +86 -86
  382. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  383. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  384. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  385. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  386. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  387. package/dist/plugin/provider/claude-agent/provider.js +81 -81
  388. package/dist/plugin/provider/claude-agent/session.js +84 -84
  389. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  390. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  391. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  392. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  393. package/dist/plugin/provider/cloudflare-ai-gateway.js +100 -100
  394. package/dist/plugin/provider/cloudflare-workers-ai.js +100 -100
  395. package/dist/plugin/provider/configured.js +98 -98
  396. package/dist/plugin/provider/credential-settings.js +67 -67
  397. package/dist/plugin/provider/digitalocean.js +84 -84
  398. package/dist/plugin/provider/github-copilot.js +86 -86
  399. package/dist/plugin/provider/gitlab.js +83 -83
  400. package/dist/plugin/provider/google-vertex.js +99 -99
  401. package/dist/plugin/provider/llmgateway.js +70 -70
  402. package/dist/plugin/provider/lmstudio.js +108 -108
  403. package/dist/plugin/provider/local.js +105 -105
  404. package/dist/plugin/provider/modal.js +84 -84
  405. package/dist/plugin/provider/ollama.js +106 -106
  406. package/dist/plugin/provider/openai-context-caps.js +80 -80
  407. package/dist/plugin/provider/openai.js +102 -102
  408. package/dist/plugin/provider/opencode.js +102 -102
  409. package/dist/plugin/provider/openrouter.js +81 -81
  410. package/dist/plugin/provider/poe.js +70 -70
  411. package/dist/plugin/provider/refresh.js +69 -69
  412. package/dist/plugin/provider/sap-ai-core.js +80 -80
  413. package/dist/plugin/provider/snowflake-cortex.js +100 -100
  414. package/dist/plugin/provider/vllm.js +106 -106
  415. package/dist/plugin/provider/xai.js +81 -81
  416. package/dist/plugin/provider.js +167 -167
  417. package/dist/plugin/sdk.js +68 -68
  418. package/dist/plugin/service.js +3 -3
  419. package/dist/plugin/skill.js +115 -115
  420. package/dist/plugin/supervisor.js +349 -349
  421. package/dist/plugin/tool-input-repair.js +3 -3
  422. package/dist/plugin/update.js +5 -5
  423. package/dist/plugin/vcs/git.js +76 -76
  424. package/dist/plugin/vcs/hg.js +76 -76
  425. package/dist/plugin/verbosity.js +83 -83
  426. package/dist/plugin/warming.js +100 -100
  427. package/dist/plugin/websearch/exa.js +3 -3
  428. package/dist/plugin/websearch/firecrawl.js +6 -6
  429. package/dist/plugin/websearch/index.js +7 -7
  430. package/dist/plugin/websearch/parallel.js +6 -6
  431. package/dist/plugin/websearch/tavily.js +4 -4
  432. package/dist/plugin/websearch/tinyfish.js +4 -4
  433. package/dist/plugin.js +205 -205
  434. package/dist/project/icon.js +1 -1
  435. package/dist/project/schema.js +7 -7
  436. package/dist/project.js +80 -80
  437. package/dist/provider.js +87 -87
  438. package/dist/pty.js +86 -86
  439. package/dist/reference/instructions.js +80 -80
  440. package/dist/reference.js +83 -83
  441. package/dist/repository-cache.js +74 -74
  442. package/dist/repository.js +3 -3
  443. package/dist/ripgrep.js +81 -81
  444. package/dist/rpc.js +76 -76
  445. package/dist/schedule/check.js +200 -200
  446. package/dist/schedule.js +213 -213
  447. package/dist/session/blob.js +99 -99
  448. package/dist/session/command.js +69 -69
  449. package/dist/session/compaction.js +139 -139
  450. package/dist/session/context.js +160 -160
  451. package/dist/session/diff.js +76 -76
  452. package/dist/session/environment.js +5 -5
  453. package/dist/session/error.js +4 -4
  454. package/dist/session/execution/restart.js +120 -120
  455. package/dist/session/execution.js +127 -127
  456. package/dist/session/generate.js +162 -162
  457. package/dist/session/history.js +104 -104
  458. package/dist/session/inbox.js +117 -117
  459. package/dist/session/info.js +2 -2
  460. package/dist/session/instruction-entry.js +71 -71
  461. package/dist/session/instructions.js +109 -109
  462. package/dist/session/message-updater.js +3 -3
  463. package/dist/session/model-request.js +135 -135
  464. package/dist/session/model-transport.js +7 -7
  465. package/dist/session/move.js +131 -131
  466. package/dist/session/projector.js +110 -110
  467. package/dist/session/prompt.js +115 -115
  468. package/dist/session/revert.js +107 -107
  469. package/dist/session/runner/index.js +3 -3
  470. package/dist/session/runner/llm.js +207 -207
  471. package/dist/session/runner/model.js +89 -89
  472. package/dist/session/runner/publish-llm-event.js +117 -117
  473. package/dist/session/runner/retry.js +2 -2
  474. package/dist/session/runner/step.js +130 -130
  475. package/dist/session/runner/to-llm-message.js +105 -105
  476. package/dist/session/schema.js +5 -5
  477. package/dist/session/session.js +144 -144
  478. package/dist/session/shell.js +112 -112
  479. package/dist/session/skill.js +115 -115
  480. package/dist/session/stats.js +8 -8
  481. package/dist/session/store.js +110 -110
  482. package/dist/session/subagent-job.js +189 -189
  483. package/dist/session/system-prompt.js +5 -5
  484. package/dist/session/title.js +163 -163
  485. package/dist/session/to-session-error.js +116 -116
  486. package/dist/session/transfer.js +120 -120
  487. package/dist/session.js +202 -202
  488. package/dist/shared-cache.js +5 -5
  489. package/dist/shell/parse.js +3 -3
  490. package/dist/shell/select.js +14 -14
  491. package/dist/shell.js +115 -115
  492. package/dist/skill/discovery.js +5 -5
  493. package/dist/skill/instructions.js +119 -119
  494. package/dist/skill.js +122 -122
  495. package/dist/snapshot.js +81 -81
  496. package/dist/tool/mcp.js +139 -139
  497. package/dist/tool/plugin/artifact.js +188 -188
  498. package/dist/tool/plugin/edit.js +128 -128
  499. package/dist/tool/plugin/glob.js +131 -131
  500. package/dist/tool/plugin/grep.js +131 -131
  501. package/dist/tool/plugin/image-generate.js +198 -198
  502. package/dist/tool/plugin/mcp-resource.js +125 -125
  503. package/dist/tool/plugin/opencode.js +125 -125
  504. package/dist/tool/plugin/patch.js +128 -128
  505. package/dist/tool/plugin/question.js +116 -116
  506. package/dist/tool/plugin/read.js +132 -132
  507. package/dist/tool/plugin/schedule.js +204 -204
  508. package/dist/tool/plugin/shell.js +195 -195
  509. package/dist/tool/plugin/skill.js +125 -125
  510. package/dist/tool/plugin/subagent.js +196 -196
  511. package/dist/tool/plugin/todo.js +120 -120
  512. package/dist/tool/plugin/webfetch.js +120 -120
  513. package/dist/tool/plugin/websearch.js +121 -121
  514. package/dist/tool/plugin/write.js +130 -130
  515. package/dist/tool/read-filesystem.js +85 -85
  516. package/dist/tool-output.js +3 -3
  517. package/dist/tool.js +125 -125
  518. package/dist/types/database/sqlite.bun.d.ts +3 -11
  519. package/dist/types/database/sqlite.node.d.ts +3 -13
  520. package/dist/types/database/sqlite.workerd.d.ts +1 -2
  521. package/dist/types/file-mutation.d.ts +8 -1
  522. package/dist/types/project/icon.d.ts +2 -2
  523. package/dist/usage-limits.js +78 -78
  524. package/dist/v1/config/agent.js +3 -3
  525. package/dist/v1/config/command.js +3 -3
  526. package/dist/v1/config/mcp.js +3 -3
  527. package/dist/v1/config/migrate.js +81 -81
  528. package/dist/v1/config/plugin.js +3 -3
  529. package/dist/v1/config/provider.js +3 -3
  530. package/dist/variant.js +81 -81
  531. package/dist/vcs.js +79 -79
  532. package/dist/voice.js +76 -76
  533. package/dist/websearch.js +78 -78
  534. package/dist/wellknown/plugin.js +71 -71
  535. package/dist/wellknown.js +76 -76
  536. package/dist/workspace/driver.js +7 -7
  537. package/dist/workspace.js +77 -77
  538. package/dist/worktree/git.js +3 -3
  539. package/dist/worktree/strategies.js +78 -78
  540. package/dist/worktree.js +82 -82
  541. package/package.json +10 -9
  542. package/dist/chunks/file-retention-94s5f2xb.js +0 -62
  543. package/dist/chunks/file-retention-h80z8qef.js +0 -261
  544. package/dist/chunks/file-retention-tz3w010n.js +0 -43
  545. package/dist/chunks/file-retention-xajdwwy7.js +0 -26
  546. package/dist/database/sqlite.js +0 -12
  547. package/dist/types/database/sqlite.d.ts +0 -20
  548. /package/dist/chunks/{file-retention-gvefjbhs.js → file-retention-5ej6fcjw.js} +0 -0
  549. /package/dist/chunks/{file-retention-13k30xes.js → file-retention-6nj48chv.js} +0 -0
  550. /package/dist/chunks/{file-retention-775hqbnd.js → file-retention-80mg3ag8.js} +0 -0
  551. /package/dist/chunks/{file-retention-h5chy42v.js → file-retention-94e33dpz.js} +0 -0
  552. /package/dist/chunks/{file-retention-1nwxscpy.js → file-retention-gcavn3wx.js} +0 -0
  553. /package/dist/chunks/{file-retention-qw2t3dzn.js → file-retention-r1fnsf7p.js} +0 -0
  554. /package/dist/chunks/{file-retention-2czx47z2.js → file-retention-sqz6jy89.js} +0 -0
  555. /package/dist/chunks/{file-retention-j9nxzz3g.js → file-retention-ze75qvmd.js} +0 -0
@@ -3,9 +3,9 @@ import {
3
3
  } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/claude/sdk.ts
6
- var exports_sdk = {};
7
- __export(exports_sdk, {
8
- ClaudeSDK: () => exports_sdk,
6
+ var exports_sdk2 = {};
7
+ __export(exports_sdk2, {
8
+ ClaudeSDK: () => exports_sdk2,
9
9
  load: () => load3
10
10
  });
11
11
  var sdk;
@@ -19,4 +19,4 @@ function load3() {
19
19
  return sdk;
20
20
  }
21
21
 
22
- export { load3, exports_sdk };
22
+ export { load3, exports_sdk2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service88,
3
- node91
4
- } from "./file-retention-3whc36fx.js";
2
+ Service89,
3
+ node92
4
+ } from "./file-retention-ynsc8wg2.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-retention-bstexjd6.js";
11
+ } from "./file-retention-xd9cc171.js";
12
12
  import {
13
13
  AbsolutePath2
14
14
  } from "./file-retention-z5v4ffb3.js";
15
15
  import {
16
- Service60,
17
- node63
18
- } from "./file-retention-7dhaefc4.js";
16
+ Service83,
17
+ node86
18
+ } from "./file-retention-ay9b3rdk.js";
19
19
  import {
20
20
  changes2,
21
21
  create4
@@ -27,31 +27,31 @@ import {
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event12,
30
+ Event: () => Event18,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info14,
32
+ Info: () => Info28,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service59,
36
- Source: () => Source4,
37
- node: () => node62
35
+ Service: () => Service82,
36
+ Source: () => Source5,
37
+ node: () => node85
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event12 } from "@opencode/schema/reference";
43
+ import { Event as Event18 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
- var Source4 = Reference.Source;
47
- var Info14 = Reference.Info;
46
+ var Source5 = Reference.Source;
47
+ var Info28 = Reference.Info;
48
48
 
49
- class Service59 extends Context.Service()("@opencode/Reference") {
49
+ class Service82 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service59, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
- const bus = yield* Service88;
54
- const cache = yield* Service60;
53
+ const bus = yield* Service89;
54
+ const cache = yield* Service83;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,8 +61,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info14.make({ ...info, path: source.path })];
65
- const repository = parse4(source.repository);
64
+ return [Info28.make({ ...info, path: source.path })];
65
+ const repository = parse5(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
68
68
  if (source.branch) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info14.make({
76
+ Info28.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service59.of({
108
+ return Service82.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node62 = makeLocationNode({
117
- service: Service59,
116
+ var node85 = makeLocationNode({
117
+ service: Service82,
118
118
  layer,
119
- deps: [Global.node, node91, node63]
119
+ deps: [Global.node, node92, node86]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source4, Info14, Service59, node62, exports_reference2, Event12 };
122
+ export { LocalSource2, GitSource2, Source5, Info28, Service82, node85, exports_reference2, Event18 };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID20 = Session.ID;
5
- var Info29 = Session.Info;
4
+ var ID14 = Session.ID;
5
+ var Info16 = Session.Info;
6
6
 
7
- export { ID20, Info29, SessionSchema2 };
7
+ export { ID14, Info16, SessionSchema2 };
@@ -2,14 +2,14 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- Service85
6
- } from "./file-retention-tz3w010n.js";
5
+ Service80
6
+ } from "./file-retention-7etbzm9y.js";
7
7
  import {
8
- Service77
9
- } from "./file-retention-yk7egwn6.js";
8
+ Service69
9
+ } from "./file-retention-gmnq7sxz.js";
10
10
  import {
11
- Service20
12
- } from "./file-retention-tfcvmk9c.js";
11
+ Service23
12
+ } from "./file-retention-ym5ftk47.js";
13
13
  import {
14
14
  observe2
15
15
  } from "./file-retention-hpg1pkwy.js";
@@ -21,19 +21,19 @@ import {
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin40
24
+ Plugin: () => Plugin27
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin40 = define({
30
+ var Plugin27 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service77;
34
- const location = yield* Service85;
33
+ const config = yield* Service69;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service20;
36
+ const worktrees = yield* Service23;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin40 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin40, exports_worktree };
51
+ export { Plugin27, exports_worktree };
@@ -6,9 +6,9 @@ import {
6
6
  var exports_pending = {};
7
7
  __export(exports_pending, {
8
8
  PendingTools: () => exports_pending,
9
- make: () => make6
9
+ make: () => make8
10
10
  });
11
- function make6() {
11
+ function make8() {
12
12
  const calls = new Map;
13
13
  const replacements = new Map;
14
14
  let next;
@@ -64,4 +64,4 @@ function make6() {
64
64
  };
65
65
  }
66
66
 
67
- export { make6, exports_pending };
67
+ export { make8, exports_pending };
@@ -1,14 +1,14 @@
1
1
  import {
2
- Service75,
3
- node78
4
- } from "./file-retention-gmdj38bx.js";
2
+ Service72,
3
+ node75
4
+ } from "./file-retention-xmm4qtr7.js";
5
5
  import {
6
- Service69,
7
- node72
8
- } from "./file-retention-41mgdpyq.js";
6
+ Service76,
7
+ node79
8
+ } from "./file-retention-m2bn1thc.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./file-retention-81hxxa3v.js";
11
+ } from "./file-retention-v37bc009.js";
12
12
  import {
13
13
  __export
14
14
  } from "./file-retention-9rqn6x4v.js";
@@ -18,9 +18,9 @@ var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service66,
21
+ Service: () => Service58,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node69,
23
+ node: () => node59,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service66 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service58 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service66, Effect.gen(function* () {
62
- const resolver = yield* Service69;
63
- const agents = yield* Service75;
64
- return Service66.of({
61
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
62
+ const resolver = yield* Service76;
63
+ const agents = yield* Service72;
64
+ return Service58.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node69 = makeLocationNode({ service: Service66, layer, deps: [node72, node78] });
84
+ var node59 = makeLocationNode({ service: Service58, layer, deps: [node79, node75] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service66, resolved2, node69, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service58, resolved2, node59, exports_model };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-6ma7pn4v.js";
3
+ } from "./file-retention-bjaevfq0.js";
4
4
  import {
5
5
  OAuth3,
6
- Service83
7
- } from "./file-retention-qs85e3xq.js";
6
+ Service88
7
+ } from "./file-retention-waxfvz31.js";
8
8
  import {
9
- ID17,
9
+ ID20,
10
10
  MethodID2
11
- } from "./file-retention-tykajzt3.js";
11
+ } from "./file-retention-j6q7spb2.js";
12
12
  import {
13
- ID16,
13
+ ID17,
14
14
  mergeOverlay2
15
- } from "./file-retention-qfbjs7tc.js";
15
+ } from "./file-retention-2dfh1hr2.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID16.make("xai");
27
+ var providerID = ID17.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID17.make("xai"),
47
+ integrationID: ID20.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service83;
73
- yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
72
+ const credentials = yield* Service88;
73
+ yield* Effect.forEach(yield* credentials.list(ID20.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -11,19 +11,19 @@ import {
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service53,
14
+ Options: () => Options8,
15
+ Service: () => Service74,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name17,
24
- node: () => node56,
24
+ node: () => node77,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options8 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service53 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service74 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create4({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service53.of({
202
+ return Service74.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured7(options) {
210
- return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service74, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node56 = configured7();
212
+ var node77 = configured11();
213
213
 
214
- export { Options6, Service53, gitbash2, name17, login2, ps2, args2, environment2, resolve3, list3, configured7, node56, exports_select };
214
+ export { Options8, Service74, gitbash2, name17, login2, ps2, args2, environment2, resolve4, list4, configured11, node77, exports_select };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service88,
3
- node91
4
- } from "./file-retention-3whc36fx.js";
2
+ Service89,
3
+ node92
4
+ } from "./file-retention-ynsc8wg2.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
@@ -14,21 +14,21 @@ import {
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event10,
17
+ Event: () => Event7,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info12,
20
- NotFoundError: () => NotFoundError8,
21
- Service: () => Service50,
22
- layer: () => layer20,
23
- node: () => node53
19
+ Info: () => Info11,
20
+ NotFoundError: () => NotFoundError7,
21
+ Service: () => Service46,
22
+ layer: () => layer18,
23
+ node: () => node48
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event10 } from "@opencode/schema/command";
29
- var Info12 = Command.Info;
28
+ import { Event as Event7 } from "@opencode/schema/command";
29
+ var Info11 = Command.Info;
30
30
 
31
- class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service50 extends Context.Service()("@opencode/Command") {
43
+ class Service46 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer20 = Layer.effect(Service50, Effect.gen(function* () {
46
- const bus = yield* Service88;
47
- const info = (definition) => Info12.make({
45
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
46
+ const bus = yield* Service89;
47
+ const info = (definition) => Info11.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service50.of({
59
+ return Service46.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,15 +67,15 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node53 = makeLocationNode({
76
- service: Service50,
77
- layer: layer20,
78
- deps: [node91]
75
+ var node48 = makeLocationNode({
76
+ service: Service46,
77
+ layer: layer18,
78
+ deps: [node92]
79
79
  });
80
80
  function errorMessage(error) {
81
81
  if (error instanceof Error)
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info12, NotFoundError8, ExecutionError2, Service50, layer20, node53, exports_command4, Event10 };
90
+ export { Info11, NotFoundError7, ExecutionError2, Service46, layer18, node48, exports_command4, Event7 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./file-retention-wzp3mys1.js";
4
+ } from "./file-retention-8eshswe5.js";
5
5
  import {
6
- Service88,
7
- node91
8
- } from "./file-retention-3whc36fx.js";
6
+ Service89,
7
+ node92
8
+ } from "./file-retention-ynsc8wg2.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./file-retention-pknna89w.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event21,
24
24
  External: () => External2,
25
- ID: () => ID18,
26
- Info: () => Info27,
25
+ ID: () => ID22,
26
+ Info: () => Info32,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service88,
30
30
  Value: () => Value2,
31
- node: () => node86
31
+ node: () => node91
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID18 = Credential.ID;
40
+ var ID22 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event19 = Credential.Event;
45
+ var Event21 = Credential.Event;
46
46
 
47
- class Info27 extends Schema.Class("Credential.Info")({
48
- id: ID18,
47
+ class Info32 extends Schema.Class("Credential.Info")({
48
+ id: ID22,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service83 extends Context.Service()("@opencode/Credential") {
55
+ class Service88 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service83, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service88, Effect.gen(function* () {
58
58
  const db = (yield* Service90).db;
59
- const bus = yield* Service88;
59
+ const bus = yield* Service89;
60
60
  const flock = yield* EffectFlock.Service;
61
61
  const scope = yield* Effect.scope;
62
62
  const pending = new Map;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info27({
67
+ return new Info32({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
75
75
  const credential = stored(row);
76
76
  return credential ? [credential] : [];
77
77
  });
78
- return Service83.of({
78
+ return Service88.of({
79
79
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
80
80
  const current = pending.get(id);
81
81
  if (current)
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
91
91
  return row ? stored(row) : undefined;
92
92
  }),
93
93
  create: Effect.fn("Credential.create")(function* (input) {
94
- const credential = new Info27({
95
- id: input.id ?? ID18.create(),
94
+ const credential = new Info32({
95
+ id: input.id ?? ID22.create(),
96
96
  integrationID: input.integrationID,
97
97
  label: input.label ?? "default",
98
98
  value: input.value
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
123
123
  type: credential.value.type,
124
124
  active: activated
125
125
  });
126
- yield* bus.publish(Event19.Updated, {}, { global: true });
126
+ yield* bus.publish(Event21.Updated, {}, { global: true });
127
127
  if (activated)
128
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
128
+ yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
129
129
  return credential;
130
130
  }),
131
131
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
145
145
  })), Effect.orDie);
146
146
  if (integrationID) {
147
147
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
148
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
148
+ yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
149
149
  }
150
150
  }),
151
151
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
177
177
  labelChanged: updates.label !== undefined && updates.label !== credential.label
178
178
  });
179
179
  if (updates.label !== undefined && updates.label !== credential.label)
180
- yield* bus.publish(Event19.Updated, {}, { global: true });
180
+ yield* bus.publish(Event21.Updated, {}, { global: true });
181
181
  }),
182
182
  remove: Effect.fn("Credential.remove")(function* (id) {
183
183
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
210
210
  active: removed.switched,
211
211
  ...removed.switched ? { replacementID: removed.credentialID } : {}
212
212
  });
213
- yield* bus.publish(Event19.Updated, {}, { global: true });
213
+ yield* bus.publish(Event21.Updated, {}, { global: true });
214
214
  if (removed.switched)
215
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
215
+ yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
216
216
  })
217
217
  });
218
218
  }));
219
- var node86 = makeGlobalNode({ service: Service83, layer, deps: [node93, node91, EffectFlock.node] });
219
+ var node91 = makeGlobalNode({ service: Service88, layer, deps: [node93, node92, EffectFlock.node] });
220
220
 
221
- export { ID18, OAuth3, Key4, External2, Value2, Event19, Info27, Service83, node86, exports_credential };
221
+ export { ID22, OAuth3, Key4, External2, Value2, Event21, Info32, Service88, node91, exports_credential };