@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,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-11ddt8jx.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./location-0n2ztf6h.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-h2b79v29.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9e5bzkjp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-nfcraa34.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-2m8jawch.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-xbp45kg1.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -279,7 +279,7 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
282
|
+
const bus = yield* Service82;
|
|
283
283
|
const db = (yield* Service84).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node88] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node35, exports_projector };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-6jz79czp.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-tmtg3qgf.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-6r5wz7qt.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-kbe6f2sn.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-j2kw60gk.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-11ddt8jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-0n2ztf6h.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service63,
|
|
15
|
+
node65
|
|
16
|
+
} from "./location-mvw81cf0.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
21
|
Service74,
|
|
22
22
|
node78
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9ktdg2kj.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-4z58m4b4.js";
|
|
36
36
|
import {
|
|
37
37
|
load4
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-mqvx1r3j.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-gd0tnyjc.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service41,
|
|
47
|
+
node44
|
|
48
|
+
} from "./location-1v83qqqa.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service53,
|
|
51
|
+
node55
|
|
52
|
+
} from "./location-j2kw60gk.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./location-b3f8fkhc.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-339acx8g.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./location-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./location-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service12,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer7,
|
|
79
|
+
node: () => node14,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service63;
|
|
176
|
+
const bus = yield* Service82;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
178
|
const catalog = yield* Service74;
|
|
179
|
-
const models = yield*
|
|
179
|
+
const models = yield* Service53;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service41;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service12.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node14 = makeLocationNode({
|
|
482
|
+
service: Service12,
|
|
483
|
+
layer: layer7,
|
|
484
|
+
deps: [node65, node86, node88, llmClient2, node78, node44, node55]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service12, buildPrompt2, layer7, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-11ddt8jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-0n2ztf6h.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID16,
|
|
26
|
+
Info: () => Info26,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
29
|
Service: () => Service78,
|
|
@@ -35,15 +35,15 @@ import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
40
|
var Key4 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event20 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID16,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
@@ -54,12 +54,12 @@ class Service78 extends Context.Service()("@opencode/Credential") {
|
|
|
54
54
|
}
|
|
55
55
|
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service84).db;
|
|
57
|
-
const bus = yield*
|
|
57
|
+
const bus = yield* Service82;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info26({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info26({
|
|
82
|
+
id: input.id ?? ID16.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88,
|
|
206
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node86] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID16, OAuth3, Key4, External2, Value2, Event20, Info26, Service78, node82, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-f2mfbnxq.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-jdrd3c06.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-0n2ztf6h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Event20,
|
|
7
7
|
Service78,
|
|
8
8
|
node82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-36663d4h.js";
|
|
10
10
|
import {
|
|
11
11
|
Service72,
|
|
12
12
|
node76
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-xmgjmham.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./location-q552wz1s.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-5e7vn2h5.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-zhkbw3m9.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
35
|
Service73,
|
|
36
36
|
Event15,
|
|
37
37
|
node77
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-d4rbh6ak.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
@@ -93,9 +93,9 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
93
93
|
}));
|
|
94
94
|
var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
97
|
const watcher = yield* Service72;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service82;
|
|
99
99
|
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
101
|
const wellknown = yield* Service73;
|
|
@@ -217,7 +217,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
@@ -262,7 +262,7 @@ function configured10(options) {
|
|
|
262
262
|
return makeLocationNode({
|
|
263
263
|
service: Service71,
|
|
264
264
|
layer: layer24(options),
|
|
265
|
-
deps: [node76,
|
|
265
|
+
deps: [node76, node86, FSUtil.node, Global.node, node83, node82, node77]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
var node75 = configured10();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|