@opencode/core 0.0.0-dev-21747 → 0.0.0-dev-21748

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-service-map-se2sj8va.js → file-retention-004rgtvd.js} +7 -7
  8. package/dist/chunks/{location-service-map-034tev2y.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{location-service-map-g3s8w1rf.js → file-retention-06443jab.js} +3 -3
  10. package/dist/chunks/{location-service-map-dkq45v8d.js → file-retention-0gka690g.js} +6 -6
  11. package/dist/chunks/{location-service-map-sc9zg7jb.js → file-retention-0pv52n9j.js} +12 -12
  12. package/dist/chunks/{location-service-map-8z0nn26j.js → file-retention-0syxcydp.js} +9 -9
  13. package/dist/chunks/{location-service-map-zpzb2he9.js → file-retention-0t1mekc8.js} +8 -8
  14. package/dist/chunks/{location-service-map-q2yrdpfv.js → file-retention-0txt22rj.js} +5 -5
  15. package/dist/chunks/file-retention-0y56atyb.js +257 -0
  16. package/dist/chunks/{location-service-map-m4n0g2r5.js → file-retention-10jjfj8e.js} +35 -35
  17. package/dist/chunks/{location-service-map-qmthnpq9.js → file-retention-10s4rp80.js} +42 -42
  18. package/dist/chunks/{location-service-map-kvh9ftvy.js → file-retention-12vgd738.js} +4 -4
  19. package/dist/chunks/{location-service-map-86yd8n6t.js → file-retention-1b000e53.js} +58 -58
  20. package/dist/chunks/{location-service-map-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{location-service-map-n5ec28k5.js → file-retention-1mn7gzbb.js} +50 -50
  22. package/dist/chunks/{location-service-map-nzm9dq78.js → file-retention-1thmyanr.js} +29 -29
  23. package/dist/chunks/{location-service-map-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{location-service-map-qmx84djp.js → file-retention-27g2d1zk.js} +9 -9
  25. package/dist/chunks/{location-service-map-kz6h04bd.js → file-retention-2fbg880x.js} +50 -50
  26. package/dist/chunks/{location-service-map-aw84gg2e.js → file-retention-2mrk5sk4.js} +23 -23
  27. package/dist/chunks/{location-service-map-nt999nhx.js → file-retention-2y5s3d4p.js} +17 -17
  28. package/dist/chunks/{location-service-map-3mjk875x.js → file-retention-2yeqtm01.js} +28 -28
  29. package/dist/chunks/{location-service-map-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{location-service-map-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{location-service-map-p0tsr9h6.js → file-retention-3js5sq8v.js} +4 -4
  32. package/dist/chunks/{location-service-map-3mgb105e.js → file-retention-3mgb105e.js} +2 -2
  33. package/dist/chunks/{location-service-map-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  34. package/dist/chunks/{location-service-map-3xbacp9g.js → file-retention-3xbbjsgy.js} +14 -14
  35. package/dist/chunks/{location-service-map-p9jvgf3w.js → file-retention-3xv5yes5.js} +6 -6
  36. package/dist/chunks/{location-service-map-y736c7qs.js → file-retention-40x2gp1a.js} +15 -15
  37. package/dist/chunks/{location-service-map-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
  38. package/dist/chunks/{location-service-map-15x7rp3m.js → file-retention-41ae5eq3.js} +5 -5
  39. package/dist/chunks/{location-service-map-eayp7z6c.js → file-retention-4944f0f3.js} +3 -3
  40. package/dist/chunks/{location-service-map-txs0e95y.js → file-retention-4rnx58kd.js} +5 -5
  41. package/dist/chunks/{location-service-map-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  42. package/dist/chunks/{location-service-map-mx438yzb.js → file-retention-4xj5yeb9.js} +18 -18
  43. package/dist/chunks/{location-service-map-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
  44. package/dist/chunks/{location-service-map-fytkpx2m.js → file-retention-4yyqx4s3.js} +1 -1
  45. package/dist/chunks/{location-service-map-582e04r8.js → file-retention-51g9mfss.js} +16 -16
  46. package/dist/chunks/{location-service-map-e63tw6zr.js → file-retention-52m7r17y.js} +11 -11
  47. package/dist/chunks/{location-service-map-f6a8s9j6.js → file-retention-58j32a3p.js} +11 -11
  48. package/dist/chunks/{location-service-map-a7n5phyp.js → file-retention-5e27t7kq.js} +37 -37
  49. package/dist/chunks/{location-service-map-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{location-service-map-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
  51. package/dist/chunks/{location-service-map-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
  52. package/dist/chunks/{location-service-map-pmy4yzzf.js → file-retention-5tdnk8gt.js} +30 -30
  53. package/dist/chunks/{location-service-map-t1xvrdec.js → file-retention-6bqt0z5z.js} +14 -14
  54. package/dist/chunks/{location-service-map-2svr78gq.js → file-retention-6ejhvxx1.js} +30 -30
  55. package/dist/chunks/{location-service-map-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{location-service-map-gw690m90.js → file-retention-6phpkkwx.js} +10 -10
  57. package/dist/chunks/{location-service-map-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/file-retention-6zjm2phc.js +18 -0
  59. package/dist/chunks/{location-service-map-nch9as0x.js → file-retention-6zzg071e.js} +7 -7
  60. package/dist/chunks/{location-service-map-n0fgk9jt.js → file-retention-706d41vq.js} +17 -17
  61. package/dist/chunks/{location-service-map-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  62. package/dist/chunks/{location-service-map-1yqqrz0x.js → file-retention-78etnvtx.js} +11 -11
  63. package/dist/chunks/{location-service-map-nr8jt6t8.js → file-retention-7ax5pvs2.js} +20 -20
  64. package/dist/chunks/{location-service-map-vmztxwx7.js → file-retention-7b6m6kjp.js} +23 -23
  65. package/dist/chunks/{location-service-map-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{location-service-map-9ec60z8p.js → file-retention-7p5j3bg8.js} +20 -20
  67. package/dist/chunks/{location-service-map-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  68. package/dist/chunks/{location-service-map-w9dsj9zn.js → file-retention-81xmdkgf.js} +9 -9
  69. package/dist/chunks/{location-service-map-b0bkrffq.js → file-retention-8775xmr7.js} +15 -15
  70. package/dist/chunks/{location-service-map-yb48csac.js → file-retention-895yj7sv.js} +41 -41
  71. package/dist/chunks/{location-service-map-ra6js1h8.js → file-retention-8d2bz6m6.js} +8 -8
  72. package/dist/chunks/{location-service-map-f0k0jrg1.js → file-retention-8h66aeq1.js} +19 -19
  73. package/dist/chunks/{location-service-map-4sp541mw.js → file-retention-8jv5e0ry.js} +2 -2
  74. package/dist/chunks/{location-service-map-0w2m92gv.js → file-retention-8q24scts.js} +19 -19
  75. package/dist/chunks/{location-service-map-drtqd3vk.js → file-retention-8q4csfv6.js} +8 -8
  76. package/dist/chunks/file-retention-8rzgfn7k.js +26 -0
  77. package/dist/chunks/{location-service-map-44sw466x.js → file-retention-8v2hjwdb.js} +28 -28
  78. package/dist/chunks/{location-service-map-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  79. package/dist/chunks/{location-service-map-v2eqhgdw.js → file-retention-8y08emeq.js} +24 -24
  80. package/dist/chunks/{location-service-map-2hp83xyv.js → file-retention-90h4gxms.js} +20 -20
  81. package/dist/chunks/{location-service-map-91rj84md.js → file-retention-91rj84md.js} +1 -1
  82. package/dist/chunks/{location-service-map-50y1xsz1.js → file-retention-96zt377w.js} +38 -38
  83. package/dist/chunks/{location-service-map-998yhzzq.js → file-retention-998yhzzq.js} +3 -3
  84. package/dist/chunks/{location-service-map-yexkrg4y.js → file-retention-9aytyba7.js} +8 -8
  85. package/dist/chunks/{location-service-map-dsd5z2sr.js → file-retention-9e6thw54.js} +23 -23
  86. package/dist/chunks/{location-service-map-dk5xnaxx.js → file-retention-9gkymt4j.js} +4 -4
  87. package/dist/chunks/{location-service-map-kjedcq3q.js → file-retention-9wrzmk82.js} +9 -9
  88. package/dist/chunks/{location-service-map-j43965rx.js → file-retention-a1kcf5d2.js} +9 -9
  89. package/dist/chunks/{location-service-map-4pxnxcp5.js → file-retention-a6zs52qt.js} +12 -12
  90. package/dist/chunks/{location-service-map-dqmnshvt.js → file-retention-a8qqmhn7.js} +13 -13
  91. package/dist/chunks/{location-service-map-0z1tt7er.js → file-retention-a9kms1wj.js} +5 -5
  92. package/dist/chunks/{location-service-map-zknj5k26.js → file-retention-an0ed0qm.js} +27 -27
  93. package/dist/chunks/{location-service-map-1px3a2xb.js → file-retention-ap543zt0.js} +26 -26
  94. package/dist/chunks/{location-service-map-bjhzkqyk.js → file-retention-ar2j3j0f.js} +4 -4
  95. package/dist/chunks/{location-service-map-jypar2fs.js → file-retention-aydsvzbb.js} +14 -14
  96. package/dist/chunks/{location-service-map-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{location-service-map-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
  98. package/dist/chunks/{location-service-map-ctz1338s.js → file-retention-b4ay2ffd.js} +38 -38
  99. package/dist/chunks/{location-service-map-6y263vp8.js → file-retention-b50rsrab.js} +5 -5
  100. package/dist/chunks/{location-service-map-qrscgvzd.js → file-retention-b69pzmrp.js} +35 -35
  101. package/dist/chunks/{location-service-map-40008bk8.js → file-retention-bar9hexn.js} +3 -3
  102. package/dist/chunks/{location-service-map-6xjs6dtv.js → file-retention-bbfkmt36.js} +24 -24
  103. package/dist/chunks/{location-service-map-qrdfdxph.js → file-retention-be4vgese.js} +5 -5
  104. package/dist/chunks/{location-service-map-g431yjwv.js → file-retention-bg38yaka.js} +51 -51
  105. package/dist/chunks/{location-service-map-5p1db6qh.js → file-retention-bjec6aaf.js} +24 -24
  106. package/dist/chunks/{location-service-map-388njdkr.js → file-retention-bn42ez4f.js} +21 -21
  107. package/dist/chunks/{location-service-map-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  108. package/dist/chunks/{location-service-map-xzhqqqxc.js → file-retention-bx2edf7r.js} +19 -19
  109. package/dist/chunks/{location-service-map-r8fhaa0s.js → file-retention-byrp127m.js} +12 -12
  110. package/dist/chunks/{location-service-map-d00ejkj2.js → file-retention-c03k9zs8.js} +28 -28
  111. package/dist/chunks/{location-service-map-wdmx20pv.js → file-retention-c3cfh5w6.js} +7 -7
  112. package/dist/chunks/{location-service-map-0vx028ky.js → file-retention-c8666r4c.js} +6 -6
  113. package/dist/chunks/{location-service-map-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
  114. package/dist/chunks/{location-service-map-wk6xk37q.js → file-retention-cebdmmc8.js} +9 -9
  115. package/dist/chunks/{location-service-map-q9s78g4e.js → file-retention-d1fhw6xp.js} +21 -21
  116. package/dist/chunks/{location-service-map-ahke7ec0.js → file-retention-d2ckxhpm.js} +22 -22
  117. package/dist/chunks/{location-service-map-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{location-service-map-2meyg87m.js → file-retention-dbvdvcnm.js} +20 -20
  119. package/dist/chunks/{location-service-map-q6s5gc9a.js → file-retention-dhka8w8f.js} +3 -3
  120. package/dist/chunks/{location-service-map-89yw32r8.js → file-retention-dvgja063.js} +6 -6
  121. package/dist/chunks/{location-service-map-4c2w6q79.js → file-retention-dx9hwm58.js} +17 -17
  122. package/dist/chunks/{location-service-map-h0rg6s60.js → file-retention-e45fk36t.js} +4 -4
  123. package/dist/chunks/{location-service-map-p0cbjzex.js → file-retention-e5qrk7kc.js} +35 -35
  124. package/dist/chunks/{location-service-map-etsym5j7.js → file-retention-e7h3kv1s.js} +36 -36
  125. package/dist/chunks/{location-service-map-e834z07m.js → file-retention-e834z07m.js} +1 -1
  126. package/dist/chunks/{location-service-map-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{location-service-map-003kegp2.js → file-retention-etc4v71r.js} +13 -13
  128. package/dist/chunks/{location-service-map-1sme1v1k.js → file-retention-etzytfjk.js} +24 -24
  129. package/dist/chunks/{location-service-map-w059c7vr.js → file-retention-ex2ghmgq.js} +5 -5
  130. package/dist/chunks/{location-service-map-0bhrze2p.js → file-retention-f5bp1zt3.js} +26 -26
  131. package/dist/chunks/{location-service-map-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  132. package/dist/chunks/{location-service-map-1x6pf1gv.js → file-retention-fjbza28h.js} +88 -88
  133. package/dist/chunks/{location-service-map-yccdn1y1.js → file-retention-fvgj1da1.js} +7 -7
  134. package/dist/chunks/{location-service-map-mzrvsmc2.js → file-retention-fx2h2ek3.js} +4 -4
  135. package/dist/chunks/{location-service-map-dh7axqeh.js → file-retention-fy85b4j6.js} +16 -16
  136. package/dist/chunks/{location-service-map-5vh4rcr3.js → file-retention-fyg8cwdt.js} +14 -14
  137. package/dist/chunks/{location-service-map-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
  138. package/dist/chunks/{location-service-map-sdmn02p2.js → file-retention-g6hpx9wf.js} +11 -11
  139. package/dist/chunks/{location-service-map-x6qr1hyp.js → file-retention-gnswcmy6.js} +4 -4
  140. package/dist/chunks/{location-service-map-e3ym3z1q.js → file-retention-gsgdtt07.js} +19 -19
  141. package/dist/chunks/{location-service-map-7ddrbmq5.js → file-retention-h1eg3vk4.js} +25 -25
  142. package/dist/chunks/{location-service-map-wm5nwgxs.js → file-retention-h1y7dhnp.js} +9 -9
  143. package/dist/chunks/{location-service-map-6zr8wwz2.js → file-retention-h401316e.js} +47 -47
  144. package/dist/chunks/{location-service-map-hpyhs3fr.js → file-retention-hamx4eyd.js} +13 -13
  145. package/dist/chunks/{location-service-map-t1ngx2fg.js → file-retention-haz7d3nj.js} +22 -22
  146. package/dist/chunks/{location-service-map-9ef8rrka.js → file-retention-hmhshprh.js} +8 -8
  147. package/dist/chunks/{location-service-map-e6b8fvx8.js → file-retention-hvtqj62d.js} +28 -28
  148. package/dist/chunks/{location-service-map-j113cymg.js → file-retention-j113cymg.js} +1 -1
  149. package/dist/chunks/{location-service-map-9zskf68x.js → file-retention-j1jygztj.js} +35 -35
  150. package/dist/chunks/{location-service-map-r8bgrvjg.js → file-retention-j21s6pys.js} +12 -12
  151. package/dist/chunks/{location-service-map-r4qf8hg2.js → file-retention-j22gxa80.js} +28 -28
  152. package/dist/chunks/{location-service-map-na462m5h.js → file-retention-j4qs9z9f.js} +23 -23
  153. package/dist/chunks/{location-service-map-hw8460a0.js → file-retention-j4rz9p31.js} +11 -11
  154. package/dist/chunks/{location-service-map-j49x6kf4.js → file-retention-jbkw413w.js} +8 -8
  155. package/dist/chunks/{location-service-map-afmr3pea.js → file-retention-jff6x0jb.js} +4 -4
  156. package/dist/chunks/{location-service-map-vgpm9ca5.js → file-retention-jfp7edqe.js} +20 -20
  157. package/dist/chunks/{location-service-map-8ykqf5wm.js → file-retention-jj9caqwr.js} +11 -11
  158. package/dist/chunks/{location-service-map-m428dt5q.js → file-retention-jjyvd6es.js} +33 -33
  159. package/dist/chunks/{location-service-map-27jee16v.js → file-retention-jtgyhacv.js} +27 -27
  160. package/dist/chunks/{location-service-map-v4sey8dh.js → file-retention-jv443j8m.js} +11 -11
  161. package/dist/chunks/{location-service-map-188drt2q.js → file-retention-jy10t676.js} +29 -29
  162. package/dist/chunks/{location-service-map-mrtxr4cp.js → file-retention-jz4cjtb2.js} +4 -4
  163. package/dist/chunks/{location-service-map-4etbn6tz.js → file-retention-k5qr9t5z.js} +5 -5
  164. package/dist/chunks/{location-service-map-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
  165. package/dist/chunks/{location-service-map-3f8v07ch.js → file-retention-kd261f9v.js} +11 -11
  166. package/dist/chunks/{location-service-map-gvcwdp68.js → file-retention-kfd0jx8z.js} +20 -20
  167. package/dist/chunks/{location-service-map-g6wjc1x4.js → file-retention-kkgp9ksj.js} +35 -35
  168. package/dist/chunks/{location-service-map-m1714858.js → file-retention-m1714858.js} +1 -1
  169. package/dist/chunks/{location-service-map-kb5qgkwh.js → file-retention-m463fjkb.js} +10 -10
  170. package/dist/chunks/{location-service-map-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{location-service-map-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
  172. package/dist/chunks/{location-service-map-zhq0k9nq.js → file-retention-mh30raav.js} +4 -4
  173. package/dist/chunks/{location-service-map-8n9x2wf6.js → file-retention-mtpeagzc.js} +3 -3
  174. package/dist/chunks/{location-service-map-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
  175. package/dist/chunks/{location-service-map-90z9wy20.js → file-retention-n0wndcqz.js} +39 -39
  176. package/dist/chunks/{location-service-map-vgw3dfza.js → file-retention-n2zgan0r.js} +11 -11
  177. package/dist/chunks/{location-service-map-rr7wf6ce.js → file-retention-na0a39nw.js} +50 -50
  178. package/dist/chunks/{location-service-map-nah043kf.js → file-retention-nah043kf.js} +1 -1
  179. package/dist/chunks/{location-service-map-a2x4jk9y.js → file-retention-nbkd2rx6.js} +14 -14
  180. package/dist/chunks/{location-service-map-a3en8ngd.js → file-retention-ncfxqt3s.js} +10 -10
  181. package/dist/chunks/{location-service-map-5em4e5nr.js → file-retention-nf4f45p9.js} +41 -41
  182. package/dist/chunks/{location-service-map-rhdbdzx3.js → file-retention-nk9akxx5.js} +2 -2
  183. package/dist/chunks/{location-service-map-6ga3t03x.js → file-retention-nk9n5r8p.js} +15 -15
  184. package/dist/chunks/{location-service-map-a5g15581.js → file-retention-nkr5r85d.js} +2 -2
  185. package/dist/chunks/{location-service-map-ww12ck0g.js → file-retention-nm20qxyr.js} +20 -20
  186. package/dist/chunks/{location-service-map-0r6mtjdh.js → file-retention-nrb1vmgh.js} +32 -32
  187. package/dist/chunks/{location-service-map-qbmvg479.js → file-retention-ny5fjnrw.js} +20 -20
  188. package/dist/chunks/{location-service-map-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  189. package/dist/chunks/{location-service-map-aedgfdwr.js → file-retention-p4j299q5.js} +17 -17
  190. package/dist/chunks/{location-service-map-v9ez2kgh.js → file-retention-p7vhpwh8.js} +5 -5
  191. package/dist/chunks/{location-service-map-8bc2ahr8.js → file-retention-pc1v25hk.js} +3 -3
  192. package/dist/chunks/{location-service-map-4xvztgkr.js → file-retention-pd5s7czc.js} +11 -11
  193. package/dist/chunks/{location-service-map-dkdbv7e2.js → file-retention-pjw5exqh.js} +11 -11
  194. package/dist/chunks/{location-service-map-pknna89w.js → file-retention-pknna89w.js} +1 -1
  195. package/dist/chunks/{location-service-map-9sz3mafc.js → file-retention-pm973k6d.js} +4 -4
  196. package/dist/chunks/{location-service-map-s9kc5ksh.js → file-retention-pp47ehpg.js} +4 -4
  197. package/dist/chunks/{location-service-map-6281ma0y.js → file-retention-pv64vp27.js} +11 -11
  198. package/dist/chunks/{location-service-map-yg0c2r26.js → file-retention-qada39n4.js} +3 -3
  199. package/dist/chunks/{location-service-map-n4vfsstt.js → file-retention-qcv3trs9.js} +9 -9
  200. package/dist/chunks/{location-service-map-8bbz0hfx.js → file-retention-qer95tax.js} +19 -19
  201. package/dist/chunks/{location-service-map-e4fwp3bx.js → file-retention-qgqvdsez.js} +11 -11
  202. package/dist/chunks/{location-service-map-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
  203. package/dist/chunks/{location-service-map-wksxchbw.js → file-retention-qv2ex6zx.js} +14 -14
  204. package/dist/chunks/{location-service-map-r35n27g2.js → file-retention-qx10fapg.js} +24 -24
  205. package/dist/chunks/{location-service-map-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
  206. package/dist/chunks/{location-service-map-5e15319b.js → file-retention-r2jew814.js} +5 -5
  207. package/dist/chunks/{location-service-map-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  208. package/dist/chunks/{location-service-map-013vhq9d.js → file-retention-rbhan2a8.js} +43 -43
  209. package/dist/chunks/{location-service-map-t72mevzp.js → file-retention-remxw044.js} +1 -1
  210. package/dist/chunks/{location-service-map-z35z7ez2.js → file-retention-rmd2jjvw.js} +4 -4
  211. package/dist/chunks/{location-service-map-d00p4xa9.js → file-retention-rqbwb7q3.js} +18 -18
  212. package/dist/chunks/{location-service-map-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  213. package/dist/chunks/{location-service-map-4ed14fdp.js → file-retention-rw5cqjms.js} +33 -33
  214. package/dist/chunks/{location-service-map-nb5axcyq.js → file-retention-ry63fkbp.js} +6 -6
  215. package/dist/chunks/{location-service-map-1ak811wc.js → file-retention-s774txbb.js} +32 -32
  216. package/dist/chunks/{location-service-map-asregxpd.js → file-retention-s8tktxtj.js} +13 -13
  217. package/dist/chunks/{location-service-map-j13zswh9.js → file-retention-s9zqy389.js} +8 -8
  218. package/dist/chunks/{location-service-map-2g2v5pv8.js → file-retention-sbexhbnh.js} +9 -9
  219. package/dist/chunks/{location-service-map-3twxkf78.js → file-retention-sdgwjry1.js} +45 -45
  220. package/dist/chunks/{location-service-map-5rffwtjg.js → file-retention-sgj3v8j3.js} +20 -20
  221. package/dist/chunks/{location-service-map-aecf60s0.js → file-retention-sjx4qwkt.js} +13 -13
  222. package/dist/chunks/{location-service-map-355rvjhq.js → file-retention-spxhva7x.js} +13 -13
  223. package/dist/chunks/{location-service-map-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  224. package/dist/chunks/{location-service-map-bhsvbham.js → file-retention-t5qy80th.js} +18 -18
  225. package/dist/chunks/{location-service-map-fgn5d73r.js → file-retention-t6qzkm7d.js} +34 -34
  226. package/dist/chunks/{location-service-map-jq5wkjk8.js → file-retention-t9mb6c21.js} +1 -1
  227. package/dist/chunks/{location-service-map-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  228. package/dist/chunks/{location-service-map-9abkctgc.js → file-retention-tpdxm5tk.js} +6 -6
  229. package/dist/chunks/{location-service-map-h8vvdn21.js → file-retention-tth2ngyv.js} +64 -64
  230. package/dist/chunks/{location-service-map-t8qws3g8.js → file-retention-tthyd1ww.js} +12 -12
  231. package/dist/chunks/{location-service-map-tw8zr1ps.js → file-retention-tw8zr1ps.js} +1 -1
  232. package/dist/chunks/{location-service-map-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
  233. package/dist/chunks/{location-service-map-bemj2y7b.js → file-retention-v2bxwf46.js} +38 -38
  234. package/dist/chunks/{location-service-map-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  235. package/dist/chunks/{location-service-map-fvvfx1zv.js → file-retention-v3t7qrd6.js} +189 -189
  236. package/dist/chunks/{location-service-map-zwfqh4cf.js → file-retention-v3vpydwx.js} +22 -22
  237. package/dist/chunks/{location-service-map-wa35tw6v.js → file-retention-v70qecbj.js} +15 -15
  238. package/dist/chunks/{location-service-map-p2426226.js → file-retention-vb1h3fk1.js} +3 -3
  239. package/dist/chunks/{location-service-map-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
  240. package/dist/chunks/{location-service-map-5g505q1a.js → file-retention-vdrf2z40.js} +25 -25
  241. package/dist/chunks/{location-service-map-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  242. package/dist/chunks/{location-service-map-m37sd98t.js → file-retention-vmfhgzt5.js} +4 -4
  243. package/dist/chunks/{location-service-map-7bg5w1mh.js → file-retention-vq1ppevj.js} +8 -8
  244. package/dist/chunks/{location-service-map-2kagezbr.js → file-retention-vq7nwj9a.js} +33 -33
  245. package/dist/chunks/{location-service-map-smfcvx02.js → file-retention-vrcsa8qx.js} +9 -9
  246. package/dist/chunks/{location-service-map-4fde41kk.js → file-retention-vw5yqba1.js} +21 -21
  247. package/dist/chunks/{location-service-map-139nr8yw.js → file-retention-w1j6kydb.js} +11 -11
  248. package/dist/chunks/{location-service-map-xrpfz6f8.js → file-retention-w22yp63b.js} +9 -9
  249. package/dist/chunks/{location-service-map-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-service-map-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  251. package/dist/chunks/{location-service-map-0pnxwcyc.js → file-retention-wbs5jnf2.js} +10 -10
  252. package/dist/chunks/{location-service-map-wd87259q.js → file-retention-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-service-map-j71y8rmy.js → file-retention-wetwfxab.js} +23 -23
  254. package/dist/chunks/{location-service-map-tn28sp3a.js → file-retention-wj0whgje.js} +14 -14
  255. package/dist/chunks/{location-service-map-d9x798yd.js → file-retention-wkcmpner.js} +6 -6
  256. package/dist/chunks/{location-service-map-s7kyse9r.js → file-retention-wqscedq8.js} +9 -9
  257. package/dist/chunks/{location-service-map-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
  258. package/dist/chunks/{location-service-map-qbkx5tms.js → file-retention-wvskh021.js} +18 -18
  259. package/dist/chunks/{location-service-map-8bya8z2e.js → file-retention-wyzcntk3.js} +43 -43
  260. package/dist/chunks/{location-service-map-ejmz6kkm.js → file-retention-wz1jcdgb.js} +25 -25
  261. package/dist/chunks/{location-service-map-zg5bfpcj.js → file-retention-wzwsv8q3.js} +8 -8
  262. package/dist/chunks/{location-service-map-9b28cy4d.js → file-retention-x3t9xer4.js} +5 -5
  263. package/dist/chunks/{location-service-map-vzb2t1dt.js → file-retention-x3xjyz42.js} +10 -10
  264. package/dist/chunks/{location-service-map-y81cv5eb.js → file-retention-x43as62j.js} +20 -20
  265. package/dist/chunks/{location-service-map-7fts76r7.js → file-retention-x6v8tecr.js} +81 -81
  266. package/dist/chunks/file-retention-x90fzfq6.js +517 -0
  267. package/dist/chunks/{location-service-map-y2s0ta7g.js → file-retention-xcbr4qhr.js} +23 -23
  268. package/dist/chunks/{location-service-map-tdyhpgr0.js → file-retention-xs35f6gm.js} +19 -19
  269. package/dist/chunks/{location-service-map-w8j8mkqh.js → file-retention-xv753k3w.js} +25 -25
  270. package/dist/chunks/{location-service-map-tx2wf29d.js → file-retention-xvs21e7s.js} +9 -9
  271. package/dist/chunks/{location-service-map-jchrqzf6.js → file-retention-y2tacs4v.js} +8 -8
  272. package/dist/chunks/{location-service-map-ffxnyj3q.js → file-retention-y31s63n5.js} +6 -6
  273. package/dist/chunks/{location-service-map-gah3njre.js → file-retention-y81yjmmg.js} +16 -16
  274. package/dist/chunks/{location-service-map-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{location-service-map-bd45fzh3.js → file-retention-yg7ytxzr.js} +6 -6
  276. package/dist/chunks/{location-service-map-g3j8z5p4.js → file-retention-yh5vc5ym.js} +27 -27
  277. package/dist/chunks/{location-service-map-zqp8ase3.js → file-retention-yszz6e3t.js} +29 -29
  278. package/dist/chunks/{location-service-map-zdat2xwq.js → file-retention-yydqqga9.js} +4 -4
  279. package/dist/chunks/{location-service-map-53x1cw92.js → file-retention-yyqm007w.js} +9 -9
  280. package/dist/chunks/{location-service-map-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{location-service-map-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
  282. package/dist/chunks/{location-service-map-z9r2qbyv.js → file-retention-z781txa6.js} +5 -5
  283. package/dist/chunks/{location-service-map-nj07n8jc.js → file-retention-zfcxpxqg.js} +58 -58
  284. package/dist/chunks/{location-service-map-sq86wmmj.js → file-retention-zjrmgn7z.js} +17 -17
  285. package/dist/chunks/{location-service-map-ppr22hv7.js → file-retention-zjzg4f6c.js} +1 -1
  286. package/dist/chunks/{location-service-map-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{location-service-map-3zrv9gmq.js → file-retention-zpr39raf.js} +26 -26
  288. package/dist/chunks/{location-service-map-0b9rhbpe.js → file-retention-zvp9t4zy.js} +35 -35
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +116 -116
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +87 -87
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +94 -94
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +2 -2
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +88 -88
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +109 -109
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +101 -101
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +138 -138
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +101 -101
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +121 -121
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +92 -92
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +78 -78
  494. package/dist/plugin/command.js +104 -104
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +332 -332
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +115 -115
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +123 -123
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +100 -100
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +123 -123
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +168 -168
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +349 -349
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +103 -103
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +101 -101
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +166 -166
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +95 -95
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +5 -5
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +166 -166
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +220 -220
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +116 -116
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +135 -135
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +132 -132
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +124 -124
  657. package/dist/tool/read-filesystem.js +104 -104
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +16 -16
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +87 -87
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +76 -76
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +102 -102
  691. package/package.json +8 -8
  692. package/dist/chunks/location-service-map-03p9d38e.js +0 -257
  693. package/dist/chunks/location-service-map-1y25g81x.js +0 -517
  694. package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
  695. package/dist/chunks/location-service-map-hmc8wnkn.js +0 -26
  696. /package/dist/chunks/{location-service-map-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{location-service-map-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{location-service-map-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{location-service-map-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{location-service-map-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{location-service-map-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{location-service-map-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{location-service-map-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{location-service-map-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{location-service-map-3asan66x.js → file-retention-3asan66x.js} +0 -0
  706. /package/dist/chunks/{location-service-map-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{location-service-map-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-service-map-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-service-map-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-service-map-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-service-map-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-service-map-53557ph1.js → file-retention-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-service-map-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-service-map-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{location-service-map-6prwharc.js → file-retention-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-service-map-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{location-service-map-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{location-service-map-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{location-service-map-822emrt2.js → file-retention-822emrt2.js} +0 -0
  720. /package/dist/chunks/{location-service-map-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{location-service-map-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{location-service-map-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{location-service-map-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{location-service-map-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{location-service-map-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{location-service-map-a058387c.js → file-retention-a058387c.js} +0 -0
  727. /package/dist/chunks/{location-service-map-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-service-map-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-service-map-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-service-map-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-service-map-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-service-map-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-service-map-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-service-map-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-service-map-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-service-map-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-service-map-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-service-map-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-service-map-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-service-map-df08tz66.js → file-retention-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-service-map-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-service-map-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-service-map-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-service-map-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-service-map-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-service-map-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-service-map-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-service-map-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-service-map-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-service-map-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-service-map-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-service-map-g86h250q.js → file-retention-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-service-map-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-service-map-gftt206x.js → file-retention-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-service-map-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-service-map-hk9envan.js → file-retention-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-service-map-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-service-map-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-service-map-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-service-map-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-service-map-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-service-map-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-service-map-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-service-map-m18g726c.js → file-retention-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-service-map-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-service-map-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-service-map-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-service-map-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-service-map-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-service-map-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-service-map-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-service-map-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-service-map-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-service-map-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-service-map-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-service-map-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-service-map-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-service-map-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-service-map-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-service-map-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{location-service-map-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{location-service-map-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{location-service-map-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{location-service-map-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{location-service-map-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{location-service-map-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-service-map-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-service-map-x61499pn.js → file-retention-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-service-map-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-service-map-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{location-service-map-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{location-service-map-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{location-service-map-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{location-service-map-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service57
3
- } from "./location-service-map-ejmz6kkm.js";
2
+ Service80
3
+ } from "./file-retention-wz1jcdgb.js";
4
4
  import {
5
5
  Ref2,
6
- Service75
7
- } from "./location-service-map-g6wjc1x4.js";
6
+ Service69
7
+ } from "./file-retention-kkgp9ksj.js";
8
8
  import {
9
9
  latest2,
10
- Service64
11
- } from "./location-service-map-rr7wf6ce.js";
10
+ Service51
11
+ } from "./file-retention-na0a39nw.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./location-service-map-8n9x2wf6.js";
14
+ } from "./file-retention-mtpeagzc.js";
15
15
  import {
16
- Service49
17
- } from "./location-service-map-tn28sp3a.js";
16
+ Service50
17
+ } from "./file-retention-wj0whgje.js";
18
18
  import {
19
19
  evaluate2,
20
- Service54
21
- } from "./location-service-map-86yd8n6t.js";
20
+ Service76
21
+ } from "./file-retention-1b000e53.js";
22
22
  import {
23
- Service24
24
- } from "./location-service-map-1x6pf1gv.js";
23
+ Service20
24
+ } from "./file-retention-fjbza28h.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./location-service-map-sqjzf8x2.js";
27
+ } from "./file-retention-sqjzf8x2.js";
28
28
  import {
29
- Service9
30
- } from "./location-service-map-xzhqqqxc.js";
29
+ Service12
30
+ } from "./file-retention-bx2edf7r.js";
31
31
  import {
32
32
  __export
33
- } from "./location-service-map-9rqn6x4v.js";
33
+ } from "./file-retention-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input6,
39
- Output: () => Output5,
40
- Plugin: () => Plugin26,
38
+ Input: () => Input5,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin41,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description3,
43
- name: () => name6
42
+ description: () => description2,
43
+ name: () => name5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name6 = "subagent";
47
+ var name5 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input6 = Schema.Struct({
58
+ var Input5 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,12 +71,12 @@ var Input6 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output5 = Schema.Struct({
74
+ var Output4 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
78
78
  });
79
- var description3 = [
79
+ var description2 = [
80
80
  "Spawns an agent in a child session to work on the specified task.",
81
81
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
82
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +85,16 @@ var description3 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin26 = {
88
+ var Plugin41 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service24;
92
- const jobs = yield* Service49;
93
- const agents = yield* Service57;
94
- const config = yield* Service64;
95
- const permission = yield* Service54;
96
- const models = yield* Service75;
97
- const subagents = yield* Service9;
91
+ const sessions = yield* Service20;
92
+ const jobs = yield* Service50;
93
+ const agents = yield* Service80;
94
+ const config = yield* Service51;
95
+ const permission = yield* Service76;
96
+ const models = yield* Service69;
97
+ const subagents = yield* Service12;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin26 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name6,
117
+ name: name5,
118
118
  options: { codemode: false },
119
- description: description3,
120
- input: Input6,
121
- output: Output5,
119
+ description: description2,
120
+ input: Input5,
121
+ output: Output4,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin26 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name6,
141
+ action: name5,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name6 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name5 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name6];
232
+ const tool = event.tools[name5];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name6, Input6, Output5, description3, Plugin26, exports_subagent };
255
+ export { name5, Input5, Output4, description2, Plugin41, exports_subagent };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./location-service-map-rhdbdzx3.js";
5
+ } from "./file-retention-nk9akxx5.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-service-map-ec1grn59.js";
3
+ } from "./file-retention-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./location-service-map-tw8zr1ps.js";
6
+ } from "./file-retention-tw8zr1ps.js";
7
7
  import {
8
8
  stringify2
9
- } from "./location-service-map-5fjb7ams.js";
9
+ } from "./file-retention-5fjb7ams.js";
10
10
  import {
11
11
  contentFilterError2
12
- } from "./location-service-map-txs0e95y.js";
12
+ } from "./file-retention-4rnx58kd.js";
13
13
 
14
14
  // src/session/runner/publish-llm-event.ts
15
15
  import { isRecord } from "@opencode/ai/utils/record";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./location-service-map-qmthnpq9.js";
6
+ } from "./file-retention-10s4rp80.js";
7
7
  import {
8
- Service80,
9
- node83
10
- } from "./location-service-map-3xbacp9g.js";
8
+ Service82,
9
+ node86
10
+ } from "./file-retention-3xbbjsgy.js";
11
11
  import {
12
- Service54,
13
- node56
14
- } from "./location-service-map-86yd8n6t.js";
12
+ Service76,
13
+ node79
14
+ } from "./file-retention-1b000e53.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./file-retention-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service17,
26
- node: () => node20,
25
+ Service: () => Service75,
26
+ node: () => node78,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service17 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service75 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service17, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service54;
54
+ const location = yield* Service82;
55
+ const permission = yield* Service76;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service17.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service75.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node20 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node83, node56] });
106
+ var node78 = makeLocationNode({ service: Service75, layer, deps: [FSUtil.node, node86, node79] });
107
107
 
108
- export { Kind2, ResolveInput2, Service17, resolvePath2, node20, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service75, resolvePath2, node78, exports_file_access };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-service-map-g3s8w1rf.js";
4
+ } from "./file-retention-06443jab.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./location-service-map-r8fhaa0s.js";
6
+ Service85,
7
+ node89
8
+ } from "./file-retention-byrp127m.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-service-map-pknna89w.js";
11
+ } from "./file-retention-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-service-map-m1714858.js";
14
+ } from "./file-retention-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./file-retention-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event16,
24
24
  External: () => External2,
25
- ID: () => ID14,
26
- Info: () => Info25,
27
- Key: () => Key4,
25
+ ID: () => ID10,
26
+ Info: () => Info21,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service78,
29
+ Service: () => Service73,
30
30
  Value: () => Value2,
31
- node: () => node81
31
+ node: () => node76
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  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
- var ID14 = Credential.ID;
39
+ var ID10 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
- var Key4 = Credential.Key;
41
+ var Key3 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event17 = Credential.Event;
44
+ var Event16 = Credential.Event;
45
45
 
46
- class Info25 extends Schema.Class("Credential.Info")({
47
- id: ID14,
46
+ class Info21 extends Schema.Class("Credential.Info")({
47
+ id: ID10,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service78 extends Context.Service()("@opencode/Credential") {
54
+ class Service73 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service78, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
- const bus = yield* Service84;
58
+ const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info25({
63
+ return new Info21({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service78.of({
74
+ return Service73.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info25({
83
- id: input.id ?? ID14.create(),
82
+ const credential = new Info21({
83
+ id: input.id ?? ID10.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event17.Updated, {}, { global: true });
114
+ yield* bus.publish(Event16.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event17.Updated, {}, { global: true });
168
+ yield* bus.publish(Event16.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event17.Updated, {}, { global: true });
201
+ yield* bus.publish(Event16.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node81 = makeGlobalNode({ service: Service78, layer, deps: [node90, node88] });
207
+ var node76 = makeGlobalNode({ service: Service73, layer, deps: [node90, node89] });
208
208
 
209
- export { ID14, OAuth3, Key4, External2, Value2, Event17, Info25, Service78, node81, exports_credential };
209
+ export { ID10, OAuth3, Key3, External2, Value2, Event16, Info21, Service73, node76, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node76,
13
+ make: () => make21,
14
+ node: () => node85,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node76 = registryNode2({});
47
+ var node85 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node76, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node85, exports_driver };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./location-service-map-r8fhaa0s.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-retention-byrp127m.js";
5
5
  import {
6
- Service37,
7
- node40
8
- } from "./location-service-map-n5ec28k5.js";
6
+ Service32,
7
+ node35
8
+ } from "./file-retention-1mn7gzbb.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./location-service-map-2z1j29yd.js";
11
+ } from "./file-retention-2z1j29yd.js";
12
12
  import {
13
- Service54,
14
- node56
15
- } from "./location-service-map-86yd8n6t.js";
13
+ Service76,
14
+ node79
15
+ } from "./file-retention-1b000e53.js";
16
16
  import {
17
- Service45,
18
- node47
19
- } from "./location-service-map-7ddrbmq5.js";
17
+ Service41,
18
+ node44
19
+ } from "./file-retention-h1eg3vk4.js";
20
20
  import {
21
- Service63,
22
- node65
23
- } from "./location-service-map-3f8v07ch.js";
21
+ Service40,
22
+ node43
23
+ } from "./file-retention-kd261f9v.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./location-service-map-388njdkr.js";
26
+ } from "./file-retention-bn42ez4f.js";
27
27
  import {
28
28
  __export
29
- } from "./location-service-map-9rqn6x4v.js";
29
+ } from "./file-retention-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service34,
35
+ Service: () => Service31,
36
36
  layer: () => layer15,
37
37
  name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node38
39
+ node: () => node34
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
48
  var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service34 extends Context.Service()("@opencode/McpTool") {
50
+ class Service31 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer15 = Layer.effect(Service34, Effect.gen(function* () {
53
- const mcp = yield* Service37;
54
- const tools = yield* Service45;
55
- const bus = yield* Service84;
56
- const permission = yield* Service54;
57
- const toolOutput = yield* Service63;
52
+ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
53
+ const mcp = yield* Service32;
54
+ const tools = yield* Service41;
55
+ const bus = yield* Service85;
56
+ const permission = yield* Service76;
57
+ const toolOutput = yield* Service40;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,7 +124,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node38 = makeLocationNode({
148
- service: Service34,
147
+ var node34 = makeLocationNode({
148
+ service: Service31,
149
149
  layer: layer15,
150
- deps: [node47, node40, node88, node56, node65]
150
+ deps: [node44, node35, node89, node79, node43]
151
151
  });
152
152
 
153
- export { namespace2, name15, Service34, layer15, node38, exports_mcp3 };
153
+ export { namespace2, name15, Service31, layer15, node34, exports_mcp3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-service-map-qjgzc4b4.js";
3
+ } from "./file-retention-qjgzc4b4.js";
4
4
  import {
5
- Service72,
6
- node74
7
- } from "./location-service-map-1sme1v1k.js";
5
+ Service67,
6
+ node70
7
+ } from "./file-retention-etzytfjk.js";
8
8
  import {
9
9
  __export
10
- } from "./location-service-map-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service71,
17
- node: () => node73,
16
+ Service: () => Service14,
17
+ node: () => node16,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service71 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service14 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service71, Effect.gen(function* () {
38
- const environment = yield* Service72;
37
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
38
+ const environment = yield* Service67;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service71.of({ withLock, write, writeTextPreservingBom });
59
+ return Service14.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node73 = makeLocationNode({ service: Service71, layer, deps: [node74] });
61
+ var node16 = makeLocationNode({ service: Service14, layer, deps: [node70] });
62
62
 
63
- export { Service71, readText2, syncTextBom2, node73, exports_file_mutation };
63
+ export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };