@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,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./worktree-mk65jrrt.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service84
|
|
9
|
+
} from "./worktree-2bzmwc8c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./worktree-6fat5w0g.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-qnv3v84h.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./worktree-3adw4bt5.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-ch37w9fq.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-yvtc2x31.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill2 = {};
|
|
34
34
|
__export(exports_skill2, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin23
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin23 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service65;
|
|
47
|
+
const discovery = yield* Service12;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service84;
|
|
51
|
+
const watcher = yield* Service66;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -179,4 +179,4 @@ var Plugin30 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin23, exports_skill2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./worktree-580gg2hr.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node88
|
|
11
|
+
} from "./worktree-2bzmwc8c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service78,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node81
|
|
16
|
+
} from "./worktree-p1s6h0e3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput5,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event17,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID17,
|
|
28
|
+
Info: () => Info27,
|
|
29
|
+
NotFoundError: () => NotFoundError12,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service77,
|
|
32
32
|
UpdateInput: () => UpdateInput3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node80
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event17 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID17 = Pty.ID;
|
|
43
|
+
var Info27 = Pty.Info;
|
|
44
44
|
var CreateInput5 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput3 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID17
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID17
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service77 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service90;
|
|
61
|
+
const location = yield* Service84;
|
|
62
|
+
const shell = yield* Service78;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError12({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID17.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
});
|
|
258
|
-
return
|
|
258
|
+
return Service77.of({ list, get, create, update, remove, write, attach });
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
service:
|
|
260
|
+
var node80 = makeLocationNode({
|
|
261
|
+
service: Service77,
|
|
262
262
|
layer,
|
|
263
|
-
deps: [
|
|
263
|
+
deps: [node94, node88, node81]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export {
|
|
266
|
+
export { ID17, Info27, CreateInput5, UpdateInput3, NotFoundError12, ExitedError2, Service77, node80, exports_pty, Event17 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node90
|
|
6
|
+
} from "./worktree-wbkev1sj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./worktree-2bzmwc8c.js";
|
|
11
11
|
import {
|
|
12
12
|
create4
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make32
|
|
16
|
+
} from "./worktree-79mk3d4k.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service75,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node78
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service75 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service84;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make32;
|
|
40
40
|
const state = create4({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service75.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node78 = makeLocationNode({
|
|
61
|
+
service: Service75,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node88, Global.node, node90, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service75, node78, exports_strategies };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./worktree-580gg2hr.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service41,
|
|
17
|
+
node45
|
|
18
|
+
} from "./worktree-ztfy9ymt.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event8,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info10,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
36
|
Source: () => Source4,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node44
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source4 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info10 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service90;
|
|
54
|
+
const cache = yield* Service41;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info10.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info10.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node44 = makeLocationNode({
|
|
117
|
+
service: Service40,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node94, node45]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source4,
|
|
122
|
+
export { LocalSource2, GitSource2, Source4, Info10, Service40, node44, exports_reference2, Event8 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-tg7s7b5t.js";
|
|
4
4
|
import {
|
|
5
5
|
session2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-v438kgpn.js";
|
|
7
7
|
import {
|
|
8
8
|
start2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-4tnarq1t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make9
|
|
12
|
+
} from "./worktree-yts2a8qm.js";
|
|
13
13
|
import {
|
|
14
14
|
build2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-eqw4pqj1.js";
|
|
16
16
|
import {
|
|
17
17
|
decide2,
|
|
18
18
|
boundary2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-gbjdnr5j.js";
|
|
20
20
|
import {
|
|
21
21
|
content3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-sbya78hr.js";
|
|
23
23
|
import {
|
|
24
24
|
content2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-775hqbnd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make8
|
|
28
|
+
} from "./worktree-vt2d6wap.js";
|
|
29
29
|
import {
|
|
30
30
|
collect2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-j9nxzz3g.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/claude/sessions.ts
|
|
37
37
|
var exports_sessions = {};
|
|
@@ -96,7 +96,7 @@ function registry2() {
|
|
|
96
96
|
yield* closeEntries();
|
|
97
97
|
});
|
|
98
98
|
const attach = Effect.fn("ClaudeSessions.attach")(function* (input) {
|
|
99
|
-
const records =
|
|
99
|
+
const records = make9(input.storage);
|
|
100
100
|
owners++;
|
|
101
101
|
yield* cancelHandover();
|
|
102
102
|
yield* Effect.addFinalizer(() => Effect.gen(function* () {
|
|
@@ -116,7 +116,7 @@ function registry2() {
|
|
|
116
116
|
yield* input.status.report({ type: "missing" });
|
|
117
117
|
return yield* Effect.fail(new Error("Install Claude Code and run `claude auth login` first"));
|
|
118
118
|
}
|
|
119
|
-
const pending =
|
|
119
|
+
const pending = make8();
|
|
120
120
|
const session = yield* attempt(async () => start2(await session2({
|
|
121
121
|
executable,
|
|
122
122
|
io: input.io,
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./worktree-qdaxnh4s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./worktree-wjsw3cxz.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./worktree-mhnvv647.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service20,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-dwd418qm.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-89287pr7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service78,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-p1s6h0e3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
NotFoundError10,
|
|
33
|
+
Service61
|
|
34
|
+
} from "./worktree-wwg86t57.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service22
|
|
37
|
+
} from "./worktree-p43zptcs.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./worktree-hf6jneh0.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./worktree-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
|
-
var
|
|
47
|
-
__export(
|
|
46
|
+
var exports_shell = {};
|
|
47
|
+
__export(exports_shell, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
51
|
-
ShellTool: () =>
|
|
52
|
-
name: () =>
|
|
49
|
+
Input: () => Input5,
|
|
50
|
+
Plugin: () => Plugin6,
|
|
51
|
+
ShellTool: () => exports_shell,
|
|
52
|
+
name: () => name5
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name5 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input5 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -113,18 +113,18 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin6 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service22;
|
|
120
|
+
const jobs = yield* Service50;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service82;
|
|
123
|
+
const access = yield* Service20;
|
|
124
|
+
const shell = yield* Service61;
|
|
125
|
+
const shellSelect = yield* Service78;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
|
-
const permission = yield*
|
|
127
|
+
const permission = yield* Service55;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
129
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
130
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +137,7 @@ var Plugin45 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name5,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -172,10 +172,10 @@ var Plugin45 = {
|
|
|
172
172
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
173
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
174
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
175
|
+
name: name5,
|
|
176
176
|
options: { codemode: false },
|
|
177
177
|
description: description(),
|
|
178
|
-
input:
|
|
178
|
+
input: Input5,
|
|
179
179
|
output: Output,
|
|
180
180
|
execute: (input, context) => Effect.gen(function* () {
|
|
181
181
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -198,7 +198,7 @@ var Plugin45 = {
|
|
|
198
198
|
const run = Effect.gen(function* () {
|
|
199
199
|
const result = yield* shell.result(info);
|
|
200
200
|
if (!result.capture)
|
|
201
|
-
return yield* new
|
|
201
|
+
return yield* new NotFoundError10({ id: info.id });
|
|
202
202
|
const output = output2(result);
|
|
203
203
|
return {
|
|
204
204
|
...output,
|
|
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
212
212
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
213
|
const job = yield* jobs.start({
|
|
214
214
|
id: info.id,
|
|
215
|
-
type:
|
|
215
|
+
type: name5,
|
|
216
216
|
title: info.command,
|
|
217
217
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
218
218
|
recovery: {
|
|
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
242
242
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
243
243
|
})).pipe(Effect.orDie);
|
|
244
244
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
245
|
+
const tool = event.tools[name5];
|
|
246
246
|
if (!tool)
|
|
247
247
|
return;
|
|
248
248
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
|