@opencode/core 0.0.0-dev-875 → 0.0.0-dev-876
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{git-aj7mw0zk.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{git-xj1ksz36.js → worktree-06y6qy68.js} +12 -12
- package/dist/chunks/{git-x0v7ycvc.js → worktree-0fjqr56q.js} +48 -48
- package/dist/chunks/{git-vktteb34.js → worktree-0gmcev4p.js} +11 -11
- package/dist/chunks/{git-0j7gp832.js → worktree-0j7gp832.js} +1 -1
- package/dist/chunks/{git-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
- package/dist/chunks/{git-fyhpthh4.js → worktree-0na2v0kx.js} +2 -2
- package/dist/chunks/{git-7hyppg7q.js → worktree-0ne6p79n.js} +15 -15
- package/dist/chunks/{git-fepyqj80.js → worktree-0smjzh1v.js} +15 -15
- package/dist/chunks/{git-3fxf21pt.js → worktree-0t1acx1g.js} +8 -8
- package/dist/chunks/{git-hmwwhwz5.js → worktree-11k30d3q.js} +27 -27
- package/dist/chunks/{git-jr4vmd28.js → worktree-16r388aq.js} +19 -19
- package/dist/chunks/{git-smvx4crh.js → worktree-18z9xd8w.js} +22 -22
- package/dist/chunks/{git-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
- package/dist/chunks/{git-fq65x449.js → worktree-1b81r9ak.js} +11 -11
- package/dist/chunks/{git-1etmrnss.js → worktree-1d15302f.js} +14 -14
- package/dist/chunks/{git-27w5k9zf.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{git-70jrmdyd.js → worktree-1mnq2rn5.js} +5 -5
- package/dist/chunks/{git-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{git-fczy16rh.js → worktree-1y0e0ryk.js} +35 -35
- package/dist/chunks/{git-bdhd9h6e.js → worktree-1yq9hg58.js} +5 -5
- package/dist/chunks/{git-s9193vtn.js → worktree-203qqadr.js} +5 -5
- package/dist/chunks/{git-mmzs51g0.js → worktree-208nbn7x.js} +4 -4
- package/dist/chunks/{git-1vb9a70p.js → worktree-24f2x2dk.js} +8 -8
- package/dist/chunks/{git-xkbbmxj3.js → worktree-2a8qswhe.js} +17 -17
- package/dist/chunks/{git-v9xnb7wg.js → worktree-2bjpcdwq.js} +11 -11
- package/dist/chunks/{git-tnb4xd20.js → worktree-2bzmwc8c.js} +14 -14
- package/dist/chunks/{git-4etb0gbj.js → worktree-2djbjr8n.js} +15 -15
- package/dist/chunks/{git-2fc7eemy.js → worktree-2fc7eemy.js} +1 -1
- package/dist/chunks/{git-nd8b88b8.js → worktree-2gy4tjja.js} +20 -20
- package/dist/chunks/{git-8z9ny10k.js → worktree-2mk49qmx.js} +12 -12
- package/dist/chunks/{git-s4kt4hv1.js → worktree-2xajh5zb.js} +11 -11
- package/dist/chunks/{git-6efgt9fr.js → worktree-312kjg9w.js} +43 -43
- package/dist/chunks/{git-818t107x.js → worktree-34gaj1rj.js} +25 -25
- package/dist/chunks/{git-sj2acvnz.js → worktree-375ef93n.js} +19 -19
- package/dist/chunks/{git-xjbsd7zy.js → worktree-3adw4bt5.js} +9 -9
- package/dist/chunks/{git-dvnqv6yn.js → worktree-3bgf9gas.js} +4 -4
- package/dist/chunks/{git-z1vvxzc0.js → worktree-3gt45yws.js} +23 -23
- package/dist/chunks/{git-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{git-m8sd3wmf.js → worktree-3t9b5ztq.js} +4 -4
- package/dist/chunks/{git-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
- package/dist/chunks/{git-n320gsn2.js → worktree-47qexrcb.js} +4 -4
- package/dist/chunks/{git-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
- package/dist/chunks/{git-jc740628.js → worktree-4fm65zrg.js} +23 -23
- package/dist/chunks/{git-26yz0n4z.js → worktree-4nye5q1n.js} +33 -33
- package/dist/chunks/{git-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{git-1v2g13eq.js → worktree-4tnarq1t.js} +6 -6
- package/dist/chunks/{git-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{git-j2a6e62b.js → worktree-4xsb4cgd.js} +6 -6
- package/dist/chunks/{git-st082zzh.js → worktree-57yekzay.js} +12 -12
- package/dist/chunks/{git-7fxw094p.js → worktree-580gg2hr.js} +16 -16
- package/dist/chunks/{git-t62dywgn.js → worktree-593f2610.js} +4 -4
- package/dist/chunks/{git-4jze6zp5.js → worktree-5e0d172x.js} +10 -10
- package/dist/chunks/{git-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-a3fn0gmm.js → worktree-5pgy0sqj.js} +2 -2
- package/dist/chunks/{git-530xg6vw.js → worktree-5rxgzxpx.js} +6 -6
- package/dist/chunks/{git-kq0yfxbt.js → worktree-5t3d7a3k.js} +7 -7
- package/dist/chunks/{git-wsakdcx3.js → worktree-64ws81xy.js} +9 -9
- package/dist/chunks/{git-yx3b9wnq.js → worktree-652cxmf2.js} +12 -12
- package/dist/chunks/{git-26wfx3k0.js → worktree-694dpcrp.js} +7 -7
- package/dist/chunks/{git-77rvnvng.js → worktree-69v4073s.js} +2 -2
- package/dist/chunks/{git-55ngdm5m.js → worktree-6fat5w0g.js} +58 -58
- package/dist/chunks/{git-nmgr0jfg.js → worktree-6fkpvdwx.js} +20 -20
- package/dist/chunks/{git-ynan9jk6.js → worktree-6hp0vh1z.js} +9 -9
- package/dist/chunks/{git-zwrnq9k1.js → worktree-6javb3e4.js} +11 -11
- package/dist/chunks/{git-caz22v9f.js → worktree-6qwmnac3.js} +31 -31
- package/dist/chunks/{git-pgzkxqxx.js → worktree-6t8vew8t.js} +4 -4
- package/dist/chunks/{git-2ms591wd.js → worktree-6yb0qn0r.js} +11 -11
- package/dist/chunks/{git-s94p9e0n.js → worktree-76jjydz9.js} +189 -189
- package/dist/chunks/{git-775hqbnd.js → worktree-775hqbnd.js} +3 -3
- package/dist/chunks/{git-7bvve1ef.js → worktree-79mk3d4k.js} +8 -8
- package/dist/chunks/{git-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-ne21ayb1.js → worktree-7dzfrn01.js} +31 -31
- package/dist/chunks/{git-hw99hsx1.js → worktree-7e0eevm2.js} +16 -16
- package/dist/chunks/{git-94g9nn05.js → worktree-7emmk19a.js} +45 -45
- package/dist/chunks/{git-shbascdy.js → worktree-7hdxzzg1.js} +14 -14
- package/dist/chunks/{git-bqa8ney4.js → worktree-7nqkf5r1.js} +4 -4
- package/dist/chunks/{git-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{git-7weczvnd.js → worktree-7weczvnd.js} +1 -1
- package/dist/chunks/worktree-7yv5xa0k.js +18 -0
- package/dist/chunks/{git-c1fpb6ys.js → worktree-86k87xt5.js} +374 -374
- package/dist/chunks/{git-nkx9v1k7.js → worktree-88grwdsf.js} +10 -10
- package/dist/chunks/{git-89287pr7.js → worktree-89287pr7.js} +1 -1
- package/dist/chunks/{git-t48jrnqq.js → worktree-8akjpyn6.js} +3 -3
- package/dist/chunks/{git-8b3vzgkx.js → worktree-8b3vzgkx.js} +1 -1
- package/dist/chunks/{git-5whx36p1.js → worktree-8cg7mtm3.js} +4 -4
- package/dist/chunks/{git-t1rtcvv4.js → worktree-8dsy49kh.js} +3 -3
- package/dist/chunks/{git-81b37fex.js → worktree-8gharz4h.js} +14 -14
- package/dist/chunks/{git-kzdam8c6.js → worktree-8hfctyyf.js} +7 -7
- package/dist/chunks/{git-sxmggh6x.js → worktree-8ps23s3r.js} +4 -4
- package/dist/chunks/{git-s08m6qw8.js → worktree-8ptg7hdn.js} +35 -35
- package/dist/chunks/{git-tann50kq.js → worktree-8qs9z106.js} +23 -23
- package/dist/chunks/{git-bb3mmwvh.js → worktree-8sxe6kv8.js} +2 -2
- package/dist/chunks/{git-3qgwywyc.js → worktree-8t99kr38.js} +4 -4
- package/dist/chunks/{git-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{git-jpeh7dbr.js → worktree-8xz3r9v3.js} +12 -12
- package/dist/chunks/{git-8zv0xmg5.js → worktree-8zv0xmg5.js} +1 -1
- package/dist/chunks/{git-4w21cvg1.js → worktree-904zz7ha.js} +9 -9
- package/dist/chunks/{git-gbeqs22t.js → worktree-90k5dtdd.js} +10 -10
- package/dist/chunks/{git-qkc4txyr.js → worktree-918maj3v.js} +8 -8
- package/dist/chunks/{git-963hk181.js → worktree-941r128d.js} +9 -9
- package/dist/chunks/{git-md1v6sgb.js → worktree-9818xe2a.js} +16 -16
- package/dist/chunks/{git-4qvfwaq6.js → worktree-9exxrxam.js} +8 -8
- package/dist/chunks/{git-vpsy2dmg.js → worktree-9gt8dvnd.js} +27 -27
- package/dist/chunks/{git-pg5vpynd.js → worktree-9jnhvaxx.js} +30 -30
- package/dist/chunks/{git-mr00pmf2.js → worktree-9tmrbz05.js} +8 -8
- package/dist/chunks/{git-y4n6pw34.js → worktree-9tvpxs1q.js} +4 -4
- package/dist/chunks/{git-7fjscqpw.js → worktree-9vjq21ta.js} +8 -8
- package/dist/chunks/{git-rqb5tm54.js → worktree-9yra9w35.js} +32 -32
- package/dist/chunks/{git-2p60zmnr.js → worktree-ad21tgm2.js} +4 -4
- package/dist/chunks/{git-4krr2nde.js → worktree-aerrpmfy.js} +3 -3
- package/dist/chunks/{git-qxtarq3x.js → worktree-any1n6rk.js} +88 -88
- package/dist/chunks/{git-y7aayjrc.js → worktree-ap0byz54.js} +6 -6
- package/dist/chunks/{git-98b8cv9y.js → worktree-avtn9qcw.js} +14 -14
- package/dist/chunks/{git-3cbjf1nt.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{git-a4cdtn27.js → worktree-b14wh7ra.js} +12 -12
- package/dist/chunks/{git-ecj07vsr.js → worktree-b4k47k2s.js} +5 -5
- package/dist/chunks/{git-18xfhrya.js → worktree-b6m2m06e.js} +18 -18
- package/dist/chunks/{git-40km7fwj.js → worktree-b6pxc0bj.js} +31 -31
- package/dist/chunks/{git-4y8cj6a6.js → worktree-b7j26gq9.js} +12 -12
- package/dist/chunks/{git-49ytdyqv.js → worktree-bagyajxr.js} +64 -64
- package/dist/chunks/{git-hz2mz9x2.js → worktree-bdezwmdf.js} +13 -13
- package/dist/chunks/{git-a9j2s6ks.js → worktree-be1z6a4n.js} +38 -38
- package/dist/chunks/{git-2zarbs9g.js → worktree-betqdr7d.js} +37 -37
- package/dist/chunks/{git-m4w5ebb9.js → worktree-bqjbz6yh.js} +14 -14
- package/dist/chunks/{git-bmw1c1w2.js → worktree-bqkj7jx5.js} +8 -8
- package/dist/chunks/{git-2g7023vw.js → worktree-brfdd9qz.js} +24 -24
- package/dist/chunks/{git-bstexjd6.js → worktree-bstexjd6.js} +1 -1
- package/dist/chunks/{git-mzdr9h9h.js → worktree-bxx79vyn.js} +11 -11
- package/dist/chunks/{git-zpdbqgja.js → worktree-by8ty0bx.js} +4 -4
- package/dist/chunks/{git-c7cw818c.js → worktree-c7cw818c.js} +2 -2
- package/dist/chunks/{git-1x6fq9p1.js → worktree-c98qqzty.js} +14 -14
- package/dist/chunks/{git-5m6a7xby.js → worktree-cg3fcpn4.js} +5 -5
- package/dist/chunks/{git-msj4425n.js → worktree-ch37w9fq.js} +6 -6
- package/dist/chunks/{git-fhmv9g5t.js → worktree-cp2gts92.js} +9 -9
- package/dist/chunks/{git-5km8j6qy.js → worktree-cvvjmy0s.js} +18 -18
- package/dist/chunks/{git-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{git-mv65g5kx.js → worktree-d0rayg98.js} +43 -43
- package/dist/chunks/{git-mnb0gnk7.js → worktree-d2q2w57c.js} +5 -5
- package/dist/chunks/{git-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{git-xzaka5a0.js → worktree-d50vzyxe.js} +30 -30
- package/dist/chunks/{git-2648h344.js → worktree-d5c055qx.js} +26 -26
- package/dist/chunks/{git-7tpyp9vw.js → worktree-ddvn7d3w.js} +8 -8
- package/dist/chunks/{git-h7kp09kc.js → worktree-df56s2wf.js} +27 -27
- package/dist/chunks/{git-z9j96w8z.js → worktree-dkz3ms8m.js} +19 -19
- package/dist/chunks/{git-mjysxtvk.js → worktree-dmeswyfq.js} +6 -6
- package/dist/chunks/{git-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{git-4w3a3h6m.js → worktree-dwd418qm.js} +25 -25
- package/dist/chunks/{git-z7d1se52.js → worktree-dy308w4s.js} +54 -54
- package/dist/chunks/{git-tr70arys.js → worktree-e1jeyye4.js} +9 -9
- package/dist/chunks/{git-2m9kne9v.js → worktree-e4cp3w0r.js} +36 -36
- package/dist/chunks/{git-bd51gcj4.js → worktree-e4f0vapy.js} +35 -35
- package/dist/chunks/{git-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{git-ckh9py1e.js → worktree-e92yqwkf.js} +13 -13
- package/dist/chunks/{git-3k4vaw3h.js → worktree-ebq998nt.js} +15 -15
- package/dist/chunks/{git-vq1mwpzf.js → worktree-ebrhe4rp.js} +25 -25
- package/dist/chunks/{git-gb4bpkf1.js → worktree-ecmwbb5v.js} +7 -7
- package/dist/chunks/{git-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
- package/dist/chunks/{git-rj7jtxy8.js → worktree-f341sazs.js} +3 -3
- package/dist/chunks/{git-azsc1wyq.js → worktree-f837n8dq.js} +5 -5
- package/dist/chunks/{git-gp6yxnrc.js → worktree-f8xhtnpd.js} +10 -10
- package/dist/chunks/{git-dr3qbmxv.js → worktree-f9xadq7v.js} +11 -11
- package/dist/chunks/{git-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{git-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
- package/dist/chunks/{git-bd06yyhm.js → worktree-fm4hmcbf.js} +11 -11
- package/dist/chunks/{git-qsm149em.js → worktree-fmkapcpn.js} +31 -31
- package/dist/chunks/{git-3ay6yzp4.js → worktree-fnm34e0k.js} +5 -5
- package/dist/chunks/{git-4hwr469f.js → worktree-fr1mmx5p.js} +9 -9
- package/dist/chunks/{git-45drd1ny.js → worktree-fr6q3a25.js} +5 -5
- package/dist/chunks/{git-p8rrjbrm.js → worktree-g05xnsqx.js} +18 -18
- package/dist/chunks/{git-mdmbsy22.js → worktree-g54w9w6m.js} +21 -21
- package/dist/chunks/{git-djmxqttn.js → worktree-g905b71m.js} +16 -16
- package/dist/chunks/{git-vzn2aggs.js → worktree-g9z7bzmd.js} +20 -20
- package/dist/chunks/{git-6wmkrcd0.js → worktree-gb1ff4ap.js} +35 -35
- package/dist/chunks/{git-q98zat53.js → worktree-gb2tz0v7.js} +21 -21
- package/dist/chunks/{git-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
- package/dist/chunks/{git-5m6y62w0.js → worktree-gsf1mcs1.js} +27 -27
- package/dist/chunks/{git-pqfjz2pw.js → worktree-gshxjf2t.js} +1 -1
- package/dist/chunks/{git-6kkmdptb.js → worktree-gsmn3gxm.js} +15 -15
- package/dist/chunks/{git-8j9jb473.js → worktree-gx8s1m7d.js} +43 -43
- package/dist/chunks/{git-ykm2zcsg.js → worktree-h2jaypqm.js} +27 -27
- package/dist/chunks/{git-nwdgk0aq.js → worktree-h2pwbspx.js} +3 -3
- package/dist/chunks/{git-g98stj40.js → worktree-hf6jneh0.js} +4 -4
- package/dist/chunks/{git-hgzwgvze.js → worktree-hgzwgvze.js} +2 -2
- package/dist/chunks/{git-3crhqrgy.js → worktree-hn432qw4.js} +12 -12
- package/dist/chunks/{git-hwwe2nrh.js → worktree-htftdbas.js} +13 -13
- package/dist/chunks/{git-xeqnzmnf.js → worktree-htnqgwg1.js} +25 -25
- package/dist/chunks/{git-20wrxdg1.js → worktree-hvqd4bvc.js} +11 -11
- package/dist/chunks/{git-7g2gp4mw.js → worktree-hz4ry9me.js} +21 -21
- package/dist/chunks/{git-j9nxzz3g.js → worktree-j9nxzz3g.js} +3 -3
- package/dist/chunks/{git-vq7vv3nk.js → worktree-jepy0x0m.js} +35 -35
- package/dist/chunks/{git-jfj792ae.js → worktree-jgnk4836.js} +11 -11
- package/dist/chunks/{git-tr8x705m.js → worktree-jht64jd1.js} +4 -4
- package/dist/chunks/{git-jm70asfg.js → worktree-jm70asfg.js} +1 -1
- package/dist/chunks/{git-8pezm2ch.js → worktree-jnd2yggj.js} +9 -9
- package/dist/chunks/{git-qsdghx1p.js → worktree-k3cx6fhe.js} +4 -4
- package/dist/chunks/{git-258sxg8z.js → worktree-k84nyyd0.js} +19 -19
- package/dist/chunks/{git-me215f18.js → worktree-kg4exk81.js} +1 -1
- package/dist/chunks/{git-g1k61010.js → worktree-kn36w4dj.js} +31 -31
- package/dist/chunks/{git-86bhhzhr.js → worktree-kq17g8gv.js} +6 -6
- package/dist/chunks/{git-ckn0kvtp.js → worktree-ktck1cjp.js} +6 -6
- package/dist/chunks/{git-mr371stg.js → worktree-kwmph2q0.js} +20 -20
- package/dist/chunks/{git-drdkqb7r.js → worktree-kyknme5q.js} +38 -38
- package/dist/chunks/{git-rhd4ef66.js → worktree-kz03g9q9.js} +34 -34
- package/dist/chunks/{git-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
- package/dist/chunks/{git-gm52mcbv.js → worktree-m0a7g44c.js} +18 -18
- package/dist/chunks/{git-t64cy5gr.js → worktree-m0w1fft5.js} +86 -86
- package/dist/chunks/{git-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{git-yraf8ad8.js → worktree-m4e3sh4x.js} +9 -9
- package/dist/chunks/{git-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-8z6m94af.js → worktree-mb7mbhnz.js} +3 -3
- package/dist/chunks/{git-y88xvhfg.js → worktree-mc5f456h.js} +26 -26
- package/dist/chunks/{git-nphhqmd7.js → worktree-mhnvv647.js} +48 -48
- package/dist/chunks/{git-hrs2gzzj.js → worktree-mjjmsc0q.js} +5 -5
- package/dist/chunks/{git-pqyke20e.js → worktree-mk65jrrt.js} +18 -18
- package/dist/chunks/{git-mm06edep.js → worktree-mm06edep.js} +1 -1
- package/dist/chunks/{git-jk3rwvc2.js → worktree-mmgdhjjn.js} +20 -20
- package/dist/chunks/{git-w79nt68w.js → worktree-mmx1mfjr.js} +4 -4
- package/dist/chunks/{git-7f3a4d73.js → worktree-msbwm9am.js} +59 -59
- package/dist/chunks/{git-jv21w6k5.js → worktree-mt8hy3hj.js} +4 -4
- package/dist/chunks/{git-2n444ktb.js → worktree-my4zabxr.js} +3 -3
- package/dist/chunks/{git-z65p847k.js → worktree-myrazpsb.js} +33 -33
- package/dist/chunks/{git-3ntrdxkx.js → worktree-n0pmqs7d.js} +3 -3
- package/dist/chunks/{git-v305347d.js → worktree-n33nyn98.js} +9 -9
- package/dist/chunks/{git-wn1h7kga.js → worktree-nc4e8w7g.js} +5 -5
- package/dist/chunks/{git-m683gbeq.js → worktree-nkmw6x8p.js} +6 -6
- package/dist/chunks/{git-8cg9c955.js → worktree-nm267vgp.js} +11 -11
- package/dist/chunks/{git-0kfj05k0.js → worktree-nrnxe7g4.js} +35 -35
- package/dist/chunks/{git-xmx7xj34.js → worktree-p0tsr9h6.js} +4 -4
- package/dist/chunks/{git-0jphaf65.js → worktree-p1s6h0e3.js} +19 -19
- package/dist/chunks/{git-rsacfx58.js → worktree-p2whz3dm.js} +40 -40
- package/dist/chunks/{git-wjpb9sqw.js → worktree-p332nbp2.js} +46 -46
- package/dist/chunks/{git-trbj5262.js → worktree-p43zptcs.js} +89 -89
- package/dist/chunks/{git-4erkqbak.js → worktree-p54rz49h.js} +39 -39
- package/dist/chunks/{git-yzndy881.js → worktree-pgf5czva.js} +7 -7
- package/dist/chunks/{git-gdqvcj7q.js → worktree-pgwwkgmt.js} +19 -19
- package/dist/chunks/{git-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{git-1zcg1m2c.js → worktree-pm74ahej.js} +18 -18
- package/dist/chunks/{git-yk0cqbcw.js → worktree-pp4f2fj0.js} +8 -8
- package/dist/chunks/{git-e7vcsbw8.js → worktree-pt5ehxk6.js} +28 -28
- package/dist/chunks/{git-2bnxrx9g.js → worktree-pxzaa117.js} +8 -8
- package/dist/chunks/{git-srk7je24.js → worktree-q2xrrvxt.js} +5 -5
- package/dist/chunks/{git-0xvpbdhz.js → worktree-q39s8syp.js} +4 -4
- package/dist/chunks/{git-43tepy49.js → worktree-q8vtkh3p.js} +6 -6
- package/dist/chunks/{git-mxz29pf6.js → worktree-qdaxnh4s.js} +20 -20
- package/dist/chunks/{git-san51twj.js → worktree-qgfj628s.js} +24 -24
- package/dist/chunks/{git-nhhy2sd3.js → worktree-qnv3v84h.js} +25 -25
- package/dist/chunks/{git-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{git-ctfdew44.js → worktree-qqmgvvew.js} +18 -18
- package/dist/chunks/{git-ed9p54rh.js → worktree-qrs8q7n9.js} +6 -6
- package/dist/chunks/{git-mwymqehm.js → worktree-qtw7g3dn.js} +25 -25
- package/dist/chunks/{git-neheaczg.js → worktree-qwxe55kh.js} +16 -16
- package/dist/chunks/{git-txdsg1gc.js → worktree-qyn0da8d.js} +25 -25
- package/dist/chunks/{git-mkxaysvp.js → worktree-qz8t2q7x.js} +17 -17
- package/dist/chunks/{git-1f4ehbcj.js → worktree-r0zvtrp7.js} +38 -38
- package/dist/chunks/{git-ra40zrct.js → worktree-r3434bb1.js} +44 -44
- package/dist/chunks/{git-4f25tdd0.js → worktree-r542h3bh.js} +5 -5
- package/dist/chunks/{git-z5sqz1zb.js → worktree-r6tpngtj.js} +30 -30
- package/dist/chunks/{git-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{git-3p2s76hn.js → worktree-rewxhgdy.js} +11 -11
- package/dist/chunks/{git-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
- package/dist/chunks/{git-v7sjzkrq.js → worktree-rh63n522.js} +49 -49
- package/dist/chunks/{git-ddj8zy88.js → worktree-rmc2q4zv.js} +18 -18
- package/dist/chunks/{git-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{git-anvcme1c.js → worktree-rzg6y5rp.js} +4 -4
- package/dist/chunks/{git-vmxsyvj6.js → worktree-s26c8eb5.js} +4 -4
- package/dist/chunks/{git-4h897baf.js → worktree-s5pfmh0r.js} +5 -5
- package/dist/chunks/{git-h7new7c4.js → worktree-s5qfgb0b.js} +29 -29
- package/dist/chunks/{git-sbya78hr.js → worktree-sbya78hr.js} +1 -1
- package/dist/chunks/{git-jv5ccajn.js → worktree-scmk72rv.js} +5 -5
- package/dist/chunks/{git-97858afg.js → worktree-sd8pfm1b.js} +29 -29
- package/dist/chunks/{git-ghrv1g9c.js → worktree-sdt5j0rm.js} +4 -4
- package/dist/chunks/{git-w2z1zxee.js → worktree-shx2t69h.js} +17 -17
- package/dist/chunks/{git-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{git-tbpn7jtk.js → worktree-tbpn7jtk.js} +1 -1
- package/dist/chunks/{git-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{git-gxs71cxp.js → worktree-tg7s7b5t.js} +4 -4
- package/dist/chunks/{git-e880cd0j.js → worktree-tgqk8ax3.js} +31 -31
- package/dist/chunks/{git-afarzbax.js → worktree-th8bndh3.js} +28 -28
- package/dist/chunks/{git-b26ddj6h.js → worktree-tp1jb13k.js} +7 -7
- package/dist/chunks/{git-6s1f67sn.js → worktree-tqvm73pp.js} +16 -16
- package/dist/chunks/{git-44pmzq9c.js → worktree-twhtcdx9.js} +4 -4
- package/dist/chunks/{git-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{git-5d9f9s81.js → worktree-v1vpa7ms.js} +32 -32
- package/dist/chunks/{git-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{git-9h06ddcp.js → worktree-v3ztkqce.js} +7 -7
- package/dist/chunks/{git-bj78ahtb.js → worktree-v438kgpn.js} +7 -7
- package/dist/chunks/worktree-v4e9jq5d.js +26 -0
- package/dist/chunks/{git-gpdrfecg.js → worktree-v5ddwjkq.js} +42 -42
- package/dist/chunks/{git-6f6jm3cp.js → worktree-v8xpr2tt.js} +11 -11
- package/dist/chunks/{git-pcb441r4.js → worktree-vcgv1jvt.js} +13 -13
- package/dist/chunks/{git-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
- package/dist/chunks/{git-qfz6bxfd.js → worktree-vmqe41cb.js} +4 -4
- package/dist/chunks/{git-kppgs101.js → worktree-vn85b901.js} +28 -28
- package/dist/chunks/{git-z0qgjq7p.js → worktree-vnv757bt.js} +12 -12
- package/dist/chunks/{git-ctmpqb7w.js → worktree-vq0qa3sh.js} +9 -9
- package/dist/chunks/{git-px7qpgcn.js → worktree-vt2d6wap.js} +4 -4
- package/dist/chunks/{git-859r5hwh.js → worktree-vv84mwdr.js} +36 -36
- package/dist/chunks/{git-6kpc0nwt.js → worktree-vyk5wav3.js} +12 -12
- package/dist/chunks/{git-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
- package/dist/chunks/{git-29avq3cp.js → worktree-w3vqc4ke.js} +8 -8
- package/dist/chunks/{git-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-gkn9gevw.js → worktree-w6dtqm7y.js} +14 -14
- package/dist/chunks/{git-rcbjwvze.js → worktree-w76xjer3.js} +4 -4
- package/dist/chunks/{git-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{git-qdh3dv6a.js → worktree-wbkev1sj.js} +12 -12
- package/dist/chunks/{git-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{git-nx4vzyjd.js → worktree-wegkxhrn.js} +2 -2
- package/dist/chunks/{git-ny4jqg6h.js → worktree-wjsw3cxz.js} +16 -16
- package/dist/chunks/{git-wr3re1en.js → worktree-wr3re1en.js} +1 -1
- package/dist/chunks/{git-czwy3yzx.js → worktree-wvr8xscb.js} +7 -7
- package/dist/chunks/{git-sah8y7c0.js → worktree-wwg86t57.js} +51 -51
- package/dist/chunks/{git-wt4esca3.js → worktree-wwxyxtgy.js} +16 -16
- package/dist/chunks/{git-knwt2rnc.js → worktree-x08jbc1h.js} +4 -4
- package/dist/chunks/{git-ky67gy21.js → worktree-x7p4v2nc.js} +6 -6
- package/dist/chunks/{git-8dp1pxha.js → worktree-xcg1njma.js} +14 -14
- package/dist/chunks/{git-j0p3wt22.js → worktree-xp2necrq.js} +8 -8
- package/dist/chunks/{git-xjr6c8m4.js → worktree-xxschbft.js} +4 -4
- package/dist/chunks/{git-r7yxfaj3.js → worktree-y0qtmf1c.js} +11 -11
- package/dist/chunks/{git-yj3dqh2s.js → worktree-y1h7p9cg.js} +29 -29
- package/dist/chunks/{git-k5kff2d4.js → worktree-y52b0xvd.js} +14 -14
- package/dist/chunks/{git-0jwmsjqf.js → worktree-y90ccvgh.js} +12 -12
- package/dist/chunks/{git-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{git-rh17qn9g.js → worktree-yj3eevqz.js} +15 -15
- package/dist/chunks/{git-spqq7br9.js → worktree-yjkye314.js} +20 -20
- package/dist/chunks/{git-yqh7xrf3.js → worktree-ykvdsdrm.js} +3 -3
- package/dist/chunks/{git-wc036jqw.js → worktree-ymj14byy.js} +18 -18
- package/dist/chunks/{git-0mgprbja.js → worktree-ymqredyb.js} +4 -4
- package/dist/chunks/{git-yr705xyq.js → worktree-yr705xyq.js} +1 -1
- package/dist/chunks/{git-x219w6te.js → worktree-yss0fc0k.js} +7 -7
- package/dist/chunks/{git-xsawa0je.js → worktree-ytk5wrf7.js} +5 -5
- package/dist/chunks/{git-67wwskyb.js → worktree-yts2a8qm.js} +4 -4
- package/dist/chunks/{git-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
- package/dist/chunks/{git-p5tk1xdz.js → worktree-ywv6jdkf.js} +11 -11
- package/dist/chunks/{git-5b8n7syd.js → worktree-z5dy9mcm.js} +28 -28
- package/dist/chunks/worktree-z69atzdp.js +265 -0
- package/dist/chunks/{git-qa8wq1bx.js → worktree-z88rdk3t.js} +9 -9
- package/dist/chunks/{git-atj4teez.js → worktree-zajhp84f.js} +15 -15
- package/dist/chunks/{git-g4w2r3gg.js → worktree-zby73h3y.js} +9 -9
- package/dist/chunks/{git-b0cfyxc9.js → worktree-zkb9xe9g.js} +29 -29
- package/dist/chunks/{git-gwz5xkxn.js → worktree-ztfy9ymt.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +128 -128
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +438 -438
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +429 -429
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +184 -184
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +106 -106
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +249 -249
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +250 -250
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +104 -104
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +9 -9
- package/dist/chunks/git-bs1vm4fj.js +0 -26
- package/dist/chunks/git-vdh3rgac.js +0 -18
- package/dist/chunks/git-vrtat2e8.js +0 -265
- /package/dist/chunks/{git-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-108x4f4w.js → worktree-108x4f4w.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kah00gy.js → worktree-1kah00gy.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3af0jn4w.js → worktree-3af0jn4w.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{git-6agm2x70.js → worktree-6agm2x70.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{git-bhmrqjy3.js → worktree-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-syrav9an.js → worktree-syrav9an.js} +0 -0
- /package/dist/chunks/{git-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
- /package/dist/chunks/{git-ty7weeps.js → worktree-ty7weeps.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-vtarvj67.js → worktree-vtarvj67.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x4th4bpe.js → worktree-x4th4bpe.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z0h12gs8.js → worktree-z0h12gs8.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service92,
|
|
3
|
-
node96
|
|
4
|
-
} from "./git-xj1ksz36.js";
|
|
5
1
|
import {
|
|
6
2
|
Service91,
|
|
7
3
|
node95
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./worktree-06y6qy68.js";
|
|
5
|
+
import {
|
|
6
|
+
Service90,
|
|
7
|
+
node94
|
|
8
|
+
} from "./worktree-580gg2hr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./worktree-2bzmwc8c.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-88grwdsf.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
Service: () =>
|
|
27
|
-
SessionInstructions: () =>
|
|
28
|
-
node: () =>
|
|
24
|
+
var exports_instructions = {};
|
|
25
|
+
__export(exports_instructions, {
|
|
26
|
+
Service: () => Service8,
|
|
27
|
+
SessionInstructions: () => exports_instructions,
|
|
28
|
+
node: () => node10
|
|
29
29
|
});
|
|
30
30
|
import { relative } from "path";
|
|
31
31
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service8 extends Context.Service()("@opencode/SessionInstructions") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
41
|
-
const bus = yield*
|
|
40
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
41
|
+
const bus = yield* Service90;
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
|
-
const db = (yield*
|
|
44
|
-
const location = yield*
|
|
43
|
+
const db = (yield* Service91).db;
|
|
44
|
+
const location = yield* Service84;
|
|
45
45
|
const root = yield* fs.resolve(location.project.directory);
|
|
46
46
|
const inFlight = yield* Ref.make(new Map);
|
|
47
47
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -87,7 +87,7 @@ ${file.content}`).join(`
|
|
|
87
87
|
return next;
|
|
88
88
|
})));
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service8.of({ load });
|
|
91
91
|
}));
|
|
92
92
|
function previouslyInjected(db, sessionID) {
|
|
93
93
|
return Effect.gen(function* () {
|
|
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
|
|
|
98
98
|
function describePath(root, path) {
|
|
99
99
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var node10 = makeLocationNode({
|
|
102
102
|
name: "session-instructions",
|
|
103
103
|
layer,
|
|
104
|
-
deps: [
|
|
104
|
+
deps: [node94, node95, FSUtil.node, node88]
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { Service8, node10, exports_instructions };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./worktree-580gg2hr.js";
|
|
4
4
|
import {
|
|
5
5
|
group2,
|
|
6
6
|
batch2,
|
|
7
7
|
shutdown2,
|
|
8
8
|
changes2,
|
|
9
9
|
inherit2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service36,
|
|
13
13
|
awaitActivation2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-7yv5xa0k.js";
|
|
15
15
|
import {
|
|
16
16
|
make21,
|
|
17
17
|
requirements3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-76jjydz9.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin.ts
|
|
24
24
|
var exports_plugin2 = {};
|
|
@@ -26,22 +26,22 @@ __export(exports_plugin2, {
|
|
|
26
26
|
Event: () => Event3,
|
|
27
27
|
GuiBundle: () => GuiBundle2,
|
|
28
28
|
ID: () => ID5,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Plugin: () => exports_plugin2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service36,
|
|
32
32
|
Source: () => Source2,
|
|
33
33
|
State: () => State2,
|
|
34
34
|
awaitActivation: () => awaitActivation2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node24
|
|
36
36
|
});
|
|
37
|
-
import { Event as Event3, GuiBundle as GuiBundle2, ID as ID5, Info as
|
|
37
|
+
import { Event as Event3, GuiBundle as GuiBundle2, ID as ID5, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
38
38
|
import { readFile } from "node:fs/promises";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
43
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service90;
|
|
45
45
|
const scope = yield* Scope.make();
|
|
46
46
|
const active = new Map;
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
211
211
|
yield* shutdown2(Scope.close(scope, exit));
|
|
212
212
|
}));
|
|
213
213
|
yield* Effect.addFinalizer(close);
|
|
214
|
-
return
|
|
214
|
+
return Service36.of({
|
|
215
215
|
activate,
|
|
216
216
|
close,
|
|
217
217
|
awaitActivation: ready.await,
|
|
@@ -229,10 +229,10 @@ function slotInfo(slot) {
|
|
|
229
229
|
features: slot.plugin.features ?? { server: true }
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
service:
|
|
232
|
+
var node24 = Node.makeLocationNode({
|
|
233
|
+
service: Service36,
|
|
234
234
|
layer,
|
|
235
235
|
deps: [requirements3]
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { node24, exports_plugin2, Event3, GuiBundle2, ID5, Info5, Source2, State2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./worktree-2bzmwc8c.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
11
|
makeFiles2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-rgc9cx3e.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-twssxy5n.js";
|
|
16
16
|
import {
|
|
17
17
|
invocation2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./worktree-mhnvv647.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service20
|
|
22
|
+
} from "./worktree-dwd418qm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service8
|
|
25
|
+
} from "./worktree-qyn0da8d.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
ID7,
|
|
28
28
|
uri2,
|
|
29
29
|
isUri2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service38
|
|
31
|
+
} from "./worktree-qnv3v84h.js";
|
|
32
32
|
import {
|
|
33
33
|
isSafeSegment2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-3adw4bt5.js";
|
|
35
35
|
import {
|
|
36
36
|
BinaryFileError2,
|
|
37
37
|
MediaIngestLimitError2,
|
|
@@ -41,27 +41,27 @@ import {
|
|
|
41
41
|
FileContent2,
|
|
42
42
|
TextPage2,
|
|
43
43
|
ListPage2,
|
|
44
|
-
|
|
44
|
+
Service31,
|
|
45
45
|
read2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./worktree-c98qqzty.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./worktree-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/tool/plugin/read.ts
|
|
52
52
|
var exports_read = {};
|
|
53
53
|
__export(exports_read, {
|
|
54
|
-
Input: () =>
|
|
55
|
-
Plugin: () =>
|
|
54
|
+
Input: () => Input7,
|
|
55
|
+
Plugin: () => Plugin10,
|
|
56
56
|
ReadTool: () => exports_read,
|
|
57
|
-
name: () =>
|
|
58
|
-
toModelContent: () =>
|
|
57
|
+
name: () => name7,
|
|
58
|
+
toModelContent: () => toModelContent3
|
|
59
59
|
});
|
|
60
60
|
import { basename, dirname, join } from "path";
|
|
61
61
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
62
62
|
import { Effect, Schema } from "effect";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var name7 = "read";
|
|
65
65
|
var FILENAME = "AGENTS.md";
|
|
66
66
|
var LocationInput = Schema.Struct({
|
|
67
67
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
|
|
|
72
72
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Input7 = LocationInput;
|
|
76
76
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
77
|
-
var
|
|
77
|
+
var Plugin10 = {
|
|
78
78
|
id: "opencode.tool.read",
|
|
79
79
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
80
|
-
const reader = yield*
|
|
81
|
-
const access = yield*
|
|
82
|
-
const permission = yield*
|
|
83
|
-
const skills = yield*
|
|
84
|
-
const sessionInstructions = yield*
|
|
80
|
+
const reader = yield* Service31;
|
|
81
|
+
const access = yield* Service20;
|
|
82
|
+
const permission = yield* Service55;
|
|
83
|
+
const skills = yield* Service38;
|
|
84
|
+
const sessionInstructions = yield* Service8;
|
|
85
85
|
const fs = yield* FSUtil.Service;
|
|
86
|
-
const location = yield*
|
|
86
|
+
const location = yield* Service84;
|
|
87
87
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
88
|
-
name:
|
|
88
|
+
name: name7,
|
|
89
89
|
options: { codemode: false },
|
|
90
90
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
91
|
-
input:
|
|
91
|
+
input: Input7,
|
|
92
92
|
output: Output,
|
|
93
93
|
execute: (input, context) => {
|
|
94
94
|
return Effect.gen(function* () {
|
|
@@ -96,7 +96,7 @@ var Plugin50 = {
|
|
|
96
96
|
const parsed = parseSkillUri(input.path);
|
|
97
97
|
if (!parsed)
|
|
98
98
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
99
|
-
const id =
|
|
99
|
+
const id = ID7.make(parsed.id);
|
|
100
100
|
const skill = yield* skills.get(id);
|
|
101
101
|
if (!skill || !isUri2(skill.path))
|
|
102
102
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
@@ -163,7 +163,7 @@ var Plugin50 = {
|
|
|
163
163
|
return { output: result.content, path: result.path };
|
|
164
164
|
}).pipe(Effect.map((result) => ({
|
|
165
165
|
output: result.output,
|
|
166
|
-
content:
|
|
166
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
167
167
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
168
168
|
})), Effect.mapError((error) => {
|
|
169
169
|
if (error instanceof ToolFailure)
|
|
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
|
|
|
240
240
|
return;
|
|
241
241
|
return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
|
|
242
242
|
}
|
|
243
|
-
var
|
|
243
|
+
var toModelContent3 = (path, offset, output) => {
|
|
244
244
|
if (output.type === "file" && output.encoding === "base64")
|
|
245
245
|
return [
|
|
246
246
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -276,4 +276,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
276
276
|
`);
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Plugin10, toModelContent3, exports_read };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0gmcev4p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-myrazpsb.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-47qexrcb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-s5qfgb0b.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID12
|
|
21
|
+
} from "./worktree-4nye5q1n.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make31
|
|
26
|
+
} from "./worktree-8t99kr38.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./worktree-6fat5w0g.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-b7j26gq9.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service38
|
|
36
|
+
} from "./worktree-qnv3v84h.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-ch37w9fq.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options3,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-pxzaa117.js";
|
|
46
46
|
import {
|
|
47
47
|
File2,
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
48
|
+
Service39
|
|
49
|
+
} from "./worktree-34gaj1rj.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service45,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./worktree-w3vqc4ke.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./worktree-3adw4bt5.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ID21,
|
|
60
|
+
Input16,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./worktree-vn85b901.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./worktree-n33nyn98.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -131,7 +131,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
131
131
|
}
|
|
132
132
|
function oauth(http) {
|
|
133
133
|
return {
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID13.make("opencode"),
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "oauth",
|
|
@@ -198,12 +198,12 @@ var OpencodePlugin2 = define({
|
|
|
198
198
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
199
199
|
const client = yield* HttpClient.HttpClient;
|
|
200
200
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
201
|
-
const config = yield*
|
|
202
|
-
const discovery = yield*
|
|
203
|
-
const skills = yield*
|
|
204
|
-
const cache = yield*
|
|
201
|
+
const config = yield* Service65;
|
|
202
|
+
const discovery = yield* Service39;
|
|
203
|
+
const skills = yield* Service38;
|
|
204
|
+
const cache = yield* Service45;
|
|
205
205
|
const scope = yield* Scope.Scope;
|
|
206
|
-
const settings = yield*
|
|
206
|
+
const settings = yield* Options3;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
209
209
|
let instructions = [];
|
|
@@ -246,13 +246,13 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
const fallback = (connection) => key3(connection) === key3(snapshot.connection) ? { ...snapshot, connection } : { remote: undefined, connection, organization: undefined, access: undefined };
|
|
247
247
|
let integrated;
|
|
248
248
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
249
|
-
yield* config.integration?.(
|
|
250
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
249
|
+
yield* config.integration?.(ID13.make("opencode"), document) ?? Effect.void;
|
|
250
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID13.make("opencode"));
|
|
251
251
|
});
|
|
252
252
|
const publish = Effect.fnUntraced(function* (next) {
|
|
253
|
-
const document = next.remote && next.connection &&
|
|
254
|
-
integrationID:
|
|
255
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
253
|
+
const document = next.remote && next.connection && make31({
|
|
254
|
+
integrationID: ID13.make("opencode"),
|
|
255
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID15.make(next.connection.id) } : next.connection,
|
|
256
256
|
organization: next.organization,
|
|
257
257
|
info: next.remote
|
|
258
258
|
});
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
304
304
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
305
305
|
const server = yield* normalizeServer(server2(credential));
|
|
306
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
306
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
307
307
|
query: input.query,
|
|
308
308
|
providerID
|
|
309
309
|
}));
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
integrate2(providers, integrated);
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.provider.transform((providers) => {
|
|
335
|
-
const item = providers.get(
|
|
335
|
+
const item = providers.get(ID12.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
yield* ctx.model.transform((models) => {
|
|
347
|
-
const item = models.provider.get(
|
|
347
|
+
const item = models.provider.get(ID12.opencode);
|
|
348
348
|
if (!item)
|
|
349
349
|
return;
|
|
350
350
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.websearch.transform((editor) => {
|
|
362
|
-
const provider =
|
|
362
|
+
const provider = ID21.make("opencode");
|
|
363
363
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
364
364
|
editor.add(search(provider, snapshot.connection));
|
|
365
365
|
});
|
|
@@ -406,7 +406,7 @@ var OpencodePlugin2 = define({
|
|
|
406
406
|
});
|
|
407
407
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
408
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
409
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
410
|
});
|
|
411
411
|
yield* guard(snapshot);
|
|
412
412
|
yield* ctx.session.hook("prompt", () => check(Duration.minutes(1), Duration.seconds(3)));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/usage.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
SessionUsage: () =>
|
|
6
|
+
var exports_usage = {};
|
|
7
|
+
__export(exports_usage, {
|
|
8
|
+
SessionUsage: () => exports_usage,
|
|
9
9
|
add: () => add2,
|
|
10
10
|
calculateCost: () => calculateCost2,
|
|
11
11
|
record: () => record2,
|
|
@@ -51,4 +51,4 @@ var add2 = (a, b) => ({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
export { tokens2, calculateCost2, record2, add2,
|
|
54
|
+
export { tokens2, calculateCost2, record2, add2, exports_usage };
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9exxrxam.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-312kjg9w.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-mmgdhjjn.js";
|
|
13
13
|
import {
|
|
14
14
|
ClaudeAgentPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-pt5ehxk6.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareAIGatewayPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-f837n8dq.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudflareWorkersAIPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-nc4e8w7g.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-beh6qq61.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-qqmgvvew.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-tgqk8ax3.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-k84nyyd0.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-kwmph2q0.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-ytk5wrf7.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-3t9b5ztq.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-7hdxzzg1.js";
|
|
49
49
|
import {
|
|
50
50
|
NeonPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-ve7vex1e.js";
|
|
52
52
|
import {
|
|
53
53
|
NvidiaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./worktree-24dcb14g.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./worktree-8ps23s3r.js";
|
|
58
58
|
import {
|
|
59
59
|
OpenAIPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./worktree-m0a7g44c.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIContextCapsPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./worktree-pp4f2fj0.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./worktree-0ne6p79n.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./worktree-r3434bb1.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./worktree-h2pwbspx.js";
|
|
73
73
|
import {
|
|
74
74
|
PoePlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./worktree-fr6q3a25.js";
|
|
76
76
|
import {
|
|
77
77
|
PromptCacheKeyPlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./worktree-hcxmzztb.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./worktree-s5pfmh0r.js";
|
|
82
82
|
import {
|
|
83
83
|
VLLMPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./worktree-q39s8syp.js";
|
|
85
85
|
import {
|
|
86
86
|
XAIPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./worktree-f9xadq7v.js";
|
|
88
88
|
import {
|
|
89
89
|
ZenmuxPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./worktree-jjkms2e6.js";
|
|
91
91
|
|
|
92
92
|
// src/plugin/provider.ts
|
|
93
93
|
var ProviderPlugins2 = [
|