@opencode/core 0.0.0-dev-19910 → 0.0.0-dev-19913
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{git-hfdr1yjj.js → skill-022zszfk.js} +4 -4
- package/dist/chunks/{git-sk9aqj88.js → skill-07rx9135.js} +32 -32
- package/dist/chunks/{git-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-7z7fdcae.js → skill-0xj4wdgx.js} +24 -24
- package/dist/chunks/{git-dy3fdsce.js → skill-0z587mdr.js} +30 -30
- package/dist/chunks/{git-njhqdk9p.js → skill-11dqjexa.js} +9 -9
- package/dist/chunks/{git-mp3jt1vp.js → skill-130qywb0.js} +23 -23
- package/dist/chunks/{git-c6z42dag.js → skill-18fyr48k.js} +26 -26
- package/dist/chunks/{git-b4wh3kk3.js → skill-19828knf.js} +41 -41
- package/dist/chunks/{git-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-s7fy4fw9.js → skill-1nht4ms1.js} +73 -73
- package/dist/chunks/skill-1x11rq2a.js +18 -0
- package/dist/chunks/{git-56gdpj1q.js → skill-1ygqh575.js} +9 -9
- package/dist/chunks/{git-jpd36d6c.js → skill-1zrp9yhc.js} +18 -18
- package/dist/chunks/{git-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{git-pce1006a.js → skill-22hs4wst.js} +21 -21
- package/dist/chunks/{git-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{git-b4etar07.js → skill-24w993ac.js} +32 -32
- package/dist/chunks/{git-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-g1sxm558.js → skill-2eegacq4.js} +8 -8
- package/dist/chunks/{git-aamtrqep.js → skill-2fgn2we9.js} +9 -9
- package/dist/chunks/{git-0jwsre1p.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{git-5hv86fpb.js → skill-2m0fs58m.js} +14 -14
- package/dist/chunks/{git-v2fywz06.js → skill-304pnd68.js} +9 -9
- package/dist/chunks/{git-9nxfh24q.js → skill-31cw5505.js} +16 -16
- package/dist/chunks/{git-ggjkqpcf.js → skill-3avz2e6f.js} +12 -12
- package/dist/chunks/{git-pv119cyc.js → skill-3bn7mw29.js} +9 -9
- package/dist/chunks/{git-v8xjkfmf.js → skill-3eds432b.js} +41 -41
- package/dist/chunks/{git-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-618b53ja.js → skill-3gne4zes.js} +20 -20
- package/dist/chunks/{git-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-ybhbtxjg.js → skill-3ktbe3hf.js} +6 -6
- package/dist/chunks/{git-7qfnj7bd.js → skill-3navmtz4.js} +9 -9
- package/dist/chunks/{git-z1cbmdk8.js → skill-3nyy4eqj.js} +8 -8
- package/dist/chunks/{git-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-pecsbykn.js → skill-3ta993pv.js} +20 -20
- package/dist/chunks/{git-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-bqcxmntf.js → skill-445xt372.js} +12 -12
- package/dist/chunks/{git-6dt9rsqm.js → skill-4h9vc7zt.js} +27 -27
- package/dist/chunks/{git-wb6nw9s2.js → skill-4hj495k6.js} +7 -7
- package/dist/chunks/{git-zhq6vg7a.js → skill-4jc5c4h4.js} +1 -1
- package/dist/chunks/{git-8cyahtjd.js → skill-4m50v4jg.js} +4 -4
- package/dist/chunks/{git-vh4e3tf6.js → skill-4mazw847.js} +8 -8
- package/dist/chunks/{git-xchesy5b.js → skill-4zf4scdz.js} +19 -19
- package/dist/chunks/{git-rymrqawx.js → skill-4zrsw0za.js} +85 -85
- package/dist/chunks/{git-sez5jh81.js → skill-50mzsvk4.js} +4 -4
- package/dist/chunks/{git-63nbkngr.js → skill-53ttffxc.js} +24 -24
- package/dist/chunks/{git-j8xg6mrm.js → skill-56ffp7pp.js} +45 -45
- package/dist/chunks/{git-hf4whmtg.js → skill-5b573h0t.js} +1 -1
- package/dist/chunks/{git-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{git-tafcm9s2.js → skill-5g0t074s.js} +13 -13
- package/dist/chunks/{git-teypzqam.js → skill-5qey08j8.js} +11 -11
- package/dist/chunks/{git-1rh4yqvv.js → skill-5rnnm2b5.js} +9 -9
- package/dist/chunks/{git-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-ftt4q9pv.js → skill-664pnj4b.js} +10 -10
- package/dist/chunks/{git-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{git-6j8cvwa1.js → skill-6a8p6m8g.js} +17 -17
- package/dist/chunks/{git-x6h9vts0.js → skill-6aezskgs.js} +5 -5
- package/dist/chunks/{git-ym0qxjj8.js → skill-6c1cfgpc.js} +8 -8
- package/dist/chunks/{git-1e3e3vry.js → skill-6k9034wm.js} +9 -9
- package/dist/chunks/{git-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-ckpezhnz.js → skill-6nmvbewf.js} +28 -28
- package/dist/chunks/{git-er2nv8wb.js → skill-7567q7fa.js} +8 -8
- package/dist/chunks/{git-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-vhzwz6jw.js → skill-7f8094m0.js} +13 -13
- package/dist/chunks/{git-1ns81jp7.js → skill-7pc088kn.js} +26 -26
- package/dist/chunks/skill-80q1jvf3.js +26 -0
- package/dist/chunks/{git-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-5s1mhvj6.js → skill-8hcc4vms.js} +14 -14
- package/dist/chunks/{git-8p4f9s12.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-ras1ee3t.js → skill-8qjmfq2h.js} +3 -3
- package/dist/chunks/{git-1hyh35hc.js → skill-8v82sp9j.js} +18 -18
- package/dist/chunks/{git-xffg26zj.js → skill-8wdwjc3c.js} +10 -10
- package/dist/chunks/{git-h2aa9ksg.js → skill-913gb3cq.js} +44 -44
- package/dist/chunks/{git-pf4sg1bc.js → skill-91antst5.js} +54 -54
- package/dist/chunks/{git-ph7261hm.js → skill-97qrqnrp.js} +5 -5
- package/dist/chunks/{git-e1h2r55f.js → skill-99e5sepg.js} +8 -8
- package/dist/chunks/{git-zr3s38d1.js → skill-9knd8yy1.js} +18 -18
- package/dist/chunks/{git-ybzt69z9.js → skill-9p8kwvhj.js} +12 -12
- package/dist/chunks/{git-2bxa57sj.js → skill-9thjjcjr.js} +17 -17
- package/dist/chunks/{git-17peyqa8.js → skill-9wh8t9n9.js} +28 -28
- package/dist/chunks/{git-a1bz86dw.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-pqqx5r28.js → skill-a9gn0e0y.js} +28 -28
- package/dist/chunks/{git-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{git-p402qtyx.js → skill-abgq2xrr.js} +17 -17
- package/dist/chunks/{git-tjfg9936.js → skill-az4xf6ed.js} +6 -6
- package/dist/chunks/{git-pkn2k75h.js → skill-b5dyyh20.js} +4 -4
- package/dist/chunks/{git-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-q2k0k7gp.js → skill-b86eggf9.js} +29 -29
- package/dist/chunks/{git-c6ds0c94.js → skill-baasw9zs.js} +4 -4
- package/dist/chunks/{git-c49neaws.js → skill-bgk5qnzj.js} +47 -47
- package/dist/chunks/{git-6sxa5bvt.js → skill-bjjsqnba.js} +20 -20
- package/dist/chunks/{git-4fp7hyfn.js → skill-brx9q7m9.js} +6 -6
- package/dist/chunks/{git-fx8hh4f3.js → skill-bswtr64f.js} +13 -13
- package/dist/chunks/{git-yxssrz9b.js → skill-bxgz0t0h.js} +11 -11
- package/dist/chunks/{git-yffsrks6.js → skill-c3g7xerj.js} +37 -37
- package/dist/chunks/{git-f5yy2vv1.js → skill-c3vm0mcc.js} +9 -9
- package/dist/chunks/{git-r2m716tb.js → skill-c765mh8b.js} +5 -5
- package/dist/chunks/{git-cfpkc3c9.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-afdssyjb.js → skill-ckf8nxjz.js} +4 -4
- package/dist/chunks/{git-h6r3nrb9.js → skill-cpj0znwe.js} +4 -4
- package/dist/chunks/{git-vf09fb5w.js → skill-cs7wv0cd.js} +21 -21
- package/dist/chunks/{git-3hr1140z.js → skill-csejk48n.js} +27 -27
- package/dist/chunks/{git-r9hg784z.js → skill-cz4v21yz.js} +24 -24
- package/dist/chunks/{git-672beszh.js → skill-d4jy01b2.js} +3 -3
- package/dist/chunks/{git-3ewed21c.js → skill-d858xzj7.js} +4 -4
- package/dist/chunks/{git-74b6haq2.js → skill-d8dssnap.js} +33 -33
- package/dist/chunks/{git-qrvxy8qx.js → skill-db54agdm.js} +12 -12
- package/dist/chunks/{git-y71avatq.js → skill-dpkg50ah.js} +4 -4
- package/dist/chunks/{git-wajqq34j.js → skill-drk835a9.js} +33 -33
- package/dist/chunks/{git-drwq78ky.js → skill-drwq78ky.js} +1 -1
- package/dist/chunks/{git-5hx7d1d6.js → skill-dtqg9ce1.js} +5 -5
- package/dist/chunks/{git-4r2mk5j3.js → skill-dwbq2wq0.js} +18 -18
- package/dist/chunks/{git-yjpwaj2n.js → skill-dwpmf8cp.js} +24 -24
- package/dist/chunks/{git-g6kej4xb.js → skill-e16nms22.js} +17 -17
- package/dist/chunks/{git-fzgke8tr.js → skill-e3r3h2ca.js} +11 -11
- package/dist/chunks/{git-43nsyqa5.js → skill-e89vryre.js} +23 -23
- package/dist/chunks/{git-s8d7rejh.js → skill-eaj1djv9.js} +6 -6
- package/dist/chunks/{git-bjn91642.js → skill-ec87kc5z.js} +4 -4
- package/dist/chunks/{git-xd2eepn7.js → skill-edc26kb2.js} +23 -23
- package/dist/chunks/{git-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-nhny46wm.js → skill-emy0xer2.js} +17 -17
- package/dist/chunks/{git-j028xdjb.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{git-erw5rpbs.js → skill-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-6ybsm94g.js → skill-ethbcf4m.js} +12 -12
- package/dist/chunks/{git-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-5y69b4r6.js → skill-f4dwq1rr.js} +11 -11
- package/dist/chunks/{git-f828m53h.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{git-5scqd8ad.js → skill-fcb1rjb3.js} +32 -32
- package/dist/chunks/{git-kh9xs558.js → skill-fdb6da93.js} +9 -9
- package/dist/chunks/{git-jf362r72.js → skill-ffmy44as.js} +3 -3
- package/dist/chunks/{git-1p4vxbgh.js → skill-fftzdnxd.js} +5 -5
- package/dist/chunks/{git-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-4p5t2wp7.js → skill-g4p7jhbz.js} +13 -13
- package/dist/chunks/{git-bpjsqt6w.js → skill-ga07bkf0.js} +15 -15
- package/dist/chunks/{git-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-1pp06av9.js → skill-gdgxt1ms.js} +29 -29
- package/dist/chunks/{git-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/skill-h5b51rs2.js +252 -0
- package/dist/chunks/{git-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-dkgfs7qs.js → skill-haa2pb9w.js} +43 -43
- package/dist/chunks/{git-p44d8wdy.js → skill-hkfg6fzm.js} +5 -5
- package/dist/chunks/{git-brvw573r.js → skill-hpm39920.js} +10 -10
- package/dist/chunks/{git-cg9hks8v.js → skill-htt7d1qe.js} +17 -17
- package/dist/chunks/{git-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{git-288kk2p1.js → skill-j78ak35t.js} +7 -7
- package/dist/chunks/{git-tr4gpxdj.js → skill-j9wq27ye.js} +10 -10
- package/dist/chunks/{git-te19744a.js → skill-jbqe4h8z.js} +17 -17
- package/dist/chunks/{git-a3r4dcrj.js → skill-jca4demv.js} +2 -2
- package/dist/chunks/{git-ntazb8er.js → skill-jczzady9.js} +7 -7
- package/dist/chunks/{git-xdd5m13n.js → skill-jqpk3fxs.js} +19 -19
- package/dist/chunks/{git-16y6wkws.js → skill-jrdspvxq.js} +11 -11
- package/dist/chunks/{git-fa0xf0qg.js → skill-jxzgsp22.js} +25 -25
- package/dist/chunks/{git-sx705cz4.js → skill-jyt2tpej.js} +16 -16
- package/dist/chunks/{git-njs7e820.js → skill-k2d1yzqh.js} +38 -38
- package/dist/chunks/{git-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{git-tkmwgdpd.js → skill-k76krqzs.js} +7 -7
- package/dist/chunks/{git-cdbm2jpq.js → skill-k9scbgz4.js} +13 -13
- package/dist/chunks/{git-zbxcgkb3.js → skill-kn352ak5.js} +20 -20
- package/dist/chunks/{git-fkjmw100.js → skill-knb7evpn.js} +6 -6
- package/dist/chunks/{git-j63fa09p.js → skill-kp4nff0n.js} +58 -58
- package/dist/chunks/{git-6yv4qapz.js → skill-kpmbepaz.js} +11 -11
- package/dist/chunks/{git-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-hz84tk5e.js → skill-m3zza4qd.js} +5 -5
- package/dist/chunks/{git-r04dhbzm.js → skill-m4jh79cr.js} +22 -22
- package/dist/chunks/{git-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-z3t6faa9.js → skill-mdm24dv9.js} +11 -11
- package/dist/chunks/{git-bm3dpr67.js → skill-mt1ghr90.js} +6 -6
- package/dist/chunks/{git-4vxbjmaf.js → skill-mxkmbcpx.js} +23 -23
- package/dist/chunks/{git-vayd41fe.js → skill-n9cn112f.js} +33 -33
- package/dist/chunks/{git-eyqq4r43.js → skill-nbzsj80d.js} +8 -8
- package/dist/chunks/{git-8g9s2qm2.js → skill-nc9sjc15.js} +36 -36
- package/dist/chunks/{git-9znc1w06.js → skill-nprga9fx.js} +44 -44
- package/dist/chunks/{git-p6mzafbb.js → skill-nqnp5e2q.js} +317 -317
- package/dist/chunks/{git-0ft9cg2j.js → skill-nqnxh7mc.js} +6 -6
- package/dist/chunks/{git-zh4jz90y.js → skill-nvw2kphd.js} +37 -37
- package/dist/chunks/{git-nc19f9d4.js → skill-nw7tcscr.js} +22 -22
- package/dist/chunks/{git-858mqmds.js → skill-nx6th6bc.js} +8 -8
- package/dist/chunks/{git-rprjdt61.js → skill-p23qv2qc.js} +2 -2
- package/dist/chunks/{git-tbz0fdvh.js → skill-p28j5sbe.js} +5 -5
- package/dist/chunks/{git-czfptnv9.js → skill-p37cw4rj.js} +8 -8
- package/dist/chunks/{git-gqft2nrr.js → skill-p4b86tx8.js} +6 -6
- package/dist/chunks/{git-wx3m0z92.js → skill-p6kr751s.js} +11 -11
- package/dist/chunks/{git-mq533pjk.js → skill-pfnv69sy.js} +22 -22
- package/dist/chunks/{git-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-9gz4yvws.js → skill-pk38dg6j.js} +4 -4
- package/dist/chunks/{git-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{git-rhafb4aa.js → skill-pnv527nz.js} +9 -9
- package/dist/chunks/{git-7vr3dmr2.js → skill-pq0ex9bk.js} +13 -13
- package/dist/chunks/{git-jexxy024.js → skill-q3t37ft6.js} +3 -3
- package/dist/chunks/{git-xgrh65hf.js → skill-q8q6jdt8.js} +185 -185
- package/dist/chunks/{git-8erct5rq.js → skill-q965a9pk.js} +5 -5
- package/dist/chunks/{git-krbhq476.js → skill-qdttw7q6.js} +51 -51
- package/dist/chunks/{git-3hj12f9s.js → skill-qnhrprtx.js} +10 -10
- package/dist/chunks/{git-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{git-x2d9qy7d.js → skill-qsr9synt.js} +5 -5
- package/dist/chunks/{git-43zf1p2c.js → skill-qvzs7hvg.js} +5 -5
- package/dist/chunks/{git-c42wgx82.js → skill-r7he9cn9.js} +35 -35
- package/dist/chunks/{git-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-0vrxxr1a.js → skill-rey9eyyn.js} +34 -34
- package/dist/chunks/{git-drmrsq1a.js → skill-rjcwc11h.js} +22 -22
- package/dist/chunks/{git-v2fn5cje.js → skill-rn5b7vpn.js} +4 -4
- package/dist/chunks/{git-vrqxrqyx.js → skill-rqtkra6z.js} +9 -9
- package/dist/chunks/{git-2aet7wja.js → skill-rzs3gq0x.js} +8 -8
- package/dist/chunks/{git-ebc9nwad.js → skill-s2f2q6g5.js} +11 -11
- package/dist/chunks/{git-ha8vn221.js → skill-s86qnaav.js} +13 -13
- package/dist/chunks/{git-8e1b1gzh.js → skill-s8wmpz1b.js} +6 -6
- package/dist/chunks/{git-x5cyaybx.js → skill-s93198yw.js} +5 -5
- package/dist/chunks/{git-sqsnjckg.js → skill-s98dmevz.js} +11 -11
- package/dist/chunks/{git-0e4jjwrw.js → skill-sse271b5.js} +24 -24
- package/dist/chunks/{git-2689451z.js → skill-sth16pks.js} +4 -4
- package/dist/chunks/{git-pmr4s4kc.js → skill-sx1n432n.js} +4 -4
- package/dist/chunks/{git-6gykz65j.js → skill-t3bphv2x.js} +5 -5
- package/dist/chunks/{git-6jqkynh6.js → skill-t97t2t7r.js} +12 -12
- package/dist/chunks/{git-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{git-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{git-tw48jm20.js → skill-tsksnvtb.js} +29 -29
- package/dist/chunks/{git-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{git-gjcbrjt5.js → skill-txtfabjx.js} +1 -1
- package/dist/chunks/{git-y0fr9ak9.js → skill-ty7mxw4w.js} +94 -94
- package/dist/chunks/{git-78v47nsk.js → skill-tz2bjj40.js} +5 -5
- package/dist/chunks/{git-8hnmhdsn.js → skill-tzj19fy0.js} +15 -15
- package/dist/chunks/{git-dvn4kdj3.js → skill-v8amwdt9.js} +15 -15
- package/dist/chunks/{git-p2s4r87m.js → skill-v8dh4nz3.js} +3 -3
- package/dist/chunks/{git-wzg7zq6j.js → skill-va5qff5x.js} +9 -9
- package/dist/chunks/{git-dfvnyc1p.js → skill-vcrvjhtj.js} +12 -12
- package/dist/chunks/skill-vd7qdfbw.js +65 -0
- package/dist/chunks/{git-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{git-vw95j725.js → skill-vfshnhmq.js} +27 -27
- package/dist/chunks/{git-aze3g556.js → skill-vq7xavc1.js} +14 -14
- package/dist/chunks/{git-yc72r6y6.js → skill-vrb8d36f.js} +28 -28
- package/dist/chunks/{git-r40wg4tq.js → skill-vwvt0yj4.js} +32 -32
- package/dist/chunks/{git-ehsj7wt5.js → skill-vyjrmqhg.js} +13 -13
- package/dist/chunks/{git-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-5c0f1prt.js → skill-w1k39n5e.js} +4 -4
- package/dist/chunks/{git-3cjhgjje.js → skill-w308r9zr.js} +59 -59
- package/dist/chunks/{git-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-ar15xcmb.js → skill-w43dcfxw.js} +8 -8
- package/dist/chunks/{git-wwxvw6cz.js → skill-w5nmfj9j.js} +28 -28
- package/dist/chunks/{git-0xs9q83d.js → skill-w6c82y4z.js} +4 -4
- package/dist/chunks/{git-x039wt3r.js → skill-wbcfvnt4.js} +32 -32
- package/dist/chunks/{git-yjptyezs.js → skill-wbkyxrgf.js} +5 -5
- package/dist/chunks/{git-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{git-d3vp4tvv.js → skill-wgr18wbf.js} +47 -47
- package/dist/chunks/{git-9zajbvzp.js → skill-wjybtq75.js} +6 -6
- package/dist/chunks/{git-jk15xws4.js → skill-wrp2dx04.js} +11 -11
- package/dist/chunks/{git-7parea5t.js → skill-wrz8ygnx.js} +31 -31
- package/dist/chunks/{git-b8wnyzx7.js → skill-wxms7b7s.js} +44 -44
- package/dist/chunks/{git-2nwjcwjm.js → skill-wzsdv5th.js} +32 -32
- package/dist/chunks/{git-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-4wja9c2w.js → skill-xnqsar2x.js} +10 -10
- package/dist/chunks/{git-xkc5gz1n.js → skill-xv1v2zqz.js} +11 -11
- package/dist/chunks/{git-0vm7ymqn.js → skill-xzhffq4e.js} +10 -10
- package/dist/chunks/{git-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-64af36b2.js → skill-y9b9bf3r.js} +11 -11
- package/dist/chunks/{git-hka040n9.js → skill-ycjsjtpe.js} +17 -17
- package/dist/chunks/{git-p0j3v3px.js → skill-yk124667.js} +17 -17
- package/dist/chunks/{git-r8xr0va3.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-wejqvva8.js → skill-yrtjmt84.js} +16 -16
- package/dist/chunks/{git-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{git-zxv2zsm9.js → skill-yxpb66jc.js} +9 -9
- package/dist/chunks/{git-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-sxpyths9.js → skill-z2r3ywn4.js} +6 -6
- package/dist/chunks/{git-3pe4e59h.js → skill-z3gx4d74.js} +15 -15
- package/dist/chunks/{git-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{git-by82rxdc.js → skill-z7wqewzp.js} +23 -23
- package/dist/chunks/{git-fpq9acqp.js → skill-zdwe30dy.js} +6 -6
- package/dist/chunks/{git-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-8xy4ymhm.js → skill-zfj4vk7j.js} +43 -43
- package/dist/chunks/{git-zyyrtepr.js → skill-zg35pp16.js} +26 -26
- package/dist/chunks/{git-6e6g2mqd.js → skill-zm048y03.js} +3 -3
- package/dist/chunks/{git-kczjb4tf.js → skill-zpk379h4.js} +22 -22
- package/dist/chunks/{git-er6g6738.js → skill-zqjwjz6j.js} +5 -5
- package/dist/chunks/{git-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-w072qfac.js → skill-zwjr63rt.js} +24 -24
- package/dist/chunks/{git-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-w2xq192h.js → skill-zytaxaq1.js} +20 -20
- package/dist/chunks/{git-ntf7ng8w.js → skill-zzp4szp6.js} +12 -12
- package/dist/chunks/{git-zm1kgnct.js → skill-zzw84r5z.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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/id/id.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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- 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 +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/git-7aqwnkq9.js +0 -252
- package/dist/chunks/git-9a3eyg4n.js +0 -26
- package/dist/chunks/git-q509s3k3.js +0 -18
- package/dist/chunks/git-ygkrcpmw.js +0 -65
- /package/dist/chunks/{git-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-zm048y03.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./skill-445xt372.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./skill-db54agdm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-2fgn2we9.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service80;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID16.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID16.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID16.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID16.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID16.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service79.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node83 = makeGlobalNode({
|
|
276
|
+
service: Service79,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node84, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./skill-abgq2xrr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service46,
|
|
10
|
+
node49
|
|
11
|
+
} from "./skill-9knd8yy1.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./skill-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node17,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const ripgrep = yield* Service46;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node82, node49] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node17 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-zm048y03.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service63.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service63, node66, exports_kv };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-r7he9cn9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info20
|
|
11
|
+
} from "./skill-drk835a9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info20.make({
|
|
122
|
+
...Info20.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./skill-abgq2xrr.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-z7wqewzp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin2 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin2, exports_git };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service32
|
|
7
|
+
} from "./skill-cz4v21yz.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service32;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-mdm24dv9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./skill-445xt372.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./skill-n9cn112f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-rey9eyyn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./skill-r7he9cn9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-drk835a9.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|