@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
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-mjqndqed.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-swvjn5a3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./skill-1r57angp.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-p780t5np.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-9sn56ns6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service56,
|
|
33
|
+
node58
|
|
34
|
+
} from "./skill-tqdm0hxx.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service55
|
|
41
|
+
} from "./skill-c05ds52p.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./skill-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info14,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service54,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node56
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event9 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service54 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service56;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service55).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service54.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node56 = Node.makeGlobalNode({
|
|
260
|
+
service: Service54,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node58]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service54, node56, exports_worktree2, OperationError2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-swvjn5a3.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
|
+
node: () => node85
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service81 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service81.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service81, node85, exports_kv };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./skill-1r57angp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./skill-9sn56ns6.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service66,
|
|
14
|
+
node70
|
|
15
|
+
} from "./skill-6xssvdrk.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service66;
|
|
41
|
+
const location = yield* Service77;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node87, FSUtil.node, node81, node70]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-p780t5np.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./skill-9sn56ns6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node68
|
|
14
|
+
} from "./skill-489wr3gf.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service77;
|
|
55
|
+
const permission = yield* Service64;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node81, node68] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-1scbvhtv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node46
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service44 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service44.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node46 = makeLocationNode({ service: Service44, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service44, locationLayer2, node46, exports_aisdk };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./skill-489wr3gf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service63
|
|
10
|
+
} from "./skill-et6w6b4v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin49,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
|
+
id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin49 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service63;
|
|
51
|
+
const permission = yield* Service64;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin45 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin49, exports_skill3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-swvjn5a3.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./skill-1r57angp.js";
|
|
8
12
|
import {
|
|
9
13
|
Service82,
|
|
10
14
|
node86
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service81,
|
|
14
|
-
node85
|
|
15
|
-
} from "./location-4bk00v8h.js";
|
|
15
|
+
} from "./skill-mjqndqed.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-tg7bkhef.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
|
-
Info: () =>
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service78,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -58,7 +58,7 @@ import { Hash } from "@opencode/util/hash";
|
|
|
58
58
|
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service78 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
187
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service78.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node82 = makeGlobalNode({
|
|
288
|
+
service: Service78,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service78, node82, exports_project };
|