@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./skill-tsksnvtb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./skill-kp4nff0n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service33
|
|
14
|
+
} from "./skill-csejk48n.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin40 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service74;
|
|
53
|
+
const forms = yield* Service67;
|
|
54
|
+
const websearch = yield* Service33;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description2, Input5, Plugin40, exports_websearch2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-zm048y03.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./skill-445xt372.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service68,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node71
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service68.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event16, Info25, Service68, node71, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./skill-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./skill-abgq2xrr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./skill-dwpmf8cp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./skill-8v82sp9j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-pq0ex9bk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./skill-kp4nff0n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service73,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-yk124667.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./skill-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
39
|
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin42,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output3 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin42 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service47;
|
|
112
|
+
const access = yield* Service73;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service74;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input7,
|
|
122
122
|
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin37 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output3, toModelContent4, Plugin42, exports_patch };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service81
|
|
4
|
+
} from "./skill-53ttffxc.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./skill-drk835a9.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./skill-bgk5qnzj.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./skill-9thjjcjr.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./skill-kp4nff0n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service19
|
|
25
|
+
} from "./skill-ty7mxw4w.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-wrp2dx04.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin44 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service19;
|
|
93
|
+
const jobs = yield* Service59;
|
|
94
|
+
const agents = yield* Service81;
|
|
95
|
+
const config = yield* Service39;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service64;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin42 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin42 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin42 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID18.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name9];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name9, Input9, Output5, description4, Plugin44, exports_subagent };
|