@opencode/core 0.0.0-dev-20732 → 0.0.0-dev-20737
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-m30qs711.js → skill-06wsxt2c.js} +29 -29
- package/dist/chunks/{location-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-pqst28f9.js → skill-0wfjtxyk.js} +20 -20
- package/dist/chunks/{location-v812q89j.js → skill-10q5xqqa.js} +9 -9
- package/dist/chunks/{location-m70vqwee.js → skill-19tdy48r.js} +16 -16
- package/dist/chunks/{location-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-1dvck2a7.js → skill-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-95f4yj9r.js → skill-1ffbm2jk.js} +11 -11
- package/dist/chunks/{location-v7qwwke9.js → skill-1n3md1y5.js} +14 -14
- package/dist/chunks/skill-1nrzyvtq.js +253 -0
- package/dist/chunks/{location-mawpmn43.js → skill-1nzh38e4.js} +9 -9
- package/dist/chunks/{location-cfsekr6v.js → skill-1p07q0wb.js} +4 -4
- package/dist/chunks/{location-w2h15q85.js → skill-1pxz8ven.js} +5 -5
- package/dist/chunks/{location-0n2ztf6h.js → skill-1r57angp.js} +12 -12
- package/dist/chunks/{location-cf6066tf.js → skill-1scbvhtv.js} +29 -29
- package/dist/chunks/{location-gmpz9h40.js → skill-1tw2jwmk.js} +19 -19
- package/dist/chunks/{location-rhchahe3.js → skill-23q06crd.js} +8 -8
- package/dist/chunks/{location-a9jnh2ry.js → skill-25x68gpd.js} +10 -10
- package/dist/chunks/{location-mqvx1r3j.js → skill-277t2enf.js} +11 -11
- package/dist/chunks/{location-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-gt93hrec.js → skill-2hyensw7.js} +8 -8
- package/dist/chunks/{location-j151k726.js → skill-2k371w3m.js} +24 -24
- package/dist/chunks/{location-fcrkznn8.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{location-e1raa5mm.js → skill-2vjrrp5b.js} +9 -9
- package/dist/chunks/{location-nfcraa34.js → skill-38bd0qn4.js} +23 -23
- package/dist/chunks/{location-xmgjmham.js → skill-38hn9kqs.js} +24 -24
- package/dist/chunks/{location-tbmv8js2.js → skill-39z6f63w.js} +71 -71
- package/dist/chunks/{location-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-n1exqw8h.js → skill-3pwb08cy.js} +3 -3
- package/dist/chunks/{location-8dtbrnbt.js → skill-3px26116.js} +23 -23
- package/dist/chunks/{location-pp7e5es3.js → skill-3qaj82j9.js} +5 -5
- package/dist/chunks/{location-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-j2kw60gk.js → skill-3wc4h5vb.js} +13 -13
- package/dist/chunks/{location-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-xrbnp9j2.js → skill-43kacva0.js} +4 -4
- package/dist/chunks/{location-xg1vnfsw.js → skill-44ektz7s.js} +3 -3
- package/dist/chunks/{location-k212rrg8.js → skill-44zr7wmx.js} +4 -4
- package/dist/chunks/{location-tmtg3qgf.js → skill-489wr3gf.js} +60 -60
- package/dist/chunks/{location-2ccvkpx1.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-bapvy5v2.js → skill-50z82c7r.js} +3 -3
- package/dist/chunks/{location-g5w8qwbj.js → skill-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-zn575rda.js → skill-5psp9g7y.js} +11 -11
- package/dist/chunks/{location-zd7wpxs7.js → skill-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-e3qxr5gk.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-7c2a2ky2.js → skill-5x6e9h63.js} +11 -11
- package/dist/chunks/{location-4z2gahf8.js → skill-61pe18x3.js} +16 -16
- package/dist/chunks/{location-8pxx9679.js → skill-6bb6h48a.js} +91 -91
- package/dist/chunks/{location-karyz3y9.js → skill-6h0170s0.js} +27 -27
- package/dist/chunks/{location-fzncz4bm.js → skill-6qtqgym6.js} +20 -20
- package/dist/chunks/{location-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-9mr8vnz8.js → skill-6xssvdrk.js} +14 -14
- package/dist/chunks/{location-nb0mgk1p.js → skill-6yhjnbtw.js} +24 -24
- package/dist/chunks/{location-71az546q.js → skill-71az546q.js} +2 -2
- package/dist/chunks/{location-r3hk3vvb.js → skill-72rdzmg5.js} +34 -34
- package/dist/chunks/{location-d4rbh6ak.js → skill-79z4s1s6.js} +20 -20
- package/dist/chunks/{location-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-31c09hs0.js → skill-7gvtk0qz.js} +5 -5
- package/dist/chunks/{location-zv7jazps.js → skill-7ntjdhca.js} +26 -26
- package/dist/chunks/{location-kg64916e.js → skill-7pezb3n5.js} +3 -3
- package/dist/chunks/{location-d8s2zm1x.js → skill-7s6ywcxg.js} +11 -11
- package/dist/chunks/{location-e5mvmyh8.js → skill-7t1q934f.js} +10 -10
- package/dist/chunks/{location-9zzqkcja.js → skill-84vxcqvw.js} +13 -13
- package/dist/chunks/{location-tgrcp62g.js → skill-8bs2why9.js} +15 -15
- package/dist/chunks/{location-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-g32vcz6j.js → skill-8eakngdv.js} +34 -34
- package/dist/chunks/{location-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-9p6p0atc.js → skill-8rbyn89s.js} +18 -18
- package/dist/chunks/{location-69yjwdf1.js → skill-99ts872a.js} +17 -17
- package/dist/chunks/{location-9e5bzkjp.js → skill-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-1v83qqqa.js → skill-9jcb1sx6.js} +33 -33
- package/dist/chunks/{location-7dcrx3ae.js → skill-9psmcpyj.js} +20 -20
- package/dist/chunks/{location-zhkbw3m9.js → skill-9s9cscsz.js} +5 -5
- package/dist/chunks/{location-q552wz1s.js → skill-9sn56ns6.js} +16 -16
- package/dist/chunks/{location-9ktdg2kj.js → skill-9svtd541.js} +31 -31
- package/dist/chunks/skill-9zdhvgqs.js +18 -0
- package/dist/chunks/{location-pqza79a5.js → skill-9zwvgpfx.js} +32 -32
- package/dist/chunks/{location-yvb4exc7.js → skill-a310axxt.js} +10 -10
- package/dist/chunks/{location-f23k8efd.js → skill-a4xvcdkg.js} +35 -35
- package/dist/chunks/{location-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-36663d4h.js → skill-afg4t0pj.js} +27 -27
- package/dist/chunks/{location-f2mfbnxq.js → skill-anghpc0j.js} +7 -7
- package/dist/chunks/{location-cdqe3acw.js → skill-ax36eyar.js} +6 -6
- package/dist/chunks/{location-fa5a6z34.js → skill-b1rh2849.js} +1 -1
- package/dist/chunks/{location-b3f8fkhc.js → skill-b3f8fkhc.js} +2 -2
- package/dist/chunks/{location-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-84hvk1m2.js → skill-bkwdswef.js} +12 -12
- package/dist/chunks/{location-dfd5mgtk.js → skill-bqcj8w0k.js} +21 -21
- package/dist/chunks/{location-6jz79czp.js → skill-bsprd9wx.js} +9 -9
- package/dist/chunks/{location-a6w7x0dp.js → skill-btm5bz2x.js} +3 -3
- package/dist/chunks/{location-wbgabvvj.js → skill-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-hq78km43.js → skill-c05ds52p.js} +21 -21
- package/dist/chunks/{location-x9grm7g9.js → skill-c06b7ecc.js} +13 -13
- package/dist/chunks/{location-vepwfmka.js → skill-c1xseb8n.js} +2 -2
- package/dist/chunks/{location-g0kw0tj5.js → skill-cbcz0cm3.js} +14 -14
- package/dist/chunks/{location-ydq3cy3j.js → skill-cmw5tbtb.js} +19 -19
- package/dist/chunks/{location-99wenzhp.js → skill-cv3bhqd6.js} +24 -24
- package/dist/chunks/{location-6ga60bwb.js → skill-cx0wkq69.js} +29 -29
- package/dist/chunks/{location-vcjw93zb.js → skill-cz4dmrjy.js} +29 -29
- package/dist/chunks/{location-ff1nx8de.js → skill-dd39rsm0.js} +325 -325
- package/dist/chunks/{location-smss3raw.js → skill-ddd3fjw8.js} +16 -16
- package/dist/chunks/{location-dn50s6hc.js → skill-dg5q8gvb.js} +43 -43
- package/dist/chunks/{location-34f7k92p.js → skill-djcq789t.js} +47 -47
- package/dist/chunks/{location-862dge66.js → skill-dkd21v3p.js} +13 -13
- package/dist/chunks/{location-n38m8ysg.js → skill-dnk9eqsn.js} +35 -35
- package/dist/chunks/{location-yjnzakaj.js → skill-dpk64jtg.js} +4 -4
- package/dist/chunks/{location-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-z8w2whtk.js → skill-dw07500w.js} +1 -1
- package/dist/chunks/{location-kmg3b8a8.js → skill-dw45dz0p.js} +86 -86
- package/dist/chunks/{location-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-tjedn1bk.js → skill-ermxvwhp.js} +4 -4
- package/dist/chunks/{location-tbe4vfsv.js → skill-esvm55dh.js} +11 -11
- package/dist/chunks/{location-gdxj8ks4.js → skill-et6w6b4v.js} +28 -28
- package/dist/chunks/{location-bsjw1qxa.js → skill-etpqnkca.js} +6 -6
- package/dist/chunks/{location-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-w3766evm.js → skill-evd1sev3.js} +25 -25
- package/dist/chunks/{location-wtn9vyqv.js → skill-ezajbw9f.js} +11 -11
- package/dist/chunks/{location-sgszqgg5.js → skill-f1j5wxkf.js} +37 -37
- package/dist/chunks/{location-mek16e5d.js → skill-f59ep6tb.js} +11 -11
- package/dist/chunks/{location-6355zzhx.js → skill-fd1vwam1.js} +7 -7
- package/dist/chunks/{location-vdygypy1.js → skill-fe06vw8c.js} +6 -6
- package/dist/chunks/{location-bty85w2p.js → skill-fh1gv0p9.js} +24 -24
- package/dist/chunks/{location-207ajt2h.js → skill-fwfdmgk0.js} +5 -5
- package/dist/chunks/{location-sqfjvg79.js → skill-fzqzk99w.js} +24 -24
- package/dist/chunks/{location-g0445xdp.js → skill-g0445xdp.js} +1 -1
- package/dist/chunks/{location-rvf0m9x6.js → skill-g1sxm558.js} +8 -8
- package/dist/chunks/{location-26tgw3q9.js → skill-g7ff7jg9.js} +20 -20
- package/dist/chunks/{location-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-vn0evt42.js → skill-gfjbtf19.js} +9 -9
- package/dist/chunks/{location-n8sna2wb.js → skill-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-1z74wxwj.js → skill-gpeaf9sh.js} +27 -27
- package/dist/chunks/{location-gnvmv7zt.js → skill-grcnrnkn.js} +18 -18
- package/dist/chunks/{location-0hmrebdx.js → skill-grx4rdsz.js} +36 -36
- package/dist/chunks/skill-gsr5nhzc.js +26 -0
- package/dist/chunks/{location-h2b79v29.js → skill-h2b79v29.js} +2 -2
- package/dist/chunks/{location-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-gd0tnyjc.js → skill-he27pt63.js} +1 -1
- package/dist/chunks/{location-1h05fpfc.js → skill-hhjqsc24.js} +1 -1
- package/dist/chunks/{location-k76fn4kw.js → skill-hn57h045.js} +4 -4
- package/dist/chunks/{location-r0dh3q8k.js → skill-j3asptbj.js} +22 -22
- package/dist/chunks/{location-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-e9de3xxg.js → skill-ja7j58wk.js} +13 -13
- package/dist/chunks/{location-grhdqs63.js → skill-jd8va912.js} +13 -13
- package/dist/chunks/{location-v882ey3h.js → skill-jj92brwa.js} +2 -2
- package/dist/chunks/{location-018g50k6.js → skill-jmgecx2v.js} +8 -8
- package/dist/chunks/{location-nwav4b6k.js → skill-jx51jahy.js} +8 -8
- package/dist/chunks/{location-hkwpvpak.js → skill-k5s3j7zg.js} +19 -19
- package/dist/chunks/{location-2d90wz9s.js → skill-kefyc7dx.js} +11 -11
- package/dist/chunks/{location-9n10r3b6.js → skill-kk9nk0jx.js} +27 -27
- package/dist/chunks/{location-m3c0a78p.js → skill-ktw2vd1c.js} +11 -11
- package/dist/chunks/{location-fjzgnj6k.js → skill-kx20hmfv.js} +18 -18
- package/dist/chunks/{location-0meaf1wg.js → skill-kys24f1n.js} +11 -11
- package/dist/chunks/{location-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-3df827ch.js → skill-m799t65h.js} +3 -3
- package/dist/chunks/{location-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-xd2nvtk7.js → skill-meh60f5s.js} +17 -17
- package/dist/chunks/{location-1ygqh575.js → skill-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-43355rh8.js → skill-mh24axys.js} +46 -46
- package/dist/chunks/{location-4bk00v8h.js → skill-mjqndqed.js} +12 -12
- package/dist/chunks/{location-6sr3ve8g.js → skill-mjymc32g.js} +21 -21
- package/dist/chunks/{location-327nxpht.js → skill-mkn9c7m3.js} +19 -19
- package/dist/chunks/{location-eq1pz5kg.js → skill-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-c2x78mxc.js → skill-n25gp9gg.js} +35 -35
- package/dist/chunks/{location-wp27whg1.js → skill-n4wrc38t.js} +10 -10
- package/dist/chunks/{location-s13q9xsn.js → skill-n90hmzqc.js} +22 -22
- package/dist/chunks/{location-0mprnhvr.js → skill-npvj8sw0.js} +18 -18
- package/dist/chunks/{location-jdg8p4tj.js → skill-p4cjcapg.js} +9 -9
- package/dist/chunks/{location-ca0nj0by.js → skill-p4mr7sfp.js} +25 -25
- package/dist/chunks/{location-taen15gp.js → skill-p780t5np.js} +29 -29
- package/dist/chunks/{location-k9anv2x6.js → skill-p85f44de.js} +21 -21
- package/dist/chunks/{location-gdaft186.js → skill-pbh0vz0q.js} +11 -11
- package/dist/chunks/{location-pcxghkgz.js → skill-pc4b88sv.js} +4 -4
- package/dist/chunks/{location-ksatnkbz.js → skill-pftnhemm.js} +26 -26
- package/dist/chunks/{location-a3c7ahw6.js → skill-pgp1nwjn.js} +4 -4
- package/dist/chunks/{location-xbp45kg1.js → skill-ph4ax9de.js} +15 -15
- package/dist/chunks/{location-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-nj66ja0z.js → skill-psx2xk5v.js} +58 -58
- package/dist/chunks/{location-ypw6bvy6.js → skill-pt6ynb3r.js} +6 -6
- package/dist/chunks/{location-djq871tb.js → skill-ptt2rvrg.js} +6 -6
- package/dist/chunks/{location-0j77ygfz.js → skill-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-f20kv32e.js → skill-q89h793z.js} +11 -11
- package/dist/chunks/{location-p7vebjqd.js → skill-qc8pb49h.js} +17 -17
- package/dist/chunks/{location-6zbg9ej9.js → skill-qhtzv5m2.js} +49 -49
- package/dist/chunks/{location-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-9e7ntz7n.js → skill-qt9r0byv.js} +13 -13
- package/dist/chunks/{location-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-vz992avt.js → skill-qxwwzzg1.js} +16 -16
- package/dist/chunks/{location-9prv77hx.js → skill-r0s95t1n.js} +9 -9
- package/dist/chunks/{location-r2m716tb.js → skill-r2m716tb.js} +2 -2
- package/dist/chunks/{location-sdgwcra8.js → skill-r2pqz3tk.js} +4 -4
- package/dist/chunks/{location-54ma36ye.js → skill-r94pvvab.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-wd6s3dg2.js → skill-rqpv8srm.js} +36 -36
- package/dist/chunks/{location-s8mh1nra.js → skill-s244nafr.js} +3 -3
- package/dist/chunks/{location-72zy0jqs.js → skill-s5szkcnr.js} +11 -11
- package/dist/chunks/{location-daz4xq7q.js → skill-s72jh12f.js} +13 -13
- package/dist/chunks/{location-t550f9t1.js → skill-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-y9t8hm03.js → skill-sd90cypy.js} +15 -15
- package/dist/chunks/{location-339acx8g.js → skill-sjnp66q1.js} +5 -5
- package/dist/chunks/{location-w2khkhy7.js → skill-sjpyckkz.js} +23 -23
- package/dist/chunks/{location-aagvde34.js → skill-sjztfj4p.js} +32 -32
- package/dist/chunks/{location-kbe6f2sn.js → skill-snq0zncn.js} +33 -33
- package/dist/chunks/{location-6r5wz7qt.js → skill-sq06bhpk.js} +26 -26
- package/dist/chunks/{location-jkzf7ay7.js → skill-stha93yf.js} +3 -3
- package/dist/chunks/{location-11ddt8jx.js → skill-swvjn5a3.js} +3 -3
- package/dist/chunks/{location-xfe76f1r.js → skill-szp886pa.js} +22 -22
- package/dist/chunks/{location-m793x516.js → skill-t874xgby.js} +156 -156
- package/dist/chunks/{location-w3x9v1nk.js → skill-t89fqycx.js} +8 -8
- package/dist/chunks/{location-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-gqft2nrr.js → skill-tbhgqgrp.js} +6 -6
- package/dist/chunks/{location-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-v0es1rhs.js → skill-tg7bkhef.js} +7 -7
- package/dist/chunks/{location-dchhcxvn.js → skill-tqdm0hxx.js} +9 -9
- package/dist/chunks/{location-pz79f5fk.js → skill-ty8gx314.js} +9 -9
- package/dist/chunks/{location-124d3sga.js → skill-v0yy4vhd.js} +15 -15
- package/dist/chunks/{location-12arssw0.js → skill-v3zmb1fx.js} +28 -28
- package/dist/chunks/{location-a2ew8a62.js → skill-v5dkyp31.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-h4kgzxf5.js → skill-vhhspe0b.js} +2 -2
- package/dist/chunks/{location-q3ra36g2.js → skill-vhryn6dg.js} +30 -30
- package/dist/chunks/{location-1kn9js94.js → skill-vpywqx1w.js} +1 -1
- package/dist/chunks/{location-xcd0eash.js → skill-vqfzq50h.js} +6 -6
- package/dist/chunks/{location-pdz1qa80.js → skill-vt7e675m.js} +8 -8
- package/dist/chunks/{location-xkhfjrgz.js → skill-vx3jgdek.js} +2 -2
- package/dist/chunks/{location-h9wy77ww.js → skill-vxcp0z3k.js} +7 -7
- package/dist/chunks/{location-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w1eejvng.js → skill-w1eejvng.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-8bwmh9pn.js → skill-w45mwdha.js} +10 -10
- package/dist/chunks/{location-yqjnaa28.js → skill-w8kt14yd.js} +15 -15
- package/dist/chunks/{location-f3b2zyky.js → skill-waawk074.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-5z77wtmw.js → skill-web09d21.js} +3 -3
- package/dist/chunks/{location-wcp7fp92.js → skill-wex12k0g.js} +50 -50
- package/dist/chunks/{location-hvtsb2k8.js → skill-wex2zvbh.js} +9 -9
- package/dist/chunks/{location-rwkyravt.js → skill-wnqy2pcn.js} +16 -16
- package/dist/chunks/{location-n8wxvzz9.js → skill-wxzftkw1.js} +12 -12
- package/dist/chunks/{location-addxnjmp.js → skill-x661k3y3.js} +4 -4
- package/dist/chunks/{location-nc6y641n.js → skill-xfzxapbj.js} +27 -27
- package/dist/chunks/{location-4f3k4dbg.js → skill-xg8xczng.js} +15 -15
- package/dist/chunks/{location-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-5e7vn2h5.js → skill-xr713843.js} +18 -18
- package/dist/chunks/{location-e2mk3tg3.js → skill-y0hp3gkb.js} +4 -4
- package/dist/chunks/{location-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-m242qanr.js → skill-y335f8qg.js} +39 -39
- package/dist/chunks/{location-pv7j4d88.js → skill-y7dfz63f.js} +17 -17
- package/dist/chunks/{location-05xfxpq7.js → skill-yg6nt6v4.js} +5 -5
- package/dist/chunks/{location-s7hewkcj.js → skill-yh35n21a.js} +14 -14
- package/dist/chunks/{location-jt92w6zc.js → skill-yknazq4b.js} +23 -23
- package/dist/chunks/{location-adz22r75.js → skill-ykvgmq8e.js} +13 -13
- package/dist/chunks/{location-1acjjqhc.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-mvw81cf0.js → skill-yrk4rgjd.js} +27 -27
- package/dist/chunks/{location-eaz2j5p8.js → skill-ywfjxz2y.js} +8 -8
- package/dist/chunks/{location-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-r9w3djhf.js → skill-z4ztj7g0.js} +9 -9
- package/dist/chunks/{location-zxraynqz.js → skill-z6rxv4fn.js} +23 -23
- package/dist/chunks/{location-5dbyheb1.js → skill-za34rbws.js} +50 -50
- package/dist/chunks/{location-z0m1wg4b.js → skill-za48msp1.js} +4 -4
- package/dist/chunks/{location-2m8jawch.js → skill-zfs8ae4p.js} +4 -4
- package/dist/chunks/{location-hapgv9v5.js → skill-zmfpt6bt.js} +26 -26
- package/dist/chunks/{location-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-98875m2v.js → skill-zr91fnzj.js} +20 -20
- package/dist/chunks/{location-4z58m4b4.js → skill-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-jdrd3c06.js → skill-ztj6b4n1.js} +1 -1
- package/dist/chunks/{location-4nqe1xb5.js → skill-ztpyyfxw.js} +14 -14
- package/dist/chunks/{location-dzy5aakp.js → skill-zv33fkyr.js} +12 -12
- package/dist/chunks/{location-73r4cdwa.js → skill-zvbjdhz9.js} +15 -15
- package/dist/chunks/{location-vrts8c30.js → skill-zwb3m7a4.js} +15 -15
- package/dist/chunks/{location-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-qkseqq5s.js → skill-zxx8wx1f.js} +27 -27
- package/dist/chunks/{location-y0tgs2ts.js → skill-zzbsmw59.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- 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 +116 -116
- 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 +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- 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 +129 -129
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-7veege35.js +0 -26
- package/dist/chunks/location-9sh4wc5j.js +0 -18
- package/dist/chunks/location-xwd6n8tx.js +0 -253
- /package/dist/chunks/{location-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -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
|
+
Service77
|
|
8
|
+
} from "./skill-9sn56ns6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./skill-6yhjnbtw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./skill-xg8xczng.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ykvgmq8e.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./skill-489wr3gf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-npvj8sw0.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: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
41
|
Plugin: () => Plugin41,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
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 name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,11 +96,11 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (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(`
|
|
@@ -108,18 +108,18 @@ var toModelContent4 = (output) => [
|
|
|
108
108
|
var Plugin41 = {
|
|
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* Service58;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service19;
|
|
115
|
+
const location = yield* Service77;
|
|
116
|
+
const permission = yield* Service64;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(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 { name5, Input5, Applied2, Output5, toModelContent3, Plugin41, exports_patch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./skill-06wsxt2c.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service27,
|
|
20
|
+
node: () => node31
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service79;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node83] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node31, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service43,
|
|
6
|
+
node45
|
|
7
|
+
} from "./skill-snq0zncn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service43;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service23.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node26 = makeLocationNode({
|
|
74
|
+
service: Service23,
|
|
75
|
+
layer: layer11,
|
|
76
|
+
deps: [node45, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service23, layer11, node26, exports_generate };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node66
|
|
5
|
+
} from "./skill-5x6e9h63.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-zsr4wwhv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node71
|
|
13
|
+
} from "./skill-g1sxm558.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-489wr3gf.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-cbcz0cm3.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-szp886pa.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get4
|
|
25
|
+
} from "./skill-r94pvvab.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service31,
|
|
28
|
+
node34
|
|
29
|
+
} from "./skill-1ffbm2jk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make14
|
|
32
|
+
} from "./skill-57b9ws8p.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./skill-he27pt63.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service28,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer12,
|
|
48
|
+
node: () => node32,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service67;
|
|
162
|
+
const transport = yield* Service31;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -185,7 +185,7 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
185
185
|
const entries = Object.entries(shaped.options);
|
|
186
186
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
187
187
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
188
|
-
const affinity =
|
|
188
|
+
const affinity = get4(session);
|
|
189
189
|
const base = LLM.request({
|
|
190
190
|
model: model.model,
|
|
191
191
|
http: {
|
|
@@ -264,17 +264,17 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service28.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node32 = makeLocationNode({
|
|
275
|
+
service: Service28,
|
|
276
|
+
layer: layer12,
|
|
277
|
+
deps: [node71, node34, node66]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer12, node32, exports_model_request };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./skill-yrk4rgjd.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./skill-esvm55dh.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-waawk074.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./skill-mh24axys.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin13
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin13 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service51;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin25 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin13, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./skill-9sn56ns6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service77;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./skill-p780t5np.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service77,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service77 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service77, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service77, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service78;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service77.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service77,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref4, response2, Service77, node81, boundNode2, exports_location };
|