@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20732
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +5 -5
- package/dist/bus.js +74 -74
- package/dist/chunks/{schema-a1jye2k7.js → location-018g50k6.js} +6 -6
- package/dist/chunks/{schema-g2y161wv.js → location-05xfxpq7.js} +5 -5
- package/dist/chunks/{schema-m87mmgzw.js → location-0hmrebdx.js} +36 -36
- package/dist/chunks/{schema-0j77ygfz.js → location-0j77ygfz.js} +2 -2
- package/dist/chunks/{schema-dh0webm5.js → location-0meaf1wg.js} +7 -7
- package/dist/chunks/{schema-erjffywh.js → location-0mprnhvr.js} +18 -18
- package/dist/chunks/{schema-02g264nc.js → location-0n2ztf6h.js} +12 -12
- package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-rp4sdv0x.js → location-11ddt8jx.js} +3 -3
- package/dist/chunks/{schema-4zmcj57q.js → location-124d3sga.js} +13 -13
- package/dist/chunks/{schema-h74kgs22.js → location-12arssw0.js} +28 -28
- package/dist/chunks/{schema-yp2x3t23.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-84h8c373.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{schema-840fpbhq.js → location-1h05fpfc.js} +1 -1
- package/dist/chunks/{schema-hk2k4rxs.js → location-1kn9js94.js} +1 -1
- package/dist/chunks/{schema-y415rrbf.js → location-1v83qqqa.js} +35 -35
- package/dist/chunks/{schema-1ygqh575.js → location-1ygqh575.js} +2 -2
- package/dist/chunks/{schema-yd8mzne0.js → location-1z74wxwj.js} +24 -24
- package/dist/chunks/{schema-vykevjvn.js → location-207ajt2h.js} +5 -5
- package/dist/chunks/{schema-pdeqb1sv.js → location-26tgw3q9.js} +14 -14
- package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2ccvkpx1.js → location-2ccvkpx1.js} +2 -2
- package/dist/chunks/{schema-z7rpvhac.js → location-2d90wz9s.js} +9 -9
- package/dist/chunks/{schema-ykt494b9.js → location-2m8jawch.js} +4 -4
- package/dist/chunks/{schema-kt27ghqn.js → location-31c09hs0.js} +5 -5
- package/dist/chunks/{schema-daptfcmc.js → location-327nxpht.js} +19 -19
- package/dist/chunks/{schema-w9cms8xc.js → location-339acx8g.js} +5 -5
- package/dist/chunks/{schema-rjjkcyvm.js → location-34f7k92p.js} +42 -42
- package/dist/chunks/{schema-2s47eas1.js → location-36663d4h.js} +26 -26
- package/dist/chunks/{schema-2hmemtj6.js → location-3df827ch.js} +3 -3
- package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-tdhpy44v.js → location-43355rh8.js} +20 -20
- package/dist/chunks/{schema-rrpq0de9.js → location-4bk00v8h.js} +12 -12
- package/dist/chunks/{schema-5byh5fbq.js → location-4f3k4dbg.js} +15 -15
- package/dist/chunks/{schema-crh2qmpd.js → location-4nqe1xb5.js} +11 -11
- package/dist/chunks/{schema-ymaah0de.js → location-4z2gahf8.js} +23 -23
- package/dist/chunks/{schema-4z58m4b4.js → location-4z58m4b4.js} +1 -1
- package/dist/chunks/{schema-r94pvvab.js → location-54ma36ye.js} +4 -4
- package/dist/chunks/{schema-xea99qfv.js → location-5dbyheb1.js} +47 -47
- package/dist/chunks/{schema-82kvrph2.js → location-5e7vn2h5.js} +16 -16
- package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-tjtvkmkx.js → location-5z77wtmw.js} +3 -3
- package/dist/chunks/{schema-snvwhan6.js → location-6355zzhx.js} +5 -5
- package/dist/chunks/{schema-k60d36ch.js → location-69yjwdf1.js} +20 -20
- package/dist/chunks/{schema-rewxngkf.js → location-6ga60bwb.js} +32 -32
- package/dist/chunks/{schema-47rn6gb0.js → location-6jz79czp.js} +3 -3
- package/dist/chunks/{schema-zs20n4td.js → location-6r5wz7qt.js} +18 -18
- package/dist/chunks/{schema-vsp1fds9.js → location-6sr3ve8g.js} +4 -4
- package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-xr03j6kv.js → location-6zbg9ej9.js} +49 -49
- package/dist/chunks/{schema-f75zav2x.js → location-71az546q.js} +2 -2
- package/dist/chunks/{schema-zs6nm7rs.js → location-72zy0jqs.js} +9 -9
- package/dist/chunks/{schema-2663q2cr.js → location-73r4cdwa.js} +17 -17
- package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-6gkjayg0.js → location-7c2a2ky2.js} +7 -7
- package/dist/chunks/{schema-mhrxr73y.js → location-7dcrx3ae.js} +15 -15
- package/dist/chunks/{schema-jtr36q24.js → location-7veege35.js} +12 -12
- package/dist/chunks/{schema-3v4eqn68.js → location-84hvk1m2.js} +16 -16
- package/dist/chunks/{schema-kxhhe7ks.js → location-862dge66.js} +11 -11
- package/dist/chunks/{schema-rj8ch5sw.js → location-8bwmh9pn.js} +10 -10
- package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-ywmq76e1.js → location-8dtbrnbt.js} +23 -23
- package/dist/chunks/{schema-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-jn24yy65.js → location-8pxx9679.js} +93 -93
- package/dist/chunks/{schema-j9hprypc.js → location-95f4yj9r.js} +11 -11
- package/dist/chunks/{schema-1v4g0mnm.js → location-98875m2v.js} +20 -20
- package/dist/chunks/{schema-5vnqvhdy.js → location-99wenzhp.js} +18 -18
- package/dist/chunks/{schema-kb9j3d72.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{schema-g5x9spb3.js → location-9e7ntz7n.js} +13 -13
- package/dist/chunks/{schema-8xpvx0xf.js → location-9ktdg2kj.js} +18 -18
- package/dist/chunks/{schema-yv6pefj2.js → location-9mr8vnz8.js} +14 -14
- package/dist/chunks/{schema-qcy2fs5h.js → location-9n10r3b6.js} +22 -22
- package/dist/chunks/{schema-7yymr8c1.js → location-9p6p0atc.js} +18 -18
- package/dist/chunks/{schema-gva94evv.js → location-9prv77hx.js} +9 -9
- package/dist/chunks/location-9sh4wc5j.js +18 -0
- package/dist/chunks/{schema-4qh5k59y.js → location-9zzqkcja.js} +11 -11
- package/dist/chunks/{schema-a2ew8a62.js → location-a2ew8a62.js} +1 -1
- package/dist/chunks/{schema-a3c7ahw6.js → location-a3c7ahw6.js} +1 -1
- package/dist/chunks/{schema-tjpmwyed.js → location-a6w7x0dp.js} +3 -3
- package/dist/chunks/{schema-k5mqd01k.js → location-a9jnh2ry.js} +10 -10
- package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-4922bdcs.js → location-aagvde34.js} +32 -32
- package/dist/chunks/{schema-addxnjmp.js → location-addxnjmp.js} +1 -1
- package/dist/chunks/{schema-z208n99h.js → location-adz22r75.js} +13 -13
- package/dist/chunks/{schema-scgrse2b.js → location-b3f8fkhc.js} +5 -5
- package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-rwv28x5t.js → location-bapvy5v2.js} +3 -3
- package/dist/chunks/{schema-wgqbq6kr.js → location-bsjw1qxa.js} +4 -4
- package/dist/chunks/{schema-kr1ymz84.js → location-bty85w2p.js} +24 -24
- package/dist/chunks/{schema-j1fsx5qw.js → location-c2x78mxc.js} +35 -35
- package/dist/chunks/{schema-vr3aek46.js → location-ca0nj0by.js} +22 -22
- package/dist/chunks/{schema-rczq51rp.js → location-cdqe3acw.js} +6 -6
- package/dist/chunks/{schema-7dcnqvbr.js → location-cf6066tf.js} +31 -22
- package/dist/chunks/{schema-w92k2e0p.js → location-cfsekr6v.js} +8 -8
- package/dist/chunks/{schema-4xr8m0aa.js → location-d4rbh6ak.js} +9 -9
- package/dist/chunks/{schema-n5jf03an.js → location-d8s2zm1x.js} +7 -7
- package/dist/chunks/{schema-bskqsgt5.js → location-daz4xq7q.js} +11 -11
- package/dist/chunks/{schema-jta96yax.js → location-dchhcxvn.js} +9 -9
- package/dist/chunks/{schema-zf5859yh.js → location-dfd5mgtk.js} +31 -31
- package/dist/chunks/{schema-pxcy2v4k.js → location-djq871tb.js} +4 -4
- package/dist/chunks/{schema-erbnzk8y.js → location-dn50s6hc.js} +41 -41
- package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-e9w2ffer.js → location-dzy5aakp.js} +12 -12
- package/dist/chunks/{schema-v2m3q5y9.js → location-e1raa5mm.js} +7 -7
- package/dist/chunks/{schema-jgjgcm7r.js → location-e2mk3tg3.js} +4 -4
- package/dist/chunks/{schema-sr36t4tg.js → location-e5mvmyh8.js} +10 -10
- package/dist/chunks/{schema-g46t4tqm.js → location-e9de3xxg.js} +6 -6
- package/dist/chunks/{schema-3chxap05.js → location-eaz2j5p8.js} +6 -6
- package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-skeejxkf.js → location-f20kv32e.js} +9 -9
- package/dist/chunks/{schema-y70rs0tm.js → location-f23k8efd.js} +33 -33
- package/dist/chunks/{schema-ka78afm3.js → location-f2mfbnxq.js} +7 -7
- package/dist/chunks/{schema-9795rgjt.js → location-f3b2zyky.js} +4 -4
- package/dist/chunks/{schema-0dqvt60g.js → location-fa5a6z34.js} +2 -2
- package/dist/chunks/{schema-fcrkznn8.js → location-fcrkznn8.js} +1 -1
- package/dist/chunks/{schema-3k6hnjpv.js → location-ff1nx8de.js} +304 -304
- package/dist/chunks/{schema-0y5bnsvv.js → location-fjzgnj6k.js} +13 -13
- package/dist/chunks/{schema-qj7nrkn4.js → location-fzncz4bm.js} +20 -20
- package/dist/chunks/{schema-5yzzbxa7.js → location-g0445xdp.js} +8 -8
- package/dist/chunks/{schema-bghdypt9.js → location-g0kw0tj5.js} +14 -14
- package/dist/chunks/{schema-ytk7n60r.js → location-g32vcz6j.js} +36 -36
- package/dist/chunks/{schema-57b9ws8p.js → location-g5w8qwbj.js} +7 -7
- package/dist/chunks/{schema-gd0tnyjc.js → location-gd0tnyjc.js} +1 -1
- package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-7vyzxw8y.js → location-gdaft186.js} +9 -9
- package/dist/chunks/{schema-nh510fz3.js → location-gdxj8ks4.js} +24 -24
- package/dist/chunks/{schema-fjb6gf5c.js → location-gmpz9h40.js} +27 -27
- package/dist/chunks/{schema-bahvtqv2.js → location-gnvmv7zt.js} +18 -18
- package/dist/chunks/{schema-eqv7r0bw.js → location-gqft2nrr.js} +6 -6
- package/dist/chunks/{schema-npa44ypb.js → location-grhdqs63.js} +15 -15
- package/dist/chunks/{schema-gaphvq12.js → location-gt93hrec.js} +11 -11
- package/dist/chunks/{schema-3cegwx68.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{schema-6yk1gpns.js → location-h4kgzxf5.js} +2 -2
- package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-n7p1k2qf.js → location-h9wy77ww.js} +3 -3
- package/dist/chunks/{schema-ft5semx5.js → location-hapgv9v5.js} +26 -26
- package/dist/chunks/{schema-1wn14s7w.js → location-hkwpvpak.js} +19 -19
- package/dist/chunks/{schema-28qgffdg.js → location-hq78km43.js} +21 -21
- package/dist/chunks/{schema-6zaqt7dr.js → location-hvtsb2k8.js} +9 -9
- package/dist/chunks/{schema-y10cx7wx.js → location-j151k726.js} +33 -33
- package/dist/chunks/{schema-zn1w914b.js → location-j2kw60gk.js} +13 -13
- package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-yp66jxhs.js → location-jdg8p4tj.js} +9 -9
- package/dist/chunks/{schema-9yrh9n06.js → location-jdrd3c06.js} +1 -1
- package/dist/chunks/{schema-ca5q3sa4.js → location-jkzf7ay7.js} +6 -6
- package/dist/chunks/{schema-9ja4ygxc.js → location-jt92w6zc.js} +23 -23
- package/dist/chunks/{schema-9adgdhyd.js → location-k212rrg8.js} +4 -4
- package/dist/chunks/{schema-hn57h045.js → location-k76fn4kw.js} +4 -4
- package/dist/chunks/{schema-p8s02wn2.js → location-k9anv2x6.js} +14 -14
- package/dist/chunks/{schema-8zv3wp18.js → location-karyz3y9.js} +10 -10
- package/dist/chunks/{schema-m3t9151j.js → location-kbe6f2sn.js} +25 -25
- package/dist/chunks/{schema-4erjtqpw.js → location-kg64916e.js} +3 -3
- package/dist/chunks/{schema-xgwtbm8x.js → location-kmg3b8a8.js} +83 -83
- package/dist/chunks/{schema-0ps91a7a.js → location-ksatnkbz.js} +23 -23
- package/dist/chunks/{schema-wdfmv1rt.js → location-m242qanr.js} +40 -40
- package/dist/chunks/{schema-hdnjgwej.js → location-m30qs711.js} +29 -29
- package/dist/chunks/{schema-2b5wyz52.js → location-m3c0a78p.js} +9 -9
- package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-jsczegrp.js → location-m70vqwee.js} +16 -16
- package/dist/chunks/{schema-8byxt7bq.js → location-m793x516.js} +141 -141
- package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-kvjzkr2v.js → location-mawpmn43.js} +8 -8
- package/dist/chunks/{schema-efxe2svv.js → location-mek16e5d.js} +11 -11
- package/dist/chunks/{schema-fg6c7q2e.js → location-mqvx1r3j.js} +8 -8
- package/dist/chunks/{schema-dh3p6hwj.js → location-mvw81cf0.js} +24 -24
- package/dist/chunks/{schema-0kjv6zqm.js → location-n1exqw8h.js} +1 -1
- package/dist/chunks/{schema-mz7wxez8.js → location-n38m8ysg.js} +35 -35
- package/dist/chunks/{schema-n8sna2wb.js → location-n8sna2wb.js} +2 -2
- package/dist/chunks/{schema-69ct9x9k.js → location-n8wxvzz9.js} +8 -8
- package/dist/chunks/{schema-2zds0nxm.js → location-nb0mgk1p.js} +24 -24
- package/dist/chunks/{schema-abtvfq1n.js → location-nc6y641n.js} +19 -19
- package/dist/chunks/{schema-pm2wwawt.js → location-nfcraa34.js} +23 -23
- package/dist/chunks/{schema-qr2c2ezf.js → location-nj66ja0z.js} +56 -56
- package/dist/chunks/{schema-s0y0yn56.js → location-nwav4b6k.js} +8 -8
- package/dist/chunks/{schema-kt83d922.js → location-p7vebjqd.js} +14 -14
- package/dist/chunks/{schema-kb6gw2zp.js → location-pcxghkgz.js} +4 -4
- package/dist/chunks/{schema-5gh2y96e.js → location-pdz1qa80.js} +8 -8
- package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{schema-fhz5gfgy.js → location-pp7e5es3.js} +5 -5
- package/dist/chunks/{schema-hd4remjx.js → location-pqst28f9.js} +23 -23
- package/dist/chunks/{schema-t0ghfsqf.js → location-pqza79a5.js} +33 -33
- package/dist/chunks/{schema-sxmar18p.js → location-pv7j4d88.js} +22 -22
- package/dist/chunks/{schema-t58jyhmh.js → location-pz79f5fk.js} +9 -9
- package/dist/chunks/{schema-ma3d88bb.js → location-q3ra36g2.js} +32 -32
- package/dist/chunks/{schema-cb8p393h.js → location-q552wz1s.js} +14 -14
- package/dist/chunks/{schema-4n4r02ph.js → location-qkseqq5s.js} +27 -27
- package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-qxjc9qry.js → location-qxjc9qry.js} +3 -3
- package/dist/chunks/{schema-9c0xcsgg.js → location-r0dh3q8k.js} +20 -20
- package/dist/chunks/{schema-cwa6csj7.js → location-r2m716tb.js} +9 -9
- package/dist/chunks/{schema-8jzt4s7q.js → location-r3hk3vvb.js} +41 -41
- package/dist/chunks/{schema-r9w3djhf.js → location-r9w3djhf.js} +2 -2
- package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-x16rpnsn.js → location-rhchahe3.js} +8 -8
- package/dist/chunks/{schema-k1gkpfdk.js → location-rvf0m9x6.js} +8 -8
- package/dist/chunks/{schema-r71qq8yj.js → location-rwkyravt.js} +16 -16
- package/dist/chunks/{schema-5xtbbr0r.js → location-s13q9xsn.js} +22 -22
- package/dist/chunks/{schema-989f601q.js → location-s7hewkcj.js} +18 -18
- package/dist/chunks/{schema-eayw6x4j.js → location-s8mh1nra.js} +3 -3
- package/dist/chunks/{schema-b703kh14.js → location-sdgwcra8.js} +4 -4
- package/dist/chunks/{schema-eday4pdr.js → location-sgszqgg5.js} +32 -32
- package/dist/chunks/{schema-kwa05qgn.js → location-smss3raw.js} +16 -16
- package/dist/chunks/{schema-wy3px6vj.js → location-sqfjvg79.js} +24 -24
- package/dist/chunks/{schema-9t7a50xb.js → location-t550f9t1.js} +4 -4
- package/dist/chunks/{schema-78tqvked.js → location-taen15gp.js} +22 -22
- package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-bn3rhc52.js → location-tbe4vfsv.js} +8 -8
- package/dist/chunks/{schema-6gvr7rcm.js → location-tbmv8js2.js} +73 -73
- package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{schema-ajbv8hsx.js → location-tgrcp62g.js} +17 -17
- package/dist/chunks/{schema-vbfgae2j.js → location-tjedn1bk.js} +4 -4
- package/dist/chunks/{schema-sfwz2x9n.js → location-tmtg3qgf.js} +46 -46
- package/dist/chunks/{schema-v0es1rhs.js → location-v0es1rhs.js} +2 -2
- package/dist/chunks/{schema-vqbxe4wk.js → location-v7qwwke9.js} +16 -16
- package/dist/chunks/{schema-ppv2hyee.js → location-v812q89j.js} +12 -12
- package/dist/chunks/{schema-45y05w21.js → location-v882ey3h.js} +2 -2
- package/dist/chunks/{schema-b7j864yj.js → location-vcjw93zb.js} +29 -29
- package/dist/chunks/{schema-7bda4q4e.js → location-vdygypy1.js} +6 -6
- package/dist/chunks/{schema-aw65rq9m.js → location-vepwfmka.js} +2 -2
- package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-yh1w7tjp.js → location-vn0evt42.js} +9 -9
- package/dist/chunks/{schema-21wwxtv3.js → location-vrts8c30.js} +13 -13
- package/dist/chunks/{schema-bv9672m4.js → location-vz992avt.js} +13 -13
- package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-84txncab.js → location-w1eejvng.js} +5 -5
- package/dist/chunks/{schema-6yz0wx8n.js → location-w2h15q85.js} +5 -5
- package/dist/chunks/{schema-cznmaky0.js → location-w2khkhy7.js} +30 -30
- package/dist/chunks/{schema-460nts6z.js → location-w3766evm.js} +19 -19
- package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-0t9wd588.js → location-w3x9v1nk.js} +8 -8
- package/dist/chunks/{schema-qne3fa44.js → location-wbgabvvj.js} +5 -5
- package/dist/chunks/{schema-f06qsttd.js → location-wcp7fp92.js} +47 -47
- package/dist/chunks/{schema-thswf6hg.js → location-wd6s3dg2.js} +34 -34
- package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{schema-0ce7fh3z.js → location-wp27whg1.js} +10 -10
- package/dist/chunks/{schema-80gr5d03.js → location-wtn9vyqv.js} +11 -11
- package/dist/chunks/{schema-7vayj4m5.js → location-x9grm7g9.js} +8 -8
- package/dist/chunks/{schema-04ct73zt.js → location-xbp45kg1.js} +15 -15
- package/dist/chunks/{schema-vqfzq50h.js → location-xcd0eash.js} +6 -6
- package/dist/chunks/{schema-4vpz4hmt.js → location-xd2nvtk7.js} +15 -15
- package/dist/chunks/{schema-t5r5qq5q.js → location-xfe76f1r.js} +24 -24
- package/dist/chunks/{schema-pneb2gse.js → location-xg1vnfsw.js} +3 -3
- package/dist/chunks/{schema-5epte933.js → location-xkhfjrgz.js} +3 -3
- package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-xmgjmham.js → location-xmgjmham.js} +3 -3
- package/dist/chunks/{schema-nvmy2keh.js → location-xrbnp9j2.js} +4 -4
- package/dist/chunks/{schema-2hm1ng2y.js → location-xwd6n8tx.js} +149 -149
- package/dist/chunks/{schema-ew7x097j.js → location-y0tgs2ts.js} +33 -33
- package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-0enxvnkq.js → location-y9t8hm03.js} +13 -13
- package/dist/chunks/{schema-93qeztph.js → location-ydq3cy3j.js} +14 -14
- package/dist/chunks/{schema-hvfbn6et.js → location-yjnzakaj.js} +4 -4
- package/dist/chunks/{schema-n4pjvd7j.js → location-ypw6bvy6.js} +9 -9
- package/dist/chunks/{schema-xm8y3y9s.js → location-yqjnaa28.js} +19 -19
- package/dist/chunks/{schema-hgtd7sxh.js → location-yvb4exc7.js} +13 -13
- package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-b4sr5cxy.js → location-z0m1wg4b.js} +4 -4
- package/dist/chunks/{schema-174q612y.js → location-z8w2whtk.js} +1 -1
- package/dist/chunks/{schema-qp9vg2jq.js → location-zd7wpxs7.js} +2 -2
- package/dist/chunks/{schema-xzgm84yq.js → location-zhkbw3m9.js} +5 -5
- package/dist/chunks/{schema-f9bf6ave.js → location-zn575rda.js} +11 -11
- package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-vfynekpt.js → location-zv7jazps.js} +26 -26
- package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-24xn4nrh.js → location-zxraynqz.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- 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 +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- 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 +134 -134
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- 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 +112 -112
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +4 -4
- 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 +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- 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 +86 -86
- 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 +76 -76
- 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 +99 -99
- package/dist/model.js +93 -93
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +75 -75
- package/dist/plugin/command.js +101 -101
- 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 +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- 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 +116 -116
- 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 +96 -96
- 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 +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +94 -94
- 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 +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- 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 +1 -1
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- 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 +214 -214
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +94 -94
- 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 +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- 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 +123 -123
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- 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 +74 -74
- 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/schema-pf31ssb9.js +0 -18
- /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-gdxj8ks4.js";
|
|
9
9
|
import {
|
|
10
10
|
Service71
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-43355rh8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin14,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin14 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info9.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info9.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./location-gdxj8ks4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service35,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node38
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service35 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service59;
|
|
67
|
+
return Service35.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make19({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node61] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service35, node38, exports_instructions2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./location-4z2gahf8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-tmtg3qgf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service77;
|
|
57
|
+
const permission = yield* Service60;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./location-q552wz1s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./location-nb0mgk1p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./location-4f3k4dbg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-adz22r75.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./location-tmtg3qgf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service21,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-0mprnhvr.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-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: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var 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* Service48;
|
|
112
|
+
const access = yield* Service21;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin45 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent4, Plugin41, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make16,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make16(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make16, render3, exports_system_prompt };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service71
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-43355rh8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./location-yqjnaa28.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin21
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin21 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service71;
|
|
27
|
-
const shell = yield*
|
|
27
|
+
const shell = yield* Service58;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin20 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin21, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-0n2ztf6h.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-tmtg3qgf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event10,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info9,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node61,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -39,8 +39,8 @@ var DirectorySource2 = Skill.DirectorySource;
|
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info9 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service59 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service59.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node61 = makeLocationNode({
|
|
112
|
+
service: Service59,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available3, toModelOutput3, prepare3, Service59, node61, exports_skill5, Event10 };
|