@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,34 +1,34 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID15,
|
|
26
|
+
Info: () => Info25,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service72,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node75
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID15 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event15 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID15,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service72 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const db = (yield*
|
|
59
|
-
const bus = yield*
|
|
57
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
58
|
+
const db = (yield* Service91).db;
|
|
59
|
+
const bus = yield* Service90;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info25({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service72.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info25({
|
|
103
|
+
id: input.id ?? ID15.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
130
130
|
type: credential.value.type,
|
|
131
131
|
active: activated
|
|
132
132
|
});
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
134
134
|
if (activated)
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
136
136
|
return credential;
|
|
137
137
|
}),
|
|
138
138
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
148
148
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
149
149
|
if (integrationID) {
|
|
150
150
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
151
|
-
yield* bus.publish(
|
|
151
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
152
152
|
}
|
|
153
153
|
}),
|
|
154
154
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
173
173
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
174
174
|
});
|
|
175
175
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
177
177
|
}),
|
|
178
178
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
179
179
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
201
201
|
active: removed.switched,
|
|
202
202
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
203
203
|
});
|
|
204
|
-
yield* bus.publish(
|
|
204
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
205
205
|
if (removed.switched)
|
|
206
|
-
yield* bus.publish(
|
|
206
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node75 = makeGlobalNode({ service: Service72, layer, deps: [node95, node94, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID15, OAuth3, Key4, External2, Value2, Event15, Info25, Service72, node75, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9jnhvaxx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./worktree-580gg2hr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event15
|
|
6
|
+
} from "./worktree-myrazpsb.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-47qexrcb.js";
|
|
10
10
|
import {
|
|
11
11
|
interval2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-w3vqc4ke.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/refresh.ts
|
|
18
18
|
var exports_refresh = {};
|
|
@@ -25,8 +25,8 @@ __export(exports_refresh, {
|
|
|
25
25
|
});
|
|
26
26
|
import { Duration, Effect, Equal, Fiber, FiberHandle, Semaphore, Stream } from "effect";
|
|
27
27
|
var onSwitch2 = (integrationID, effect) => Effect.gen(function* () {
|
|
28
|
-
const bus = yield*
|
|
29
|
-
yield* bus.subscribe(
|
|
28
|
+
const bus = yield* Service90;
|
|
29
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
|
|
30
30
|
});
|
|
31
31
|
var reloadIfChanged2 = (load, reload) => load.pipe(Effect.flatMap((changed) => changed ? reload : Effect.void));
|
|
32
32
|
var switched2 = (load, apply) => Effect.gen(function* () {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./worktree-4nye5q1n.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-dmeswyfq.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-ap0byz54.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID12.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-5rxgzxpx.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-s5qfgb0b.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-mhnvv647.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-v5ddwjkq.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-vnv757bt.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service33, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer15, node38, exports_model_transport };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node71
|
|
8
|
+
} from "./worktree-jepy0x0m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service52,
|
|
11
11
|
node54
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-v5ddwjkq.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service44,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer20,
|
|
32
|
+
node: () => node47
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service44 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer20 = Layer.effect(Service44, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service52;
|
|
89
|
+
const models = yield* Service68;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service44.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError3({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError3({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [node54,
|
|
218
|
+
var node47 = makeLocationNode({
|
|
219
|
+
service: Service44,
|
|
220
|
+
layer: layer20,
|
|
221
|
+
deps: [node54, node71, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service44, layer20, node47, exports_generate2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
which2,
|
|
6
6
|
isAppExecutionAlias2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-x4th4bpe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/shell/select.ts
|
|
13
13
|
var exports_select = {};
|
|
14
14
|
__export(exports_select, {
|
|
15
|
-
Options: () =>
|
|
16
|
-
Service: () =>
|
|
15
|
+
Options: () => Options9,
|
|
16
|
+
Service: () => Service78,
|
|
17
17
|
ShellSelect: () => exports_select,
|
|
18
18
|
args: () => args2,
|
|
19
|
-
configured: () =>
|
|
19
|
+
configured: () => configured10,
|
|
20
20
|
environment: () => environment2,
|
|
21
21
|
gitbash: () => gitbash2,
|
|
22
22
|
list: () => list5,
|
|
23
23
|
login: () => login2,
|
|
24
24
|
name: () => name17,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node81,
|
|
26
26
|
ps: () => ps2,
|
|
27
|
-
resolve: () =>
|
|
27
|
+
resolve: () => resolve5
|
|
28
28
|
});
|
|
29
29
|
import path from "path";
|
|
30
30
|
import { readFile } from "fs/promises";
|
|
@@ -44,11 +44,11 @@ var META = {
|
|
|
44
44
|
sh: { login: true },
|
|
45
45
|
zsh: { login: true }
|
|
46
46
|
};
|
|
47
|
-
var
|
|
47
|
+
var Options9 = Schema.Struct({
|
|
48
48
|
gitbash: Schema.optional(Schema.String)
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
52
52
|
}
|
|
53
53
|
function stat(file) {
|
|
54
54
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -165,7 +165,7 @@ function environment2(bin, filter) {
|
|
|
165
165
|
}
|
|
166
166
|
var defaultConfigured;
|
|
167
167
|
var defaultCompatible;
|
|
168
|
-
function
|
|
168
|
+
function resolve5(input, configShell, options, bin) {
|
|
169
169
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
170
170
|
if (configShell)
|
|
171
171
|
return select(configShell, options, filter, bin);
|
|
@@ -181,7 +181,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
181
181
|
defaultConfigured = { bin, value };
|
|
182
182
|
return value;
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
resolve5.reset = () => {
|
|
185
185
|
defaultConfigured = undefined;
|
|
186
186
|
defaultCompatible = undefined;
|
|
187
187
|
};
|
|
@@ -189,7 +189,7 @@ async function list5(options, bin) {
|
|
|
189
189
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
190
190
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
191
191
|
}
|
|
192
|
-
var layer = (options) => Layer.effect(
|
|
192
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
193
193
|
const global = yield* Global.Service;
|
|
194
194
|
const state = create4({
|
|
195
195
|
name: "shell-select",
|
|
@@ -200,16 +200,16 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
200
200
|
}
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
|
-
return
|
|
203
|
+
return Service78.of({
|
|
204
204
|
transform: state.transform,
|
|
205
205
|
reload: state.reload,
|
|
206
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
+
resolve: (input) => Effect.sync(() => resolve5(input, state.get().shell, options, global.bin)),
|
|
207
207
|
list: () => Effect.promise(() => list5(options, global.bin))
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured10(options) {
|
|
211
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node81 = configured10();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Options9, Service78, gitbash2, name17, login2, ps2, args2, environment2, resolve5, list5, configured10, node81, exports_select };
|