@opencode/core 0.0.0-dev-20381 → 0.0.0-dev-20384

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{rpc-aaz57tz5.js → repository-cache-0ee6f9jy.js} +11 -11
  8. package/dist/chunks/{rpc-692kj7w3.js → repository-cache-0mgqdngq.js} +35 -35
  9. package/dist/chunks/{rpc-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{rpc-9fwpadhv.js → repository-cache-0qb7pa1n.js} +5 -5
  11. package/dist/chunks/{rpc-3zn4sg2c.js → repository-cache-0rts7qdn.js} +52 -52
  12. package/dist/chunks/{rpc-1xhj1txz.js → repository-cache-0w8x28sf.js} +46 -46
  13. package/dist/chunks/{rpc-hvajpj5a.js → repository-cache-0wpsqe1j.js} +17 -17
  14. package/dist/chunks/{rpc-wg9j838r.js → repository-cache-194h8ws8.js} +1 -1
  15. package/dist/chunks/{rpc-eb4na3fv.js → repository-cache-19hqn2h9.js} +20 -20
  16. package/dist/chunks/{rpc-8zn2na59.js → repository-cache-1cn3ven4.js} +4 -4
  17. package/dist/chunks/{rpc-1vxd76q3.js → repository-cache-1cr71hfs.js} +10 -10
  18. package/dist/chunks/{rpc-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{rpc-wxfc6s8g.js → repository-cache-1f653fp7.js} +17 -17
  20. package/dist/chunks/{rpc-jmttzreg.js → repository-cache-1kr9zwgv.js} +30 -30
  21. package/dist/chunks/{rpc-ynpc68wq.js → repository-cache-1krrpkdr.js} +19 -19
  22. package/dist/chunks/{rpc-d3zp2qn8.js → repository-cache-1kzhj9ac.js} +15 -15
  23. package/dist/chunks/{rpc-w547y7sk.js → repository-cache-1mv2y61c.js} +10 -10
  24. package/dist/chunks/{rpc-bh4mgjf3.js → repository-cache-1n8qs01n.js} +4 -4
  25. package/dist/chunks/{rpc-8d8c4s3b.js → repository-cache-1nz9djp5.js} +15 -15
  26. package/dist/chunks/{rpc-56gdpj1q.js → repository-cache-1ygqh575.js} +9 -9
  27. package/dist/chunks/{rpc-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  28. package/dist/chunks/{rpc-hp8gp39b.js → repository-cache-22f357wt.js} +7 -7
  29. package/dist/chunks/{rpc-sz63pebb.js → repository-cache-233fp5d4.js} +26 -26
  30. package/dist/chunks/{rpc-z63w68vq.js → repository-cache-29x78va6.js} +6 -6
  31. package/dist/chunks/{rpc-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{rpc-6d2xvp2z.js → repository-cache-2evjqgve.js} +66 -66
  33. package/dist/chunks/{rpc-8d5kb0gn.js → repository-cache-2mfzxht7.js} +10 -10
  34. package/dist/chunks/{rpc-1cpck8gv.js → repository-cache-2nsj23ry.js} +15 -15
  35. package/dist/chunks/{rpc-qj8eh1ht.js → repository-cache-2pnhn36q.js} +21 -21
  36. package/dist/chunks/{rpc-0veeyvfm.js → repository-cache-2y1vgr31.js} +17 -17
  37. package/dist/chunks/{rpc-hekxc47r.js → repository-cache-3556dn8t.js} +1 -1
  38. package/dist/chunks/{rpc-166kng33.js → repository-cache-37ea9c2d.js} +8 -8
  39. package/dist/chunks/{rpc-hcqe9dg4.js → repository-cache-395chjsb.js} +32 -32
  40. package/dist/chunks/{rpc-vw19fjw8.js → repository-cache-3b5480dd.js} +18 -18
  41. package/dist/chunks/{rpc-3cfzdc8e.js → repository-cache-3cfzdc8e.js} +2 -2
  42. package/dist/chunks/{rpc-a3e33rv8.js → repository-cache-3ezfeh6y.js} +8 -8
  43. package/dist/chunks/{rpc-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{rpc-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{rpc-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{rpc-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{rpc-xef3vhss.js → repository-cache-3vetqjk1.js} +36 -36
  48. package/dist/chunks/{rpc-0qnwgxcx.js → repository-cache-3w0edgpr.js} +12 -12
  49. package/dist/chunks/{rpc-d4w79z61.js → repository-cache-3xqhjr40.js} +17 -17
  50. package/dist/chunks/{rpc-240vvp2b.js → repository-cache-3ym1w18d.js} +10 -10
  51. package/dist/chunks/{rpc-tbwm0nt3.js → repository-cache-3zm2v763.js} +7 -7
  52. package/dist/chunks/{rpc-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{rpc-6p67gzpn.js → repository-cache-46zxvhk8.js} +13 -13
  54. package/dist/chunks/{rpc-rtzzq57v.js → repository-cache-4cxwmwzv.js} +8 -8
  55. package/dist/chunks/repository-cache-4pfd6v8k.js +507 -0
  56. package/dist/chunks/{rpc-y82bc83e.js → repository-cache-4pmjbv1q.js} +30 -30
  57. package/dist/chunks/{rpc-p6wxjpka.js → repository-cache-4z58m4b4.js} +4 -4
  58. package/dist/chunks/{rpc-02jj188d.js → repository-cache-54gykf4q.js} +7 -7
  59. package/dist/chunks/{rpc-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  60. package/dist/chunks/{rpc-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{rpc-f66bccwn.js → repository-cache-57kcybrc.js} +5 -5
  62. package/dist/chunks/{rpc-g3ntd4xd.js → repository-cache-5888xk6a.js} +51 -51
  63. package/dist/chunks/{rpc-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  64. package/dist/chunks/{rpc-fd0e9ebd.js → repository-cache-5etd2cz8.js} +13 -13
  65. package/dist/chunks/{rpc-w1xvrbj5.js → repository-cache-5jz776c3.js} +23 -23
  66. package/dist/chunks/{rpc-qmx1h8v8.js → repository-cache-5m5yrm4y.js} +8 -8
  67. package/dist/chunks/{rpc-h2jp4waz.js → repository-cache-5pm33tn0.js} +19 -19
  68. package/dist/chunks/{rpc-qdwhejxn.js → repository-cache-5q7t082n.js} +24 -24
  69. package/dist/chunks/{rpc-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{rpc-b18k1zs2.js → repository-cache-5xmatmkw.js} +22 -22
  71. package/dist/chunks/{rpc-tpw6cwsb.js → repository-cache-5xtgfte3.js} +8 -8
  72. package/dist/chunks/{rpc-czpmk66h.js → repository-cache-5yrmw3zp.js} +6 -6
  73. package/dist/chunks/{rpc-5146pxbw.js → repository-cache-6163btsh.js} +33 -33
  74. package/dist/chunks/{rpc-rz9de3a5.js → repository-cache-63f8h98j.js} +29 -29
  75. package/dist/chunks/{rpc-669tq793.js → repository-cache-669tq793.js} +1 -1
  76. package/dist/chunks/{rpc-946svjry.js → repository-cache-66qv7stq.js} +19 -19
  77. package/dist/chunks/{rpc-x6p7tmnf.js → repository-cache-6bkwpg0x.js} +12 -12
  78. package/dist/chunks/{rpc-7kkv30ab.js → repository-cache-6bn6zw9m.js} +3 -3
  79. package/dist/chunks/{rpc-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{rpc-bgepzekk.js → repository-cache-6x1xjyfa.js} +10 -10
  81. package/dist/chunks/{rpc-r5x6zcsm.js → repository-cache-73tb2d7t.js} +3 -3
  82. package/dist/chunks/{rpc-hk4xp7sk.js → repository-cache-768tacq1.js} +52 -52
  83. package/dist/chunks/{rpc-w9vf9qqj.js → repository-cache-76ymgwed.js} +8 -8
  84. package/dist/chunks/{rpc-w6gfe054.js → repository-cache-78phanfd.js} +13 -13
  85. package/dist/chunks/{rpc-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{rpc-3sj2hmhn.js → repository-cache-7jkksj7z.js} +17 -17
  87. package/dist/chunks/{rpc-411radew.js → repository-cache-7xkvsncw.js} +9 -9
  88. package/dist/chunks/{rpc-fm2qvscf.js → repository-cache-806j49yq.js} +4 -4
  89. package/dist/chunks/{rpc-s02jbxs5.js → repository-cache-8451t691.js} +22 -22
  90. package/dist/chunks/{rpc-t1jms00y.js → repository-cache-85mhr6td.js} +18 -18
  91. package/dist/chunks/{rpc-jbega7th.js → repository-cache-85y232q2.js} +12 -12
  92. package/dist/chunks/{rpc-qvb3nf84.js → repository-cache-8aaqm6qj.js} +8 -8
  93. package/dist/chunks/{rpc-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{rpc-n2pdwfck.js → repository-cache-8evgpfva.js} +11 -11
  95. package/dist/chunks/{rpc-4pwxaf10.js → repository-cache-8n5abwtw.js} +6 -6
  96. package/dist/chunks/{rpc-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{rpc-px383m71.js → repository-cache-974w5737.js} +21 -21
  98. package/dist/chunks/{rpc-5w0ma60y.js → repository-cache-a46jvrgv.js} +11 -11
  99. package/dist/chunks/{rpc-q95fwmf1.js → repository-cache-a6b6yrq3.js} +26 -26
  100. package/dist/chunks/{rpc-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  101. package/dist/chunks/{rpc-jbkjygfb.js → repository-cache-ad4vgpbm.js} +34 -34
  102. package/dist/chunks/{rpc-5fn1j13d.js → repository-cache-aeexf8fc.js} +19 -19
  103. package/dist/chunks/{rpc-hx5ww8wt.js → repository-cache-afed7ext.js} +12 -12
  104. package/dist/chunks/{rpc-37gzdae6.js → repository-cache-aja34zf0.js} +25 -25
  105. package/dist/chunks/{rpc-aafym81k.js → repository-cache-b2nsx1md.js} +24 -24
  106. package/dist/chunks/{rpc-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{rpc-ndd4s1hb.js → repository-cache-b8kqzbny.js} +22 -22
  108. package/dist/chunks/{rpc-by4ebpdc.js → repository-cache-be0emam3.js} +28 -28
  109. package/dist/chunks/{rpc-s2csw21s.js → repository-cache-bpf208j3.js} +6 -6
  110. package/dist/chunks/{rpc-ygpp3mx7.js → repository-cache-bqjmek8f.js} +11 -11
  111. package/dist/chunks/{rpc-mkya1vkq.js → repository-cache-bsxd6m7c.js} +7 -7
  112. package/dist/chunks/{rpc-207ajt2h.js → repository-cache-btec747f.js} +5 -5
  113. package/dist/chunks/{rpc-k14mz5r3.js → repository-cache-bxntr1t7.js} +31 -31
  114. package/dist/chunks/{rpc-wgq3tw2n.js → repository-cache-c2capq82.js} +32 -32
  115. package/dist/chunks/{rpc-djszqvmq.js → repository-cache-c765mh8b.js} +9 -9
  116. package/dist/chunks/{rpc-embw8kgh.js → repository-cache-ca7w653e.js} +4 -4
  117. package/dist/chunks/{rpc-cezp6vxa.js → repository-cache-cb680df9.js} +9 -9
  118. package/dist/chunks/{rpc-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
  119. package/dist/chunks/{rpc-wdr62gh7.js → repository-cache-ckgjktd6.js} +31 -31
  120. package/dist/chunks/{rpc-rm7hx2h9.js → repository-cache-cmbk0xqe.js} +21 -21
  121. package/dist/chunks/{rpc-bg7q500h.js → repository-cache-cwapn2kk.js} +20 -20
  122. package/dist/chunks/{rpc-qtsqcjpr.js → repository-cache-cxp51yks.js} +38 -38
  123. package/dist/chunks/{rpc-p9sy75vy.js → repository-cache-cy1erk79.js} +20 -20
  124. package/dist/chunks/{rpc-r3pyn2sd.js → repository-cache-cy6ws55e.js} +22 -22
  125. package/dist/chunks/{rpc-q7dmtnxx.js → repository-cache-d5c7pv19.js} +308 -308
  126. package/dist/chunks/{rpc-4bm5ja14.js → repository-cache-d858xzj7.js} +4 -4
  127. package/dist/chunks/{rpc-en2dwfny.js → repository-cache-da443km9.js} +88 -88
  128. package/dist/chunks/{rpc-8fn17prt.js → repository-cache-dgg5hry3.js} +16 -16
  129. package/dist/chunks/{rpc-n3s1wep9.js → repository-cache-dh57vbnz.js} +44 -44
  130. package/dist/chunks/{rpc-5qz9vfqb.js → repository-cache-dngwpm44.js} +23 -23
  131. package/dist/chunks/{rpc-drwq78ky.js → repository-cache-drwq78ky.js} +1 -1
  132. package/dist/chunks/{rpc-61p2gn3c.js → repository-cache-dzydyd9h.js} +48 -48
  133. package/dist/chunks/{rpc-ekyy2mhv.js → repository-cache-e1wpnkfg.js} +36 -36
  134. package/dist/chunks/{rpc-4rh22bex.js → repository-cache-e3ac5n3c.js} +8 -8
  135. package/dist/chunks/{rpc-5qd3pb7m.js → repository-cache-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{rpc-6q90rzng.js → repository-cache-e6m5dm35.js} +30 -30
  137. package/dist/chunks/{rpc-hj4aaq0x.js → repository-cache-e7z5m3qb.js} +4 -4
  138. package/dist/chunks/{rpc-fb7qthtr.js → repository-cache-e9266ee7.js} +24 -24
  139. package/dist/chunks/{rpc-s8zy8myc.js → repository-cache-ead3g9p8.js} +5 -5
  140. package/dist/chunks/{rpc-qhhddrhx.js → repository-cache-eb1y8z6f.js} +13 -13
  141. package/dist/chunks/{rpc-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{rpc-cqg8v4c7.js → repository-cache-efv4s0g0.js} +6 -6
  143. package/dist/chunks/{rpc-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{rpc-wee23531.js → repository-cache-etqwhcmh.js} +14 -14
  145. package/dist/chunks/repository-cache-eygf1jp4.js +252 -0
  146. package/dist/chunks/{rpc-yp2x3t23.js → repository-cache-f2n192rq.js} +4 -4
  147. package/dist/chunks/{rpc-sn70db0p.js → repository-cache-f453btn2.js} +10 -10
  148. package/dist/chunks/{rpc-yc3z08e9.js → repository-cache-f9qv40sy.js} +45 -45
  149. package/dist/chunks/{rpc-qhke4dz0.js → repository-cache-ffmrpess.js} +11 -11
  150. package/dist/chunks/{rpc-wtcb6vs4.js → repository-cache-g9xsh2b9.js} +24 -24
  151. package/dist/chunks/{rpc-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{rpc-syaeh5dc.js → repository-cache-gm597rkn.js} +9 -9
  153. package/dist/chunks/{rpc-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{rpc-5dht68aa.js → repository-cache-h0h78a5e.js} +14 -14
  155. package/dist/chunks/{rpc-z1q79rtb.js → repository-cache-h26wjtqz.js} +11 -11
  156. package/dist/chunks/{rpc-a2rpfkac.js → repository-cache-h6310vsd.js} +4 -4
  157. package/dist/chunks/{rpc-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{rpc-9cememrc.js → repository-cache-h9mky73t.js} +16 -16
  159. package/dist/chunks/{rpc-ahtncqw7.js → repository-cache-h9rbv32p.js} +3 -3
  160. package/dist/chunks/{rpc-v2b68ckw.js → repository-cache-hftftmrk.js} +23 -23
  161. package/dist/chunks/{rpc-rdg24yab.js → repository-cache-hh9dckdz.js} +15 -15
  162. package/dist/chunks/{rpc-d0vm0wq8.js → repository-cache-hjhp6xxc.js} +16 -16
  163. package/dist/chunks/{rpc-ydkeg25k.js → repository-cache-httqwp5x.js} +13 -13
  164. package/dist/chunks/{rpc-p1p7yams.js → repository-cache-hz7s10xd.js} +4 -4
  165. package/dist/chunks/{rpc-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  166. package/dist/chunks/{rpc-c8bydgjz.js → repository-cache-j5w2yx54.js} +6 -6
  167. package/dist/chunks/{rpc-2y34zzjz.js → repository-cache-jbjr1a4g.js} +6 -6
  168. package/dist/chunks/{rpc-vnx05bne.js → repository-cache-jgrnma6d.js} +3 -3
  169. package/dist/chunks/{rpc-9vgxsr0f.js → repository-cache-jmdz0xnc.js} +23 -23
  170. package/dist/chunks/{rpc-9gc7vjkx.js → repository-cache-jpeemenq.js} +4 -4
  171. package/dist/chunks/{rpc-fxtmaxyj.js → repository-cache-jq8b4me5.js} +12 -12
  172. package/dist/chunks/{rpc-9gwfnzdc.js → repository-cache-jv2beyhx.js} +11 -11
  173. package/dist/chunks/{rpc-7yhnk20z.js → repository-cache-k0dvd39k.js} +9 -9
  174. package/dist/chunks/{rpc-wnzb6xvf.js → repository-cache-k1hwpwtt.js} +15 -15
  175. package/dist/chunks/{rpc-k3c624dm.js → repository-cache-k3c624dm.js} +3 -3
  176. package/dist/chunks/{rpc-96ctqc5x.js → repository-cache-kb6vbnxp.js} +4 -4
  177. package/dist/chunks/{rpc-d2anxpr8.js → repository-cache-kbegyq1c.js} +2 -2
  178. package/dist/chunks/{rpc-ctvmbjvv.js → repository-cache-kcz65p5n.js} +36 -36
  179. package/dist/chunks/{rpc-59sqkgcz.js → repository-cache-kfk5w719.js} +41 -41
  180. package/dist/chunks/{rpc-bnae1mpp.js → repository-cache-ksbnj448.js} +176 -176
  181. package/dist/chunks/{rpc-qpbm3ztw.js → repository-cache-kzhakyvk.js} +2 -2
  182. package/dist/chunks/{rpc-amzhydp5.js → repository-cache-m0ecvezt.js} +17 -17
  183. package/dist/chunks/{rpc-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{rpc-tw7s424j.js → repository-cache-m3txq9h1.js} +5 -5
  185. package/dist/chunks/{rpc-533t3k18.js → repository-cache-m3zza4qd.js} +5 -5
  186. package/dist/chunks/{rpc-ecfe7b91.js → repository-cache-m58kmhef.js} +9 -3
  187. package/dist/chunks/{rpc-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{rpc-6t37hax9.js → repository-cache-mjd5dqnw.js} +3 -3
  189. package/dist/chunks/{rpc-mcbtmp24.js → repository-cache-mp2sm6hx.js} +34 -34
  190. package/dist/chunks/{rpc-y6bex35g.js → repository-cache-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{rpc-7e96yn50.js → repository-cache-msa4er6y.js} +22 -22
  192. package/dist/chunks/{rpc-yv1rk2qz.js → repository-cache-mspkneqr.js} +11 -11
  193. package/dist/chunks/{rpc-jrv9zaag.js → repository-cache-mvgvez97.js} +18 -18
  194. package/dist/chunks/{rpc-dhqze9vc.js → repository-cache-mx04v3d0.js} +27 -27
  195. package/dist/chunks/{rpc-wq4mmp7m.js → repository-cache-n1ka8r9d.js} +4 -4
  196. package/dist/chunks/{rpc-4qr0emt2.js → repository-cache-n2ev6tjf.js} +17 -17
  197. package/dist/chunks/{rpc-fvxg17y2.js → repository-cache-n7d88tpn.js} +3 -3
  198. package/dist/chunks/{rpc-v9achbqy.js → repository-cache-nt0m1awr.js} +18 -18
  199. package/dist/chunks/{rpc-tznb5qaq.js → repository-cache-p08dfpvf.js} +28 -28
  200. package/dist/chunks/{rpc-5tb8a3cn.js → repository-cache-p2y3dfrn.js} +5 -5
  201. package/dist/chunks/{rpc-54sgfqm0.js → repository-cache-pavnatfc.js} +6 -6
  202. package/dist/chunks/repository-cache-pdhzdjhf.js +26 -0
  203. package/dist/chunks/{rpc-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{rpc-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  205. package/dist/chunks/{rpc-dytv88em.js → repository-cache-q1prep5a.js} +5 -5
  206. package/dist/chunks/{rpc-xvwyzs5x.js → repository-cache-q53c2jgr.js} +11 -11
  207. package/dist/chunks/{rpc-j2hgmjn3.js → repository-cache-q6e2qxqk.js} +27 -27
  208. package/dist/chunks/{rpc-qbmejtr1.js → repository-cache-qc1x1f66.js} +5 -5
  209. package/dist/chunks/{rpc-nq7qbqzc.js → repository-cache-qg0jgkcp.js} +9 -9
  210. package/dist/chunks/{rpc-y9x49r01.js → repository-cache-qg78ryn2.js} +15 -15
  211. package/dist/chunks/{rpc-2kfagwra.js → repository-cache-qgn1c80m.js} +11 -11
  212. package/dist/chunks/{rpc-0jwsre1p.js → repository-cache-qgn6gcr1.js} +5 -5
  213. package/dist/chunks/{rpc-snf13aa5.js → repository-cache-qnpxmzp3.js} +22 -22
  214. package/dist/chunks/{rpc-vncycja5.js → repository-cache-qq11w61w.js} +4 -4
  215. package/dist/chunks/{rpc-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  216. package/dist/chunks/{rpc-kbqjp078.js → repository-cache-qsr9synt.js} +5 -5
  217. package/dist/chunks/{rpc-wbkyxrgf.js → repository-cache-qte5z7bc.js} +5 -5
  218. package/dist/chunks/{rpc-b38j3whv.js → repository-cache-r9q3mv0t.js} +47 -47
  219. package/dist/chunks/{rpc-56sbpqpy.js → repository-cache-ray2z7pb.js} +16 -16
  220. package/dist/chunks/{rpc-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{rpc-k8m084bz.js → repository-cache-rf6qq5pr.js} +9 -9
  222. package/dist/chunks/{rpc-qf2h8j7x.js → repository-cache-rft60nn9.js} +11 -11
  223. package/dist/chunks/{rpc-w7w2jjhx.js → repository-cache-rh8c8h0e.js} +20 -20
  224. package/dist/chunks/{rpc-6pc27hjz.js → repository-cache-rkprpv83.js} +6 -6
  225. package/dist/chunks/{rpc-cryfzwrd.js → repository-cache-rnqxsqdw.js} +33 -33
  226. package/dist/chunks/{rpc-mkeasgba.js → repository-cache-rtb06bvf.js} +3 -3
  227. package/dist/chunks/{rpc-antesb8a.js → repository-cache-rvb1ky6f.js} +3 -3
  228. package/dist/chunks/{rpc-vrffbp44.js → repository-cache-rvyqxt9n.js} +6 -6
  229. package/dist/chunks/{rpc-rsp3dmjs.js → repository-cache-s13yc4gs.js} +46 -46
  230. package/dist/chunks/{rpc-vvdghh7g.js → repository-cache-s47h6278.js} +11 -11
  231. package/dist/chunks/{rpc-yrznvahk.js → repository-cache-s4enseaf.js} +2 -2
  232. package/dist/chunks/{rpc-t43fmngk.js → repository-cache-s6tfkdwg.js} +10 -10
  233. package/dist/chunks/{rpc-zyyvvwzg.js → repository-cache-sjwzrrye.js} +11 -11
  234. package/dist/chunks/{rpc-1g5vmb1j.js → repository-cache-sq2td1wp.js} +24 -24
  235. package/dist/chunks/{rpc-1pk1jfmd.js → repository-cache-srk5s9w6.js} +20 -20
  236. package/dist/chunks/{rpc-mdpssxg0.js → repository-cache-ss0epz44.js} +14 -14
  237. package/dist/chunks/{rpc-fwgga033.js → repository-cache-stcaqmwb.js} +4 -4
  238. package/dist/chunks/{rpc-dwevmsma.js → repository-cache-t098exxm.js} +31 -31
  239. package/dist/chunks/{rpc-gmjnk6ep.js → repository-cache-t1262myw.js} +10 -10
  240. package/dist/chunks/{rpc-eaj1djv9.js → repository-cache-t550f9t1.js} +8 -8
  241. package/dist/chunks/{rpc-mjrfwaps.js → repository-cache-t5sbgpcp.js} +20 -20
  242. package/dist/chunks/{rpc-682rjw8a.js → repository-cache-t74f4gsm.js} +86 -86
  243. package/dist/chunks/{rpc-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{rpc-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  245. package/dist/chunks/{rpc-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  246. package/dist/chunks/{rpc-r11hkjk4.js → repository-cache-tnhf2k51.js} +30 -30
  247. package/dist/chunks/{rpc-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
  248. package/dist/chunks/{rpc-658hk3ar.js → repository-cache-tyk6hpg1.js} +23 -23
  249. package/dist/chunks/repository-cache-v1faaxn9.js +18 -0
  250. package/dist/chunks/{rpc-n1bpmmce.js → repository-cache-v20d2acs.js} +20 -20
  251. package/dist/chunks/{rpc-q8nwh079.js → repository-cache-v954s5ta.js} +15 -15
  252. package/dist/chunks/{rpc-nxpjk0n4.js → repository-cache-vb911m41.js} +20 -20
  253. package/dist/chunks/{rpc-7537esrs.js → repository-cache-vbzc55dd.js} +17 -17
  254. package/dist/chunks/{rpc-maff49ax.js → repository-cache-vd179j24.js} +3 -3
  255. package/dist/chunks/{rpc-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  256. package/dist/chunks/{rpc-q83t8ykt.js → repository-cache-vxhhv58t.js} +23 -23
  257. package/dist/chunks/{rpc-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{rpc-tbdvezg6.js → repository-cache-vzqaq3ze.js} +25 -25
  259. package/dist/chunks/{rpc-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{rpc-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  261. package/dist/chunks/{rpc-3ky9a5f7.js → repository-cache-w3bkza1g.js} +8 -8
  262. package/dist/chunks/{rpc-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{rpc-q6zw89mm.js → repository-cache-w4rh11p9.js} +9 -9
  264. package/dist/chunks/{rpc-6g45nwks.js → repository-cache-w957gz27.js} +9 -9
  265. package/dist/chunks/{rpc-fzk8ehhv.js → repository-cache-wabdchgd.js} +5 -5
  266. package/dist/chunks/{rpc-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
  267. package/dist/chunks/{rpc-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  268. package/dist/chunks/{rpc-wk5z6jzv.js → repository-cache-wk5z6jzv.js} +2 -2
  269. package/dist/chunks/{rpc-va7p1h3t.js → repository-cache-wmsa3mqy.js} +24 -24
  270. package/dist/chunks/{rpc-fdv9msya.js → repository-cache-wmvwkbff.js} +5 -5
  271. package/dist/chunks/{rpc-8smk45yf.js → repository-cache-wwf55qdz.js} +28 -28
  272. package/dist/chunks/{rpc-fcvmnj0r.js → repository-cache-x0vh4z3y.js} +26 -26
  273. package/dist/chunks/{rpc-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  274. package/dist/chunks/{rpc-2rbsv4j1.js → repository-cache-xct5fsjt.js} +15 -15
  275. package/dist/chunks/{rpc-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
  276. package/dist/chunks/{rpc-jc9759m4.js → repository-cache-xrt7n2v3.js} +17 -17
  277. package/dist/chunks/{rpc-b4p19tx4.js → repository-cache-xvp1j2dc.js} +5 -5
  278. package/dist/chunks/{rpc-xmhzgq26.js → repository-cache-y0wxh08b.js} +20 -20
  279. package/dist/chunks/{rpc-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{rpc-1wzyakj1.js → repository-cache-y31vjpwk.js} +18 -18
  281. package/dist/chunks/{rpc-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  282. package/dist/chunks/{rpc-0ejd5hp1.js → repository-cache-ydgy0jv4.js} +8 -8
  283. package/dist/chunks/{rpc-91a17qdz.js → repository-cache-yfxk6ps6.js} +6 -6
  284. package/dist/chunks/{rpc-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{rpc-xe1rq30m.js → repository-cache-ysypycvb.js} +1 -1
  286. package/dist/chunks/{rpc-njhxfh55.js → repository-cache-yx9af1wb.js} +31 -31
  287. package/dist/chunks/{rpc-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
  288. package/dist/chunks/{rpc-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  289. package/dist/chunks/{rpc-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{rpc-zzrx66n5.js → repository-cache-zf6k16wx.js} +6 -6
  291. package/dist/chunks/{rpc-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{rpc-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{rpc-akrnn5pm.js → repository-cache-zyr433b0.js} +11 -11
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +79 -79
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +226 -226
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +99 -99
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +4 -4
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +84 -84
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +72 -72
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +2 -2
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  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 +224 -224
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +86 -86
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +93 -93
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  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 +222 -222
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  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 +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +155 -155
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +218 -218
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  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 +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +91 -91
  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 +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +122 -122
  644. package/dist/tool/plugin/grep.js +120 -120
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +113 -113
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +2 -2
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/rpc-2q4d7yj3.js +0 -252
  702. package/dist/chunks/rpc-8ytx492z.js +0 -507
  703. package/dist/chunks/rpc-mhrcjgnb.js +0 -26
  704. package/dist/chunks/rpc-pf31ssb9.js +0 -18
  705. /package/dist/chunks/{rpc-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{rpc-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{rpc-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{rpc-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{rpc-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{rpc-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{rpc-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{rpc-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{rpc-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{rpc-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{rpc-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{rpc-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  717. /package/dist/chunks/{rpc-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{rpc-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{rpc-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{rpc-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{rpc-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{rpc-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{rpc-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{rpc-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  725. /package/dist/chunks/{rpc-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{rpc-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  727. /package/dist/chunks/{rpc-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{rpc-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{rpc-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  730. /package/dist/chunks/{rpc-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{rpc-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{rpc-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{rpc-922hggd3.js → repository-cache-922hggd3.js} +0 -0
  734. /package/dist/chunks/{rpc-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{rpc-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{rpc-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{rpc-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{rpc-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{rpc-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{rpc-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{rpc-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{rpc-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{rpc-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{rpc-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{rpc-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{rpc-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{rpc-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{rpc-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{rpc-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  750. /package/dist/chunks/{rpc-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{rpc-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{rpc-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{rpc-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{rpc-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{rpc-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{rpc-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{rpc-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{rpc-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{rpc-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{rpc-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{rpc-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{rpc-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  763. /package/dist/chunks/{rpc-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{rpc-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  765. /package/dist/chunks/{rpc-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{rpc-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  767. /package/dist/chunks/{rpc-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{rpc-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{rpc-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{rpc-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{rpc-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{rpc-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{rpc-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{rpc-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{rpc-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{rpc-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{rpc-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{rpc-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{rpc-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{rpc-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{rpc-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{rpc-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{rpc-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{rpc-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{rpc-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{rpc-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{rpc-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{rpc-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{rpc-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{rpc-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{rpc-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{rpc-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{rpc-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{rpc-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  795. /package/dist/chunks/{rpc-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{rpc-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{rpc-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{rpc-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{rpc-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{rpc-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service39,
10
- node: () => node42
9
+ Service: () => Service46,
10
+ node: () => node48
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service39 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service46 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service39, () => {
17
+ var layer = Layer.sync(Service46, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service39.of({
19
+ return Service46.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node42 = makeGlobalNode({ service: Service39, layer, deps: [] });
26
+ var node48 = makeGlobalNode({ service: Service46, layer, deps: [] });
27
27
 
28
- export { Service39, node42, exports_managed_policy };
28
+ export { Service46, node48, exports_managed_policy };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service43
3
- } from "./rpc-fb7qthtr.js";
2
+ Service62
3
+ } from "./repository-cache-e9266ee7.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./rpc-922hggd3.js";
6
+ } from "./repository-cache-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./rpc-5dht68aa.js";
8
+ Service80
9
+ } from "./repository-cache-h0h78a5e.js";
10
10
  import {
11
- Service42
12
- } from "./rpc-1xhj1txz.js";
11
+ Service61
12
+ } from "./repository-cache-0w8x28sf.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./rpc-snf13aa5.js";
17
+ } from "./repository-cache-qnpxmzp3.js";
18
18
  import {
19
- Service12
20
- } from "./rpc-nq7qbqzc.js";
19
+ Service10
20
+ } from "./repository-cache-qg0jgkcp.js";
21
21
  import {
22
22
  parse2
23
- } from "./rpc-czpmk66h.js";
23
+ } from "./repository-cache-5yrmw3zp.js";
24
24
  import {
25
25
  __export
26
- } from "./rpc-9rqn6x4v.js";
26
+ } from "./repository-cache-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill2 = {};
30
30
  __export(exports_skill2, {
31
31
  ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin26
32
+ Plugin: () => Plugin34
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin26 = define({
39
+ var Plugin34 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service42;
43
- const discovery = yield* Service12;
42
+ const config = yield* Service61;
43
+ const discovery = yield* Service10;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service78;
47
- const watcher = yield* Service43;
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service62;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin26 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin26, exports_skill2 };
179
+ export { Plugin34, exports_skill2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./rpc-7kkv30ab.js";
4
+ } from "./repository-cache-6bn6zw9m.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./rpc-hj4aaq0x.js";
9
+ } from "./repository-cache-e7z5m3qb.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./rpc-5t3nmthw.js";
12
+ } from "./repository-cache-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./rpc-ec1grn59.js";
15
+ } from "./repository-cache-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./rpc-z1q79rtb.js";
18
+ } from "./repository-cache-h26wjtqz.js";
19
19
  import {
20
- Service72,
21
- node76
22
- } from "./rpc-8fn17prt.js";
20
+ Service55,
21
+ node57
22
+ } from "./repository-cache-dgg5hry3.js";
23
23
  import {
24
- Service20,
25
- node24
26
- } from "./rpc-682rjw8a.js";
24
+ Service18,
25
+ node21
26
+ } from "./repository-cache-t74f4gsm.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./rpc-tdstcens.js";
30
+ } from "./repository-cache-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./rpc-9rqn6x4v.js";
33
+ } from "./repository-cache-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node4
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service20;
65
- const store = yield* Service72;
64
+ const context = yield* Service18;
65
+ const store = yield* Service55;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
152
  layer: layer3,
153
- deps: [node87, llmClient2, node24, node76, node88]
153
+ deps: [node87, llmClient2, node21, node57, node88]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./rpc-y8cydn3q.js";
3
+ } from "./repository-cache-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./rpc-922hggd3.js";
3
+ } from "./repository-cache-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./rpc-qj8eh1ht.js";
6
+ } from "./repository-cache-2pnhn36q.js";
7
7
  import {
8
- Info18
9
- } from "./rpc-akrnn5pm.js";
8
+ Info17
9
+ } from "./repository-cache-zyr433b0.js";
10
10
  import {
11
11
  Info16
12
- } from "./rpc-3cfzdc8e.js";
12
+ } from "./repository-cache-3cfzdc8e.js";
13
13
  import {
14
- Info17
15
- } from "./rpc-fm2qvscf.js";
14
+ Info21
15
+ } from "./repository-cache-806j49yq.js";
16
16
  import {
17
- Info11
18
- } from "./rpc-s8zy8myc.js";
17
+ Info20
18
+ } from "./repository-cache-ead3g9p8.js";
19
19
  import {
20
20
  Spec2
21
- } from "./rpc-0jwsre1p.js";
21
+ } from "./repository-cache-qgn6gcr1.js";
22
22
  import {
23
- Info15
24
- } from "./rpc-wbkyxrgf.js";
23
+ Info19
24
+ } from "./repository-cache-qte5z7bc.js";
25
25
  import {
26
- Info10
27
- } from "./rpc-59sqkgcz.js";
26
+ Info15
27
+ } from "./repository-cache-kfk5w719.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 "./rpc-8zn2na59.js";
36
+ } from "./repository-cache-1cn3ven4.js";
37
37
  import {
38
38
  __export
39
- } from "./rpc-9rqn6x4v.js";
39
+ } from "./repository-cache-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,7 +84,7 @@ 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(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info15.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
90
  const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : 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, Info17, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info21, ["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, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["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, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info17, ["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(Info11, value, path, diagnostics);
228
+ const server = decodeValue(Info20, 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(Info15, raw, path, diagnostics);
424
+ const provider = decodeValue(Info19, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service7,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node9
11
+ node: () => node6
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service7 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node9 = makeLocationNode({
19
- service: Service7,
18
+ var node6 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service7, node9, bound2, exports_instance2 };
32
+ export { Service4, node6, bound2, exports_instance2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./rpc-5daktx2q.js";
3
+ } from "./repository-cache-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./rpc-922hggd3.js";
6
+ } from "./repository-cache-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2
10
- } from "./rpc-snf13aa5.js";
10
+ } from "./repository-cache-qnpxmzp3.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID4.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./rpc-hj4aaq0x.js";
4
+ } from "./repository-cache-e7z5m3qb.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./rpc-rdw6cm16.js";
8
+ } from "./repository-cache-rdw6cm16.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./rpc-5dht68aa.js";
10
+ Service80,
11
+ node84
12
+ } from "./repository-cache-h0h78a5e.js";
13
13
  import {
14
- rewrite2,
15
- ID8,
14
+ ID12,
16
15
  modelSettings2,
17
16
  mergeOverlay2,
18
17
  mergeHeaders2,
19
- Service65,
20
- node69,
21
- Event15
22
- } from "./rpc-q7dmtnxx.js";
18
+ Service69,
19
+ node72,
20
+ Event16,
21
+ rewrite2
22
+ } from "./repository-cache-d5c7pv19.js";
23
23
  import {
24
24
  __export
25
- } from "./rpc-9rqn6x4v.js";
25
+ } from "./repository-cache-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event14,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
- ID: () => ID7,
36
- Info: () => Info22,
35
+ ID: () => ID11,
36
+ Info: () => Info25,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service61,
40
+ Service: () => Service64,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node65,
44
- parse: () => parse5
43
+ node: () => node67,
44
+ parse: () => parse4
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event14 } from "@opencode/schema/model";
51
- var ID7 = Model.ID;
50
+ import { Event as Event15 } from "@opencode/schema/model";
51
+ var ID11 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info22 = Model.Info;
59
+ var Info25 = Model.Info;
60
60
 
61
- class Service61 extends Context.Service()("@opencode/Model") {
61
+ class Service64 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service61, Effect.gen(function* () {
64
- const providers = yield* Service65;
63
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
64
+ const providers = yield* Service69;
65
65
  const bus = yield* Service83;
66
- const location = yield* Service78;
66
+ const location = yield* Service80;
67
67
  let input;
68
68
  const state = create3({
69
69
  name: "model",
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service61.of({
200
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service64.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node65 = makeLocationNode({ service: Service61, layer, deps: [node69, node87, node82] });
220
+ var node67 = makeLocationNode({ service: Service64, layer, deps: [node72, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse5(input) {
228
+ function parse4(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service61, node65, compatibility2, parse5, exports_model2, Event14 };
236
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service64, node67, compatibility2, parse4, exports_model2, Event15 };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service57
3
- } from "./rpc-va7p1h3t.js";
2
+ Service78
3
+ } from "./repository-cache-wmsa3mqy.js";
4
4
  import {
5
- Service16,
5
+ Service50,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./rpc-qhhddrhx.js";
8
+ } from "./repository-cache-eb1y8z6f.js";
9
9
  import {
10
- Service13
11
- } from "./rpc-d3zp2qn8.js";
10
+ Service51
11
+ } from "./repository-cache-1kzhj9ac.js";
12
12
  import {
13
- Service70
14
- } from "./rpc-3zn4sg2c.js";
13
+ Service54
14
+ } from "./repository-cache-0rts7qdn.js";
15
15
  import {
16
- Service14
17
- } from "./rpc-v9achbqy.js";
16
+ Service49
17
+ } from "./repository-cache-nt0m1awr.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./rpc-6prwharc.js";
20
+ } from "./repository-cache-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./rpc-9rqn6x4v.js";
23
+ } from "./repository-cache-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input12,
28
+ Input: () => Input11,
29
29
  Output: () => Output8,
30
- Plugin: () => Plugin15,
30
+ Plugin: () => Plugin47,
31
31
  WriteTool: () => exports_write,
32
- name: () => name12,
33
- toModelContent: () => toModelContent6
32
+ name: () => name11,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name12 = "write";
39
- var Input12 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
@@ -48,24 +48,24 @@ var Output8 = Schema.Struct({
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin15 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin47 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service14;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service57;
58
- const formatter = yield* Service13;
59
- const permission = yield* Service70;
55
+ const access = yield* Service49;
56
+ const fileMutation = yield* Service50;
57
+ const environment = yield* Service78;
58
+ const formatter = yield* Service51;
59
+ const permission = yield* Service54;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name12,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input12,
68
+ input: Input11,
69
69
  output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name12, Input12, Output8, toModelContent6, Plugin15, exports_write };
101
+ export { name11, Input11, Output8, toModelContent5, Plugin47, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./rpc-ym463w8f.js";
3
+ } from "./repository-cache-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({