@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./worktree-2bzmwc8c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node86
|
|
14
|
+
} from "./worktree-6qwmnac3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/environment/environment.ts
|
|
20
20
|
var exports_environment3 = {};
|
|
21
21
|
__export(exports_environment3, {
|
|
22
22
|
EnvironmentService: () => exports_environment3,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service82,
|
|
24
|
+
node: () => node85
|
|
25
25
|
});
|
|
26
26
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
30
|
-
class
|
|
30
|
+
class Service82 extends Context.Service()("@opencode/Environment") {
|
|
31
31
|
}
|
|
32
|
-
var layer = Layer.effect(
|
|
32
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
33
33
|
const spawner = yield* ChildProcessSpawner;
|
|
34
|
-
const location = yield*
|
|
35
|
-
const workspace = yield*
|
|
34
|
+
const location = yield* Service84;
|
|
35
|
+
const workspace = yield* Service83;
|
|
36
36
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
37
|
-
return
|
|
37
|
+
return Service82.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
40
|
-
service:
|
|
39
|
+
var node85 = makeLocationNode({
|
|
40
|
+
service: Service82,
|
|
41
41
|
layer,
|
|
42
|
-
deps: [CrossSpawnSpawner.node,
|
|
42
|
+
deps: [CrossSpawnSpawner.node, node88, node86]
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { Service82, node85, exports_environment3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./worktree-580gg2hr.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-0fjqr56q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service84,
|
|
15
|
+
node88
|
|
16
|
+
} from "./worktree-2bzmwc8c.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info13,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service59,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node62
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info13, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,12 +55,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service59 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const bus = yield*
|
|
62
|
+
const location = yield* Service84;
|
|
63
|
+
const bus = yield* Service90;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
66
66
|
const vcs = location.vcs;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service59.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node62 = makeLocationNode({
|
|
193
|
+
service: Service59,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node88, node94]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info13, Mode2, Untracked2, DiffError2, InitializeError2, Service59, node62, exports_vcs };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./worktree-580gg2hr.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-mhnvv647.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event6,
|
|
22
|
+
ID: () => ID7,
|
|
23
|
+
Info: () => Info9,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service38,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
27
|
Source: () => Source3,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available3,
|
|
30
30
|
isUri: () => isUri2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node42,
|
|
32
32
|
prepare: () => prepare3,
|
|
33
33
|
toModelOutput: () => toModelOutput3,
|
|
34
34
|
uri: () => uri2
|
|
@@ -38,13 +38,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
38
38
|
import path from "path";
|
|
39
39
|
import { Context, Effect, Layer } from "effect";
|
|
40
40
|
import { Skill } from "@opencode/schema/skill";
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
42
42
|
var DirectorySource2 = Skill.DirectorySource;
|
|
43
43
|
var UrlSource2 = Skill.UrlSource;
|
|
44
44
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
45
45
|
var Source3 = Skill.Source;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Info9 = Skill.Info;
|
|
47
|
+
var ID7 = Skill.ID;
|
|
48
48
|
var Name2 = Skill.Name;
|
|
49
49
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
50
50
|
var uri2 = (id, file) => file ? `skill://${id}/${file}` : `skill://${id}`;
|
|
@@ -91,16 +91,16 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
|
|
|
91
91
|
};
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service38 extends Context.Service()("@opencode/Skill") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const bus = yield*
|
|
96
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
97
|
+
const bus = yield* Service90;
|
|
98
98
|
const state = create4({
|
|
99
99
|
name: "skill",
|
|
100
100
|
initial: () => ({ skills: new Map, files: new Map }),
|
|
101
101
|
editor: (editor) => ({
|
|
102
102
|
list: () => Array.from(editor.skills.values()),
|
|
103
|
-
get: (id) => editor.skills.get(
|
|
103
|
+
get: (id) => editor.skills.get(ID7.make(id)),
|
|
104
104
|
add: (skill, files) => {
|
|
105
105
|
editor.skills.set(skill.id, { ...skill });
|
|
106
106
|
const entries = files ? Object.entries(files).filter(([file]) => file !== "SKILL.md").toSorted(([a], [b]) => a.localeCompare(b)) : [];
|
|
@@ -111,7 +111,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
111
111
|
editor.files.set(skill.id, new Map(entries));
|
|
112
112
|
},
|
|
113
113
|
update: (id, update) => {
|
|
114
|
-
const key =
|
|
114
|
+
const key = ID7.make(id);
|
|
115
115
|
const current = editor.skills.get(key);
|
|
116
116
|
if (!current)
|
|
117
117
|
return;
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
119
119
|
current.id = key;
|
|
120
120
|
},
|
|
121
121
|
remove: (id) => {
|
|
122
|
-
const key =
|
|
122
|
+
const key = ID7.make(id);
|
|
123
123
|
editor.skills.delete(key);
|
|
124
124
|
editor.files.delete(key);
|
|
125
125
|
}
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
129
129
|
Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
|
|
130
130
|
], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service38.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
144
144
|
})
|
|
145
145
|
});
|
|
146
146
|
}));
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node42 = makeLocationNode({
|
|
148
|
+
service: Service38,
|
|
149
149
|
layer,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node94]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
153
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID7, Name2, available3, uri2, isUri2, toModelOutput3, prepare3, Service38, node42, exports_skill5, Event6 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0gmcev4p.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-myrazpsb.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-47qexrcb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID13,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-s5qfgb0b.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
ID12
|
|
16
|
+
} from "./worktree-4nye5q1n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID11,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-jepy0x0m.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service45
|
|
26
|
+
} from "./worktree-w3vqc4ke.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-n33nyn98.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-ap0byz54.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/digitalocean.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
36
36
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
37
37
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.make("digitalocean");
|
|
39
|
+
var integrationID = ID13.make("digitalocean");
|
|
40
40
|
var methodID = MethodID2.make("browser");
|
|
41
41
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
42
42
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -124,7 +124,7 @@ var oauth = {
|
|
|
124
124
|
var DigitalOceanPlugin2 = define({
|
|
125
125
|
id: "opencode.provider.digitalocean",
|
|
126
126
|
effect: Effect.fn(function* (ctx) {
|
|
127
|
-
const cache = yield*
|
|
127
|
+
const cache = yield* Service45;
|
|
128
128
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
129
129
|
const discovered = yield* start3({
|
|
130
130
|
integrationID,
|
|
@@ -160,7 +160,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
160
160
|
return;
|
|
161
161
|
for (const router of discovered.current.routers) {
|
|
162
162
|
const id = `router:${router.name}`;
|
|
163
|
-
if (evt.get(providerID)?.models.has(
|
|
163
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
164
164
|
continue;
|
|
165
165
|
evt.models.update(providerID, id, (draft) => {
|
|
166
166
|
draft.name = router.name;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./worktree-mhnvv647.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input4,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin5,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description4,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name4
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input7 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input4.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin5 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service55;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name4,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description4,
|
|
131
|
+
input: Input4,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = yield* Effect.try({
|
|
@@ -141,7 +141,7 @@ var Plugin44 = {
|
|
|
141
141
|
catch: (error) => error
|
|
142
142
|
});
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name4,
|
|
145
145
|
resources: [url],
|
|
146
146
|
save: ["*"],
|
|
147
147
|
metadata: input,
|
|
@@ -149,7 +149,7 @@ var Plugin44 = {
|
|
|
149
149
|
});
|
|
150
150
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
151
151
|
const check = (next) => permission.assertNotDenied({
|
|
152
|
-
action:
|
|
152
|
+
action: name4,
|
|
153
153
|
resources: [next],
|
|
154
154
|
metadata: { ...input, url: next },
|
|
155
155
|
...invocation2(context)
|
|
@@ -203,4 +203,4 @@ function extractTextFromHTML2(html) {
|
|
|
203
203
|
parser.end();
|
|
204
204
|
return text.trim();
|
|
205
205
|
}
|
|
206
|
-
export {
|
|
206
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input4, MAX_REDIRECTS2, Plugin5, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-4nye5q1n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-jepy0x0m.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -18,12 +18,12 @@ __export(exports_models, {
|
|
|
18
18
|
ModalModels: () => exports_models,
|
|
19
19
|
derive: () => derive2,
|
|
20
20
|
get: () => get2,
|
|
21
|
-
load: () =>
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect, Option, Schema } from "effect";
|
|
25
25
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID12.make("modal");
|
|
27
27
|
var ReasoningOption = Schema.Struct({
|
|
28
28
|
type: Schema.Literal("effort"),
|
|
29
29
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -55,9 +55,9 @@ var RemoteModel = Schema.Struct({
|
|
|
55
55
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
57
|
function get2(http, baseURL, apiKey, existing) {
|
|
58
|
-
return
|
|
58
|
+
return load3(http, baseURL, apiKey).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var load3 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
|
|
61
61
|
const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
|
|
62
62
|
return response.data.flatMap((raw) => {
|
|
63
63
|
const model = Option.getOrUndefined(decodeModel(raw));
|
|
@@ -68,8 +68,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
68
68
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
69
69
|
const result = new Map;
|
|
70
70
|
for (const item of remote) {
|
|
71
|
-
const template = templates.get(
|
|
72
|
-
const id =
|
|
71
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
72
|
+
const id = ID11.make(item.id);
|
|
73
73
|
result.set(id, build(id, item, baseURL, template));
|
|
74
74
|
}
|
|
75
75
|
return result;
|
|
@@ -87,10 +87,10 @@ function limit(value, fallback) {
|
|
|
87
87
|
function build(id, remote, baseURL, previous) {
|
|
88
88
|
const cost = previous?.cost[0];
|
|
89
89
|
const input = previous?.limit.input;
|
|
90
|
-
return
|
|
91
|
-
...
|
|
90
|
+
return Info20.make({
|
|
91
|
+
...Info20.default(providerID, id),
|
|
92
92
|
id,
|
|
93
|
-
modelID:
|
|
93
|
+
modelID: ID11.make(remote.id),
|
|
94
94
|
providerID,
|
|
95
95
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
96
96
|
family: previous?.family,
|
|
@@ -137,4 +137,4 @@ function variants(remote) {
|
|
|
137
137
|
return [...seen.values()];
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export { get2,
|
|
140
|
+
export { get2, load3, derive2, exports_models };
|