@opencode/core 0.0.0-dev-20327 → 0.0.0-dev-20328
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-xkhfjrgz.js → command-08rawchj.js} +3 -3
- package/dist/chunks/{repository-hafbkqsf.js → command-0bbg5mgz.js} +9 -9
- package/dist/chunks/{repository-03yhb5ad.js → command-0f00b5dx.js} +17 -17
- package/dist/chunks/{repository-gtf1jrjg.js → command-0grgek18.js} +23 -23
- package/dist/chunks/{repository-52hb404k.js → command-0hf9g8pg.js} +6 -6
- package/dist/chunks/{repository-f3h1v3p4.js → command-0jq7xanq.js} +8 -8
- package/dist/chunks/{repository-6hjx5zpb.js → command-0jq9fyba.js} +9 -9
- package/dist/chunks/{repository-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-djj2fqjh.js → command-0tsnk9s4.js} +22 -22
- package/dist/chunks/{repository-fjvydvzm.js → command-0z8vjex2.js} +7 -7
- package/dist/chunks/{repository-94vf58n3.js → command-12wyshmk.js} +12 -12
- package/dist/chunks/{repository-d8r9gpwm.js → command-133zd6pq.js} +10 -10
- package/dist/chunks/{repository-mwhefvvw.js → command-173e3mya.js} +3 -3
- package/dist/chunks/{repository-8x0w9677.js → command-17zy7cfp.js} +4 -4
- package/dist/chunks/{repository-a2ew8a62.js → command-19vf66h0.js} +4 -4
- package/dist/chunks/{repository-6yea8ax2.js → command-1a79m22w.js} +9 -9
- package/dist/chunks/{repository-r8xr0va3.js → command-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-qz061pbh.js → command-1awajp9d.js} +6 -6
- package/dist/chunks/{repository-1bbkgx8g.js → command-1bbkgx8g.js} +1 -1
- package/dist/chunks/{repository-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-fnrmajhb.js → command-1g734vay.js} +10 -10
- package/dist/chunks/{repository-hwce49kt.js → command-1h6krnfg.js} +18 -18
- package/dist/chunks/{repository-7g7rfneh.js → command-1k3w44xe.js} +26 -26
- package/dist/chunks/{repository-8sze2n9a.js → command-1p07q0wb.js} +8 -8
- package/dist/chunks/{repository-46m0hjzr.js → command-1p8321re.js} +4 -4
- package/dist/chunks/{repository-dt4h0wgn.js → command-20g5pfhx.js} +10 -10
- package/dist/chunks/{repository-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{repository-knx6vc55.js → command-26wd49eb.js} +22 -22
- package/dist/chunks/{repository-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{repository-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-c4sra46q.js → command-2j34hmmc.js} +9 -9
- package/dist/chunks/{repository-2p8k3371.js → command-2p8k3371.js} +3 -3
- package/dist/chunks/{repository-dqmwfghx.js → command-2qp6y8xf.js} +5 -5
- package/dist/chunks/{repository-wgjgjn1f.js → command-2r6ezsm1.js} +18 -18
- package/dist/chunks/{repository-zeasar47.js → command-2ta6pfy2.js} +12 -12
- package/dist/chunks/{repository-vxp3kcg3.js → command-2vgzs72b.js} +5 -5
- package/dist/chunks/{repository-qn1kcwf1.js → command-32eqhqc9.js} +33 -33
- package/dist/chunks/{repository-ekmk2epb.js → command-35zdg7pf.js} +8 -8
- package/dist/chunks/{repository-pw3aqa3b.js → command-36pz7r0j.js} +21 -21
- package/dist/chunks/{repository-w3yyykta.js → command-3b9qt4hj.js} +9 -9
- package/dist/chunks/{repository-mv2ay9dz.js → command-3ce9fkjd.js} +17 -17
- package/dist/chunks/{repository-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-h1hhz3wc.js → command-3h2pgdn1.js} +11 -11
- package/dist/chunks/{repository-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-g0445xdp.js → command-3hfr6h8q.js} +8 -8
- package/dist/chunks/{repository-a1x9jh75.js → command-3njz9hw1.js} +5 -5
- package/dist/chunks/{repository-rhafb4aa.js → command-3pe7sts8.js} +9 -9
- package/dist/chunks/{repository-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-e8g69mg2.js → command-3yrc8p0f.js} +25 -25
- package/dist/chunks/{repository-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-1j5pt4ft.js → command-407bfz6x.js} +46 -46
- package/dist/chunks/{repository-9skhgxq9.js → command-41kk9vt4.js} +27 -27
- package/dist/chunks/{repository-4nzwy074.js → command-44pdqs77.js} +4 -4
- package/dist/chunks/{repository-eeaf82dq.js → command-4c2df9zx.js} +8 -8
- package/dist/chunks/{repository-xgfgp5z3.js → command-4xb4td9x.js} +20 -20
- package/dist/chunks/{repository-ksdq3yt2.js → command-52tmng8s.js} +21 -21
- package/dist/chunks/{repository-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-ckecvw8r.js → command-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-z45mjmxx.js → command-55149hb6.js} +22 -22
- package/dist/chunks/{repository-z2hzy96q.js → command-55mw5dew.js} +3 -3
- package/dist/chunks/{repository-mfqp6xfm.js → command-56gdpj1q.js} +6 -6
- package/dist/chunks/{repository-xfkkasph.js → command-57b9ws8p.js} +7 -7
- package/dist/chunks/{repository-57ez7d0k.js → command-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-dxy9rwgs.js → command-5fr28cxv.js} +13 -13
- package/dist/chunks/{repository-p3expsqa.js → command-5gydy8qd.js} +9 -9
- package/dist/chunks/{repository-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-rwdmhfe9.js → command-5tc03052.js} +4 -4
- package/dist/chunks/{repository-xdk9p2qn.js → command-5wtwrezn.js} +4 -4
- package/dist/chunks/{repository-mb7qsxty.js → command-5xampkzv.js} +18 -18
- package/dist/chunks/{repository-evh8asg6.js → command-5ysec52w.js} +21 -21
- package/dist/chunks/{repository-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{repository-xy1m2s0m.js → command-67a3m4yw.js} +5 -5
- package/dist/chunks/{repository-7sg25f73.js → command-68g7trhf.js} +6 -6
- package/dist/chunks/{repository-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-ypjj027g.js → command-6p36spce.js} +5 -5
- package/dist/chunks/{repository-62jtkyqj.js → command-6t2wbhs5.js} +4 -4
- package/dist/chunks/{repository-x6p7tmnf.js → command-6z9y85k1.js} +12 -12
- package/dist/chunks/{repository-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-bzrp7q37.js → command-7cqkmc07.js} +11 -11
- package/dist/chunks/{repository-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
- package/dist/chunks/{repository-ead3g9p8.js → command-7gvwkz6m.js} +5 -5
- package/dist/chunks/{repository-5pwkv57x.js → command-81pgz9gn.js} +5 -5
- package/dist/chunks/{repository-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{repository-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-zsm3phbg.js → command-8hgfhrm0.js} +8 -8
- package/dist/chunks/{repository-hhvyr323.js → command-8p6hdx4a.js} +43 -43
- package/dist/chunks/{repository-92a4ap4w.js → command-92a4ap4w.js} +2 -2
- package/dist/chunks/{repository-w6yj84m2.js → command-93r6kb0j.js} +8 -8
- package/dist/chunks/{repository-pp2vfp84.js → command-9bye45vx.js} +18 -18
- package/dist/chunks/{repository-pnaxc6j9.js → command-9jbvj98d.js} +8 -8
- package/dist/chunks/{repository-yb1xnzya.js → command-9tw8yaak.js} +11 -11
- package/dist/chunks/{repository-6ytch5ea.js → command-9x57qh30.js} +15 -15
- package/dist/chunks/{repository-kfahhyhy.js → command-a49t4mpe.js} +22 -22
- package/dist/chunks/{repository-6abfc7az.js → command-a4jz5h7x.js} +26 -26
- package/dist/chunks/{repository-fzhjq0vw.js → command-a7xxapnj.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/command-achjr09z.js +26 -0
- package/dist/chunks/{repository-ddwbawsj.js → command-achky8s5.js} +26 -26
- package/dist/chunks/{repository-y24krm64.js → command-ad1se6we.js} +8 -8
- package/dist/chunks/{repository-azbzvrwt.js → command-ahnc2hpr.js} +11 -11
- package/dist/chunks/{repository-e0a154fg.js → command-ak9msbxp.js} +8 -8
- package/dist/chunks/{repository-1a6p2twq.js → command-an7cqtb7.js} +4 -4
- package/dist/chunks/{repository-g3mc5kfg.js → command-atk3new3.js} +22 -22
- package/dist/chunks/{repository-44khr5w8.js → command-aze5dktd.js} +22 -22
- package/dist/chunks/{repository-bkzqp4j5.js → command-b06mxnn4.js} +16 -16
- package/dist/chunks/{repository-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-nyqx1cb3.js → command-b7b4ctej.js} +5 -5
- package/dist/chunks/{repository-z07pqspn.js → command-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-5xpznt2d.js → command-bk7jaeqh.js} +4 -4
- package/dist/chunks/{repository-cqbspedd.js → command-bq6be9me.js} +2 -2
- package/dist/chunks/{repository-rftjbn8p.js → command-bqwcv1te.js} +3 -3
- package/dist/chunks/{repository-7ec2pg6r.js → command-brbc9hym.js} +13 -13
- package/dist/chunks/{repository-e4xyx1jr.js → command-c3btd4vx.js} +19 -19
- package/dist/chunks/{repository-z983jzxa.js → command-cca4q062.js} +21 -21
- package/dist/chunks/{repository-tap773t1.js → command-ccq9v9cm.js} +7 -7
- package/dist/chunks/{repository-gycdx838.js → command-ctmf4cjh.js} +7 -7
- package/dist/chunks/{repository-krbat558.js → command-d8jep961.js} +6 -6
- package/dist/chunks/{repository-awbq9rs1.js → command-d8xd8q6j.js} +10 -10
- package/dist/chunks/{repository-5ph46173.js → command-dzqgar42.js} +25 -25
- package/dist/chunks/{repository-74n4xpv9.js → command-e1cpzhmy.js} +19 -19
- package/dist/chunks/{repository-7mx8b6x1.js → command-e73y8s3p.js} +13 -13
- package/dist/chunks/{repository-ecfe7b91.js → command-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-zyc1d5mg.js → command-edgjk5pb.js} +13 -13
- package/dist/chunks/{repository-k9psjfbd.js → command-eeavwd92.js} +3 -3
- package/dist/chunks/{repository-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-8wz7d5k9.js → command-ehzgjc3e.js} +22 -22
- package/dist/chunks/{repository-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-346y6mfm.js → command-eyhtqccb.js} +3 -3
- package/dist/chunks/{repository-xwbd059y.js → command-ezw3czwx.js} +48 -48
- package/dist/chunks/{repository-g2yz86wh.js → command-f38wsw69.js} +2 -2
- package/dist/chunks/{repository-9esrwjy0.js → command-f3c11mr4.js} +168 -168
- package/dist/chunks/{repository-cadhwe8h.js → command-f7arvf55.js} +9 -9
- package/dist/chunks/{repository-dn8jpt1b.js → command-fdjp4t8r.js} +10 -10
- package/dist/chunks/{repository-qyd0022c.js → command-fmsg4ra7.js} +32 -32
- package/dist/chunks/{repository-yb2az3xg.js → command-fraeex00.js} +5 -5
- package/dist/chunks/{repository-g5agzp2h.js → command-g5agzp2h.js} +2 -2
- package/dist/chunks/{repository-x7rhc6wm.js → command-g5g6qkd8.js} +3 -3
- package/dist/chunks/{repository-bahkxd2v.js → command-g8k5egew.js} +13 -13
- package/dist/chunks/{repository-sf5q03y5.js → command-ga3d7eyp.js} +42 -42
- package/dist/chunks/{repository-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-2fj6nf2m.js → command-gfkmrq4p.js} +24 -24
- package/dist/chunks/{repository-94ek1h2f.js → command-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-yxn7kx7v.js → command-gjbqwzd2.js} +32 -32
- package/dist/chunks/{repository-r2m716tb.js → command-gjwgx2c5.js} +9 -9
- package/dist/chunks/{repository-5khs75m3.js → command-gkgr9f8v.js} +33 -33
- package/dist/chunks/{repository-092bevw2.js → command-gkkss05z.js} +4 -4
- package/dist/chunks/{repository-pdz52ded.js → command-gmjj820p.js} +20 -20
- package/dist/chunks/{repository-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-stwc6554.js → command-h0z3n8yt.js} +8 -8
- package/dist/chunks/{repository-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-h9wp8z5w.js → command-h9wp8z5w.js} +1 -1
- package/dist/chunks/{repository-hgvwc7cd.js → command-hk140s3y.js} +11 -11
- package/dist/chunks/{repository-8a17t1bw.js → command-hpjjk0gj.js} +5 -5
- package/dist/chunks/{repository-ht5y0zrb.js → command-ht5y0zrb.js} +1 -1
- package/dist/chunks/{repository-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-ar00q028.js → command-j6q1cfcf.js} +7 -7
- package/dist/chunks/{repository-20gsadav.js → command-j6y5gsxd.js} +20 -20
- package/dist/chunks/{repository-zgt0ygn8.js → command-jc8cd7se.js} +10 -10
- package/dist/chunks/{repository-pkve43rd.js → command-jcvmways.js} +41 -41
- package/dist/chunks/{repository-z0aj456m.js → command-jewzahs7.js} +4 -4
- package/dist/chunks/{repository-k91hc397.js → command-jjc9h9gx.js} +8 -8
- package/dist/chunks/{repository-a67k4gtk.js → command-jygjpmnc.js} +15 -15
- package/dist/chunks/{repository-0aejbemy.js → command-k458ssz6.js} +17 -17
- package/dist/chunks/{repository-pen903sm.js → command-k8zgzs4j.js} +7 -7
- package/dist/chunks/{repository-jx6w3tcg.js → command-kfv2zn0s.js} +28 -28
- package/dist/chunks/{repository-hmy61pfr.js → command-kha295zz.js} +9 -9
- package/dist/chunks/{repository-rb6gffef.js → command-knpa7q1k.js} +40 -40
- package/dist/chunks/{repository-9f5fzrca.js → command-kpycjfkz.js} +35 -35
- package/dist/chunks/{repository-d2ksf4va.js → command-ks2axvh4.js} +17 -17
- package/dist/chunks/{repository-734ywdzp.js → command-m18nzyk6.js} +41 -41
- package/dist/chunks/{repository-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cme5mnrk.js → command-m6bfk4mw.js} +15 -15
- package/dist/chunks/{repository-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-zf9fes0n.js → command-md4m2kyr.js} +14 -14
- package/dist/chunks/{repository-64d4fz0c.js → command-mfz89tqk.js} +23 -23
- package/dist/chunks/{repository-2wts5qzq.js → command-mm5kxf07.js} +8 -8
- package/dist/chunks/{repository-ghat809j.js → command-mmeqzzre.js} +23 -23
- package/dist/chunks/command-mp2jdty2.js +252 -0
- package/dist/chunks/{repository-evfe50z6.js → command-mpc5v7rs.js} +31 -31
- package/dist/chunks/{repository-dnxkq42g.js → command-mpk0rfs5.js} +4 -4
- package/dist/chunks/{repository-522c72ec.js → command-mqafpt2f.js} +1 -1
- package/dist/chunks/{repository-cgvtq6pd.js → command-n9p09fbd.js} +33 -33
- package/dist/chunks/{repository-k2yahx9c.js → command-nd3zz1gr.js} +5 -5
- package/dist/chunks/{repository-yk5hfv3m.js → command-nr8aa75s.js} +28 -28
- package/dist/chunks/{repository-84qcc0z6.js → command-nsdyb8pw.js} +11 -11
- package/dist/chunks/{repository-4xrsv61j.js → command-nx1xqst5.js} +3 -3
- package/dist/chunks/{repository-0nf4068s.js → command-nxawm2f0.js} +15 -15
- package/dist/chunks/{repository-sp7fmdjf.js → command-nzj20ack.js} +12 -12
- package/dist/chunks/{repository-k3c624dm.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-2ccxq8sz.js → command-nzyyvfzd.js} +37 -37
- package/dist/chunks/{repository-v81gfb7z.js → command-p1s99nq8.js} +11 -11
- package/dist/chunks/{repository-5v36bsqd.js → command-p64sp65g.js} +41 -41
- package/dist/chunks/{repository-4pnr4hhq.js → command-p7j22ek7.js} +8 -8
- package/dist/chunks/{repository-qmyetdfw.js → command-pgfgfh2x.js} +16 -16
- package/dist/chunks/{repository-6ty81bja.js → command-phsdeme5.js} +14 -14
- package/dist/chunks/{repository-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{repository-xwatpa0g.js → command-pmmvzvq4.js} +76 -76
- package/dist/chunks/{repository-w4tc47y0.js → command-pppvxay8.js} +24 -24
- package/dist/chunks/{repository-wd3x2cqz.js → command-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-c8e8p37w.js → command-q5ekdvah.js} +25 -25
- package/dist/chunks/{repository-qe2vk4xy.js → command-qd8zrxrt.js} +7 -7
- package/dist/chunks/{repository-vybhs2ww.js → command-qkpjvsg2.js} +11 -11
- package/dist/chunks/{repository-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-q26xrw20.js → command-qw2yw8z7.js} +13 -13
- package/dist/chunks/{repository-1tq060df.js → command-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-a5bnh3fe.js → command-r6q2c161.js} +11 -11
- package/dist/chunks/{repository-6hr9dd4j.js → command-r7cqnzm4.js} +16 -16
- package/dist/chunks/{repository-end8q9yf.js → command-rcj1qd62.js} +57 -57
- package/dist/chunks/{repository-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-s8d7rejh.js → command-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-0tnq87cq.js → command-rpabj4tm.js} +13 -13
- package/dist/chunks/{repository-f73rjn58.js → command-rpg9c19m.js} +4 -4
- package/dist/chunks/{repository-46vthg38.js → command-rw4kw2hm.js} +6 -6
- package/dist/chunks/{repository-1ncm4hts.js → command-s4b4q9yc.js} +12 -12
- package/dist/chunks/{repository-s4enseaf.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-e6v2k67t.js → command-s4x18w05.js} +1 -1
- package/dist/chunks/{repository-etsm0c4w.js → command-s53bx6aa.js} +16 -16
- package/dist/chunks/{repository-fnwzaghr.js → command-sb221pn8.js} +25 -25
- package/dist/chunks/{repository-9v98as8j.js → command-sf4638mk.js} +15 -15
- package/dist/chunks/{repository-xnbva5hb.js → command-sk5hhzgy.js} +13 -13
- package/dist/chunks/{repository-46zwd712.js → command-sp6nzw66.js} +20 -20
- package/dist/chunks/{repository-w0nrm5hv.js → command-t0xpt4yf.js} +26 -26
- package/dist/chunks/{repository-7resshyd.js → command-t2445nzz.js} +18 -18
- package/dist/chunks/{repository-q5zafh14.js → command-t4g45am5.js} +6 -6
- package/dist/chunks/{repository-2sabx5kp.js → command-t7pash87.js} +3 -3
- package/dist/chunks/{repository-3qtmwhvy.js → command-tahyjvza.js} +13 -13
- package/dist/chunks/{repository-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-256vj6ze.js → command-tcdggtwa.js} +17 -17
- package/dist/chunks/{repository-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{repository-330w2vey.js → command-tea88xkw.js} +68 -68
- package/dist/chunks/{repository-ypyd1n4s.js → command-tn9j577v.js} +11 -11
- package/dist/chunks/{repository-wd11n6zd.js → command-tsbqqcav.js} +4 -4
- package/dist/chunks/{repository-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-hm4b16ap.js → command-tyq8797k.js} +37 -37
- package/dist/chunks/{repository-6cxm58b5.js → command-v556y4yv.js} +11 -11
- package/dist/chunks/{repository-ewbysjez.js → command-v9chgcj3.js} +10 -10
- package/dist/chunks/{repository-8c1hkqew.js → command-vb1y33sc.js} +11 -11
- package/dist/chunks/{repository-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-rgaw6yy6.js → command-vptby8qv.js} +14 -14
- package/dist/chunks/{repository-pqwcs79a.js → command-vr9bpkcp.js} +18 -18
- package/dist/chunks/{repository-bk8heh08.js → command-vtyptmt5.js} +318 -318
- package/dist/chunks/{repository-vy4zg7qh.js → command-vy4zg7qh.js} +5 -5
- package/dist/chunks/{repository-nk8qx497.js → command-vyxeydcn.js} +14 -14
- package/dist/chunks/{repository-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-b5rh7nhk.js → command-w0a3dsx5.js} +8 -8
- package/dist/chunks/{repository-hrspk2jv.js → command-w2z5746y.js} +20 -20
- package/dist/chunks/{repository-e2vme18q.js → command-w37rjecm.js} +34 -34
- package/dist/chunks/{repository-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-j91df599.js → command-w7kn78ad.js} +34 -34
- package/dist/chunks/{repository-mrg70h1v.js → command-w9kg2djp.js} +18 -18
- package/dist/chunks/{repository-51bqn9hx.js → command-wbbwn8b4.js} +14 -14
- package/dist/chunks/{repository-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{repository-m76a2k0m.js → command-wr1nh5zj.js} +6 -6
- package/dist/chunks/{repository-8rkn0jpj.js → command-wwm9drsm.js} +23 -23
- package/dist/chunks/{repository-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-a2skee4f.js → command-x4qspy2c.js} +20 -20
- package/dist/chunks/{repository-sjm6y15r.js → command-x7va2pbz.js} +10 -10
- package/dist/chunks/{repository-jr4dxy5c.js → command-xezhsny9.js} +3 -3
- package/dist/chunks/{repository-dmqcgk4z.js → command-xkntkrq7.js} +5 -5
- package/dist/chunks/{repository-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-jpqeh2wc.js → command-y5rf7nzv.js} +4 -4
- package/dist/chunks/{repository-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{repository-s5vjzjxc.js → command-y875hksg.js} +27 -27
- package/dist/chunks/{repository-vk6t1kw2.js → command-yb94rfg9.js} +9 -9
- package/dist/chunks/{repository-nj1j17x6.js → command-yf10kn3d.js} +8 -8
- package/dist/chunks/{repository-23nv5e2k.js → command-yk71r04e.js} +23 -23
- package/dist/chunks/{repository-ezbqyzn4.js → command-ykzc6cfj.js} +11 -11
- package/dist/chunks/{repository-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-zy8av054.js → command-ytws7ykb.js} +2 -2
- package/dist/chunks/{repository-p5gmb07n.js → command-yybzjk8b.js} +5 -5
- package/dist/chunks/{repository-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-bvjb2t71.js → command-z3kd0n8s.js} +30 -30
- package/dist/chunks/{repository-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-5ngaw42y.js → command-zfa7ynd8.js} +18 -18
- package/dist/chunks/{repository-2qzws9he.js → command-zg0g1dmr.js} +3 -3
- package/dist/chunks/{repository-z8fpy401.js → command-zmj32qq0.js} +8 -8
- package/dist/chunks/{repository-znsx74x0.js → command-znsx74x0.js} +1 -1
- package/dist/chunks/{repository-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-51b08hzt.js → command-zz0gf2gv.js} +11 -11
- package/dist/chunks/{repository-bx61kp2z.js → command-zzn75vcn.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/repository-1g8ttbme.js +0 -26
- package/dist/chunks/repository-4rsbbpr6.js +0 -252
- /package/dist/chunks/{repository-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-17zy7cfp.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID13
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID13,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID13.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node76 = makeLocationNode({ service: Service73, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID13, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer25, node76, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service63,
|
|
10
|
+
node: () => node66
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service63 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service63.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service63, node66, exports_hooks };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-wwm9drsm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node65
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID11,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service62.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service62, locationLayer2, node65, exports_aisdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-35zdg7pf.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-bq6be9me.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service56,
|
|
13
|
+
node59
|
|
14
|
+
} from "./command-ga3d7eyp.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
|
+
node: () => node15,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service13 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service80;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service56;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node84, node59] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-fdjp4t8r.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-17zy7cfp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-x4qspy2c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-pppvxay8.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID11
|
|
20
|
+
} from "./command-wwm9drsm.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-68g7trhf.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID11.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID11.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
164
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID11.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID11.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID11.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID11.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zg0g1dmr.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node82
|
|
12
|
+
} from "./command-ak9msbxp.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service78,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info9 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service78 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service78,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node82]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info31({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service78.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node81 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info31, NotFound3, CreateConflict2, Service78, configured11, node81, exports_workspace };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-wwm9drsm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./command-mfz89tqk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin42 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service69;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin42, exports_verbosity };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin38
|
|
3
|
+
} from "./command-mm5kxf07.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin39
|
|
6
|
+
} from "./command-rw4kw2hm.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin34
|
|
9
|
+
} from "./command-1a79m22w.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./command-93r6kb0j.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin40
|
|
15
|
+
} from "./command-f7arvf55.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin38,
|
|
20
|
+
Plugin39,
|
|
21
|
+
Plugin34,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin40
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|