@opencode/core 0.0.0-dev-19617 → 0.0.0-dev-19618

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-retention-s8d7rejh.js → filesystem-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{file-retention-qg9t7k56.js → filesystem-07yk87ch.js} +4 -4
  9. package/dist/chunks/{file-retention-pecb0brz.js → filesystem-0f9afca0.js} +5 -5
  10. package/dist/chunks/{file-retention-8vx9rmwz.js → filesystem-0j4pm1hq.js} +11 -11
  11. package/dist/chunks/{file-retention-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{file-retention-w6k2nhch.js → filesystem-0m11qpm4.js} +23 -23
  13. package/dist/chunks/filesystem-0mesazry.js +4 -0
  14. package/dist/chunks/{file-retention-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-retention-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-retention-gjzff5er.js → filesystem-0rshgchp.js} +10 -10
  17. package/dist/chunks/{file-retention-8e1b1gzh.js → filesystem-1ak9gecn.js} +6 -6
  18. package/dist/chunks/{file-retention-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-retention-fqb2p7cx.js → filesystem-1g7epwpd.js} +7 -7
  20. package/dist/chunks/{file-retention-h1afk52f.js → filesystem-1k8tpdq4.js} +6 -6
  21. package/dist/chunks/{file-retention-wknvw5dv.js → filesystem-1mqcdkn4.js} +13 -13
  22. package/dist/chunks/{file-retention-mfqp6xfm.js → filesystem-1ygqh575.js} +6 -6
  23. package/dist/chunks/{file-retention-21r38tys.js → filesystem-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-retention-e6hd9jay.js → filesystem-23pqda6t.js} +4 -4
  25. package/dist/chunks/{file-retention-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  26. package/dist/chunks/{file-retention-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{file-retention-xxynqx5z.js → filesystem-2f04pwep.js} +3 -3
  28. package/dist/chunks/{file-retention-jx8kcw9w.js → filesystem-2h5jvt6q.js} +38 -38
  29. package/dist/chunks/{file-retention-8310x4c5.js → filesystem-2vep0yyn.js} +15 -15
  30. package/dist/chunks/{file-retention-18swyw0t.js → filesystem-2w7hg4c7.js} +45 -45
  31. package/dist/chunks/{file-retention-1gw4hrxs.js → filesystem-33js1h5h.js} +18 -18
  32. package/dist/chunks/{file-retention-2pam5ezh.js → filesystem-33ka9sw2.js} +20 -20
  33. package/dist/chunks/{file-retention-07wrr0rm.js → filesystem-364eg4va.js} +24 -24
  34. package/dist/chunks/{file-retention-924ykxna.js → filesystem-37k0eqq3.js} +3 -3
  35. package/dist/chunks/{file-retention-evbgk2k8.js → filesystem-37s12vcn.js} +5 -5
  36. package/dist/chunks/{file-retention-f2h0ge9w.js → filesystem-38hz51bw.js} +18 -18
  37. package/dist/chunks/{file-retention-9s7s2hrz.js → filesystem-39btv581.js} +1 -1
  38. package/dist/chunks/{file-retention-wvapbnfc.js → filesystem-3a5s2rra.js} +7 -7
  39. package/dist/chunks/{file-retention-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-retention-s5rh44ar.js → filesystem-3fr2v5qz.js} +4 -4
  41. package/dist/chunks/{file-retention-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-retention-gxdqkm0c.js → filesystem-3j24hfx9.js} +9 -9
  43. package/dist/chunks/{file-retention-3w1d8477.js → filesystem-3n48t328.js} +11 -11
  44. package/dist/chunks/{file-retention-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-retention-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{file-retention-xwgqmv93.js → filesystem-3w85bfh1.js} +23 -23
  47. package/dist/chunks/{file-retention-ej3vp9cf.js → filesystem-3wj4dvam.js} +9 -9
  48. package/dist/chunks/{file-retention-gs3psw06.js → filesystem-406qt69j.js} +5 -5
  49. package/dist/chunks/{file-retention-qbvd2c79.js → filesystem-40xvhc0y.js} +16 -16
  50. package/dist/chunks/{file-retention-qefhz522.js → filesystem-41f61ev5.js} +11 -11
  51. package/dist/chunks/{file-retention-cqxef839.js → filesystem-4890h4h8.js} +28 -28
  52. package/dist/chunks/{file-retention-mab4qcb1.js → filesystem-4f699rp4.js} +10 -10
  53. package/dist/chunks/{file-retention-bz85s9hh.js → filesystem-4jc5c4h4.js} +1 -1
  54. package/dist/chunks/{file-retention-4y1pzw9c.js → filesystem-4jf7s0ck.js} +4 -4
  55. package/dist/chunks/{file-retention-qv9y4v6r.js → filesystem-4n11223c.js} +33 -33
  56. package/dist/chunks/{file-retention-9kts0vsr.js → filesystem-4sazzpff.js} +28 -28
  57. package/dist/chunks/{file-retention-hpc1ag31.js → filesystem-56n3j9hn.js} +52 -52
  58. package/dist/chunks/{file-retention-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{file-retention-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  60. package/dist/chunks/{file-retention-wmzw9v22.js → filesystem-5df2rnfx.js} +13 -13
  61. package/dist/chunks/{file-retention-aqeqq1tf.js → filesystem-5pkq4p4h.js} +40 -40
  62. package/dist/chunks/{file-retention-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-retention-b4m0jvqm.js → filesystem-5w764t2b.js} +20 -20
  64. package/dist/chunks/{file-retention-pmc74pb4.js → filesystem-5xy61mm9.js} +4 -4
  65. package/dist/chunks/{file-retention-d72qkhwk.js → filesystem-5y69nyve.js} +11 -11
  66. package/dist/chunks/{file-retention-669tq793.js → filesystem-669tq793.js} +1 -1
  67. package/dist/chunks/{file-retention-fdttfrh6.js → filesystem-698rmahv.js} +10 -10
  68. package/dist/chunks/{file-retention-7d01vtdt.js → filesystem-6dt5d3yy.js} +9 -9
  69. package/dist/chunks/{file-retention-8rr5w2ew.js → filesystem-6ev5h72j.js} +86 -86
  70. package/dist/chunks/{file-retention-bhb5n9xr.js → filesystem-6f0xwptt.js} +18 -18
  71. package/dist/chunks/{file-retention-zkqsy98m.js → filesystem-6j62sct7.js} +11 -11
  72. package/dist/chunks/{file-retention-pvp0fmcy.js → filesystem-6kt92yqk.js} +13 -13
  73. package/dist/chunks/{file-retention-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{file-retention-rg3v5vpq.js → filesystem-6n2tb6ee.js} +17 -17
  75. package/dist/chunks/{file-retention-j6dc1d3z.js → filesystem-6nrgx7s9.js} +17 -17
  76. package/dist/chunks/{file-retention-508cf8kg.js → filesystem-6ynxx3sz.js} +10 -10
  77. package/dist/chunks/{file-retention-wbhjeqa0.js → filesystem-6z8y8spb.js} +24 -24
  78. package/dist/chunks/{file-retention-1zprvct9.js → filesystem-70qmacgz.js} +6 -6
  79. package/dist/chunks/{file-retention-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
  80. package/dist/chunks/{file-retention-mhkvc446.js → filesystem-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{file-retention-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-vzbef369.js → filesystem-7gzpfzkj.js} +24 -24
  83. package/dist/chunks/{file-retention-ak8w4t1r.js → filesystem-7qne9t03.js} +26 -26
  84. package/dist/chunks/{file-retention-t3q0zrtj.js → filesystem-7rmm56r3.js} +5 -5
  85. package/dist/chunks/{file-retention-ewd1ksqg.js → filesystem-7xbgkkry.js} +20 -20
  86. package/dist/chunks/{file-retention-j6h70cxt.js → filesystem-813ty9ck.js} +22 -22
  87. package/dist/chunks/{file-retention-rb9d13h1.js → filesystem-827vnqcm.js} +41 -41
  88. package/dist/chunks/{file-retention-844ef7ks.js → filesystem-844ef7ks.js} +1 -1
  89. package/dist/chunks/{file-retention-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
  90. package/dist/chunks/{file-retention-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-retention-3zykk5as.js → filesystem-8de9g2wa.js} +8 -8
  92. package/dist/chunks/{file-retention-nbx459v7.js → filesystem-8hm8e1by.js} +20 -20
  93. package/dist/chunks/{file-retention-kemm8n5q.js → filesystem-8m0x795s.js} +32 -32
  94. package/dist/chunks/{file-retention-v6wrn1g2.js → filesystem-8nwmmt46.js} +32 -32
  95. package/dist/chunks/{file-retention-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{file-retention-4dgbcxzg.js → filesystem-8z00fdkb.js} +4 -4
  97. package/dist/chunks/{file-retention-7581kcks.js → filesystem-903hvwdd.js} +32 -32
  98. package/dist/chunks/{file-retention-mypwhdkk.js → filesystem-92k45pvj.js} +6 -6
  99. package/dist/chunks/{file-retention-dd4k3tty.js → filesystem-92s2v7tn.js} +47 -47
  100. package/dist/chunks/{file-retention-f5wvj1yw.js → filesystem-9389c3ww.js} +11 -11
  101. package/dist/chunks/{file-retention-tf7cta9d.js → filesystem-9c8qb4fx.js} +15 -15
  102. package/dist/chunks/{file-retention-5r3jnckw.js → filesystem-9tmk4wfj.js} +5 -5
  103. package/dist/chunks/{file-retention-m2bm8kgx.js → filesystem-9v67fpxy.js} +17 -17
  104. package/dist/chunks/{file-retention-rsyxjf6n.js → filesystem-9wgyq2tt.js} +11 -11
  105. package/dist/chunks/{file-retention-4m2pmvxz.js → filesystem-9yr2yfq4.js} +6 -6
  106. package/dist/chunks/{file-retention-d09006c3.js → filesystem-9zswys26.js} +9 -9
  107. package/dist/chunks/{file-retention-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{file-retention-nnmab3m5.js → filesystem-a38p36g0.js} +14 -14
  109. package/dist/chunks/filesystem-a5kagja2.js +26 -0
  110. package/dist/chunks/{file-retention-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-retention-b1v7x4f0.js → filesystem-apwwcccb.js} +12 -12
  112. package/dist/chunks/{file-retention-av8es0ey.js → filesystem-asysv629.js} +11 -11
  113. package/dist/chunks/{file-retention-dmxvr22s.js → filesystem-axq00zzf.js} +16 -16
  114. package/dist/chunks/{file-retention-wyj0k83d.js → filesystem-b339w5wj.js} +38 -38
  115. package/dist/chunks/{file-retention-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-retention-30ffk5w0.js → filesystem-b6nkjk1t.js} +27 -27
  117. package/dist/chunks/{file-retention-0r2k9kj6.js → filesystem-bcfqw6ff.js} +15 -15
  118. package/dist/chunks/{file-retention-y50sdzkw.js → filesystem-bh5mjw3r.js} +42 -42
  119. package/dist/chunks/{file-retention-e5nv3ght.js → filesystem-bndc73cn.js} +5 -5
  120. package/dist/chunks/{file-retention-hk9ksenn.js → filesystem-brhvyepg.js} +10 -10
  121. package/dist/chunks/{file-retention-70y17xeh.js → filesystem-btec747f.js} +5 -5
  122. package/dist/chunks/{file-retention-a9tcrq61.js → filesystem-byacmj7b.js} +12 -12
  123. package/dist/chunks/{file-retention-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{file-retention-na6jv411.js → filesystem-chf0k88c.js} +2 -2
  125. package/dist/chunks/{file-retention-h4qgb8xj.js → filesystem-cjjf7ytg.js} +23 -23
  126. package/dist/chunks/{file-retention-kg5r7emp.js → filesystem-ck5yfnd1.js} +26 -26
  127. package/dist/chunks/{file-retention-hkmh7tch.js → filesystem-cqhybqg6.js} +26 -26
  128. package/dist/chunks/{file-retention-e8340df8.js → filesystem-ctn2km86.js} +6 -6
  129. package/dist/chunks/{file-retention-ax9ctke6.js → filesystem-d2k0bxc6.js} +11 -11
  130. package/dist/chunks/{file-retention-y9eqwahs.js → filesystem-d3rs6qmg.js} +9 -9
  131. package/dist/chunks/{file-retention-bsda9gvx.js → filesystem-dm18e6rv.js} +21 -21
  132. package/dist/chunks/{file-retention-dyr0fjz1.js → filesystem-dnxjdd8e.js} +11 -11
  133. package/dist/chunks/{file-retention-7fyak8f4.js → filesystem-dq0sj55k.js} +8 -8
  134. package/dist/chunks/{file-retention-ccxmgenq.js → filesystem-dvj7hexm.js} +1 -1
  135. package/dist/chunks/{file-retention-29cs1g18.js → filesystem-dyzsby59.js} +11 -11
  136. package/dist/chunks/{file-retention-xj7wbnn3.js → filesystem-dzjvqage.js} +4 -4
  137. package/dist/chunks/{file-retention-5t9ap4g5.js → filesystem-e0mmdbx3.js} +10 -10
  138. package/dist/chunks/{file-retention-esj6mydx.js → filesystem-e54dr8r7.js} +13 -13
  139. package/dist/chunks/{file-retention-y183daxr.js → filesystem-e6ajfsdf.js} +9 -9
  140. package/dist/chunks/{file-retention-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{file-retention-fcwjxcrg.js → filesystem-ejhwb09y.js} +1 -1
  142. package/dist/chunks/{file-retention-e0jdvfpf.js → filesystem-eqs0pmgx.js} +6 -6
  143. package/dist/chunks/{file-retention-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-retention-tt4xct96.js → filesystem-evvf1n35.js} +12 -12
  145. package/dist/chunks/{file-retention-f2742wym.js → filesystem-f0yntm5b.js} +17 -17
  146. package/dist/chunks/{file-retention-3thn9ygr.js → filesystem-f7dhzska.js} +37 -37
  147. package/dist/chunks/{file-retention-f828m53h.js → filesystem-f828m53h.js} +2 -2
  148. package/dist/chunks/{file-retention-trdbzp7q.js → filesystem-fap9mv8s.js} +37 -37
  149. package/dist/chunks/{file-retention-g2n1kqkx.js → filesystem-fcw1zqre.js} +18 -18
  150. package/dist/chunks/{file-retention-rtfsnp04.js → filesystem-fddsyqr4.js} +8 -8
  151. package/dist/chunks/{file-retention-sazb1h0p.js → filesystem-fdywpn9x.js} +11 -11
  152. package/dist/chunks/{file-retention-4cyvw3p6.js → filesystem-fw7t8djd.js} +63 -63
  153. package/dist/chunks/{file-retention-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{file-retention-hfdr1yjj.js → filesystem-fxqygnfa.js} +4 -4
  155. package/dist/chunks/{file-retention-hf8fr414.js → filesystem-gcx5yr3q.js} +15 -15
  156. package/dist/chunks/{file-retention-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-retention-gn2hfjap.js → filesystem-gdezgtpw.js} +8 -8
  158. package/dist/chunks/{file-retention-fy1kaafr.js → filesystem-gdqqvv7c.js} +14 -14
  159. package/dist/chunks/{file-retention-264y2mvj.js → filesystem-gf5fcfbn.js} +13 -13
  160. package/dist/chunks/{file-retention-mm71tc60.js → filesystem-gn350eyy.js} +19 -19
  161. package/dist/chunks/{file-retention-wdrzmzfn.js → filesystem-grkcecy6.js} +30 -30
  162. package/dist/chunks/{file-retention-a4d6h2dp.js → filesystem-gsjsmvjz.js} +28 -28
  163. package/dist/chunks/{file-retention-ndf7wh7w.js → filesystem-gw9t2z3w.js} +21 -21
  164. package/dist/chunks/{file-retention-mw7s1qqm.js → filesystem-gzprh467.js} +29 -29
  165. package/dist/chunks/{file-retention-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{file-retention-xqmwp9mt.js → filesystem-h609avsd.js} +10 -10
  167. package/dist/chunks/{file-retention-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{file-retention-h7ygw6q4.js → filesystem-h7ygw6q4.js} +2 -2
  169. package/dist/chunks/{file-retention-9jwg4mj7.js → filesystem-he07zsyr.js} +11 -11
  170. package/dist/chunks/{file-retention-d0q8x7fd.js → filesystem-hrc76cbb.js} +17 -17
  171. package/dist/chunks/{file-retention-2h7tr172.js → filesystem-j41a475f.js} +8 -8
  172. package/dist/chunks/{file-retention-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-retention-5er01f6t.js → filesystem-j8hh79t3.js} +172 -172
  174. package/dist/chunks/{file-retention-0b4f6mp2.js → filesystem-jaqr24m8.js} +28 -28
  175. package/dist/chunks/{file-retention-kgtbg51g.js → filesystem-jfc61th8.js} +24 -24
  176. package/dist/chunks/{file-retention-hsp71j46.js → filesystem-jfzms4ed.js} +1 -1
  177. package/dist/chunks/{file-retention-exx0kxr8.js → filesystem-jgj0cmjf.js} +7 -7
  178. package/dist/chunks/{file-retention-3fp85657.js → filesystem-jmnxg2hy.js} +29 -29
  179. package/dist/chunks/{file-retention-bdhd9qj0.js → filesystem-jtzgk00g.js} +9 -9
  180. package/dist/chunks/{file-retention-npkymxxz.js → filesystem-jx4a7yyx.js} +1 -1
  181. package/dist/chunks/{file-retention-126se46d.js → filesystem-k17k9k58.js} +10 -10
  182. package/dist/chunks/{file-retention-qh7d57mv.js → filesystem-kj1rs0ex.js} +4 -4
  183. package/dist/chunks/{file-retention-nvv2w69t.js → filesystem-kpmnv95v.js} +8 -8
  184. package/dist/chunks/{file-retention-q80dxf01.js → filesystem-kzqkxx2v.js} +25 -25
  185. package/dist/chunks/{file-retention-276gygcj.js → filesystem-m3npdpng.js} +5 -5
  186. package/dist/chunks/{file-retention-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-retention-magykp64.js → filesystem-magykp64.js} +1 -1
  188. package/dist/chunks/{file-retention-r5depw3d.js → filesystem-mfw11q3n.js} +30 -30
  189. package/dist/chunks/{file-retention-tph3grx4.js → filesystem-mmy54dzb.js} +9 -9
  190. package/dist/chunks/{file-retention-81q6s179.js → filesystem-mqjke63f.js} +18 -18
  191. package/dist/chunks/{file-retention-y3pw9whf.js → filesystem-ms4phxsh.js} +20 -20
  192. package/dist/chunks/{file-retention-jhxy2sk1.js → filesystem-mx9sgxdp.js} +2 -2
  193. package/dist/chunks/{file-retention-2tkyep3v.js → filesystem-n0k1g4fc.js} +19 -19
  194. package/dist/chunks/{file-retention-qs0gs2g1.js → filesystem-n3pf906j.js} +12 -12
  195. package/dist/chunks/{file-retention-g17wn8cw.js → filesystem-n8mqzfm9.js} +12 -12
  196. package/dist/chunks/{file-retention-qsxff6dv.js → filesystem-nb9b6p15.js} +23 -23
  197. package/dist/chunks/{file-retention-cjvw1vr1.js → filesystem-nc6g6xf4.js} +6 -6
  198. package/dist/chunks/{file-retention-kf3rtttb.js → filesystem-ndh7jbby.js} +24 -24
  199. package/dist/chunks/{file-retention-q2f8db2z.js → filesystem-ngqd1g3c.js} +4 -4
  200. package/dist/chunks/{file-retention-nhy5jxhy.js → filesystem-nhy5jxhy.js} +1 -1
  201. package/dist/chunks/{file-retention-j279vgb3.js → filesystem-nryd581v.js} +49 -49
  202. package/dist/chunks/filesystem-nyrzeqwa.js +251 -0
  203. package/dist/chunks/{file-retention-4wdhwteq.js → filesystem-p5tc0jkc.js} +3 -3
  204. package/dist/chunks/filesystem-pf31ssb9.js +18 -0
  205. package/dist/chunks/{file-retention-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-retention-pknna89w.js → filesystem-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-retention-23sxaqwc.js → filesystem-q5nw5m1n.js} +6 -6
  208. package/dist/chunks/{file-retention-mnhyjcyd.js → filesystem-q7ts5rjt.js} +87 -87
  209. package/dist/chunks/{file-retention-hnr5yq9h.js → filesystem-qjnxxf51.js} +5 -5
  210. package/dist/chunks/{file-retention-4xhhjths.js → filesystem-qp3v07n2.js} +8 -8
  211. package/dist/chunks/{file-retention-pb1eahw5.js → filesystem-qq1c0rfq.js} +6 -6
  212. package/dist/chunks/{file-retention-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-retention-cb9cr8vz.js → filesystem-qxk9wp59.js} +11 -11
  214. package/dist/chunks/{file-retention-q1gp8mbh.js → filesystem-qznyv1pd.js} +6 -6
  215. package/dist/chunks/{file-retention-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
  216. package/dist/chunks/{file-retention-v4cwwf6k.js → filesystem-rds95j8z.js} +1 -1
  217. package/dist/chunks/{file-retention-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-retention-kcyfyv8v.js → filesystem-req2f1zf.js} +14 -14
  219. package/dist/chunks/{file-retention-tvh2peyk.js → filesystem-s1aps666.js} +7 -7
  220. package/dist/chunks/{file-retention-4z0v33m4.js → filesystem-s2rjst4c.js} +32 -32
  221. package/dist/chunks/{file-retention-s90s62as.js → filesystem-s4bmhrbd.js} +17 -17
  222. package/dist/chunks/{file-retention-spp1p3tw.js → filesystem-s5pht5ae.js} +24 -24
  223. package/dist/chunks/{file-retention-ky3seynh.js → filesystem-s8610hey.js} +2 -2
  224. package/dist/chunks/{file-retention-v07rhjax.js → filesystem-s9jsf10w.js} +9 -9
  225. package/dist/chunks/{file-retention-havwf4k9.js → filesystem-sfnc39yp.js} +8 -8
  226. package/dist/chunks/{file-retention-7j92jdde.js → filesystem-shh6fz4q.js} +4 -4
  227. package/dist/chunks/{file-retention-4gyxjxrp.js → filesystem-skz9jdxs.js} +45 -45
  228. package/dist/chunks/{file-retention-fg50ch7r.js → filesystem-syxap8am.js} +4 -4
  229. package/dist/chunks/{file-retention-9xzn68v5.js → filesystem-t73pnhmt.js} +37 -37
  230. package/dist/chunks/{file-retention-f73rjn58.js → filesystem-t7n9q6bq.js} +4 -4
  231. package/dist/chunks/{file-retention-agq2sn5n.js → filesystem-t82q7pe6.js} +6 -6
  232. package/dist/chunks/{file-retention-j83byb14.js → filesystem-t9zs3egg.js} +4 -4
  233. package/dist/chunks/{file-retention-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{file-retention-tdstcens.js → filesystem-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-retention-gv6a8nnw.js → filesystem-th5km1p3.js} +5 -5
  236. package/dist/chunks/{file-retention-fd1zsxbb.js → filesystem-tn345pzm.js} +6 -6
  237. package/dist/chunks/{file-retention-qc5a07km.js → filesystem-tqb4zsas.js} +20 -20
  238. package/dist/chunks/{file-retention-3p5hkrxv.js → filesystem-tqq9vv0r.js} +32 -32
  239. package/dist/chunks/{file-retention-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  240. package/dist/chunks/{file-retention-5k148b68.js → filesystem-v1kfa28m.js} +9 -9
  241. package/dist/chunks/{file-retention-sx8f04je.js → filesystem-v5b0xx0m.js} +14 -14
  242. package/dist/chunks/{file-retention-x4nz54qe.js → filesystem-vbxkep6a.js} +15 -15
  243. package/dist/chunks/{file-retention-4tzvqyk7.js → filesystem-vbzbj883.js} +34 -34
  244. package/dist/chunks/{file-retention-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-retention-6p84ymk5.js → filesystem-vy0wt1xp.js} +34 -34
  246. package/dist/chunks/{file-retention-r7g94wtk.js → filesystem-vymvq99p.js} +22 -22
  247. package/dist/chunks/{file-retention-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-retention-5qzqc01j.js → filesystem-w0fqee3t.js} +4 -4
  249. package/dist/chunks/{file-retention-06dxphr1.js → filesystem-w1k39n5e.js} +4 -4
  250. package/dist/chunks/{file-retention-j07ynkak.js → filesystem-w3jz5mh3.js} +17 -17
  251. package/dist/chunks/{file-retention-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-retention-pgy12fq2.js → filesystem-wbt8vg77.js} +18 -18
  253. package/dist/chunks/{file-retention-g7pgb33s.js → filesystem-wd41hx6g.js} +6 -6
  254. package/dist/chunks/{file-retention-wd87259q.js → filesystem-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-retention-z8y90bmn.js → filesystem-wesp68ae.js} +26 -26
  256. package/dist/chunks/{file-retention-13b7xy8e.js → filesystem-wjrkf519.js} +5 -5
  257. package/dist/chunks/{file-retention-wxffcvth.js → filesystem-wqkncbjv.js} +3 -3
  258. package/dist/chunks/{file-retention-d85qp1ds.js → filesystem-ws7b1vd7.js} +24 -24
  259. package/dist/chunks/{file-retention-s0nkzfby.js → filesystem-wtaqqafq.js} +11 -11
  260. package/dist/chunks/{file-retention-9180haxf.js → filesystem-wtkcq731.js} +41 -41
  261. package/dist/chunks/{file-retention-n3gg6d5p.js → filesystem-wwxgka64.js} +11 -11
  262. package/dist/chunks/{file-retention-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-retention-f2gjs8p9.js → filesystem-x8kx70zw.js} +15 -15
  264. package/dist/chunks/{file-retention-xezh77hc.js → filesystem-xa9r7nw9.js} +19 -19
  265. package/dist/chunks/{file-retention-5cb8a4qv.js → filesystem-xd7p5zqs.js} +27 -27
  266. package/dist/chunks/{file-retention-p8bhcqp6.js → filesystem-xyyjnszw.js} +5 -5
  267. package/dist/chunks/{file-retention-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-retention-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
  269. package/dist/chunks/{file-retention-3wpzg793.js → filesystem-y7z8aqqx.js} +15 -15
  270. package/dist/chunks/{file-retention-kcfncsdb.js → filesystem-yd1jaf3z.js} +9 -9
  271. package/dist/chunks/{file-retention-egthh08c.js → filesystem-yjg451mg.js} +25 -25
  272. package/dist/chunks/{file-retention-bgr2vz0b.js → filesystem-ymcnatpj.js} +22 -22
  273. package/dist/chunks/{file-retention-rhraev7y.js → filesystem-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{file-retention-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-retention-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-retention-zqcfhx7s.js → filesystem-ysz7wnt3.js} +26 -26
  277. package/dist/chunks/{file-retention-w171fkng.js → filesystem-z07af02a.js} +25 -25
  278. package/dist/chunks/{file-retention-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-retention-qb8wdytp.js → filesystem-z6259ffv.js} +8 -8
  280. package/dist/chunks/{file-retention-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
  281. package/dist/chunks/{file-retention-pesg4g4m.js → filesystem-z97y4ypk.js} +3 -3
  282. package/dist/chunks/{file-retention-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-retention-c390ksyj.js → filesystem-zfs18d5t.js} +5 -5
  284. package/dist/chunks/{file-retention-5ffqwp29.js → filesystem-zh0vtjyr.js} +24 -24
  285. package/dist/chunks/{file-retention-49gatq4q.js → filesystem-zmn1asca.js} +278 -278
  286. package/dist/chunks/{file-retention-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-retention-aq9j564q.js → filesystem-zvt32j6c.js} +15 -15
  288. package/dist/chunks/{file-retention-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{file-retention-9nz7ga5n.js → filesystem-zxse2e34.js} +14 -14
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +223 -223
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +103 -103
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +4 -4
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +126 -126
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +110 -110
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +220 -220
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +98 -98
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +170 -170
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +113 -113
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +119 -119
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +104 -104
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +95 -95
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +1 -1
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +76 -76
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
  692. package/dist/chunks/file-retention-907a706s.js +0 -251
  693. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  694. package/dist/chunks/file-retention-vh6dfrxf.js +0 -26
  695. /package/dist/chunks/{file-retention-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{file-retention-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{file-retention-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{file-retention-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{file-retention-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{file-retention-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{file-retention-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{file-retention-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{file-retention-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{file-retention-3asan66x.js → filesystem-3asan66x.js} +0 -0
  705. /package/dist/chunks/{file-retention-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{file-retention-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{file-retention-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{file-retention-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{file-retention-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{file-retention-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{file-retention-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{file-retention-53557ph1.js → filesystem-53557ph1.js} +0 -0
  713. /package/dist/chunks/{file-retention-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{file-retention-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{file-retention-6prwharc.js → filesystem-6prwharc.js} +0 -0
  716. /package/dist/chunks/{file-retention-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{file-retention-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{file-retention-822emrt2.js → filesystem-822emrt2.js} +0 -0
  719. /package/dist/chunks/{file-retention-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{file-retention-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{file-retention-922hggd3.js → filesystem-922hggd3.js} +0 -0
  722. /package/dist/chunks/{file-retention-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{file-retention-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{file-retention-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{file-retention-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{file-retention-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{file-retention-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{file-retention-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{file-retention-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{file-retention-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{file-retention-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{file-retention-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{file-retention-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{file-retention-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{file-retention-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{file-retention-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{file-retention-df08tz66.js → filesystem-df08tz66.js} +0 -0
  738. /package/dist/chunks/{file-retention-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{file-retention-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{file-retention-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{file-retention-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{file-retention-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{file-retention-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{file-retention-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{file-retention-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{file-retention-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{file-retention-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{file-retention-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{file-retention-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{file-retention-g86h250q.js → filesystem-g86h250q.js} +0 -0
  751. /package/dist/chunks/{file-retention-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{file-retention-gftt206x.js → filesystem-gftt206x.js} +0 -0
  753. /package/dist/chunks/{file-retention-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{file-retention-hk9envan.js → filesystem-hk9envan.js} +0 -0
  755. /package/dist/chunks/{file-retention-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{file-retention-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{file-retention-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{file-retention-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{file-retention-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{file-retention-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{file-retention-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{file-retention-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{file-retention-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{file-retention-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{file-retention-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{file-retention-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{file-retention-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{file-retention-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{file-retention-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{file-retention-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{file-retention-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{file-retention-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{file-retention-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{file-retention-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{file-retention-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{file-retention-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{file-retention-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{file-retention-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{file-retention-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{file-retention-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{file-retention-x61499pn.js → filesystem-x61499pn.js} +0 -0
  782. /package/dist/chunks/{file-retention-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{file-retention-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{file-retention-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{file-retention-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{file-retention-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{file-retention-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-retention-tvtrv512.js";
3
+ } from "./filesystem-tvtrv512.js";
4
4
  import {
5
- Service63,
6
- node68
7
- } from "./file-retention-hk9ksenn.js";
5
+ Service67,
6
+ node72
7
+ } from "./filesystem-brhvyepg.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-retention-gftt206x.js";
10
+ } from "./filesystem-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-retention-xxynqx5z.js";
13
+ } from "./filesystem-2f04pwep.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service62,
23
- make: () => make20,
24
- node: () => node67
22
+ Service: () => Service66,
23
+ make: () => make19,
24
+ node: () => node71
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service62 extends Context.Service()("@opencode/Job") {
53
+ class Service66 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make20 = Effect.gen(function* () {
81
- const kv = yield* Service63;
80
+ var make19 = Effect.gen(function* () {
81
+ const kv = yield* Service67;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make20 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service62.of({
310
+ return Service66.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make20 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service62, make20);
323
- var node67 = makeGlobalNode({ service: Service62, layer, deps: [node68] });
322
+ var layer = Layer.effect(Service66, make19);
323
+ var node71 = makeGlobalNode({ service: Service66, layer, deps: [node72] });
324
324
 
325
- export { Service62, make20, node67, exports_job };
325
+ export { Service66, make19, node71, exports_job };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./file-retention-924ykxna.js";
4
+ } from "./filesystem-37k0eqq3.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./file-retention-s8d7rejh.js";
10
+ } from "./filesystem-02nrjc1r.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./file-retention-a1bz86dw.js";
13
+ } from "./filesystem-a1bz86dw.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service20,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node25,
29
+ node: () => node30,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service20 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make20({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service20, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
79
  const { db } = yield* Service81;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service20.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node25 = makeLocationNode({ service: Service20, layer, deps: [node86] });
113
+ var node30 = makeLocationNode({ service: Service25, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node25, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node30, exports_instruction_entry };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./file-retention-kcyfyv8v.js";
5
+ Service75
6
+ } from "./filesystem-req2f1zf.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service77;
26
+ const location = yield* Service75;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-retention-magykp64.js";
6
+ } from "./filesystem-magykp64.js";
7
7
  import {
8
- Info14
9
- } from "./file-retention-pb1eahw5.js";
8
+ Info8
9
+ } from "./filesystem-qq1c0rfq.js";
10
10
  import {
11
- Info13
12
- } from "./file-retention-evbgk2k8.js";
11
+ Info10
12
+ } from "./filesystem-37s12vcn.js";
13
13
  import {
14
- Info9
15
- } from "./file-retention-fqb2p7cx.js";
14
+ Info16
15
+ } from "./filesystem-1g7epwpd.js";
16
16
  import {
17
- Info10
18
- } from "./file-retention-pecb0brz.js";
17
+ Info13
18
+ } from "./filesystem-0f9afca0.js";
19
19
  import {
20
20
  Spec2
21
- } from "./file-retention-qgn6gcr1.js";
21
+ } from "./filesystem-0jwsre1p.js";
22
22
  import {
23
- Info16
24
- } from "./file-retention-hnr5yq9h.js";
23
+ Info9
24
+ } from "./filesystem-qjnxxf51.js";
25
25
  import {
26
- Info8
27
- } from "./file-retention-rb9d13h1.js";
26
+ Info7
27
+ } from "./filesystem-827vnqcm.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./file-retention-5qzqc01j.js";
36
+ } from "./filesystem-w0fqee3t.js";
37
37
  import {
38
38
  __export
39
- } from "./file-retention-9rqn6x4v.js";
39
+ } from "./filesystem-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info13, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info10, value, path, diagnostics);
228
+ const server = decodeValue(Info13, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info16, raw, path, diagnostics);
424
+ const provider = decodeValue(Info9, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-retention-pmc74pb4.js";
3
+ } from "./filesystem-5xy61mm9.js";
4
4
  import {
5
- Service48,
6
- Event11
7
- } from "./file-retention-qv9y4v6r.js";
5
+ Service15,
6
+ Event3
7
+ } from "./filesystem-4n11223c.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service48;
32
+ const modelsDev = yield* Service15;
33
33
  const bus = yield* Service80;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-retention-ym463w8f.js";
3
+ } from "./filesystem-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./file-retention-qaymkmh1.js";
3
+ } from "./filesystem-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make9(input) {
8
+ function make10(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make9 };
264
+ export { make10 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./file-retention-emrn6kk6.js";
5
+ } from "./filesystem-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service80,
4
4
  node85
5
- } from "./file-retention-pmc74pb4.js";
5
+ } from "./filesystem-5xy61mm9.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make20,
11
11
  diffByKey2
12
- } from "./file-retention-s8d7rejh.js";
12
+ } from "./filesystem-02nrjc1r.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-retention-922hggd3.js";
15
+ } from "./filesystem-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-retention-rdw6cm16.js";
18
+ } from "./filesystem-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-retention-9rqn6x4v.js";
21
+ } from "./filesystem-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event4,
26
+ Event: () => Event6,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service31,
31
- configured: () => configured5,
29
+ Options: () => Options4,
30
+ Service: () => Service33,
31
+ configured: () => configured4,
32
32
  layer: () => layer15,
33
- node: () => node35
33
+ node: () => node37
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event4 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event6 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service31 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service33 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
55
+ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
56
56
  const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service31.of({
93
+ return Service33.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured4(options) {
108
108
  return makeLocationNode({
109
- service: Service31,
109
+ service: Service33,
110
110
  layer: layer15(options),
111
111
  deps: [node85]
112
112
  });
113
113
  }
114
- var node35 = configured5();
114
+ var node37 = configured4();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event4, Options5, Service31, layer15, configured5, node35, exports_instruction_discovery };
145
+ export { File2, Event6, Options4, Service33, layer15, configured4, node37, exports_instruction_discovery };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-retention-pmc74pb4.js";
4
+ } from "./filesystem-5xy61mm9.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-retention-2402vzrj.js";
11
+ } from "./filesystem-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-retention-922hggd3.js";
14
+ } from "./filesystem-922hggd3.js";
15
15
  import {
16
- Service35,
17
- node39
18
- } from "./file-retention-b4m0jvqm.js";
16
+ Service36,
17
+ node41
18
+ } from "./filesystem-5w764t2b.js";
19
19
  import {
20
20
  create3
21
- } from "./file-retention-rdw6cm16.js";
21
+ } from "./filesystem-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./filesystem-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event6,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info5,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service33,
35
- Source: () => Source3,
36
- node: () => node37
34
+ Service: () => Service35,
35
+ Source: () => Source4,
36
+ node: () => node40
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event6 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info5 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service33 extends Context.Service()("@opencode/Reference") {
48
+ class Service35 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service33, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service80;
53
- const cache = yield* Service35;
53
+ const cache = yield* Service36;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info5.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info5.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service33.of({
107
+ return Service35.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node37 = makeLocationNode({
116
- service: Service33,
115
+ var node40 = makeLocationNode({
116
+ service: Service35,
117
117
  layer,
118
- deps: [Global.node, node85, node39]
118
+ deps: [Global.node, node85, node41]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info5, Service33, node37, exports_reference2, Event6 };
121
+ export { LocalSource2, GitSource2, Source4, Info6, Service35, node40, exports_reference2, Event7 };