@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./skill-bgk5qnzj.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service47
|
|
13
|
+
} from "./skill-dwpmf8cp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./skill-9thjjcjr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service74
|
|
19
|
+
} from "./skill-kp4nff0n.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service73,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-yk124667.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service41,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-7f8094m0.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service36
|
|
37
|
+
} from "./skill-qdttw7q6.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./skill-ty7mxw4w.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-pk38dg6j.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin36,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin36 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service19;
|
|
122
|
+
const jobs = yield* Service59;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service47;
|
|
125
|
+
const access = yield* Service73;
|
|
126
|
+
const shell = yield* Service36;
|
|
127
|
+
const shellSelect = yield* Service41;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service74;
|
|
130
|
+
const config = yield* Service39;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin24 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name2,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin24 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name2,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input2,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin24 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name2,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name2];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin36, exports_shell2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-zm048y03.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node55
|
|
12
|
+
} from "./skill-s8wmpz1b.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service51,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node54
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service51 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service51,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node55]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info18({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service51.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node54 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info18, NotFound3, CreateConflict2, Service51, configured10, node54, exports_workspace };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z2r3ywn4.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-8qjmfq2h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./skill-445xt372.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./skill-cz4v21yz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./skill-0xj4wdgx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./skill-vcrvjhtj.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-3ktbe3hf.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-sth16pks.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-wjybtq75.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make7
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make7 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service32;
|
|
58
|
+
const toolOutput = yield* Service38;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make7, exports_step };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./skill-r7he9cn9.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./skill-abgq2xrr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./skill-yk124667.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./skill-rjcwc11h.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./skill-jbqe4h8z.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin38,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name3,
|
|
39
39
|
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin38 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service73;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name3, Input3, Plugin38, toModelContent2, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./skill-445xt372.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./skill-n9cn112f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-rey9eyyn.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-cpj0znwe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-r7he9cn9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
ID5,
|
|
22
|
+
Input14,
|
|
23
23
|
Response2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-csejk48n.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/opencode.ts
|
|
27
27
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
|
|
|
35
35
|
var RemoteResponse = Schema.Struct({
|
|
36
36
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
37
37
|
websearch: Schema.Struct({
|
|
38
|
-
providerID:
|
|
38
|
+
providerID: ID5
|
|
39
39
|
}).pipe(Schema.optional)
|
|
40
40
|
});
|
|
41
41
|
var Device = Schema.Struct({
|
|
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
57
57
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
58
58
|
function oauth(http) {
|
|
59
59
|
return {
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID9.make("opencode"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ function oauth(http) {
|
|
|
111
111
|
var OpencodePlugin2 = define({
|
|
112
112
|
id: "opencode.provider.opencode",
|
|
113
113
|
effect: Effect.fn(function* (ctx) {
|
|
114
|
-
const bus = yield*
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const http = yield* HttpClient.HttpClient;
|
|
116
116
|
const loading = Semaphore.makeUnsafe(1);
|
|
117
117
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
|
|
|
137
137
|
providers.update(providerID, (provider) => {
|
|
138
138
|
if (source && source.provider !== provider)
|
|
139
139
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
140
|
-
provider.integrationID =
|
|
140
|
+
provider.integrationID = ID9.make("opencode");
|
|
141
141
|
if (item.canonical !== undefined)
|
|
142
142
|
provider.canonical = item.canonical;
|
|
143
143
|
if (item.name !== undefined)
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
sourceConnection: snapshot.connection
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
const item = providers.get(
|
|
210
|
+
const item = providers.get(ID8.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
const item = models.provider.get(
|
|
222
|
+
const item = models.provider.get(ID8.opencode);
|
|
223
223
|
if (!item)
|
|
224
224
|
return;
|
|
225
225
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -253,7 +253,7 @@ var OpencodePlugin2 = define({
|
|
|
253
253
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
254
254
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
255
255
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
256
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
256
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
257
257
|
query: input.query,
|
|
258
258
|
providerID: descriptor.providerID
|
|
259
259
|
}));
|
|
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
|
|
|
274
274
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
275
275
|
});
|
|
276
276
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
277
|
-
yield* bus.subscribe(
|
|
277
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
278
278
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
279
279
|
})
|
|
280
280
|
});
|