@opencode/core 0.0.0-dev-19358 → 0.0.0-dev-19360
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{command-v8k1872w.js → kv-017vzha0.js} +8 -8
- package/dist/chunks/{command-88sz8qcd.js → kv-06dxphr1.js} +4 -4
- package/dist/chunks/{command-hzcxg4q9.js → kv-09a5a0fp.js} +13 -13
- package/dist/chunks/{command-4e7426jc.js → kv-0h54jqbs.js} +8 -8
- package/dist/chunks/kv-0mesazry.js +4 -0
- package/dist/chunks/{command-kzxpw37x.js → kv-0mfzvwpr.js} +23 -23
- package/dist/chunks/{command-b11rdt3w.js → kv-0n7epq16.js} +11 -11
- package/dist/chunks/{command-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-r98e92ep.js → kv-0v53mg2y.js} +4 -4
- package/dist/chunks/{command-pt50yj7n.js → kv-0w81t5sb.js} +15 -15
- package/dist/chunks/{command-3nc90kmd.js → kv-0wab6ted.js} +3 -3
- package/dist/chunks/{command-f2n192rq.js → kv-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dfhrqqs.js → kv-1dfhrqqs.js} +2 -2
- package/dist/chunks/{command-gfc9zyvq.js → kv-1m7hx97q.js} +18 -18
- package/dist/chunks/{command-493vsnxm.js → kv-1r0d1kr4.js} +17 -17
- package/dist/chunks/{command-45d0vtt8.js → kv-1r42e7ty.js} +6 -6
- package/dist/chunks/{command-8r7f04jj.js → kv-1sn8gmqj.js} +15 -15
- package/dist/chunks/kv-1vbpvncb.js +22 -0
- package/dist/chunks/{command-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{command-wfbxv8er.js → kv-231cp38k.js} +3 -3
- package/dist/chunks/{command-7ebn0nc0.js → kv-23pqda6t.js} +6 -6
- package/dist/chunks/{command-2402vzrj.js → kv-2402vzrj.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-138p5ddt.js → kv-2b2mnr53.js} +24 -24
- package/dist/chunks/{command-kqvbfj3r.js → kv-2bkjbnp9.js} +10 -10
- package/dist/chunks/{command-n4fdf33j.js → kv-2h6x17mq.js} +9 -9
- package/dist/chunks/{command-nfhmz961.js → kv-2jjcr86y.js} +9 -9
- package/dist/chunks/{command-zx4qqgq6.js → kv-2m10wfgt.js} +8 -8
- package/dist/chunks/{command-hxvm7zmc.js → kv-2r1rtg3e.js} +4 -4
- package/dist/chunks/{command-49grzd0n.js → kv-2z2qjkd3.js} +9 -9
- package/dist/chunks/{command-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
- package/dist/chunks/{command-tkzgmprh.js → kv-396mvtqj.js} +27 -27
- package/dist/chunks/{command-2qp6y8xf.js → kv-3cfzdc8e.js} +5 -5
- package/dist/chunks/{command-gdvy8fx6.js → kv-3fc6dm20.js} +4 -4
- package/dist/chunks/{command-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-bjy2htfa.js → kv-3mx0y1ht.js} +22 -22
- package/dist/chunks/{command-0btf9jkj.js → kv-3nd5cs90.js} +4 -4
- package/dist/chunks/{command-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-43t6csf6.js → kv-3w5w3nh8.js} +17 -17
- package/dist/chunks/{command-dmmjs2b8.js → kv-3w9yc7a7.js} +10 -10
- package/dist/chunks/{command-4e5nbqbj.js → kv-3wheaa1t.js} +59 -59
- package/dist/chunks/{command-kyrc5g5p.js → kv-4305953a.js} +3 -3
- package/dist/chunks/{command-2rfrcgce.js → kv-439qq586.js} +32 -32
- package/dist/chunks/{command-8n2avc0p.js → kv-46s06qcm.js} +6 -6
- package/dist/chunks/{command-z7vtm5t9.js → kv-4bxkgwjc.js} +89 -89
- package/dist/chunks/{command-jym9kedx.js → kv-4gr0a549.js} +13 -13
- package/dist/chunks/{command-tqnq6q5q.js → kv-4haz999q.js} +20 -20
- package/dist/chunks/{command-4bj5xf3m.js → kv-4hbkt23j.js} +22 -22
- package/dist/chunks/{command-r5zgsrw8.js → kv-4mx2b0k8.js} +46 -46
- package/dist/chunks/{command-zfsxp10c.js → kv-4sm1ktk0.js} +3 -3
- package/dist/chunks/{command-zy3h4kss.js → kv-4ze7kxrr.js} +11 -11
- package/dist/chunks/{command-39q35cms.js → kv-506x7411.js} +17 -17
- package/dist/chunks/{command-0w6bwpjx.js → kv-53bzy8z6.js} +36 -36
- package/dist/chunks/{command-zg7s7pjs.js → kv-596b0gqg.js} +15 -15
- package/dist/chunks/{command-qkwnakvm.js → kv-59r9wywc.js} +15 -15
- package/dist/chunks/{command-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{command-8w9tvb25.js → kv-5kptn8c0.js} +9 -9
- package/dist/chunks/{command-ksdnvjw1.js → kv-5nmbd4v9.js} +16 -16
- package/dist/chunks/{command-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-9td3nvch.js → kv-5y0nzxc1.js} +3 -3
- package/dist/chunks/{command-2femdq6k.js → kv-63zbbs1j.js} +8 -8
- package/dist/chunks/{command-qm7jrdpz.js → kv-64s65d1n.js} +8 -8
- package/dist/chunks/{command-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{command-c7ecgrk6.js → kv-6by2q13s.js} +6 -6
- package/dist/chunks/{command-f4pamck6.js → kv-6c6rf3hd.js} +15 -15
- package/dist/chunks/{command-19vf66h0.js → kv-6hh8tjw2.js} +4 -4
- package/dist/chunks/{command-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-s8adj76m.js → kv-6mtjdhp0.js} +8 -8
- package/dist/chunks/{command-gepnxnka.js → kv-6nrp97vg.js} +11 -11
- package/dist/chunks/{command-3kpvh92z.js → kv-6qgsb3f2.js} +23 -23
- package/dist/chunks/{command-hh0vmts5.js → kv-6xp89fzc.js} +11 -11
- package/dist/chunks/{command-qn2q96g0.js → kv-6y25d0ac.js} +16 -16
- package/dist/chunks/{command-9t5zm95t.js → kv-70d43s4v.js} +6 -6
- package/dist/chunks/{command-71q4at8m.js → kv-71q4at8m.js} +1 -1
- package/dist/chunks/{command-4da4ndpv.js → kv-75sr1xqr.js} +4 -4
- package/dist/chunks/{command-q3e3pxrn.js → kv-75y5tx4d.js} +2 -2
- package/dist/chunks/{command-rz527k5r.js → kv-76gk4s10.js} +4 -4
- package/dist/chunks/{command-ygakqxjr.js → kv-77echfzz.js} +21 -21
- package/dist/chunks/{command-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-az9ecw0v.js → kv-7g7s010y.js} +11 -11
- package/dist/chunks/{command-dzcz3c2s.js → kv-7gjp1kwb.js} +32 -32
- package/dist/chunks/{command-dx63s7w1.js → kv-7khkw86z.js} +12 -12
- package/dist/chunks/{command-d5ze1g7q.js → kv-802tcqey.js} +19 -19
- package/dist/chunks/{command-68xpwqwy.js → kv-81swgkk7.js} +9 -9
- package/dist/chunks/{command-spwgk4wz.js → kv-8354z59m.js} +16 -16
- package/dist/chunks/{command-y22f4a62.js → kv-838refjp.js} +17 -17
- package/dist/chunks/{command-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{command-qpt82rvw.js → kv-8aevjsfj.js} +4 -4
- package/dist/chunks/{command-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-afvn2d8y.js → kv-8mvvvh03.js} +20 -20
- package/dist/chunks/{command-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-mzfawknz.js → kv-8pp9vwy8.js} +20 -20
- package/dist/chunks/{command-t8mcaem5.js → kv-8vhsavsz.js} +1 -1
- package/dist/chunks/{command-4wn6b914.js → kv-8xf24hrn.js} +24 -24
- package/dist/chunks/{command-farf7nq9.js → kv-8ycz0j3c.js} +8 -8
- package/dist/chunks/{command-be4a9pdg.js → kv-9e7hbcg6.js} +18 -18
- package/dist/chunks/{command-zxwpk2nb.js → kv-9njzw40h.js} +1 -1
- package/dist/chunks/{command-86g4d0kj.js → kv-9vwhk7mz.js} +53 -53
- package/dist/chunks/{command-sqbb0ctm.js → kv-9w4ppqge.js} +5 -5
- package/dist/chunks/{command-tjsj89dc.js → kv-9zswys26.js} +9 -9
- package/dist/chunks/{command-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-2pnhn36q.js → kv-a8bn8zg0.js} +21 -21
- package/dist/chunks/{command-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{command-de8rrxbc.js → kv-ajqrbvev.js} +7 -7
- package/dist/chunks/{command-9hkkgm6z.js → kv-aky46mj0.js} +11 -11
- package/dist/chunks/{command-vxwzppst.js → kv-av4fg7kg.js} +9 -9
- package/dist/chunks/{command-z9g6acw9.js → kv-avmjt9n5.js} +6 -6
- package/dist/chunks/{command-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-snt4nv2a.js → kv-b6haqpd9.js} +13 -13
- package/dist/chunks/{command-rf1gapgg.js → kv-b9nc7df5.js} +37 -37
- package/dist/chunks/{command-hfdr1yjj.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{command-jjc29zvc.js → kv-bbcxt5nx.js} +25 -25
- package/dist/chunks/{command-w2q9x1k3.js → kv-bby00dsd.js} +8 -8
- package/dist/chunks/{command-vmq7ehpy.js → kv-bgxcxs0p.js} +5 -5
- package/dist/chunks/{command-sxyb6qad.js → kv-bkskf6gp.js} +4 -4
- package/dist/chunks/{command-dt88errb.js → kv-bmfzpfj9.js} +9 -9
- package/dist/chunks/{command-fer3tpfm.js → kv-bq6p2e81.js} +11 -11
- package/dist/chunks/{command-en74w496.js → kv-brrng35t.js} +5 -5
- package/dist/chunks/{command-vd8e5h8f.js → kv-cbhba7e7.js} +26 -26
- package/dist/chunks/{command-4mkcvr19.js → kv-ce9cy9tn.js} +5 -5
- package/dist/chunks/{command-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-jvf3yq6v.js → kv-ckf8nxjz.js} +4 -4
- package/dist/chunks/{command-se0tgtr4.js → kv-cp1smhp7.js} +18 -18
- package/dist/chunks/{command-31wrjn3h.js → kv-cy6y2h87.js} +12 -12
- package/dist/chunks/{command-b3wkxfg9.js → kv-d50f2zf5.js} +1 -1
- package/dist/chunks/{command-5nsrms9d.js → kv-d7wm60v1.js} +1 -1
- package/dist/chunks/kv-d85t2vjv.js +462 -0
- package/dist/chunks/{command-h9nzt5cp.js → kv-dcrp08f6.js} +17 -17
- package/dist/chunks/{command-keyg98zt.js → kv-ddn28z7g.js} +12 -12
- package/dist/chunks/{command-070a9e04.js → kv-dhgwjg8a.js} +39 -39
- package/dist/chunks/{command-yg5c8d2j.js → kv-dn72drj9.js} +28 -28
- package/dist/chunks/{command-k0nnq3t9.js → kv-e844176y.js} +6 -6
- package/dist/chunks/{command-s8x2ny25.js → kv-e9ne7566.js} +30 -30
- package/dist/chunks/{command-hwe7x4em.js → kv-ecrv93z9.js} +6 -6
- package/dist/chunks/{command-naqvy1vc.js → kv-egqspz5t.js} +15 -15
- package/dist/chunks/{command-xe22fbq9.js → kv-er9grmn7.js} +10 -10
- package/dist/chunks/{command-hdt6myfc.js → kv-erf53p6a.js} +25 -25
- package/dist/chunks/{command-pbtsv70y.js → kv-erkhkr0k.js} +11 -11
- package/dist/chunks/{command-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-cwj87dc4.js → kv-exfbp3cy.js} +20 -20
- package/dist/chunks/{command-9139jgcd.js → kv-exfw471h.js} +14 -14
- package/dist/chunks/{command-ehzj4vhg.js → kv-f6j4trmm.js} +17 -17
- package/dist/chunks/{command-vragf7xq.js → kv-f77b4gg8.js} +11 -11
- package/dist/chunks/{command-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{command-5xp4z8zk.js → kv-fezr930q.js} +9 -9
- package/dist/chunks/{command-jhetwysa.js → kv-fgbvkaq8.js} +3 -3
- package/dist/chunks/{command-hm0hsyzs.js → kv-fpayzr53.js} +35 -35
- package/dist/chunks/{command-rryqg9dq.js → kv-ftd5gews.js} +14 -14
- package/dist/chunks/{command-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-jxpa08fn.js → kv-fxd4av11.js} +20 -20
- package/dist/chunks/{command-tknkg6rx.js → kv-fy056mg1.js} +28 -28
- package/dist/chunks/{command-xnk8ss56.js → kv-fy69466f.js} +34 -34
- package/dist/chunks/{command-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-3eg94j8w.js → kv-gemkfa67.js} +41 -41
- package/dist/chunks/{command-yrwypdbr.js → kv-ggg9gqgj.js} +21 -21
- package/dist/chunks/{command-z1f4gy9p.js → kv-gj9xpvv3.js} +4 -4
- package/dist/chunks/{command-cpj6a2aa.js → kv-gn188skn.js} +45 -45
- package/dist/chunks/{command-9rqme4wv.js → kv-gqc5bnj8.js} +24 -24
- package/dist/chunks/{command-ygtg2ex0.js → kv-gz5d2c22.js} +16 -16
- package/dist/chunks/{command-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-hcxgcq81.js → kv-h235cfqb.js} +7 -7
- package/dist/chunks/{command-kh9gj6fg.js → kv-h455ysgm.js} +2 -2
- package/dist/chunks/{command-fwcwebn7.js → kv-h5vr5j79.js} +6 -6
- package/dist/chunks/{command-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-gsx0ryk4.js → kv-h7ygw6q4.js} +9 -9
- package/dist/chunks/{command-83x6p9kd.js → kv-h80adbj4.js} +1 -1
- package/dist/chunks/{command-anbsab5w.js → kv-hf2pbrtn.js} +32 -32
- package/dist/chunks/{command-m9tpa25m.js → kv-hmavm4jw.js} +24 -24
- package/dist/chunks/{command-v48pvb4n.js → kv-htxwfwhk.js} +11 -11
- package/dist/chunks/{command-xzja1t39.js → kv-hvbfygy7.js} +5 -5
- package/dist/chunks/{command-m3wyk9nc.js → kv-j2m1sh4m.js} +8 -8
- package/dist/chunks/{command-zc36c13q.js → kv-j3ac5q50.js} +26 -26
- package/dist/chunks/{command-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{command-a02rj634.js → kv-j5ysm35j.js} +11 -11
- package/dist/chunks/{command-48q4dgm3.js → kv-jefma2gq.js} +10 -10
- package/dist/chunks/{command-j9vx3v9v.js → kv-jge6stq5.js} +24 -24
- package/dist/chunks/{command-nedyw519.js → kv-k0a960a7.js} +15 -15
- package/dist/chunks/{command-jm23p7wd.js → kv-k0w2nq2k.js} +21 -21
- package/dist/chunks/{command-a72wxtdj.js → kv-k0x38na5.js} +29 -29
- package/dist/chunks/{command-v07j1kge.js → kv-k79xn9em.js} +56 -56
- package/dist/chunks/{command-8ezz0qpe.js → kv-k9ngkg1e.js} +13 -13
- package/dist/chunks/{command-qq9xggvz.js → kv-kcadhap2.js} +4 -4
- package/dist/chunks/{command-jva4mgym.js → kv-keat3kjn.js} +4 -4
- package/dist/chunks/{command-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{command-cmfpwhr1.js → kv-kja4r8qp.js} +10 -10
- package/dist/chunks/{command-7qse0qpb.js → kv-kktgha0p.js} +26 -26
- package/dist/chunks/{command-nsk5ybg9.js → kv-m1nxg7xt.js} +13 -13
- package/dist/chunks/{command-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-j5208yae.js → kv-m9wy7qrr.js} +6 -6
- package/dist/chunks/{command-r5x6zcsm.js → kv-mhkvc446.js} +3 -3
- package/dist/chunks/{command-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-fgxdmbj2.js → kv-mpqhg696.js} +151 -151
- package/dist/chunks/{command-gt0cxfk7.js → kv-n1qcxzd8.js} +1 -1
- package/dist/chunks/{command-vpt86awd.js → kv-n68r2zkb.js} +12 -12
- package/dist/chunks/{command-e82z9tr0.js → kv-nhy5jxhy.js} +7 -7
- package/dist/chunks/{command-w6a1w976.js → kv-nmgx7778.js} +18 -18
- package/dist/chunks/{command-6c1g49x3.js → kv-nr4qfx73.js} +9 -9
- package/dist/chunks/{command-nmxjcnz2.js → kv-nx4sh7k4.js} +4 -4
- package/dist/chunks/{command-azw47gg7.js → kv-p1hfkb2a.js} +45 -45
- package/dist/chunks/{command-rwatm0mm.js → kv-p85616da.js} +10 -10
- package/dist/chunks/{command-4pre3909.js → kv-p8mfetr7.js} +11 -11
- package/dist/chunks/{command-j935v87r.js → kv-paphc93g.js} +2 -2
- package/dist/chunks/{command-04rtynqt.js → kv-pbewafnk.js} +17 -17
- package/dist/chunks/{command-xj439p2s.js → kv-pe4se4ke.js} +11 -11
- package/dist/chunks/kv-pgbvw7vb.js +247 -0
- package/dist/chunks/{command-e7sdhxas.js → kv-pgm7azv9.js} +20 -20
- package/dist/chunks/{command-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{command-1wxb385z.js → kv-q2yy3qv3.js} +1 -1
- package/dist/chunks/{command-s6c8tzhk.js → kv-q9h0epwa.js} +25 -25
- package/dist/chunks/{command-qx3fns1j.js → kv-qa6ppnwe.js} +37 -37
- package/dist/chunks/{command-7dqw4kz8.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-33xc6zn2.js → kv-qptq4a97.js} +7 -7
- package/dist/chunks/{command-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{command-a70vfxwz.js → kv-r5d1dmqg.js} +27 -27
- package/dist/chunks/{command-15n42rft.js → kv-r7ns69j1.js} +36 -36
- package/dist/chunks/{command-kd4mv8p1.js → kv-rjg8g7fv.js} +25 -25
- package/dist/chunks/{command-msjfgnq6.js → kv-rnn5ab1a.js} +9 -9
- package/dist/chunks/{command-w17k3rsr.js → kv-rqp4wsb9.js} +15 -15
- package/dist/chunks/{command-19av3p62.js → kv-ryhwgtxa.js} +10 -10
- package/dist/chunks/{command-qxnh841b.js → kv-sefzmpgj.js} +12 -12
- package/dist/chunks/{command-st4t0jjg.js → kv-t2w3xr5a.js} +2 -2
- package/dist/chunks/{command-89t020sf.js → kv-t3tk0kdt.js} +37 -37
- package/dist/chunks/{command-s8d7rejh.js → kv-t550f9t1.js} +4 -4
- package/dist/chunks/{command-tc265fkx.js → kv-t6gyap4y.js} +5 -5
- package/dist/chunks/{command-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{command-th5km1p3.js → kv-th5km1p3.js} +2 -2
- package/dist/chunks/{command-06wjbj88.js → kv-tmh6rfkz.js} +16 -16
- package/dist/chunks/{command-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{command-vmysjhj7.js → kv-twc0z75m.js} +10 -10
- package/dist/chunks/{command-dvqsfc3k.js → kv-vbptb2xn.js} +9 -9
- package/dist/chunks/{command-3m9dzf4r.js → kv-vbtttdfc.js} +1 -1
- package/dist/chunks/{command-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{command-jh9frvw6.js → kv-vgegbj1j.js} +10 -10
- package/dist/chunks/{command-5epte933.js → kv-vjnb44yt.js} +3 -3
- package/dist/chunks/{command-h113rvhb.js → kv-vmtnrby3.js} +46 -46
- package/dist/chunks/kv-vnkjks7b.js +18 -0
- package/dist/chunks/{command-j052dg5b.js → kv-vtek68tq.js} +16 -16
- package/dist/chunks/{command-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-axfg0z4e.js → kv-w1738nfv.js} +10 -10
- package/dist/chunks/{command-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-6tqsccrn.js → kv-w721cga8.js} +84 -84
- package/dist/chunks/{command-pbe99m00.js → kv-waez83j4.js} +43 -43
- package/dist/chunks/{command-ztzqvfjg.js → kv-wbx57ajf.js} +26 -26
- package/dist/chunks/{command-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{command-d6gjw5d8.js → kv-wk17m56v.js} +24 -24
- package/dist/chunks/{command-hgdt9556.js → kv-wpd1p932.js} +17 -17
- package/dist/chunks/{command-j7nbk787.js → kv-wqc1s1gd.js} +26 -26
- package/dist/chunks/{command-13mzqdtz.js → kv-wwjt80m9.js} +14 -14
- package/dist/chunks/{command-s1hyvedr.js → kv-wzp3jkbn.js} +20 -20
- package/dist/chunks/{command-7nwrad04.js → kv-x0jtbjg2.js} +18 -18
- package/dist/chunks/{command-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-kbmmzrfa.js → kv-x3et2xth.js} +8 -8
- package/dist/chunks/{command-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
- package/dist/chunks/{command-sp31zz3t.js → kv-x5rrbr66.js} +33 -33
- package/dist/chunks/{command-2a7hagjp.js → kv-xfjax5kj.js} +6 -6
- package/dist/chunks/{command-jz5y6dvz.js → kv-xkmffr67.js} +22 -22
- package/dist/chunks/{command-454ap3be.js → kv-xvj1r6w1.js} +9 -9
- package/dist/chunks/{command-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-59zahvaa.js → kv-y5bhkzgm.js} +18 -18
- package/dist/chunks/{command-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{command-24w00f77.js → kv-ybnhfehy.js} +29 -29
- package/dist/chunks/{command-vcxc4q3p.js → kv-ygm3k6pt.js} +4 -4
- package/dist/chunks/{command-bhgdfcz0.js → kv-yp13aqkf.js} +11 -11
- package/dist/chunks/{command-9maaan9b.js → kv-ypcjrsbr.js} +16 -16
- package/dist/chunks/{command-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{command-avm8jn6n.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{command-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-29x78va6.js → kv-z63w68vq.js} +6 -6
- package/dist/chunks/{command-qx4eckdq.js → kv-zdfagqyp.js} +21 -21
- package/dist/chunks/{command-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-dcf26w67.js → kv-zeq506h1.js} +19 -19
- package/dist/chunks/{command-ebc7h8jh.js → kv-zfznrpx1.js} +4 -4
- package/dist/chunks/{command-4a54se45.js → kv-zmbz8hcx.js} +47 -47
- package/dist/chunks/{command-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-8jdy407s.js → kv-ztatr4as.js} +29 -29
- package/dist/chunks/{command-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/command-2xe896hw.js +0 -462
- package/dist/chunks/command-619r8v3y.js +0 -18
- package/dist/chunks/command-6kdq0pjd.js +0 -4
- package/dist/chunks/command-d3ggx689.js +0 -247
- package/dist/chunks/command-rq3zbgk8.js +0 -22
- /package/dist/chunks/{command-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info12
|
|
7
|
+
} from "./kv-a8bn8zg0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info9
|
|
10
|
+
} from "./kv-63zbbs1j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info16
|
|
13
|
+
} from "./kv-3cfzdc8e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info13
|
|
16
|
+
} from "./kv-6hh8tjw2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info11
|
|
19
|
+
} from "./kv-m9wy7qrr.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info14
|
|
25
|
+
} from "./kv-23pqda6t.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info17
|
|
28
|
+
} from "./kv-yt0fqk68.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info10
|
|
34
|
+
} from "./kv-bgxcxs0p.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info15
|
|
40
|
+
} from "./kv-0v53mg2y.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
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: () =>
|
|
49
|
+
Info: () => Info8,
|
|
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
|
|
62
|
+
var Info8 = 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 Info15 = 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,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info15).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 Info15 = 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(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info9), plan: Schema.optional(Info9) }), [Schema.Record(Schema.String, Info9)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info9),
|
|
119
|
+
build: Schema.optional(Info9),
|
|
120
|
+
general: Schema.optional(Info9),
|
|
121
|
+
explore: Schema.optional(Info9),
|
|
122
|
+
title: Schema.optional(Info9),
|
|
123
|
+
summary: Schema.optional(Info9),
|
|
124
|
+
compaction: Schema.optional(Info9)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info9)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info11).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(
|
|
133
|
+
lsp: Schema.optional(Info14).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(
|
|
140
|
+
permission: Schema.optional(Info12),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info16).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 Info15 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info8, exports_config2 };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-0wab6ted.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-2r1rtg3e.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-06dxphr1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load3
|
|
23
|
+
} from "./kv-7g7s010y.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-d50f2zf5.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-hf2pbrtn.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-bkskf6gp.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./kv-h5vr5j79.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./kv-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-tdstcens.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./kv-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service11,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
|
-
layer: () =>
|
|
61
|
-
node: () =>
|
|
60
|
+
layer: () => layer7,
|
|
61
|
+
node: () => node14,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
123
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
124
124
|
`).filter((line) => line.startsWith("##"));
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
127
127
|
}
|
|
128
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
129
129
|
var estimateTokens2 = (input) => {
|
|
@@ -291,7 +291,7 @@ var buildPrompt2 = (update) => {
|
|
|
291
291
|
};
|
|
292
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
293
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
294
|
-
var
|
|
294
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
295
295
|
const bus = yield* Service79;
|
|
296
296
|
const llm = yield* LLMClient.Service;
|
|
297
297
|
const db = (yield* Service80).db;
|
|
@@ -354,7 +354,7 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
354
354
|
webSocket
|
|
355
355
|
});
|
|
356
356
|
};
|
|
357
|
-
const original = (sessionID) =>
|
|
357
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
358
358
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
359
359
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
360
360
|
const context = input.context;
|
|
@@ -574,7 +574,7 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
574
574
|
}
|
|
575
575
|
}));
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service11.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
enabled: () => state.get().auto,
|
|
@@ -583,10 +583,10 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
583
583
|
compactManual
|
|
584
584
|
});
|
|
585
585
|
}));
|
|
586
|
-
var
|
|
587
|
-
service:
|
|
588
|
-
layer:
|
|
586
|
+
var node14 = makeLocationNode({
|
|
587
|
+
service: Service11,
|
|
588
|
+
layer: layer7,
|
|
589
589
|
deps: [node84, node85, llmClient2]
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
export {
|
|
592
|
+
export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./kv-63zbbs1j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./kv-3cfzdc8e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info13
|
|
15
|
+
} from "./kv-6hh8tjw2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./kv-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info10
|
|
24
|
+
} from "./kv-bgxcxs0p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./kv-waez83j4.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-75sr1xqr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./kv-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-gemkfa67.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node81, boundNode2, exports_location };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./kv-hmavm4jw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service51,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-b6haqpd9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service35
|
|
11
|
+
} from "./kv-596b0gqg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./kv-9vwhk7mz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./kv-y5bhkzgm.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input9,
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name9,
|
|
33
|
-
toModelContent: () =>
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
@@ -42,21 +42,21 @@ var Input9 = Schema.Struct({
|
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin10 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service63;
|
|
56
|
+
const fileMutation = yield* Service51;
|
|
57
|
+
const environment = yield* Service52;
|
|
58
|
+
const formatter = yield* Service35;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -66,7 +66,7 @@ Missing parent directories are created automatically.
|
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
68
|
input: Input9,
|
|
69
|
-
output:
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name9, Input9,
|
|
101
|
+
export { name9, Input9, Output7, toModelContent5, Plugin10, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-2r1rtg3e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./kv-wpd1p932.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service25
|
|
10
|
+
} from "./kv-p1hfkb2a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin23
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin23 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service76;
|
|
200
|
+
const mcp = yield* Service25;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin23, exports_command };
|