@opencode/core 0.0.0-dev-19457 → 0.0.0-dev-19459

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{image-m4w607dc.js → kv-035y26vf.js} +15 -15
  9. package/dist/chunks/{image-5ba08tq2.js → kv-0bp11ksp.js} +18 -18
  10. package/dist/chunks/{image-zgag1mt3.js → kv-0evvd92y.js} +56 -56
  11. package/dist/chunks/kv-0kwcw7fy.js +4 -0
  12. package/dist/chunks/{image-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{image-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{image-w60wfjzm.js → kv-0yz71n10.js} +17 -17
  15. package/dist/chunks/{image-kv35jyk8.js → kv-11xwek3f.js} +15 -15
  16. package/dist/chunks/{image-78qgck3m.js → kv-12v07r08.js} +12 -12
  17. package/dist/chunks/kv-18nhnycp.js +22 -0
  18. package/dist/chunks/{image-r98e92ep.js → kv-1a6p2twq.js} +4 -4
  19. package/dist/chunks/{image-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{image-gavaq7t9.js → kv-1h6gjd8c.js} +30 -30
  21. package/dist/chunks/{image-4w9hfah2.js → kv-1ym52s0g.js} +18 -18
  22. package/dist/chunks/{image-sj54rnv5.js → kv-1ze9rnbj.js} +4 -4
  23. package/dist/chunks/{image-b4h4629r.js → kv-20y2msxf.js} +20 -20
  24. package/dist/chunks/{image-21r38tys.js → kv-21r38tys.js} +1 -1
  25. package/dist/chunks/{image-bm1f71yt.js → kv-23279rje.js} +8 -8
  26. package/dist/chunks/{image-1ervj5yr.js → kv-23k62ntz.js} +6 -6
  27. package/dist/chunks/{image-gea75zad.js → kv-244ny2pf.js} +15 -15
  28. package/dist/chunks/{image-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{image-hkbay003.js → kv-2kty7x0k.js} +34 -34
  30. package/dist/chunks/{image-v6kh18tr.js → kv-2tavq0r4.js} +4 -4
  31. package/dist/chunks/{image-znm7r4d0.js → kv-32t7e08w.js} +84 -84
  32. package/dist/chunks/{image-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
  33. package/dist/chunks/{image-zser6m81.js → kv-34pkvy5y.js} +30 -30
  34. package/dist/chunks/{image-80s7wyqt.js → kv-35nm4m8d.js} +13 -13
  35. package/dist/chunks/{image-bgjgs47y.js → kv-37pkes6r.js} +34 -34
  36. package/dist/chunks/{image-bekaf6h9.js → kv-386yacj4.js} +4 -4
  37. package/dist/chunks/{image-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{image-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{image-593fhq5d.js → kv-3j6dd1ze.js} +14 -14
  40. package/dist/chunks/{image-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{image-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{image-v2kj6y7k.js → kv-3x2xmk5f.js} +23 -23
  43. package/dist/chunks/{image-fcxgme18.js → kv-3xjx3nnr.js} +14 -14
  44. package/dist/chunks/{image-0fbeg7er.js → kv-432xgzw3.js} +30 -30
  45. package/dist/chunks/{image-zkhp2mw3.js → kv-45h5n6eh.js} +9 -9
  46. package/dist/chunks/{image-fmmn8x74.js → kv-47r3zz0x.js} +3 -3
  47. package/dist/chunks/{image-1mpsz6n1.js → kv-4b1heq7g.js} +30 -30
  48. package/dist/chunks/{image-6yxyx5nk.js → kv-4eh77v0x.js} +17 -17
  49. package/dist/chunks/{image-t1bhcjx3.js → kv-4whayx0s.js} +1 -1
  50. package/dist/chunks/{image-0ajdgxne.js → kv-4y66k410.js} +5 -5
  51. package/dist/chunks/{image-hv4dbmz4.js → kv-4zph1b4r.js} +2 -2
  52. package/dist/chunks/{image-d3e6s3hq.js → kv-54envfdg.js} +12 -12
  53. package/dist/chunks/{image-4665f8tn.js → kv-5755hzzr.js} +24 -24
  54. package/dist/chunks/{image-zxjep6kn.js → kv-576fhmq5.js} +18 -18
  55. package/dist/chunks/{image-g9y442nq.js → kv-59qrh9ax.js} +30 -30
  56. package/dist/chunks/{image-r0dk3056.js → kv-5b2ja83v.js} +10 -10
  57. package/dist/chunks/{image-5daktx2q.js → kv-5daktx2q.js} +1 -1
  58. package/dist/chunks/{image-8sbmyw1k.js → kv-5h4p6p65.js} +32 -32
  59. package/dist/chunks/{image-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{image-y1cspw1d.js → kv-5ta5rkt1.js} +18 -18
  61. package/dist/chunks/{image-hr3gf4nn.js → kv-5xcehd92.js} +25 -25
  62. package/dist/chunks/{image-669tq793.js → kv-669tq793.js} +1 -1
  63. package/dist/chunks/{image-2402vzrj.js → kv-6h73sxmp.js} +5 -5
  64. package/dist/chunks/{image-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{image-5mppx927.js → kv-6qk3rsrc.js} +9 -9
  66. package/dist/chunks/{image-bv0j8maw.js → kv-6r8zamjg.js} +10 -10
  67. package/dist/chunks/{image-6tt5evqq.js → kv-6s9eyz9r.js} +4 -4
  68. package/dist/chunks/{image-n12gefs8.js → kv-6x37xp33.js} +12 -12
  69. package/dist/chunks/{image-tc8ewk3m.js → kv-711jmqzf.js} +3 -3
  70. package/dist/chunks/kv-715d9qs0.js +247 -0
  71. package/dist/chunks/{image-p0hbm3k3.js → kv-71d1h0hm.js} +30 -30
  72. package/dist/chunks/{image-71q4at8m.js → kv-71q4at8m.js} +1 -1
  73. package/dist/chunks/{image-mvfsc1pv.js → kv-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{image-jqzsvaxq.js → kv-79fkffh7.js} +18 -18
  75. package/dist/chunks/{image-9tjj22mb.js → kv-7amrkpe1.js} +47 -47
  76. package/dist/chunks/{image-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{image-0jwsre1p.js → kv-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{image-w6y509k3.js → kv-7fda20w6.js} +5 -5
  79. package/dist/chunks/{image-bgv2vj74.js → kv-7fsaq6e9.js} +11 -11
  80. package/dist/chunks/{image-3gzhmtn4.js → kv-7nff8x50.js} +30 -30
  81. package/dist/chunks/{image-3pbjq009.js → kv-818pfwc9.js} +8 -8
  82. package/dist/chunks/{image-cgm8tx61.js → kv-8b7x386w.js} +11 -11
  83. package/dist/chunks/{image-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{image-chs42n3s.js → kv-8jjhk1q2.js} +20 -20
  85. package/dist/chunks/{image-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{image-n0k2s00q.js → kv-8w7wj211.js} +65 -65
  87. package/dist/chunks/{image-ppx3mf03.js → kv-8ykkmn9r.js} +4 -4
  88. package/dist/chunks/{image-t9we8gtp.js → kv-8ytb3y3t.js} +15 -15
  89. package/dist/chunks/{image-0e3dkj8x.js → kv-909q3sbg.js} +23 -23
  90. package/dist/chunks/{image-gaxs3wxq.js → kv-979jzsrn.js} +3 -3
  91. package/dist/chunks/{image-ztp1c22s.js → kv-98bbrenc.js} +14 -14
  92. package/dist/chunks/{image-4d5fg4zx.js → kv-98wca9vv.js} +16 -16
  93. package/dist/chunks/{image-wcbqwdj0.js → kv-992nrvv2.js} +18 -18
  94. package/dist/chunks/{image-68xpwqwy.js → kv-9pv0dm11.js} +9 -9
  95. package/dist/chunks/{image-41wmpfte.js → kv-9r3t3x4q.js} +5 -5
  96. package/dist/chunks/{image-k50dzesf.js → kv-9v1bvhx1.js} +32 -32
  97. package/dist/chunks/{image-078nxzjh.js → kv-9z6bc1tk.js} +5 -5
  98. package/dist/chunks/{image-t0xqehjt.js → kv-a04mvahc.js} +4 -4
  99. package/dist/chunks/{image-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{image-wctv2b53.js → kv-a1haqd7r.js} +6 -6
  101. package/dist/chunks/{image-ratrq7cm.js → kv-a2ew8a62.js} +4 -4
  102. package/dist/chunks/{image-aaet6srn.js → kv-aaet6srn.js} +2 -2
  103. package/dist/chunks/{image-zvhkt9az.js → kv-acz5m649.js} +46 -46
  104. package/dist/chunks/{image-pg7ahc1x.js → kv-ax7cneaf.js} +14 -14
  105. package/dist/chunks/{image-bfe2nngh.js → kv-b1fbxvtj.js} +35 -35
  106. package/dist/chunks/{image-p55kevqr.js → kv-b3xeh6c9.js} +13 -13
  107. package/dist/chunks/{image-nben00c6.js → kv-b49wezdf.js} +18 -18
  108. package/dist/chunks/{image-bej52x8k.js → kv-b5kvjmnm.js} +11 -11
  109. package/dist/chunks/{image-h6p4zd2r.js → kv-b63ht0s6.js} +18 -18
  110. package/dist/chunks/{image-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{image-fkk33nnp.js → kv-b6xmsvfe.js} +30 -30
  112. package/dist/chunks/{image-v7w2xbsn.js → kv-baymfvbz.js} +4 -4
  113. package/dist/chunks/{image-db1rdv3a.js → kv-c09xw0p7.js} +54 -54
  114. package/dist/chunks/{image-1c0nckdw.js → kv-c156ep7e.js} +11 -11
  115. package/dist/chunks/{image-4sz6vr31.js → kv-ccgygnta.js} +3 -3
  116. package/dist/chunks/{image-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{image-5gc856jg.js → kv-cwx08fmw.js} +30 -30
  118. package/dist/chunks/{image-7tpm343q.js → kv-d0vn5wzd.js} +22 -22
  119. package/dist/chunks/{image-6p5bvb6g.js → kv-d38t1zvd.js} +20 -20
  120. package/dist/chunks/{image-n4fv29tr.js → kv-d8j2ny38.js} +25 -25
  121. package/dist/chunks/{image-hzwr1k4c.js → kv-dam6jesc.js} +15 -15
  122. package/dist/chunks/{image-npx697kp.js → kv-ddgw6qpw.js} +26 -26
  123. package/dist/chunks/{image-9b46594b.js → kv-dvvjdwja.js} +43 -43
  124. package/dist/chunks/{image-hhd6670r.js → kv-e1czfjpt.js} +17 -17
  125. package/dist/chunks/{image-x200nq4y.js → kv-e8mc6xww.js} +7 -7
  126. package/dist/chunks/{image-hkfg6fzm.js → kv-ead3g9p8.js} +5 -5
  127. package/dist/chunks/{image-s8d7rejh.js → kv-eaj1djv9.js} +6 -6
  128. package/dist/chunks/{image-e5yapg83.js → kv-ebea0m75.js} +280 -280
  129. package/dist/chunks/{image-ta94b5yn.js → kv-ehrv1rgr.js} +8 -8
  130. package/dist/chunks/{image-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{image-7bpzgkas.js → kv-ev7pw2j0.js} +6 -6
  132. package/dist/chunks/{image-7s02b6me.js → kv-ezn8zr4k.js} +1 -1
  133. package/dist/chunks/{image-vqta07db.js → kv-f5xpd0e7.js} +39 -39
  134. package/dist/chunks/{image-f828m53h.js → kv-f828m53h.js} +2 -2
  135. package/dist/chunks/{image-czr7jp04.js → kv-fafk78t6.js} +8 -8
  136. package/dist/chunks/{image-ejnxgs4p.js → kv-fj3qsqhh.js} +3 -3
  137. package/dist/chunks/{image-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{image-b2fgjqaf.js → kv-fy32pdpb.js} +8 -8
  139. package/dist/chunks/{image-f3ngv102.js → kv-g190xswt.js} +4 -4
  140. package/dist/chunks/{image-qssq5wvh.js → kv-g6ew7cqr.js} +1 -1
  141. package/dist/chunks/{image-htnrdgfh.js → kv-g8few7yj.js} +20 -20
  142. package/dist/chunks/{image-n5zjdcc0.js → kv-g9245y80.js} +1 -1
  143. package/dist/chunks/{image-920fkxh9.js → kv-g9gcz8s8.js} +40 -40
  144. package/dist/chunks/{image-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{image-2ee8pmxs.js → kv-gey3b743.js} +5 -5
  146. package/dist/chunks/{image-q7fjq38y.js → kv-gke945h8.js} +17 -17
  147. package/dist/chunks/{image-3db73d6h.js → kv-gmqjg5t3.js} +81 -81
  148. package/dist/chunks/{image-zex37ywk.js → kv-gqawmzqm.js} +8 -8
  149. package/dist/chunks/{image-zzjqf56j.js → kv-gr5gf9xe.js} +13 -13
  150. package/dist/chunks/{image-ttqh24zm.js → kv-gst7axd9.js} +4 -4
  151. package/dist/chunks/{image-j108xegb.js → kv-gt76p7gm.js} +20 -20
  152. package/dist/chunks/{image-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{image-t2hwmdmx.js → kv-h5e4r8jw.js} +41 -41
  154. package/dist/chunks/{image-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{image-d8nc1xcx.js → kv-h6z8d5tn.js} +4 -4
  156. package/dist/chunks/{image-pa4nk3y3.js → kv-hm2z15f1.js} +15 -15
  157. package/dist/chunks/{image-24gp1g8y.js → kv-hm622x1n.js} +5 -5
  158. package/dist/chunks/{image-epp31gw2.js → kv-hthfj41c.js} +6 -6
  159. package/dist/chunks/{image-fban3jjy.js → kv-hw39y2t2.js} +12 -12
  160. package/dist/chunks/{image-1fa9ans5.js → kv-hx55d56e.js} +1 -1
  161. package/dist/chunks/{image-wzsv7nm2.js → kv-j41a475f.js} +11 -11
  162. package/dist/chunks/{image-q62b7msc.js → kv-j438vazm.js} +4 -4
  163. package/dist/chunks/{image-j56e64zr.js → kv-j56e64zr.js} +1 -1
  164. package/dist/chunks/{image-7w99qc9d.js → kv-j7wq2tw5.js} +3 -3
  165. package/dist/chunks/{image-q9a4c9pt.js → kv-jg1xt47z.js} +24 -24
  166. package/dist/chunks/{image-r4qwb947.js → kv-jmpfmt8q.js} +16 -16
  167. package/dist/chunks/{image-35dcs99g.js → kv-jmqs6zxy.js} +28 -28
  168. package/dist/chunks/{image-fddt73xq.js → kv-k1867beh.js} +9 -9
  169. package/dist/chunks/{image-kg06axw8.js → kv-kg06axw8.js} +1 -1
  170. package/dist/chunks/{image-tgadbda3.js → kv-kge3p68p.js} +13 -13
  171. package/dist/chunks/{image-jmwp84b9.js → kv-kgxz8xde.js} +10 -10
  172. package/dist/chunks/{image-000jn835.js → kv-khbrytmr.js} +18 -18
  173. package/dist/chunks/{image-fc4b3fbg.js → kv-ktqs2y9f.js} +39 -39
  174. package/dist/chunks/{image-sabycmh3.js → kv-kzd68pqg.js} +6 -6
  175. package/dist/chunks/{image-m2d0j7c0.js → kv-m2d0j7c0.js} +2 -2
  176. package/dist/chunks/{image-270ecnn0.js → kv-m6qnr7jw.js} +16 -16
  177. package/dist/chunks/{image-77jm4nff.js → kv-m8rz97y9.js} +17 -17
  178. package/dist/chunks/{image-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{image-z211tv0n.js → kv-m9xbxedm.js} +6 -6
  180. package/dist/chunks/{image-4yg6dpdr.js → kv-mg3wmayr.js} +5 -5
  181. package/dist/chunks/{image-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
  182. package/dist/chunks/{image-wt23ypq9.js → kv-mn0apyfm.js} +20 -20
  183. package/dist/chunks/{image-0py0pkk2.js → kv-mn5tqr63.js} +2 -2
  184. package/dist/chunks/{image-abk1xxkx.js → kv-mntm3pyc.js} +26 -26
  185. package/dist/chunks/{image-hf8cnsjw.js → kv-mp045f7j.js} +1 -1
  186. package/dist/chunks/{image-bsdvb4am.js → kv-mqh518cc.js} +21 -21
  187. package/dist/chunks/{image-w9nfhp5m.js → kv-mrn7qyex.js} +9 -9
  188. package/dist/chunks/{image-tdh0n9n1.js → kv-mymqxebx.js} +6 -6
  189. package/dist/chunks/{image-6qcyxhyc.js → kv-n017zbq8.js} +13 -13
  190. package/dist/chunks/{image-3f5ct1b0.js → kv-n1r2whpk.js} +43 -43
  191. package/dist/chunks/{image-nq8ttx4a.js → kv-n3fvjmy7.js} +11 -11
  192. package/dist/chunks/{image-g4agn56x.js → kv-n91raeq2.js} +2 -2
  193. package/dist/chunks/{image-48q4dgm3.js → kv-nbddwgy7.js} +10 -10
  194. package/dist/chunks/{image-hjt4xg1x.js → kv-nhy5jxhy.js} +4 -4
  195. package/dist/chunks/{image-6jex2xta.js → kv-njyck951.js} +5 -5
  196. package/dist/chunks/{image-mm2chnq2.js → kv-nygmpey9.js} +22 -22
  197. package/dist/chunks/{image-tav4w66d.js → kv-p3ke781q.js} +5 -5
  198. package/dist/chunks/{image-5c0f1prt.js → kv-paegk39x.js} +4 -4
  199. package/dist/chunks/{image-c9c017qc.js → kv-pasxfhjk.js} +7 -7
  200. package/dist/chunks/{image-y6df3ape.js → kv-pepqf6ga.js} +22 -22
  201. package/dist/chunks/{image-4gxgfr4x.js → kv-pevfk95c.js} +16 -16
  202. package/dist/chunks/kv-pf31ssb9.js +18 -0
  203. package/dist/chunks/{image-awaee7qt.js → kv-pjedbq3k.js} +6 -6
  204. package/dist/chunks/{image-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{image-pknna89w.js → kv-pknna89w.js} +1 -1
  206. package/dist/chunks/{image-zcwp19hk.js → kv-pmk1pqd6.js} +4 -4
  207. package/dist/chunks/{image-qjt4v980.js → kv-pwb1y8eh.js} +21 -21
  208. package/dist/chunks/{image-g10x2gvc.js → kv-py5wtr6h.js} +10 -10
  209. package/dist/chunks/{image-qfppskvf.js → kv-pzb7ssjr.js} +22 -22
  210. package/dist/chunks/{image-xpfh0by1.js → kv-q08m8exk.js} +32 -32
  211. package/dist/chunks/{image-fh520ne1.js → kv-q123vns4.js} +13 -13
  212. package/dist/chunks/{image-dv1qgsyq.js → kv-q26tgv94.js} +8 -8
  213. package/dist/chunks/{image-fwpce91s.js → kv-q4vcefqv.js} +11 -11
  214. package/dist/chunks/{image-4rp3kb22.js → kv-q6trkzsx.js} +11 -11
  215. package/dist/chunks/{image-m455a2a1.js → kv-qj0wk3h6.js} +9 -9
  216. package/dist/chunks/{image-ak5zsrh4.js → kv-qpny3c6v.js} +20 -20
  217. package/dist/chunks/{image-zfznrpx1.js → kv-qpxqmgt2.js} +4 -4
  218. package/dist/chunks/{image-kaygpk1b.js → kv-qrek7wem.js} +22 -22
  219. package/dist/chunks/{image-qsdy395h.js → kv-qsdy395h.js} +1 -1
  220. package/dist/chunks/{image-431efcq4.js → kv-qtmr6th1.js} +37 -37
  221. package/dist/chunks/{image-zvt4wq01.js → kv-qvav3tk2.js} +23 -23
  222. package/dist/chunks/{image-2e96adxv.js → kv-qwkytnft.js} +6 -6
  223. package/dist/chunks/{image-n0s3xjfz.js → kv-qyy1k97r.js} +18 -18
  224. package/dist/chunks/{image-kxpygcw9.js → kv-qz49fwgp.js} +6 -6
  225. package/dist/chunks/{image-r9mregkx.js → kv-r9mregkx.js} +2 -2
  226. package/dist/chunks/{image-et4qc0a3.js → kv-rckresz4.js} +17 -17
  227. package/dist/chunks/{image-y6mjfkf5.js → kv-rh0baf1b.js} +17 -17
  228. package/dist/chunks/{image-sykc9y4a.js → kv-rmk2c50f.js} +5 -5
  229. package/dist/chunks/{image-dghgjkkt.js → kv-rwtq93ad.js} +4 -4
  230. package/dist/chunks/{image-2tn1039t.js → kv-s3r3b7q0.js} +11 -11
  231. package/dist/chunks/{image-f38a36z7.js → kv-s6awdsy0.js} +7 -7
  232. package/dist/chunks/{image-8evfnw32.js → kv-sj7m3pc4.js} +20 -20
  233. package/dist/chunks/{image-qnq64r6v.js → kv-sp3462fq.js} +24 -24
  234. package/dist/chunks/{image-w7rsxryv.js → kv-swe4yj3v.js} +14 -14
  235. package/dist/chunks/{image-6d9mz4vp.js → kv-t0x5rdq8.js} +9 -9
  236. package/dist/chunks/{image-y1e7sme4.js → kv-t6rmzs9c.js} +20 -20
  237. package/dist/chunks/{image-chnmz1hg.js → kv-t8bhz2vr.js} +8 -8
  238. package/dist/chunks/{image-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{image-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{image-tdstcens.js → kv-tdstcens.js} +1 -1
  241. package/dist/chunks/{image-gv6a8nnw.js → kv-th5km1p3.js} +5 -5
  242. package/dist/chunks/{image-b73n8hqq.js → kv-thtv50x5.js} +9 -9
  243. package/dist/chunks/{image-3cfzdc8e.js → kv-tn0aqsam.js} +5 -5
  244. package/dist/chunks/{image-fgbwzfw6.js → kv-tph2fk4h.js} +6 -6
  245. package/dist/chunks/{image-tvtrv512.js → kv-tvtrv512.js} +1 -1
  246. package/dist/chunks/{image-wk0jae2z.js → kv-v4wxntct.js} +8 -8
  247. package/dist/chunks/{image-m68majbh.js → kv-v6ee2h3v.js} +11 -11
  248. package/dist/chunks/{image-9tpqv2xk.js → kv-v79g31x1.js} +15 -15
  249. package/dist/chunks/{image-wh2cdyr9.js → kv-va68n4y2.js} +25 -25
  250. package/dist/chunks/{image-veqvce7d.js → kv-veqvce7d.js} +1 -1
  251. package/dist/chunks/{image-yjptyezs.js → kv-vmq7ehpy.js} +5 -5
  252. package/dist/chunks/{image-fzteaffw.js → kv-vrx6ppv4.js} +24 -24
  253. package/dist/chunks/{image-zqh73e34.js → kv-vt44rdpy.js} +6 -6
  254. package/dist/chunks/{image-t6knre1s.js → kv-vxfhm8bf.js} +10 -10
  255. package/dist/chunks/{image-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{image-zswa8gc2.js → kv-w2xthqm8.js} +7 -7
  257. package/dist/chunks/{image-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{image-b3t12aqp.js → kv-w79zsp0s.js} +1 -1
  259. package/dist/chunks/{image-rwb7gr04.js → kv-wc35t2q8.js} +33 -33
  260. package/dist/chunks/{image-wd87259q.js → kv-wd87259q.js} +1 -1
  261. package/dist/chunks/{image-wk5z6jzv.js → kv-wk5z6jzv.js} +2 -2
  262. package/dist/chunks/{image-txx7gcj8.js → kv-wvt7nan9.js} +26 -26
  263. package/dist/chunks/{image-wzq4pq7r.js → kv-wzq4pq7r.js} +2 -2
  264. package/dist/chunks/{image-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{image-a0ns0bt7.js → kv-x82mgsnk.js} +1 -1
  266. package/dist/chunks/{image-n39v7nmf.js → kv-x9zkcjgp.js} +11 -11
  267. package/dist/chunks/{image-nng2ktcm.js → kv-xg9t41r3.js} +2 -2
  268. package/dist/chunks/{image-kwysx2zn.js → kv-xk03nfws.js} +12 -12
  269. package/dist/chunks/{image-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{image-zags90na.js → kv-y6j5wgpg.js} +16 -16
  271. package/dist/chunks/{image-y71avatq.js → kv-y71avatq.js} +1 -1
  272. package/dist/chunks/{image-3j6f30h3.js → kv-yhpgskpg.js} +167 -167
  273. package/dist/chunks/{image-rhraev7y.js → kv-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{image-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{image-yrznvahk.js → kv-yrznvahk.js} +2 -2
  276. package/dist/chunks/{image-dt849bc4.js → kv-yt2qvb82.js} +8 -8
  277. package/dist/chunks/{image-jc2bp3ng.js → kv-ytfav154.js} +9 -9
  278. package/dist/chunks/{image-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{image-z63w68vq.js → kv-z63w68vq.js} +2 -2
  280. package/dist/chunks/{image-b0wjpe9c.js → kv-z7xewpzj.js} +8 -8
  281. package/dist/chunks/{image-7erpdyw6.js → kv-zbb7c5wr.js} +27 -27
  282. package/dist/chunks/{image-nx5drk4k.js → kv-zdeqbp5y.js} +41 -41
  283. package/dist/chunks/{image-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{image-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{image-wg5txr5f.js → kv-zwy6c5hz.js} +9 -9
  286. package/dist/chunks/{image-7jj89856.js → kv-zx4zts51.js} +47 -47
  287. package/dist/chunks/{image-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{image-5rbsa297.js → kv-zxxfqb5b.js} +11 -11
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +78 -78
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +210 -210
  298. package/dist/config/plugin/compaction.js +156 -156
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +118 -118
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +86 -86
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +127 -127
  305. package/dist/config/plugin/policy.js +115 -115
  306. package/dist/config/plugin/provider.js +114 -114
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +117 -117
  309. package/dist/config/plugin/skill-file.js +98 -98
  310. package/dist/config/plugin/skill.js +137 -137
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +118 -118
  313. package/dist/config/plugin/tool-output.js +118 -118
  314. package/dist/config/plugin/websearch.js +114 -114
  315. package/dist/config/plugin/worktree.js +119 -119
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +120 -120
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +89 -89
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +91 -91
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +69 -69
  410. package/dist/file-access.js +100 -100
  411. package/dist/file-mutation.js +86 -86
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +221 -221
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +100 -100
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +99 -99
  426. package/dist/form.js +85 -85
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +83 -83
  429. package/dist/generate.js +92 -92
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +2 -2
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +80 -80
  456. package/dist/instructions/builtins.js +83 -83
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +87 -87
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +100 -100
  465. package/dist/location-service-map.js +84 -84
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +85 -85
  468. package/dist/mcp/client.js +87 -87
  469. package/dist/mcp/index.js +102 -102
  470. package/dist/mcp/instructions.js +121 -121
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +86 -86
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +81 -81
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +109 -109
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +100 -100
  488. package/dist/plugin/command.js +97 -97
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +214 -214
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +98 -98
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +119 -119
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +115 -115
  508. package/dist/plugin/provider/digitalocean.js +80 -80
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +81 -81
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +77 -77
  517. package/dist/plugin/provider/lmstudio.js +118 -118
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +118 -118
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  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 +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +118 -118
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  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 +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +340 -340
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +113 -113
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  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.js +221 -221
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +86 -86
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +81 -81
  563. package/dist/reference.js +85 -85
  564. package/dist/repository-cache.js +77 -77
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +82 -82
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +128 -128
  572. package/dist/session/context.js +148 -148
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +217 -217
  577. package/dist/session/execution.js +123 -123
  578. package/dist/session/generate.js +149 -149
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +89 -89
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +114 -114
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +127 -127
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +101 -101
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +86 -86
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +226 -226
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +111 -111
  601. package/dist/session/runner/step.js +122 -122
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +168 -168
  605. package/dist/session/shell.js +132 -132
  606. package/dist/session/skill.js +99 -99
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +204 -204
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +150 -150
  614. package/dist/session/to-session-error.js +108 -108
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +214 -214
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +134 -134
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +103 -103
  625. package/dist/skill.js +104 -104
  626. package/dist/snapshot.js +87 -87
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +120 -120
  631. package/dist/tool/plugin/edit.js +116 -116
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +119 -119
  634. package/dist/tool/plugin/grep.js +121 -121
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +118 -118
  637. package/dist/tool/plugin/question.js +99 -99
  638. package/dist/tool/plugin/read.js +122 -122
  639. package/dist/tool/plugin/shell.js +211 -211
  640. package/dist/tool/plugin/skill.js +107 -107
  641. package/dist/tool/plugin/subagent.js +215 -215
  642. package/dist/tool/plugin/webfetch.js +106 -106
  643. package/dist/tool/plugin/websearch.js +100 -100
  644. package/dist/tool/plugin/write.js +118 -118
  645. package/dist/tool/read-filesystem.js +97 -97
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +7 -7
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +73 -73
  678. package/dist/wellknown.js +76 -76
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +77 -77
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +341 -341
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +90 -90
  687. package/package.json +8 -8
  688. package/dist/chunks/image-6kdq0pjd.js +0 -4
  689. package/dist/chunks/image-g84vdpmy.js +0 -22
  690. package/dist/chunks/image-mx97jbx9.js +0 -247
  691. package/dist/chunks/image-v1faaxn9.js +0 -18
  692. /package/dist/chunks/{image-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{image-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{image-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{image-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{image-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{image-2710q6r3.js → kv-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{image-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{image-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{image-359p4xyc.js → kv-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{image-3asan66x.js → kv-3asan66x.js} +0 -0
  702. /package/dist/chunks/{image-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{image-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{image-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{image-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{image-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{image-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{image-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{image-53557ph1.js → kv-53557ph1.js} +0 -0
  710. /package/dist/chunks/{image-550bvhaj.js → kv-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{image-6prwharc.js → kv-6prwharc.js} +0 -0
  712. /package/dist/chunks/{image-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{image-7m9af43g.js → kv-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{image-822emrt2.js → kv-822emrt2.js} +0 -0
  715. /package/dist/chunks/{image-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{image-8n3pysct.js → kv-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{image-922hggd3.js → kv-922hggd3.js} +0 -0
  718. /package/dist/chunks/{image-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{image-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{image-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{image-af5trqkr.js → kv-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{image-afrmfg78.js → kv-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{image-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{image-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{image-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{image-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{image-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{image-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{image-d9fn303g.js → kv-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{image-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{image-dajrwvna.js → kv-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{image-dap0rakb.js → kv-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{image-df08tz66.js → kv-df08tz66.js} +0 -0
  734. /package/dist/chunks/{image-dy18nga0.js → kv-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{image-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{image-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{image-ec1grn59.js → kv-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{image-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{image-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{image-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{image-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{image-faypxj3z.js → kv-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{image-fd410y7t.js → kv-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{image-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{image-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{image-g86h250q.js → kv-g86h250q.js} +0 -0
  747. /package/dist/chunks/{image-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{image-gftt206x.js → kv-gftt206x.js} +0 -0
  749. /package/dist/chunks/{image-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{image-hk9envan.js → kv-hk9envan.js} +0 -0
  751. /package/dist/chunks/{image-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{image-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{image-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{image-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{image-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{image-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{image-mp448xyj.js → kv-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{image-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{image-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{image-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{image-njntx4h6.js → kv-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{image-paphc93g.js → kv-paphc93g.js} +0 -0
  763. /package/dist/chunks/{image-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{image-q74kybfr.js → kv-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{image-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{image-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{image-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{image-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{image-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{image-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{image-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{image-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{image-twg0f83k.js → kv-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{image-w803qqfp.js → kv-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{image-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{image-wtztk69x.js → kv-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{image-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{image-x61499pn.js → kv-x61499pn.js} +0 -0
  779. /package/dist/chunks/{image-y44na4kk.js → kv-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{image-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{image-y8f7s663.js → kv-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{image-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{image-ym463w8f.js → kv-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{image-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./image-tc8ewk3m.js";
4
+ } from "./kv-711jmqzf.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./image-sj54rnv5.js";
8
+ } from "./kv-1ze9rnbj.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./image-5t3nmthw.js";
11
+ } from "./kv-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./image-ec1grn59.js";
14
+ } from "./kv-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./image-5c0f1prt.js";
20
+ } from "./kv-paegk39x.js";
21
21
  import {
22
22
  load3
23
- } from "./image-b0wjpe9c.js";
23
+ } from "./kv-z7xewpzj.js";
24
24
  import {
25
25
  create3
26
- } from "./image-kg06axw8.js";
26
+ } from "./kv-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./image-b3t12aqp.js";
29
+ } from "./kv-w79zsp0s.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./image-5gc856jg.js";
34
+ } from "./kv-cwx08fmw.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./image-v7w2xbsn.js";
37
+ } from "./kv-baymfvbz.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./image-wctv2b53.js";
41
+ } from "./kv-a1haqd7r.js";
42
42
  import {
43
43
  estimate2
44
- } from "./image-h6vf3j39.js";
44
+ } from "./kv-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./image-tdstcens.js";
49
+ } from "./kv-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./image-9rqn6x4v.js";
52
+ } from "./kv-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service12,
57
+ Service: () => Service9,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer7,
62
- node: () => node15,
62
+ node: () => node12,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
299
+ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
300
300
  const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
302
  const db = (yield* Service80).db;
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
605
605
  }
606
606
  }));
607
607
  });
608
- return Service12.of({
608
+ return Service9.of({
609
609
  transform: state.transform,
610
610
  reload: state.reload,
611
611
  enabled: () => state.get().auto,
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
614
614
  compactManual
615
615
  });
616
616
  }));
617
- var node15 = makeLocationNode({
618
- service: Service12,
617
+ var node12 = makeLocationNode({
618
+ service: Service9,
619
619
  layer: layer7,
620
620
  deps: [node84, node85, llmClient2]
621
621
  });
622
622
 
623
- export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node15, exports_compaction2 };
623
+ export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./image-5t3nmthw.js";
3
+ } from "./kv-5t3nmthw.js";
4
4
  import {
5
- Service73,
6
- node78
7
- } from "./image-fc4b3fbg.js";
5
+ Service41,
6
+ node45
7
+ } from "./kv-ktqs2y9f.js";
8
8
  import {
9
9
  __export
10
- } from "./image-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service72,
17
+ Service: () => Service16,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node77
19
+ layer: () => layer10,
20
+ node: () => node20
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service72 extends Context.Service()("@opencode/Generate") {
36
+ class Service16 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service72, Effect.gen(function* () {
38
+ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service73;
40
+ const resolver = yield* Service41;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -61,12 +61,12 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
61
61
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service72.of({ text });
64
+ return Service16.of({ text });
65
65
  }));
66
- var node77 = makeLocationNode({
67
- service: Service72,
68
- layer: layer23,
69
- deps: [node78, llmClient2]
66
+ var node20 = makeLocationNode({
67
+ service: Service16,
68
+ layer: layer10,
69
+ deps: [node45, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError3, Service72, layer23, node77, exports_generate2 };
72
+ export { ModelSelectionError2, UnavailableError3, Service16, layer10, node20, exports_generate };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
- Service62
6
- } from "./image-77jm4nff.js";
5
+ Service74
6
+ } from "./kv-m8rz97y9.js";
7
7
  import {
8
- Service20
9
- } from "./image-zxjep6kn.js";
8
+ Service70
9
+ } from "./kv-576fhmq5.js";
10
10
  import {
11
11
  Service10
12
- } from "./image-n12gefs8.js";
12
+ } from "./kv-6x37xp33.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./image-2a5m3afh.js";
15
+ } from "./kv-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service4
27
- } from "./image-m4w607dc.js";
26
+ Service3
27
+ } from "./kv-035y26vf.js";
28
28
  import {
29
29
  __export
30
- } from "./image-9rqn6x4v.js";
30
+ } from "./kv-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input12,
36
- Plugin: () => Plugin14,
35
+ Input: () => Input3,
36
+ Plugin: () => Plugin3,
37
37
  ReadTool: () => exports_read,
38
- name: () => name12,
39
- toModelContent: () => toModelContent6
38
+ name: () => name3,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name12 = "read";
45
+ var name3 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input12 = LocationInput;
56
+ var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin14 = {
58
+ var Plugin3 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service4;
62
- const access = yield* Service20;
61
+ const reader = yield* Service3;
62
+ const access = yield* Service70;
63
63
  const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service62;
65
+ const location = yield* Service74;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name12,
67
+ name: name3,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input12,
70
+ input: Input3,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin14 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent6(result.path, input.offset, result.output),
115
+ content: toModelContent3(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent6 = (path, offset, output) => {
147
+ var toModelContent3 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name12, Input12, Plugin14, toModelContent6, exports_read };
183
+ export { name3, Input3, Plugin3, toModelContent3, exports_read };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service46
3
- } from "./image-y6df3ape.js";
2
+ Service61
3
+ } from "./kv-pepqf6ga.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./image-s8d7rejh.js";
6
+ } from "./kv-eaj1djv9.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./image-922hggd3.js";
9
+ } from "./kv-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service50
13
- } from "./image-b4h4629r.js";
12
+ Service67
13
+ } from "./kv-20y2msxf.js";
14
14
  import {
15
- Service62
16
- } from "./image-77jm4nff.js";
15
+ Service74
16
+ } from "./kv-m8rz97y9.js";
17
17
  import {
18
18
  __export
19
- } from "./image-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin24
25
+ Plugin: () => Plugin37
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin24 = define({
32
+ var Plugin37 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service50;
35
+ const discovery = yield* Service67;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service62;
42
- const watcher = yield* Service46;
41
+ const location = yield* Service74;
42
+ const watcher = yield* Service61;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin24, exports_instruction };
117
+ export { Plugin37, exports_instruction };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./image-sj54rnv5.js";
4
+ } from "./kv-1ze9rnbj.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./image-2402vzrj.js";
11
+ } from "./kv-6h73sxmp.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./image-922hggd3.js";
14
+ } from "./kv-922hggd3.js";
15
15
  import {
16
- Service68,
17
- node73
18
- } from "./image-v2kj6y7k.js";
16
+ Service66,
17
+ node71
18
+ } from "./kv-3x2xmk5f.js";
19
19
  import {
20
20
  create3
21
- } from "./image-kg06axw8.js";
21
+ } from "./kv-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./image-9rqn6x4v.js";
24
+ } from "./kv-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event4,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info4,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service35,
34
+ Service: () => Service31,
35
35
  Source: () => Source3,
36
- node: () => node39
36
+ node: () => node35
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 Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event4 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
46
+ var Info4 = Reference.Info;
47
47
 
48
- class Service35 extends Context.Service()("@opencode/Reference") {
48
+ class Service31 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service35, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service79;
53
- const cache = yield* Service68;
53
+ const cache = yield* Service66;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info4.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info4.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(Service35, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service35.of({
107
+ return Service31.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(Service35, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node39 = makeLocationNode({
116
- service: Service35,
115
+ var node35 = makeLocationNode({
116
+ service: Service31,
117
117
  layer,
118
- deps: [Global.node, node84, node73]
118
+ deps: [Global.node, node84, node71]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service35, node39, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info4, Service31, node35, exports_reference2, Event4 };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./image-922hggd3.js";
5
- import {
6
- Info18
7
- } from "./image-f3ngv102.js";
8
- import {
9
- Info17
10
- } from "./image-3pbjq009.js";
4
+ } from "./kv-922hggd3.js";
11
5
  import {
12
6
  Info16
13
- } from "./image-3cfzdc8e.js";
7
+ } from "./kv-g190xswt.js";
14
8
  import {
15
9
  Info15
16
- } from "./image-ratrq7cm.js";
10
+ } from "./kv-818pfwc9.js";
11
+ import {
12
+ Info17
13
+ } from "./kv-tn0aqsam.js";
17
14
  import {
18
- Info14
19
- } from "./image-awaee7qt.js";
15
+ Info18
16
+ } from "./kv-a2ew8a62.js";
17
+ import {
18
+ Info19
19
+ } from "./kv-pjedbq3k.js";
20
20
  import {
21
21
  Layout2
22
- } from "./image-21r38tys.js";
22
+ } from "./kv-21r38tys.js";
23
23
  import {
24
- Info13
25
- } from "./image-kxpygcw9.js";
24
+ Info23
25
+ } from "./kv-qz49fwgp.js";
26
26
  import {
27
- Info12
28
- } from "./image-hkfg6fzm.js";
27
+ Info20
28
+ } from "./kv-ead3g9p8.js";
29
29
  import {
30
30
  Spec2
31
- } from "./image-0jwsre1p.js";
31
+ } from "./kv-7dqw4kz8.js";
32
32
  import {
33
- Info11
34
- } from "./image-yjptyezs.js";
33
+ Info21
34
+ } from "./kv-vmq7ehpy.js";
35
35
  import {
36
36
  Server2
37
- } from "./image-zeh9ct20.js";
37
+ } from "./kv-zeh9ct20.js";
38
38
  import {
39
- Info19
40
- } from "./image-r98e92ep.js";
39
+ Info22
40
+ } from "./kv-1a6p2twq.js";
41
41
  import {
42
42
  __export
43
- } from "./image-9rqn6x4v.js";
43
+ } from "./kv-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info10,
49
+ Info: () => Info14,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info10 = Schema.Struct({
62
+ var Info14 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info19).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info22).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info15), plan: Schema.optional(Info15) }), [Schema.Record(Schema.String, Info15)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info17),
119
- build: Schema.optional(Info17),
120
- general: Schema.optional(Info17),
121
- explore: Schema.optional(Info17),
122
- title: Schema.optional(Info17),
123
- summary: Schema.optional(Info17),
124
- compaction: Schema.optional(Info17)
125
- }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
118
+ plan: Schema.optional(Info15),
119
+ build: Schema.optional(Info15),
120
+ general: Schema.optional(Info15),
121
+ explore: Schema.optional(Info15),
122
+ title: Schema.optional(Info15),
123
+ summary: Schema.optional(Info15),
124
+ compaction: Schema.optional(Info15)
125
+ }), [Schema.Record(Schema.String, Info15)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info21)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info14).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info20, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info19).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info13).annotate({
133
+ lsp: Schema.optional(Info23).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info18),
140
+ permission: Schema.optional(Info16),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info16).annotate({
142
+ attachment: Schema.optional(Info17).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info10, exports_config2 };
194
+ export { WellKnown2, Info14, exports_config2 };