@opencode/core 0.0.0-dev-20700 → 0.0.0-dev-20704
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{command-3zbwexce.js → git-03xyy9gs.js} +8 -8
- package/dist/chunks/{command-2wk1bt19.js → git-0d38zc5x.js} +26 -26
- package/dist/chunks/{command-jahmw9wt.js → git-0h7w1762.js} +11 -11
- package/dist/chunks/{command-2k8khapm.js → git-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-d8h4y8x2.js → git-0nvn360z.js} +11 -11
- package/dist/chunks/{command-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-bczzjy9e.js → git-10623zx4.js} +16 -16
- package/dist/chunks/{command-vkhrv3va.js → git-148p72g5.js} +16 -16
- package/dist/chunks/{command-1acjjqhc.js → git-1acjjqhc.js} +1 -1
- package/dist/chunks/{command-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-84h8c373.js → git-1dvck2a7.js} +2 -2
- package/dist/chunks/{command-3p9y6zy9.js → git-1fr8qzyd.js} +14 -14
- package/dist/chunks/{command-0xezjjjn.js → git-1gfgk62c.js} +8 -8
- package/dist/chunks/{command-r8pva37e.js → git-24mvnw1a.js} +9 -9
- package/dist/chunks/{command-pgg99xex.js → git-28y8jcrp.js} +13 -13
- package/dist/chunks/{command-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-regs6j75.js → git-2c4qqt40.js} +17 -17
- package/dist/chunks/{command-f6nqz2a5.js → git-2dx3b0tq.js} +20 -20
- package/dist/chunks/{command-9trmfcmk.js → git-2em0gr1z.js} +7 -7
- package/dist/chunks/{command-ynp0dznr.js → git-2n0tmftt.js} +21 -21
- package/dist/chunks/{command-95xdxxe2.js → git-2r3cr5cb.js} +11 -11
- package/dist/chunks/{command-bn6yread.js → git-2shrwg0p.js} +44 -44
- package/dist/chunks/{command-sav4gv7k.js → git-2wrq52sr.js} +32 -32
- package/dist/chunks/{command-ekcam7gb.js → git-2yc0zydp.js} +10 -10
- package/dist/chunks/{command-24bjkhbr.js → git-34cxmcg0.js} +13 -13
- package/dist/chunks/{command-yayrp2fz.js → git-3bn7dahb.js} +3 -3
- package/dist/chunks/{command-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-6257bbja.js → git-3gs028xv.js} +8 -8
- package/dist/chunks/{command-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-8tmnagnx.js → git-3p01mmvj.js} +24 -24
- package/dist/chunks/{command-zsr4wwhv.js → git-3sj8yt8v.js} +4 -4
- package/dist/chunks/{command-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-x26tb1td.js → git-3txpt5y2.js} +45 -45
- package/dist/chunks/{command-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-varc7q5t.js → git-472np96h.js} +4 -4
- package/dist/chunks/{command-szap4043.js → git-4cg8anvm.js} +22 -22
- package/dist/chunks/{command-edvm82df.js → git-4cnb2xys.js} +17 -17
- package/dist/chunks/{command-g01c6ngt.js → git-4e6k6dfb.js} +15 -15
- package/dist/chunks/{command-t5v2m5qp.js → git-4mqfmj50.js} +50 -50
- package/dist/chunks/{command-8pvj3kwn.js → git-4rmr8y37.js} +17 -17
- package/dist/chunks/{command-4ts7tf6z.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-b4f0r9mf.js → git-52rdeedc.js} +19 -19
- package/dist/chunks/{command-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{command-gvpmpm3x.js → git-55pe6j01.js} +4 -4
- package/dist/chunks/{command-1ygqh575.js → git-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-8nc24gqh.js → git-57tfmtnt.js} +9 -9
- package/dist/chunks/{command-11dqjexa.js → git-5aps1zy9.js} +9 -9
- package/dist/chunks/{command-2vyvwgdx.js → git-5dwry08k.js} +23 -23
- package/dist/chunks/{command-dzw83ac5.js → git-5e1pzs32.js} +9 -9
- package/dist/chunks/git-5gzkp3ws.js +26 -0
- package/dist/chunks/{command-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-bdw1f655.js → git-5p7bz5xh.js} +30 -30
- package/dist/chunks/{command-4wwqnvbr.js → git-5qwkxp89.js} +4 -4
- package/dist/chunks/{command-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-26bjp5xt.js → git-5v8s61nm.js} +12 -12
- package/dist/chunks/{command-c8v3em4p.js → git-5w6ne2rj.js} +11 -11
- package/dist/chunks/{command-he27pt63.js → git-5w9yjztw.js} +1 -1
- package/dist/chunks/{command-e6y6syfz.js → git-667z5wzd.js} +6 -6
- package/dist/chunks/{command-vwpcpzep.js → git-69j91c1q.js} +8 -8
- package/dist/chunks/{command-whxa6a21.js → git-6ak8scqv.js} +36 -36
- package/dist/chunks/{command-ffhh4tnd.js → git-6fay8h1c.js} +11 -11
- package/dist/chunks/{command-5pmqztyy.js → git-6fmx122w.js} +39 -39
- package/dist/chunks/{command-m4wj29m7.js → git-6jmsbqrr.js} +32 -32
- package/dist/chunks/{command-0r4y7tp2.js → git-6qa8gc7n.js} +13 -13
- package/dist/chunks/{command-c2pzj2ez.js → git-6xaf5kjd.js} +5 -5
- package/dist/chunks/{command-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-zjvgyew4.js → git-6yfhzeyn.js} +15 -15
- package/dist/chunks/{command-f75zav2x.js → git-71az546q.js} +2 -2
- package/dist/chunks/{command-5jbsybzt.js → git-74b6gs10.js} +11 -11
- package/dist/chunks/{command-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-rrpq0de9.js → git-7gnynpnq.js} +12 -12
- package/dist/chunks/{command-ng8nf19c.js → git-7pvn9ar0.js} +16 -16
- package/dist/chunks/{command-a1gpj94z.js → git-7yh4e7ss.js} +3 -3
- package/dist/chunks/{command-nrxxrv5t.js → git-82pkvj7n.js} +37 -37
- package/dist/chunks/{command-kn70k9a0.js → git-830fnc2g.js} +11 -11
- package/dist/chunks/{command-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → git-89znhe33.js} +4 -4
- package/dist/chunks/{command-70xwm63j.js → git-8awjb79p.js} +3 -3
- package/dist/chunks/{command-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-vttj0m2g.js → git-8h1kyr3w.js} +314 -314
- package/dist/chunks/{command-aqaf6eqh.js → git-8k05bbzn.js} +4 -4
- package/dist/chunks/{command-yhggpj30.js → git-8kys6q5k.js} +9 -9
- package/dist/chunks/{command-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-djsxeeqx.js → git-8wbfwab3.js} +5 -5
- package/dist/chunks/{command-jsepzq9b.js → git-8x3sg3yv.js} +34 -34
- package/dist/chunks/{command-jznwpshf.js → git-90yarghs.js} +20 -20
- package/dist/chunks/{command-hxa97ptj.js → git-9881wf2t.js} +47 -47
- package/dist/chunks/{command-kb9j3d72.js → git-9e5bzkjp.js} +3 -3
- package/dist/chunks/{command-q1mctc18.js → git-9kpsa33c.js} +31 -31
- package/dist/chunks/{command-k5j2x39y.js → git-9p810e6v.js} +34 -34
- package/dist/chunks/{command-rk0tkcks.js → git-9tp863pf.js} +11 -11
- package/dist/chunks/{command-ws8t4p7q.js → git-a1c3m0fn.js} +11 -11
- package/dist/chunks/{command-cyhvcspf.js → git-a2dq8wfv.js} +89 -89
- package/dist/chunks/{command-6aaz6ypt.js → git-a6jsgks7.js} +32 -32
- package/dist/chunks/{command-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{command-yjtk4xnq.js → git-amkm9g4e.js} +8 -8
- package/dist/chunks/{command-ykt494b9.js → git-as7cf5zz.js} +4 -4
- package/dist/chunks/{command-ratem9wp.js → git-atacd640.js} +37 -37
- package/dist/chunks/{command-1mp2j08m.js → git-b1hvjmy2.js} +13 -13
- package/dist/chunks/{command-ts23464c.js → git-b4twkq7r.js} +8 -8
- package/dist/chunks/{command-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-emwywv8g.js → git-b7b4ctej.js} +5 -5
- package/dist/chunks/{command-srtzbtkb.js → git-bfm9jnc4.js} +16 -16
- package/dist/chunks/{command-q5x3tfs5.js → git-bkpe843v.js} +3 -3
- package/dist/chunks/{command-g0445xdp.js → git-br0tr5aq.js} +8 -8
- package/dist/chunks/{command-6zy09sng.js → git-brmpb9yt.js} +25 -25
- package/dist/chunks/{command-f51y4enn.js → git-bv3r9y5q.js} +87 -87
- package/dist/chunks/{command-9hwaqfsw.js → git-bx0gyb4h.js} +5 -5
- package/dist/chunks/{command-tfcgd8gv.js → git-ccqm7fdh.js} +14 -14
- package/dist/chunks/{command-6hd6avn5.js → git-d038dv6g.js} +18 -18
- package/dist/chunks/{command-783ks7fh.js → git-d1gs5a5j.js} +6 -6
- package/dist/chunks/{command-44rbbzrk.js → git-db5vm63h.js} +4 -4
- package/dist/chunks/{command-pwsx8j38.js → git-ddbjfjsc.js} +11 -11
- package/dist/chunks/{command-t7n9q6bq.js → git-ddt2bs9e.js} +4 -4
- package/dist/chunks/{command-8jm276xc.js → git-dm3wfn5k.js} +5 -5
- package/dist/chunks/{command-qbvdc98m.js → git-drfybefv.js} +5 -5
- package/dist/chunks/{command-g8zx62a9.js → git-dwh2kmq1.js} +10 -10
- package/dist/chunks/{command-8ha6ga5e.js → git-dwq6ryhm.js} +8 -8
- package/dist/chunks/{command-pmy7jnrt.js → git-dyymvp0r.js} +10 -10
- package/dist/chunks/{command-a40a71e0.js → git-dz1d0362.js} +20 -20
- package/dist/chunks/{command-e01hz1ca.js → git-e34n4qn9.js} +5 -5
- package/dist/chunks/{command-k9jeyk0g.js → git-e9dvv37v.js} +11 -11
- package/dist/chunks/{command-pet9ca1t.js → git-ecrxx57p.js} +20 -20
- package/dist/chunks/{command-3r916n3t.js → git-ed2ev5p7.js} +6 -6
- package/dist/chunks/{command-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-pxv4gm1f.js → git-ejaazq2g.js} +11 -11
- package/dist/chunks/{command-51xkf8k5.js → git-emr6ve0k.js} +18 -18
- package/dist/chunks/{command-cw6z59x1.js → git-enz4yr2b.js} +22 -22
- package/dist/chunks/{command-vkfvj8p5.js → git-et51fp32.js} +16 -16
- package/dist/chunks/{command-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-4862yc1m.js → git-ew029xcz.js} +20 -20
- package/dist/chunks/{command-tgfzkdey.js → git-ex4azxym.js} +13 -13
- package/dist/chunks/{command-vrfdq27c.js → git-f1vyh6xp.js} +15 -15
- package/dist/chunks/{command-at66rx22.js → git-f454xj3h.js} +26 -26
- package/dist/chunks/{command-q26k1g2q.js → git-f4qzsran.js} +15 -15
- package/dist/chunks/{command-ryv0qzzm.js → git-f892jb6s.js} +10 -10
- package/dist/chunks/{command-3twjrg50.js → git-f92ay7ys.js} +5 -5
- package/dist/chunks/{command-5e351gmq.js → git-f95575pt.js} +20 -20
- package/dist/chunks/{command-f0jn3c8j.js → git-fkw9s7y9.js} +12 -12
- package/dist/chunks/{command-v0es1rhs.js → git-fpecnkgp.js} +9 -9
- package/dist/chunks/{command-t6vsspdg.js → git-fqb2p7cx.js} +5 -5
- package/dist/chunks/{command-1j56braf.js → git-g1wj236p.js} +11 -11
- package/dist/chunks/{command-5k95x8ex.js → git-g5jg60e9.js} +3 -3
- package/dist/chunks/{command-w19d8598.js → git-g5w8qwbj.js} +7 -7
- package/dist/chunks/{command-bjxafcsc.js → git-g8p0vbj8.js} +6 -6
- package/dist/chunks/{command-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-k70p9jzb.js → git-gh5z95q3.js} +9 -9
- package/dist/chunks/{command-ydpy2trk.js → git-gqx2rq7f.js} +23 -23
- package/dist/chunks/{command-d7caqkm4.js → git-gyw7sedy.js} +12 -12
- package/dist/chunks/{command-3cegwx68.js → git-h2b79v29.js} +2 -2
- package/dist/chunks/{command-rzr29mjv.js → git-h2my2rg3.js} +1 -1
- package/dist/chunks/{command-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-xqje5s02.js → git-hkc5vpms.js} +18 -18
- package/dist/chunks/{command-05n848gw.js → git-hp4h0j0h.js} +5 -5
- package/dist/chunks/{command-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{command-4ma70ete.js → git-jecez823.js} +35 -35
- package/dist/chunks/{command-dsztky57.js → git-jyc5rva5.js} +14 -14
- package/dist/chunks/{command-9gdfrnr3.js → git-jyns8p4a.js} +24 -24
- package/dist/chunks/{command-hpy8ntye.js → git-jzfaq73r.js} +11 -11
- package/dist/chunks/{command-dp4s75h1.js → git-jztmdpvv.js} +35 -35
- package/dist/chunks/{command-jqx4baev.js → git-k7rgc2fp.js} +69 -69
- package/dist/chunks/{command-0a7wxtrm.js → git-kaeshj5g.js} +28 -28
- package/dist/chunks/{command-3ck8tw4y.js → git-kb3dycrr.js} +33 -33
- package/dist/chunks/{command-tgcm2w8t.js → git-kcwew1je.js} +3 -3
- package/dist/chunks/{command-yp7yjh6a.js → git-kmtwqyfg.js} +28 -28
- package/dist/chunks/{command-4v7ngy20.js → git-knevfgda.js} +4 -4
- package/dist/chunks/{command-zw0xjrjg.js → git-kq4vwj2t.js} +13 -13
- package/dist/chunks/{command-1b0sbxxb.js → git-kta98k5n.js} +32 -32
- package/dist/chunks/{command-6wchr5cx.js → git-ktv3m1r0.js} +33 -33
- package/dist/chunks/{command-0g45hzx5.js → git-kvbgpx4j.js} +21 -21
- package/dist/chunks/{command-27gqhvna.js → git-kvy3eq26.js} +28 -28
- package/dist/chunks/{command-a7ckhrv9.js → git-m09mwcgx.js} +13 -13
- package/dist/chunks/{command-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-vpm8vpz0.js → git-m5jcjszt.js} +3 -3
- package/dist/chunks/{command-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-7q7xr36e.js → git-mfpttc98.js} +13 -13
- package/dist/chunks/{command-m7g5n11e.js → git-mgtegeff.js} +26 -26
- package/dist/chunks/{command-cavr175a.js → git-mjymc32g.js} +4 -4
- package/dist/chunks/{command-jmcj007g.js → git-mnhrm2h8.js} +6 -6
- package/dist/chunks/{command-zqdnbah7.js → git-mq67z803.js} +9 -9
- package/dist/chunks/{command-vbr0nk5p.js → git-n31r56j8.js} +7 -7
- package/dist/chunks/{command-855mfpgn.js → git-n3y58kt3.js} +17 -17
- package/dist/chunks/{command-esdp39g9.js → git-n45dgdc0.js} +46 -46
- package/dist/chunks/{command-yy608ky9.js → git-ncvrjp5d.js} +15 -15
- package/dist/chunks/{command-kskgwt5j.js → git-nrjza425.js} +22 -22
- package/dist/chunks/{command-dpkg50ah.js → git-nxm207yx.js} +4 -4
- package/dist/chunks/{command-3kngb2b1.js → git-p0wnex98.js} +9 -9
- package/dist/chunks/{command-wf8fk5s2.js → git-p5hf1vyv.js} +23 -23
- package/dist/chunks/{command-gw4vacmf.js → git-p5zfrphm.js} +24 -24
- package/dist/chunks/{command-2a6rn6yr.js → git-p7a39gy5.js} +6 -6
- package/dist/chunks/{command-nz5e32c4.js → git-p8jt97qf.js} +20 -20
- package/dist/chunks/{command-9p7127m7.js → git-pasgpr7w.js} +24 -24
- package/dist/chunks/{command-akm3sr3q.js → git-pc80jw58.js} +4 -4
- package/dist/chunks/git-pf31ssb9.js +18 -0
- package/dist/chunks/{command-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{command-nf29hbg4.js → git-ppvk6b39.js} +4 -4
- package/dist/chunks/{command-bmcyhq37.js → git-pqnznyp6.js} +20 -20
- package/dist/chunks/{command-rawbswbr.js → git-pqyr69kh.js} +172 -172
- package/dist/chunks/{command-bfk0apgm.js → git-pz27sgs1.js} +52 -52
- package/dist/chunks/{command-125dpnt1.js → git-pzpx8774.js} +28 -28
- package/dist/chunks/{command-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{command-y906m0ew.js → git-q6yya7b3.js} +5 -5
- package/dist/chunks/{command-0kjmpvw2.js → git-q8ejgrh7.js} +11 -11
- package/dist/chunks/{command-42sph0rn.js → git-q8n1maba.js} +7 -7
- package/dist/chunks/{command-djszqvmq.js → git-qmqgtz8f.js} +9 -9
- package/dist/chunks/{command-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-4mq91456.js → git-qnxqf0m0.js} +2 -2
- package/dist/chunks/{command-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{command-xyafkbt0.js → git-qxjc9qry.js} +3 -3
- package/dist/chunks/{command-k3kxt7h3.js → git-r01t9b5y.js} +8 -8
- package/dist/chunks/{command-cyedb0zj.js → git-r10ym7h9.js} +45 -45
- package/dist/chunks/{command-t76zf3wd.js → git-r18vxgt1.js} +8 -8
- package/dist/chunks/{command-yq21262d.js → git-r8z5hn3t.js} +4 -4
- package/dist/chunks/{command-dp4sqxzb.js → git-rcqna60j.js} +32 -32
- package/dist/chunks/{command-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-9t7a50xb.js → git-rhjbct0v.js} +4 -4
- package/dist/chunks/{command-vnrazcbq.js → git-rn9fzfgr.js} +20 -20
- package/dist/chunks/{command-kvxhccb2.js → git-rs59bnnz.js} +22 -22
- package/dist/chunks/{command-n0ayvyx4.js → git-rtywqqeh.js} +42 -42
- package/dist/chunks/{command-ah2tsebv.js → git-rxa84y3y.js} +5 -5
- package/dist/chunks/{command-19aya85j.js → git-s4gp803s.js} +7 -7
- package/dist/chunks/{command-t5jb7gsh.js → git-s53tfnwn.js} +48 -48
- package/dist/chunks/{command-c16jtkb8.js → git-sh3a6ya8.js} +24 -24
- package/dist/chunks/{command-8p86ba99.js → git-sjesw609.js} +1 -1
- package/dist/chunks/{command-7nxdf7yt.js → git-sq5fjz5k.js} +5 -5
- package/dist/chunks/{command-5bnkhe1a.js → git-t3e4w3tq.js} +10 -10
- package/dist/chunks/{command-far1eyy8.js → git-t3xq634j.js} +16 -16
- package/dist/chunks/{command-bp8hqz04.js → git-t6t5zza9.js} +5 -5
- package/dist/chunks/{command-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{command-rcr9b1gj.js → git-th9ajxgn.js} +20 -20
- package/dist/chunks/{command-thq7psdp.js → git-tj6x4h0k.js} +4 -4
- package/dist/chunks/{command-ssbmthd8.js → git-tn5xx32x.js} +15 -15
- package/dist/chunks/{command-dq1h9awm.js → git-tqzf399c.js} +18 -18
- package/dist/chunks/{command-2d0p9y9z.js → git-v0xmac3n.js} +2 -2
- package/dist/chunks/{command-ck649xfd.js → git-v2zvec27.js} +8 -8
- package/dist/chunks/{command-gn75qd72.js → git-vajzw01v.js} +15 -15
- package/dist/chunks/{command-tffjza62.js → git-veqfhemw.js} +3 -3
- package/dist/chunks/{command-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{command-6h7f880a.js → git-vmxqwdc7.js} +42 -38
- package/dist/chunks/{command-6h8vz67h.js → git-vqje4rkm.js} +32 -32
- package/dist/chunks/{command-p52pe20v.js → git-vrrxywxv.js} +29 -29
- package/dist/chunks/{command-54eg28t6.js → git-vtsdwepb.js} +8 -8
- package/dist/chunks/git-vvedr2c9.js +253 -0
- package/dist/chunks/{command-2kvm6dz7.js → git-vxz3rty8.js} +9 -9
- package/dist/chunks/{command-5724mr0t.js → git-vysh9dgc.js} +13 -13
- package/dist/chunks/{command-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-hbgw946t.js → git-watzg3w7.js} +20 -20
- package/dist/chunks/{command-1y6v7ctx.js → git-wax0z6gf.js} +10 -10
- package/dist/chunks/{command-zy25gpef.js → git-wbh0epq5.js} +22 -22
- package/dist/chunks/{command-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{command-scgrse2b.js → git-wecqtg5s.js} +5 -5
- package/dist/chunks/{command-hcqqnn43.js → git-wf3cm873.js} +16 -16
- package/dist/chunks/{command-1pxz8ven.js → git-wh6zw745.js} +5 -5
- package/dist/chunks/{command-vkfdnwpx.js → git-wj76ss2k.js} +4 -4
- package/dist/chunks/{command-tt01v53t.js → git-wxrj95wz.js} +14 -14
- package/dist/chunks/{command-p6agja35.js → git-x25mmpq9.js} +27 -27
- package/dist/chunks/{command-nhrgfg7r.js → git-x4c7a9hn.js} +30 -30
- package/dist/chunks/{command-addxnjmp.js → git-x661k3y3.js} +4 -4
- package/dist/chunks/{command-e7vvk1sv.js → git-x8bpv305.js} +14 -14
- package/dist/chunks/{command-64bzcbyv.js → git-xdcanj78.js} +18 -18
- package/dist/chunks/{command-f4j2p9tb.js → git-xeafnbe6.js} +9 -9
- package/dist/chunks/{command-xkntkrq7.js → git-xkntkrq7.js} +2 -2
- package/dist/chunks/{command-yzh9x2r9.js → git-xntdcqfp.js} +4 -4
- package/dist/chunks/{command-6fs6w009.js → git-xs2jnxkj.js} +8 -8
- package/dist/chunks/{command-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-90z33sm1.js → git-yqnpmjq6.js} +36 -36
- package/dist/chunks/{command-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-eepwjgt3.js → git-z9tda7av.js} +27 -27
- package/dist/chunks/{command-0479rtb7.js → git-zd543wtv.js} +18 -18
- package/dist/chunks/{command-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-mxr1v1s0.js → git-zxs6a24a.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +94 -94
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/command-3njcnfy0.js +0 -26
- package/dist/chunks/command-7fj5dwt0.js +0 -18
- package/dist/chunks/command-pqsmxgh1.js +0 -253
- /package/dist/chunks/{command-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./git-6fmx122w.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin43,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin43 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin43, exports_identity };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-g5jg60e9.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9e5bzkjp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-vtsdwepb.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-v0xmac3n.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service65,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node67
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service65 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service65.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node67 = makeGlobalNode({ service: Service65, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service65, node67, exports_store };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-xntdcqfp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./git-4mqfmj50.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node66
|
|
12
|
+
} from "./git-atacd640.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node56
|
|
16
|
+
} from "./git-3p01mmvj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
layer: () => layer13,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer13 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service54;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node32 = makeLocationNode({
|
|
124
|
+
service: Service29,
|
|
125
125
|
layer: layer13,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node56, node33, node87, node66]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service29, layer13, node32, exports_mcp3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-xntdcqfp.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service76,
|
|
15
|
+
node80,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./git-f454xj3h.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./git-wf3cm873.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event16,
|
|
42
|
+
ID: () => ID12,
|
|
43
|
+
Info: () => Info21,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service75,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node79,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
72
|
+
var ID12 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -232,9 +232,9 @@ var Request3 = Provider.Request;
|
|
|
232
232
|
var Compaction3 = Provider.Compaction;
|
|
233
233
|
var Transport2 = Provider.Transport;
|
|
234
234
|
var Settings2 = Provider.Settings;
|
|
235
|
-
var
|
|
235
|
+
var Info21 = Provider.Info;
|
|
236
236
|
|
|
237
|
-
class
|
|
237
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
238
238
|
}
|
|
239
239
|
var definitions = new WeakMap;
|
|
240
240
|
function index(providerID, models) {
|
|
@@ -247,10 +247,10 @@ function index(providerID, models) {
|
|
|
247
247
|
definitions.set(models, indexes);
|
|
248
248
|
return result;
|
|
249
249
|
}
|
|
250
|
-
var layer = Layer.effect(
|
|
250
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
251
251
|
const bus = yield* Service83;
|
|
252
|
-
const integrations = yield*
|
|
253
|
-
const location = yield*
|
|
252
|
+
const integrations = yield* Service76;
|
|
253
|
+
const location = yield* Service79;
|
|
254
254
|
const state = create3({
|
|
255
255
|
name: "provider",
|
|
256
256
|
initial: () => new Map,
|
|
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
261
261
|
const current = records.get(id);
|
|
262
262
|
if (current)
|
|
263
263
|
return current;
|
|
264
|
-
const added = { provider:
|
|
264
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
265
265
|
records.set(id, added);
|
|
266
266
|
maps.add(added.models);
|
|
267
267
|
return added;
|
|
@@ -342,7 +342,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
342
342
|
const available = Array.from(records.values()).filter((record) => {
|
|
343
343
|
if (record.provider.activation === "disabled")
|
|
344
344
|
return false;
|
|
345
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
345
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
346
346
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
347
347
|
return false;
|
|
348
348
|
if (record.provider.activation === "enabled")
|
|
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
368
368
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
369
369
|
});
|
|
370
370
|
});
|
|
371
|
-
yield* bus.subscribe([
|
|
372
|
-
return
|
|
371
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
372
|
+
return Service75.of({
|
|
373
373
|
transform: state.transform,
|
|
374
374
|
reload: state.reload,
|
|
375
375
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
378
378
|
snapshot
|
|
379
379
|
});
|
|
380
380
|
}));
|
|
381
|
-
var
|
|
381
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node83] });
|
|
382
382
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
383
383
|
const module = yield* Effect.tryPromise({
|
|
384
384
|
try: () => {
|
|
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
653
653
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
654
654
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
655
655
|
|
|
656
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
656
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service75, node79, exports_provider3, Event16 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info23 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./git-rn9fzfgr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./git-atacd640.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service77;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-g5jg60e9.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-xntdcqfp.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-m5jcjszt.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service37,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node39,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service37 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service37, make18());
|
|
231
|
+
var node39 = makeGlobalNode({ service: Service37, layer: layer17, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service37, make18, layer17, node39, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|