@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,63 +1,63 @@
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
  CredentialTable2
11
- } from "./image-pknna89w.js";
11
+ } from "./kv-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./image-0q0f95c6.js";
14
+ } from "./kv-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./image-9rqn6x4v.js";
17
+ } from "./kv-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID18,
25
- Info: () => Info33,
26
- Key: () => Key4,
23
+ Event: () => Event14,
24
+ ID: () => ID10,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service78,
28
+ Service: () => Service62,
29
29
  Value: () => Value2,
30
- node: () => node83
30
+ node: () => node67
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID18 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event14 = Credential.Event;
42
42
 
43
- class Info33 extends Schema.Class("Credential.Info")({
44
- id: ID18,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service78 extends Context.Service()("@opencode/Credential") {
51
+ class Service62 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service78, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info33({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service78.of({
71
+ return Service62.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info33({
80
- id: ID18.create(),
79
+ const credential = new Info25({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event14.Updated, {}, { global: true });
105
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event14.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event14.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
196
+ var node67 = makeGlobalNode({ service: Service62, layer, deps: [node85, node84] });
197
197
 
198
- export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event14, Info25, Service62, node67, exports_credential };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./image-2e96adxv.js";
5
+ } from "./kv-qwkytnft.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./image-db1rdv3a.js";
8
+ } from "./kv-c09xw0p7.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./image-1mpsz6n1.js";
11
+ } from "./kv-4b1heq7g.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -16,7 +16,7 @@ import {
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./image-6qcyxhyc.js";
19
+ } from "./kv-n017zbq8.js";
20
20
 
21
21
  // src/session/to-session-error.ts
22
22
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./image-sj54rnv5.js";
4
+ } from "./kv-1ze9rnbj.js";
5
5
  import {
6
- Service62,
7
- node67
8
- } from "./image-77jm4nff.js";
6
+ Service74,
7
+ node79
8
+ } from "./kv-m8rz97y9.js";
9
9
  import {
10
- ID13,
11
- Service71,
12
- node76
13
- } from "./image-bsdvb4am.js";
10
+ ID18,
11
+ Service78,
12
+ node83
13
+ } from "./kv-mqh518cc.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./image-2e96adxv.js";
15
+ NotFoundError9
16
+ } from "./kv-qwkytnft.js";
17
17
  import {
18
- Service61,
19
- node66
20
- } from "./image-593fhq5d.js";
18
+ Service72,
19
+ node77
20
+ } from "./kv-3j6dd1ze.js";
21
21
  import {
22
22
  match2
23
- } from "./image-y1fvbwt7.js";
23
+ } from "./kv-y1fvbwt7.js";
24
24
  import {
25
- Service60,
26
- node65
27
- } from "./image-q7fjq38y.js";
25
+ Service73,
26
+ node78
27
+ } from "./kv-gke945h8.js";
28
28
  import {
29
- Service66,
30
- node71
31
- } from "./image-chnmz1hg.js";
29
+ Service76,
30
+ node81
31
+ } from "./kv-t8bhz2vr.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./kv-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event13,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError7,
45
+ Event: () => Event18,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service59,
54
+ Service: () => Service71,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node64
58
+ node: () => node76
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event13 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID13.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service59 extends Context.Service()("@opencode/Permission") {
128
+ class Service71 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service59, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service62;
133
- const agents = yield* Service71;
134
- const sessions = yield* Service61;
135
- const saved = yield* Service60;
136
- const hooks = yield* Service66;
132
+ const location = yield* Service74;
133
+ const agents = yield* Service78;
134
+ const sessions = yield* Service72;
135
+ const saved = yield* Service73;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError9({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID8.create(),
183
+ id: input.id ?? ID13.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError8({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service59.of({ ask, assert, reply, get, forSession, list });
286
+ return Service71.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node64 = makeLocationNode({
289
- service: Service59,
288
+ var node76 = makeLocationNode({
289
+ service: Service71,
290
290
  layer,
291
- deps: [node84, node67, node76, node66, node65, node71]
291
+ deps: [node84, node79, node83, node77, node78, node81]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node64, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./image-5t3nmthw.js";
3
+ } from "./kv-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service31,
11
+ Service: () => Service25,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node35
15
+ node: () => node30
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service31.of({ bind, close, closeAll });
359
+ return Service25.of({ bind, close, closeAll });
360
360
  }));
361
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node35 = makeGlobalNode({ service: Service31, layer: layer10, deps: [webSocketConstructor2] });
364
+ var node30 = makeGlobalNode({ service: Service25, layer: layer12, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service31, makeLayer2, layer10, node35, exports_model_transport };
366
+ export { Service25, makeLayer2, layer12, node30, exports_model_transport };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./image-9tjj22mb.js";
3
+ } from "./kv-7amrkpe1.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./image-twg0f83k.js";
6
+ } from "./kv-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./image-6msgmcgs.js";
3
+ } from "./kv-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./image-8p4f9s12.js";
6
+ } from "./kv-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node55
5
- } from "./image-wzsv7nm2.js";
4
+ node39
5
+ } from "./kv-j41a475f.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./image-5c0f1prt.js";
9
+ } from "./kv-paegk39x.js";
10
10
  import {
11
- Service66,
12
- node71
13
- } from "./image-chnmz1hg.js";
11
+ Service76,
12
+ node81
13
+ } from "./kv-t8bhz2vr.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./image-db1rdv3a.js";
16
+ } from "./kv-c09xw0p7.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./image-4rp3kb22.js";
19
+ } from "./kv-q6trkzsx.js";
20
20
  import {
21
21
  Error5
22
- } from "./image-cgm8tx61.js";
22
+ } from "./kv-8b7x386w.js";
23
23
  import {
24
- Service31,
25
- node35
26
- } from "./image-1c0nckdw.js";
24
+ Service25,
25
+ node30
26
+ } from "./kv-c156ep7e.js";
27
27
  import {
28
- make15
29
- } from "./image-hjt4xg1x.js";
28
+ make14
29
+ } from "./kv-nhy5jxhy.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./image-b3t12aqp.js";
32
+ } from "./kv-w79zsp0s.js";
33
33
  import {
34
34
  __export
35
- } from "./image-9rqn6x4v.js";
35
+ } from "./kv-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service30,
40
+ Service: () => Service24,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer9,
45
- node: () => node34,
44
+ layer: () => layer11,
45
+ node: () => node29,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer9 = Layer.effect(Service30, Effect.gen(function* () {
156
- const hooks = yield* Service66;
157
- const transport = yield* Service31;
155
+ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
156
+ const hooks = yield* Service76;
157
+ const transport = yield* Service25;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -244,17 +244,17 @@ var layer9 = Layer.effect(Service30, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service30.of({
247
+ return Service24.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node34 = makeLocationNode({
255
- service: Service30,
256
- layer: layer9,
257
- deps: [node71, node35, node55]
254
+ var node29 = makeLocationNode({
255
+ service: Service24,
256
+ layer: layer11,
257
+ deps: [node81, node30, node39]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer9, node34, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer11, node29, exports_model_request };