@opencode/core 0.0.0-dev-19911 → 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/{snapshot-hfdr1yjj.js → skill-022zszfk.js} +4 -4
- package/dist/chunks/{snapshot-26ppr2dg.js → skill-07rx9135.js} +32 -32
- package/dist/chunks/{snapshot-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{snapshot-h8mnccc2.js → skill-0xj4wdgx.js} +24 -24
- package/dist/chunks/{snapshot-gq7he4kw.js → skill-0z587mdr.js} +32 -32
- package/dist/chunks/{snapshot-r9w3djhf.js → skill-11dqjexa.js} +9 -9
- package/dist/chunks/{snapshot-q9cq7v4d.js → skill-130qywb0.js} +18 -18
- package/dist/chunks/{snapshot-cq6kw089.js → skill-18fyr48k.js} +31 -31
- package/dist/chunks/{snapshot-q85hyj5a.js → skill-19828knf.js} +32 -32
- package/dist/chunks/{snapshot-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-0q3v4fyv.js → skill-1nht4ms1.js} +71 -71
- package/dist/chunks/skill-1x11rq2a.js +18 -0
- package/dist/chunks/{snapshot-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{snapshot-xqnjj423.js → skill-1zrp9yhc.js} +15 -15
- package/dist/chunks/{snapshot-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-vnhmmnjb.js → skill-22hs4wst.js} +21 -21
- package/dist/chunks/{snapshot-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{snapshot-2twd0hcx.js → skill-24w993ac.js} +11 -11
- package/dist/chunks/{snapshot-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-4e8vs6eh.js → skill-2eegacq4.js} +8 -8
- package/dist/chunks/{snapshot-57ez7d0k.js → skill-2fgn2we9.js} +9 -9
- package/dist/chunks/{snapshot-fcrkznn8.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{snapshot-vfmbdkmd.js → skill-2m0fs58m.js} +14 -14
- package/dist/chunks/{snapshot-a7ww4pt2.js → skill-304pnd68.js} +14 -14
- package/dist/chunks/{snapshot-r4xvkvzr.js → skill-31cw5505.js} +16 -16
- package/dist/chunks/{snapshot-ty7d494y.js → skill-3avz2e6f.js} +15 -15
- package/dist/chunks/{snapshot-5wxpt6m1.js → skill-3bn7mw29.js} +9 -9
- package/dist/chunks/{snapshot-46zm72w0.js → skill-3eds432b.js} +40 -40
- package/dist/chunks/{snapshot-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-k7fpbf2n.js → skill-3gne4zes.js} +17 -17
- package/dist/chunks/{snapshot-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-phc8pspp.js → skill-3ktbe3hf.js} +6 -6
- package/dist/chunks/{snapshot-ma8rz1b3.js → skill-3navmtz4.js} +9 -9
- package/dist/chunks/{snapshot-mksgfzgs.js → skill-3nyy4eqj.js} +8 -8
- package/dist/chunks/{snapshot-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-q59v9naq.js → skill-3ta993pv.js} +18 -18
- package/dist/chunks/{snapshot-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-m9a8nbc6.js → skill-445xt372.js} +12 -12
- package/dist/chunks/{snapshot-4t78hymw.js → skill-4h9vc7zt.js} +29 -29
- package/dist/chunks/{snapshot-yjw22c5c.js → skill-4hj495k6.js} +7 -7
- package/dist/chunks/{snapshot-6rybd781.js → skill-4jc5c4h4.js} +1 -1
- package/dist/chunks/{snapshot-pxz7cyvr.js → skill-4m50v4jg.js} +4 -4
- package/dist/chunks/{snapshot-5pqs3yzm.js → skill-4mazw847.js} +5 -5
- package/dist/chunks/{snapshot-naw1tbqv.js → skill-4zf4scdz.js} +19 -19
- package/dist/chunks/{snapshot-5vvej3cv.js → skill-4zrsw0za.js} +90 -90
- package/dist/chunks/{snapshot-jw80jp6b.js → skill-50mzsvk4.js} +4 -4
- package/dist/chunks/{snapshot-3nhf0b0f.js → skill-53ttffxc.js} +24 -24
- package/dist/chunks/{snapshot-hsnmzj8s.js → skill-56ffp7pp.js} +41 -41
- package/dist/chunks/{snapshot-svbn7smg.js → skill-5b573h0t.js} +1 -1
- package/dist/chunks/{snapshot-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-9epmzyvk.js → skill-5g0t074s.js} +6 -6
- package/dist/chunks/{snapshot-3hfbp1j6.js → skill-5qey08j8.js} +11 -11
- package/dist/chunks/{snapshot-63kpjth9.js → skill-5rnnm2b5.js} +9 -9
- package/dist/chunks/{snapshot-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-8rryby26.js → skill-664pnj4b.js} +7 -7
- package/dist/chunks/{snapshot-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-pj0sjbgk.js → skill-6a8p6m8g.js} +25 -25
- package/dist/chunks/{snapshot-drjxn4mt.js → skill-6aezskgs.js} +5 -5
- package/dist/chunks/{snapshot-qwqmmf4f.js → skill-6c1cfgpc.js} +8 -8
- package/dist/chunks/{snapshot-k2en61s1.js → skill-6k9034wm.js} +9 -9
- package/dist/chunks/{snapshot-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-hkedn9gj.js → skill-6nmvbewf.js} +23 -23
- package/dist/chunks/{snapshot-pzd9m7k8.js → skill-7567q7fa.js} +8 -8
- package/dist/chunks/{snapshot-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-dgfmtra8.js → skill-7f8094m0.js} +17 -17
- package/dist/chunks/{snapshot-9kfebp52.js → skill-7pc088kn.js} +28 -28
- package/dist/chunks/skill-80q1jvf3.js +26 -0
- package/dist/chunks/{snapshot-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-ebkn7tnf.js → skill-8hcc4vms.js} +11 -11
- package/dist/chunks/{snapshot-8p4f9s12.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{snapshot-d4h1dsgp.js → skill-8qjmfq2h.js} +3 -3
- package/dist/chunks/{snapshot-mn9sycxr.js → skill-8v82sp9j.js} +18 -18
- package/dist/chunks/{snapshot-w6fvq6r8.js → skill-8wdwjc3c.js} +7 -7
- package/dist/chunks/{snapshot-jz6s72fr.js → skill-913gb3cq.js} +44 -44
- package/dist/chunks/{snapshot-v24dc41g.js → skill-91antst5.js} +54 -54
- package/dist/chunks/{snapshot-j0eqyxyf.js → skill-97qrqnrp.js} +3 -3
- package/dist/chunks/{snapshot-b2qj0hc5.js → skill-99e5sepg.js} +8 -8
- package/dist/chunks/{snapshot-m5j2kpqk.js → skill-9knd8yy1.js} +18 -18
- package/dist/chunks/{snapshot-gcqf8jk1.js → skill-9p8kwvhj.js} +12 -12
- package/dist/chunks/{snapshot-5n8a4f8s.js → skill-9thjjcjr.js} +17 -17
- package/dist/chunks/{snapshot-r31f3mt7.js → skill-9wh8t9n9.js} +22 -22
- package/dist/chunks/{snapshot-a1bz86dw.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{snapshot-gf40en4q.js → skill-a9gn0e0y.js} +28 -28
- package/dist/chunks/{snapshot-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-a2pzwxd2.js → skill-abgq2xrr.js} +16 -16
- package/dist/chunks/{snapshot-tfch9n9x.js → skill-az4xf6ed.js} +6 -6
- package/dist/chunks/{snapshot-4sqwj1fj.js → skill-b5dyyh20.js} +4 -4
- package/dist/chunks/{snapshot-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-48adanj3.js → skill-b86eggf9.js} +27 -27
- package/dist/chunks/{snapshot-mh1qkymb.js → skill-baasw9zs.js} +4 -4
- package/dist/chunks/{snapshot-p8hy2xfv.js → skill-bgk5qnzj.js} +46 -46
- package/dist/chunks/{snapshot-6sw1ch82.js → skill-bjjsqnba.js} +20 -20
- package/dist/chunks/{snapshot-a37bxjft.js → skill-brx9q7m9.js} +6 -6
- package/dist/chunks/{snapshot-7s9mzm64.js → skill-bswtr64f.js} +13 -13
- package/dist/chunks/{snapshot-vnpbbx9v.js → skill-bxgz0t0h.js} +11 -11
- package/dist/chunks/{snapshot-7ag4nb16.js → skill-c3g7xerj.js} +33 -33
- package/dist/chunks/{snapshot-wakn2wsr.js → skill-c3vm0mcc.js} +9 -9
- package/dist/chunks/{snapshot-cwa6csj7.js → skill-c765mh8b.js} +9 -9
- package/dist/chunks/{snapshot-cfpkc3c9.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/{snapshot-zee1rnkq.js → skill-ckf8nxjz.js} +4 -4
- package/dist/chunks/{snapshot-h6r3nrb9.js → skill-cpj0znwe.js} +4 -4
- package/dist/chunks/{snapshot-jm7rc1qj.js → skill-cs7wv0cd.js} +19 -19
- package/dist/chunks/{snapshot-nwcwczvr.js → skill-csejk48n.js} +28 -28
- package/dist/chunks/{snapshot-n04t6nrv.js → skill-cz4v21yz.js} +32 -32
- package/dist/chunks/{snapshot-8j2p21x9.js → skill-d4jy01b2.js} +3 -3
- package/dist/chunks/{snapshot-7fkrnyxq.js → skill-d858xzj7.js} +4 -4
- package/dist/chunks/{snapshot-8a9m2q6m.js → skill-d8dssnap.js} +31 -31
- package/dist/chunks/{snapshot-607q5haz.js → skill-db54agdm.js} +12 -12
- package/dist/chunks/{snapshot-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{snapshot-vy8smdsx.js → skill-drk835a9.js} +33 -33
- package/dist/chunks/{snapshot-xfkkasph.js → skill-drwq78ky.js} +4 -4
- package/dist/chunks/{snapshot-d9wzmzc3.js → skill-dtqg9ce1.js} +5 -5
- package/dist/chunks/{snapshot-30g8pqj5.js → skill-dwbq2wq0.js} +15 -15
- package/dist/chunks/{snapshot-ad9apwst.js → skill-dwpmf8cp.js} +24 -24
- package/dist/chunks/{snapshot-b5pkf8k9.js → skill-e16nms22.js} +17 -17
- package/dist/chunks/{snapshot-nbjpwa4f.js → skill-e3r3h2ca.js} +11 -11
- package/dist/chunks/{snapshot-624zyddg.js → skill-e89vryre.js} +18 -18
- package/dist/chunks/{snapshot-s8d7rejh.js → skill-eaj1djv9.js} +6 -6
- package/dist/chunks/{snapshot-v4jw97dc.js → skill-ec87kc5z.js} +4 -4
- package/dist/chunks/{snapshot-y7bkpsz5.js → skill-edc26kb2.js} +23 -23
- package/dist/chunks/{snapshot-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-emp0rw8a.js → skill-emy0xer2.js} +17 -17
- package/dist/chunks/{snapshot-mhkvc446.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{snapshot-erw5rpbs.js → skill-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-tzs8kqev.js → skill-ethbcf4m.js} +16 -16
- package/dist/chunks/{snapshot-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-km6nrb6d.js → skill-f4dwq1rr.js} +11 -11
- package/dist/chunks/{snapshot-f828m53h.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{snapshot-a7mdkq3p.js → skill-fcb1rjb3.js} +28 -28
- package/dist/chunks/{snapshot-x9thrr1w.js → skill-fdb6da93.js} +9 -9
- package/dist/chunks/{snapshot-0nk9z11r.js → skill-ffmy44as.js} +3 -3
- package/dist/chunks/{snapshot-kck1xgk1.js → skill-fftzdnxd.js} +5 -5
- package/dist/chunks/{snapshot-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-2mzxbbne.js → skill-g4p7jhbz.js} +13 -13
- package/dist/chunks/{snapshot-nb4jkd55.js → skill-ga07bkf0.js} +15 -15
- package/dist/chunks/{snapshot-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-sfgq3cgq.js → skill-gdgxt1ms.js} +26 -26
- package/dist/chunks/{snapshot-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/skill-h5b51rs2.js +252 -0
- package/dist/chunks/{snapshot-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-yb4td6hj.js → skill-haa2pb9w.js} +41 -41
- package/dist/chunks/{snapshot-hkfg6fzm.js → skill-hkfg6fzm.js} +2 -2
- package/dist/chunks/{snapshot-xs3zfhx9.js → skill-hpm39920.js} +7 -7
- package/dist/chunks/{snapshot-z4ryv47y.js → skill-htt7d1qe.js} +21 -21
- package/dist/chunks/{snapshot-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-cfhxasza.js → skill-j78ak35t.js} +7 -7
- package/dist/chunks/{snapshot-45jw24ds.js → skill-j9wq27ye.js} +5 -5
- package/dist/chunks/{snapshot-m9x2k754.js → skill-jbqe4h8z.js} +15 -15
- package/dist/chunks/{snapshot-ff0svapt.js → skill-jca4demv.js} +2 -2
- package/dist/chunks/{snapshot-294av9h5.js → skill-jczzady9.js} +7 -7
- package/dist/chunks/{snapshot-bzzpeszc.js → skill-jqpk3fxs.js} +17 -17
- package/dist/chunks/{snapshot-a1zeg3jw.js → skill-jrdspvxq.js} +11 -11
- package/dist/chunks/{snapshot-n1g72t29.js → skill-jxzgsp22.js} +25 -25
- package/dist/chunks/{snapshot-1g29fh3f.js → skill-jyt2tpej.js} +16 -16
- package/dist/chunks/{snapshot-ced6kcvk.js → skill-k2d1yzqh.js} +40 -40
- package/dist/chunks/{snapshot-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{snapshot-qa3qhgw8.js → skill-k76krqzs.js} +4 -4
- package/dist/chunks/{snapshot-ypk7b8cy.js → skill-k9scbgz4.js} +10 -10
- package/dist/chunks/{snapshot-9zw6sq4y.js → skill-kn352ak5.js} +20 -20
- package/dist/chunks/{snapshot-44ke2mar.js → skill-knb7evpn.js} +2 -2
- package/dist/chunks/{snapshot-w8wkjymx.js → skill-kp4nff0n.js} +58 -58
- package/dist/chunks/{snapshot-hpjjptkf.js → skill-kpmbepaz.js} +11 -11
- package/dist/chunks/{snapshot-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-mgp54d0b.js → skill-m3zza4qd.js} +8 -8
- package/dist/chunks/{snapshot-cz3v1cej.js → skill-m4jh79cr.js} +22 -22
- package/dist/chunks/{snapshot-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-mqwxc12a.js → skill-mdm24dv9.js} +11 -11
- package/dist/chunks/{snapshot-d7j1ga4e.js → skill-mt1ghr90.js} +6 -6
- package/dist/chunks/{snapshot-kyepgnfb.js → skill-mxkmbcpx.js} +26 -26
- package/dist/chunks/{snapshot-mzamgxpq.js → skill-n9cn112f.js} +33 -33
- package/dist/chunks/{snapshot-m9d03vsf.js → skill-nbzsj80d.js} +8 -8
- package/dist/chunks/{snapshot-33vh1ta1.js → skill-nc9sjc15.js} +33 -33
- package/dist/chunks/{snapshot-kts1zzak.js → skill-nprga9fx.js} +42 -42
- package/dist/chunks/skill-nqnp5e2q.js +492 -0
- package/dist/chunks/{snapshot-6anwy9fs.js → skill-nqnxh7mc.js} +6 -6
- package/dist/chunks/{snapshot-vvxj9t5p.js → skill-nvw2kphd.js} +32 -32
- package/dist/chunks/{snapshot-49s0wfnm.js → skill-nw7tcscr.js} +21 -21
- package/dist/chunks/{snapshot-fzm81a6m.js → skill-nx6th6bc.js} +8 -8
- package/dist/chunks/{snapshot-r3mw3n99.js → skill-p23qv2qc.js} +2 -2
- package/dist/chunks/{snapshot-p28j5sbe.js → skill-p28j5sbe.js} +2 -2
- package/dist/chunks/{snapshot-5yzzbxa7.js → skill-p37cw4rj.js} +8 -8
- package/dist/chunks/{snapshot-0z1gmn2q.js → skill-p4b86tx8.js} +6 -6
- package/dist/chunks/{snapshot-wavy99wc.js → skill-p6kr751s.js} +11 -11
- package/dist/chunks/{snapshot-eh6mc15a.js → skill-pfnv69sy.js} +23 -23
- package/dist/chunks/{snapshot-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-c8ey3qa9.js → skill-pk38dg6j.js} +4 -4
- package/dist/chunks/{snapshot-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-fhs97t90.js → skill-pnv527nz.js} +9 -9
- package/dist/chunks/{snapshot-mebkexss.js → skill-pq0ex9bk.js} +13 -13
- package/dist/chunks/{snapshot-6bsje7ws.js → skill-q3t37ft6.js} +3 -3
- package/dist/chunks/{snapshot-z88tvqv9.js → skill-q8q6jdt8.js} +185 -185
- package/dist/chunks/{snapshot-y070d939.js → skill-q965a9pk.js} +5 -5
- package/dist/chunks/{snapshot-zk7hjewm.js → skill-qdttw7q6.js} +47 -47
- package/dist/chunks/{snapshot-tgxkatwb.js → skill-qnhrprtx.js} +12 -12
- package/dist/chunks/{snapshot-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-hbyhqfhs.js → skill-qsr9synt.js} +5 -5
- package/dist/chunks/{snapshot-3nz1v3re.js → skill-qvzs7hvg.js} +5 -5
- package/dist/chunks/{snapshot-hmsbh1sb.js → skill-r7he9cn9.js} +35 -35
- package/dist/chunks/{snapshot-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-9etfqcq6.js → skill-rey9eyyn.js} +32 -32
- package/dist/chunks/{snapshot-e3geph7p.js → skill-rjcwc11h.js} +22 -22
- package/dist/chunks/{snapshot-172c54zz.js → skill-rn5b7vpn.js} +4 -4
- package/dist/chunks/{snapshot-q8cgqksh.js → skill-rqtkra6z.js} +9 -9
- package/dist/chunks/{snapshot-00x4qneg.js → skill-rzs3gq0x.js} +8 -8
- package/dist/chunks/{snapshot-hkms5h5a.js → skill-s2f2q6g5.js} +9 -9
- package/dist/chunks/{snapshot-dzv3kmrh.js → skill-s86qnaav.js} +13 -13
- package/dist/chunks/{snapshot-8e1b1gzh.js → skill-s8wmpz1b.js} +6 -6
- package/dist/chunks/{snapshot-n9hwvdtj.js → skill-s93198yw.js} +5 -5
- package/dist/chunks/{snapshot-7azymjpy.js → skill-s98dmevz.js} +11 -11
- package/dist/chunks/{snapshot-tt07q8xz.js → skill-sse271b5.js} +22 -22
- package/dist/chunks/{snapshot-b3y340z6.js → skill-sth16pks.js} +4 -4
- package/dist/chunks/{snapshot-r98e92ep.js → skill-sx1n432n.js} +4 -4
- package/dist/chunks/{snapshot-65jd754x.js → skill-t3bphv2x.js} +5 -5
- package/dist/chunks/{snapshot-q5rhn9x0.js → skill-t97t2t7r.js} +11 -11
- package/dist/chunks/{snapshot-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-hfm903zf.js → skill-tsksnvtb.js} +29 -29
- package/dist/chunks/{snapshot-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-r9de1bmn.js → skill-txtfabjx.js} +1 -1
- package/dist/chunks/{snapshot-d2157car.js → skill-ty7mxw4w.js} +95 -95
- package/dist/chunks/{snapshot-dj9sq318.js → skill-tz2bjj40.js} +5 -5
- package/dist/chunks/{snapshot-bg53drgn.js → skill-tzj19fy0.js} +20 -20
- package/dist/chunks/{snapshot-90xjgha7.js → skill-v8amwdt9.js} +15 -15
- package/dist/chunks/{snapshot-d416vsnr.js → skill-v8dh4nz3.js} +3 -3
- package/dist/chunks/{snapshot-apn8f15b.js → skill-va5qff5x.js} +9 -9
- package/dist/chunks/{snapshot-2gbsvbx5.js → skill-vcrvjhtj.js} +12 -12
- package/dist/chunks/{snapshot-y2qs1p31.js → skill-vd7qdfbw.js} +30 -30
- package/dist/chunks/{snapshot-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-b8mpq6j4.js → skill-vfshnhmq.js} +25 -25
- package/dist/chunks/{snapshot-mgrm5cv4.js → skill-vq7xavc1.js} +11 -11
- package/dist/chunks/{snapshot-dgf8fvr8.js → skill-vrb8d36f.js} +28 -28
- package/dist/chunks/{snapshot-j0d8z1fm.js → skill-vwvt0yj4.js} +35 -35
- package/dist/chunks/{snapshot-pnz7nghh.js → skill-vyjrmqhg.js} +15 -15
- package/dist/chunks/{snapshot-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-rsdf2nvv.js → skill-w1k39n5e.js} +4 -4
- package/dist/chunks/{snapshot-nytcgn7j.js → skill-w308r9zr.js} +58 -58
- package/dist/chunks/{snapshot-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-zeyxjqbn.js → skill-w43dcfxw.js} +8 -8
- package/dist/chunks/{snapshot-c39jsbcn.js → skill-w5nmfj9j.js} +25 -25
- package/dist/chunks/{snapshot-9w0w0c1j.js → skill-w6c82y4z.js} +4 -4
- package/dist/chunks/{snapshot-fzxx1z56.js → skill-wbcfvnt4.js} +32 -32
- package/dist/chunks/{snapshot-e6hmchc5.js → skill-wbkyxrgf.js} +5 -5
- package/dist/chunks/{snapshot-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-hzq9xz76.js → skill-wgr18wbf.js} +47 -47
- package/dist/chunks/{snapshot-ma3yc5r6.js → skill-wjybtq75.js} +6 -6
- package/dist/chunks/{snapshot-3776p8sw.js → skill-wrp2dx04.js} +8 -8
- package/dist/chunks/{snapshot-aq2wywq2.js → skill-wrz8ygnx.js} +35 -35
- package/dist/chunks/{snapshot-qjnggjk3.js → skill-wxms7b7s.js} +40 -40
- package/dist/chunks/{snapshot-pnxdc0kd.js → skill-wzsdv5th.js} +22 -22
- package/dist/chunks/{snapshot-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-94n8x2pm.js → skill-xnqsar2x.js} +10 -10
- package/dist/chunks/{snapshot-pvh61k00.js → skill-xv1v2zqz.js} +11 -11
- package/dist/chunks/{snapshot-6d1vy48w.js → skill-xzhffq4e.js} +10 -10
- package/dist/chunks/{snapshot-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-qxnm76dc.js → skill-y9b9bf3r.js} +11 -11
- package/dist/chunks/{snapshot-nedq17xz.js → skill-ycjsjtpe.js} +17 -17
- package/dist/chunks/{snapshot-bpnypz4k.js → skill-yk124667.js} +18 -18
- package/dist/chunks/{snapshot-rhraev7y.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{snapshot-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-0cahk45h.js → skill-yrtjmt84.js} +13 -13
- package/dist/chunks/{snapshot-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-sbcdk7dq.js → skill-yxpb66jc.js} +9 -9
- package/dist/chunks/{snapshot-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-emx3b1zn.js → skill-z2r3ywn4.js} +3 -3
- package/dist/chunks/{snapshot-5j2nex8k.js → skill-z3gx4d74.js} +12 -12
- package/dist/chunks/{snapshot-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{snapshot-xqwp91h3.js → skill-z7wqewzp.js} +23 -23
- package/dist/chunks/{snapshot-v6gb7zv2.js → skill-zdwe30dy.js} +6 -6
- package/dist/chunks/{snapshot-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-723jqqe8.js → skill-zfj4vk7j.js} +41 -41
- package/dist/chunks/{snapshot-fk7pz3cy.js → skill-zg35pp16.js} +26 -26
- package/dist/chunks/{snapshot-rdzsqw97.js → skill-zm048y03.js} +3 -3
- package/dist/chunks/{snapshot-8fpnzef2.js → skill-zpk379h4.js} +19 -19
- package/dist/chunks/{snapshot-7bqvh5f8.js → skill-zqjwjz6j.js} +5 -5
- package/dist/chunks/{snapshot-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-5twwxv4s.js → skill-zwjr63rt.js} +27 -27
- package/dist/chunks/{snapshot-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{snapshot-6bctew4d.js → skill-zytaxaq1.js} +20 -20
- package/dist/chunks/{snapshot-341czked.js → skill-zzp4szp6.js} +12 -12
- package/dist/chunks/{snapshot-r5zgs4xn.js → skill-zzw84r5z.js} +26 -26
- 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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- 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 +139 -139
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +95 -95
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +85 -85
- 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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +119 -119
- 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 +91 -91
- 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 +119 -119
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- 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 +131 -131
- 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 +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- 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 +215 -215
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +14 -14
- 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 +3 -3
- 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 +2 -2
- 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/snapshot-9zdhvgqs.js +0 -18
- package/dist/chunks/snapshot-mvww34c5.js +0 -26
- package/dist/chunks/snapshot-n886nese.js +0 -492
- package/dist/chunks/snapshot-qbk6x2f6.js +0 -252
- /package/dist/chunks/{snapshot-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{snapshot-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-445xt372.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./skill-abgq2xrr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node50
|
|
12
|
+
} from "./skill-dwpmf8cp.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service41,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node44
|
|
20
|
+
} from "./skill-7f8094m0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service77,
|
|
23
|
+
node81
|
|
24
|
+
} from "./skill-2eegacq4.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service37,
|
|
27
|
+
node40
|
|
28
|
+
} from "./skill-rzs3gq0x.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-q3t37ft6.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service39,
|
|
35
|
+
node42
|
|
36
|
+
} from "./skill-bgk5qnzj.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./skill-vcrvjhtj.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service36,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node39
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service36 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
|
+
const location = yield* Service78;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service41;
|
|
94
|
+
const environment = yield* Service47;
|
|
95
|
+
const hooks = yield* Service77;
|
|
96
|
+
const environments = yield* Service37;
|
|
97
|
+
const config = yield* Service39;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service36.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node39 = makeLocationNode({
|
|
320
|
+
service: Service36,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node86,
|
|
324
|
+
node82,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node44,
|
|
327
|
+
node50,
|
|
328
|
+
node81,
|
|
329
|
+
node40,
|
|
330
|
+
node42,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { NotFoundError7, RETENTION2, DIRECTORY2,
|
|
335
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service36, cleanup2, node39, exports_shell4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./skill-445xt372.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./skill-htt7d1qe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin47,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin47 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service62;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin47, exports_plugin };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin9 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin9, exports_tool_input_repair };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./skill-rey9eyyn.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service66;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-445xt372.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service66,
|
|
12
|
+
node69,
|
|
13
|
+
Event14
|
|
14
|
+
} from "./skill-rey9eyyn.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./skill-abgq2xrr.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event13,
|
|
41
|
+
ID: () => ID8,
|
|
42
|
+
Info: () => Info21,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service65,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node68,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
68
|
+
var ID8 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info21 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service65 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service82;
|
|
230
|
+
const integrations = yield* Service66;
|
|
231
|
+
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service65.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node86, node69, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service65, node68, exports_provider3, Event13 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-445xt372.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./skill-n9cn112f.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-tsksnvtb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service66,
|
|
44
|
+
node: () => node69
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
66
|
+
var ID9 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info23 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID9,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service68;
|
|
110
|
+
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info23.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service66.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key3.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node69 = makeLocationNode({
|
|
583
|
+
service: Service66,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node71, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event14 };
|