@opencode/core 0.0.0-dev-20731 → 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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{state-mhrgq2e3.js → location-018g50k6.js} +8 -8
- package/dist/chunks/{state-dy8qh9xy.js → location-05xfxpq7.js} +6 -6
- package/dist/chunks/{state-k99mds86.js → location-0hmrebdx.js} +27 -27
- package/dist/chunks/{state-q0xm7vwc.js → location-0j77ygfz.js} +6 -6
- package/dist/chunks/{state-2rnwhwfa.js → location-0meaf1wg.js} +11 -11
- package/dist/chunks/{state-1b60b23y.js → location-0mprnhvr.js} +18 -18
- package/dist/chunks/{state-62k0yxbf.js → location-0n2ztf6h.js} +16 -16
- package/dist/chunks/{state-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-mthfcyeq.js → location-11ddt8jx.js} +11 -11
- package/dist/chunks/{state-mak85ys1.js → location-124d3sga.js} +15 -15
- package/dist/chunks/{state-kmb6d1dy.js → location-12arssw0.js} +28 -28
- package/dist/chunks/{state-r8xr0va3.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-1dvck2a7.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{state-kaywwrt1.js → location-1h05fpfc.js} +5 -5
- package/dist/chunks/{state-09sqteag.js → location-1kn9js94.js} +1 -1
- package/dist/chunks/{state-edpay1ac.js → location-1v83qqqa.js} +33 -33
- package/dist/chunks/{state-1ygqh575.js → location-1ygqh575.js} +2 -2
- package/dist/chunks/{state-4dy7nfnb.js → location-1z74wxwj.js} +38 -38
- package/dist/chunks/{state-aeb4sny1.js → location-207ajt2h.js} +5 -5
- package/dist/chunks/{state-q41dffrp.js → location-26tgw3q9.js} +22 -22
- package/dist/chunks/{state-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-4ts7tf6z.js → location-2ccvkpx1.js} +2 -2
- package/dist/chunks/{state-2kngz1a4.js → location-2d90wz9s.js} +11 -11
- package/dist/chunks/{state-pkqb68ka.js → location-2m8jawch.js} +4 -4
- package/dist/chunks/{state-918mtgee.js → location-31c09hs0.js} +5 -5
- package/dist/chunks/{state-08jsyhgk.js → location-327nxpht.js} +22 -22
- package/dist/chunks/{state-rkkgxmw8.js → location-339acx8g.js} +5 -5
- package/dist/chunks/{state-e4atdt0t.js → location-34f7k92p.js} +50 -50
- package/dist/chunks/{state-40rcjy03.js → location-36663d4h.js} +36 -36
- package/dist/chunks/{state-myr8fe9c.js → location-3df827ch.js} +3 -3
- package/dist/chunks/{state-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-h78379q5.js → location-43355rh8.js} +46 -46
- package/dist/chunks/{state-k9t3kwqs.js → location-4bk00v8h.js} +12 -12
- package/dist/chunks/{state-0s32db7e.js → location-4f3k4dbg.js} +15 -15
- package/dist/chunks/{state-cb71px6m.js → location-4nqe1xb5.js} +11 -11
- package/dist/chunks/{state-5y60f30r.js → location-4z2gahf8.js} +29 -29
- package/dist/chunks/{state-4j4tgtq5.js → location-4z58m4b4.js} +4 -4
- package/dist/chunks/{state-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{state-ms5r0hkh.js → location-5dbyheb1.js} +46 -46
- package/dist/chunks/{state-vyb30c2y.js → location-5e7vn2h5.js} +18 -18
- package/dist/chunks/{state-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-nb795v0v.js → location-5z77wtmw.js} +5 -5
- package/dist/chunks/{state-138h01qe.js → location-6355zzhx.js} +7 -7
- package/dist/chunks/{state-srp51ndr.js → location-69yjwdf1.js} +17 -17
- package/dist/chunks/{state-9n6qg2a9.js → location-6ga60bwb.js} +32 -32
- package/dist/chunks/{state-mzc2a39c.js → location-6jz79czp.js} +9 -9
- package/dist/chunks/{state-q5gkxxjb.js → location-6r5wz7qt.js} +33 -33
- package/dist/chunks/{state-a8bn8zg0.js → location-6sr3ve8g.js} +21 -21
- package/dist/chunks/{state-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-y88q4kk1.js → location-6zbg9ej9.js} +49 -49
- package/dist/chunks/{state-71az546q.js → location-71az546q.js} +2 -2
- package/dist/chunks/{state-dn6t15nt.js → location-72zy0jqs.js} +11 -11
- package/dist/chunks/{state-zh56ev1t.js → location-73r4cdwa.js} +15 -15
- package/dist/chunks/{state-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-ktay9hq4.js → location-7c2a2ky2.js} +11 -11
- package/dist/chunks/{state-zz0gef9f.js → location-7dcrx3ae.js} +14 -14
- package/dist/chunks/{state-7jy1nsxc.js → location-7veege35.js} +9 -9
- package/dist/chunks/{state-6cpepfj3.js → location-84hvk1m2.js} +14 -14
- package/dist/chunks/{state-2s897vgp.js → location-862dge66.js} +10 -10
- package/dist/chunks/{state-pgz7mtdk.js → location-8bwmh9pn.js} +7 -7
- package/dist/chunks/{state-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-ajhnm1zb.js → location-8dtbrnbt.js} +25 -25
- package/dist/chunks/{state-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-hw2pxhp3.js → location-8pxx9679.js} +94 -94
- package/dist/chunks/{state-1epzdntc.js → location-95f4yj9r.js} +11 -11
- package/dist/chunks/{state-67yqhhje.js → location-98875m2v.js} +20 -20
- package/dist/chunks/{state-dqv4y3rf.js → location-99wenzhp.js} +47 -47
- package/dist/chunks/{state-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{state-3yjxx9cb.js → location-9e7ntz7n.js} +11 -11
- package/dist/chunks/{state-24dsd3mh.js → location-9ktdg2kj.js} +35 -35
- package/dist/chunks/{state-dmw4vz70.js → location-9mr8vnz8.js} +19 -19
- package/dist/chunks/{state-5zqdgy8b.js → location-9n10r3b6.js} +27 -27
- package/dist/chunks/{state-x62cppxn.js → location-9p6p0atc.js} +20 -20
- package/dist/chunks/{state-jwygkmfq.js → location-9prv77hx.js} +6 -6
- package/dist/chunks/location-9sh4wc5j.js +18 -0
- package/dist/chunks/{state-fw6msab2.js → location-9zzqkcja.js} +13 -13
- package/dist/chunks/{state-fdv30zvt.js → location-a2ew8a62.js} +7 -7
- package/dist/chunks/{state-j34bs4nz.js → location-a3c7ahw6.js} +4 -4
- package/dist/chunks/{state-r3v0c7hy.js → location-a6w7x0dp.js} +5 -5
- package/dist/chunks/{state-y9v55n8z.js → location-a9jnh2ry.js} +10 -10
- package/dist/chunks/{state-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{state-fhb2dsjj.js → location-aagvde34.js} +32 -32
- package/dist/chunks/{state-gqtdsdt7.js → location-addxnjmp.js} +4 -4
- package/dist/chunks/{state-77f8qgj3.js → location-adz22r75.js} +13 -13
- package/dist/chunks/{state-scgrse2b.js → location-b3f8fkhc.js} +5 -5
- package/dist/chunks/{state-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-zw11p4sz.js → location-bapvy5v2.js} +5 -5
- package/dist/chunks/{state-10rnhjad.js → location-bsjw1qxa.js} +11 -11
- package/dist/chunks/{state-8hrcrd79.js → location-bty85w2p.js} +23 -23
- package/dist/chunks/{state-mwh5sg7p.js → location-c2x78mxc.js} +35 -35
- package/dist/chunks/{state-f42t7e33.js → location-ca0nj0by.js} +20 -20
- package/dist/chunks/{state-tprb9ykm.js → location-cdqe3acw.js} +6 -6
- package/dist/chunks/{state-kkqpbp86.js → location-cf6066tf.js} +35 -35
- package/dist/chunks/{state-ts23464c.js → location-cfsekr6v.js} +4 -4
- package/dist/chunks/{state-r8wc69dc.js → location-d4rbh6ak.js} +21 -21
- package/dist/chunks/{state-wcnv1p8x.js → location-d8s2zm1x.js} +11 -11
- package/dist/chunks/{state-jnz95558.js → location-daz4xq7q.js} +17 -17
- package/dist/chunks/{state-q8bdncf5.js → location-dchhcxvn.js} +9 -9
- package/dist/chunks/{state-1h0krj6g.js → location-dfd5mgtk.js} +36 -36
- package/dist/chunks/{state-686nxd57.js → location-djq871tb.js} +6 -6
- package/dist/chunks/{state-t5131vnj.js → location-dn50s6hc.js} +45 -45
- package/dist/chunks/{state-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/{state-2t7sqs4y.js → location-dzy5aakp.js} +9 -9
- package/dist/chunks/{state-dabehbb6.js → location-e1raa5mm.js} +7 -7
- package/dist/chunks/{state-y0rd6mpg.js → location-e2mk3tg3.js} +4 -4
- package/dist/chunks/{state-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-1a37t69z.js → location-e5mvmyh8.js} +10 -10
- package/dist/chunks/{state-4m5yfwrs.js → location-e9de3xxg.js} +12 -12
- package/dist/chunks/{state-54z56z4r.js → location-eaz2j5p8.js} +8 -8
- package/dist/chunks/{state-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{state-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-maw79xe3.js → location-f20kv32e.js} +11 -11
- package/dist/chunks/{state-vjps42b3.js → location-f23k8efd.js} +38 -38
- package/dist/chunks/{state-ad6fy242.js → location-f2mfbnxq.js} +7 -7
- package/dist/chunks/{state-c6dd62wt.js → location-f3b2zyky.js} +4 -4
- package/dist/chunks/{state-jf701akp.js → location-fa5a6z34.js} +6 -6
- package/dist/chunks/{state-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
- package/dist/chunks/{state-nvdmc63m.js → location-ff1nx8de.js} +308 -308
- package/dist/chunks/{state-25qfk6yg.js → location-fjzgnj6k.js} +9 -9
- package/dist/chunks/{state-2rc505e3.js → location-fzncz4bm.js} +20 -20
- package/dist/chunks/{state-5yzzbxa7.js → location-g0445xdp.js} +8 -8
- package/dist/chunks/{state-5k5r4c8x.js → location-g0kw0tj5.js} +11 -11
- package/dist/chunks/{state-hs3zg9hx.js → location-g32vcz6j.js} +36 -36
- package/dist/chunks/{state-w19d8598.js → location-g5w8qwbj.js} +7 -7
- package/dist/chunks/{state-xt4njr3s.js → location-gd0tnyjc.js} +1 -1
- package/dist/chunks/{state-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-2z3n0s1m.js → location-gdaft186.js} +11 -11
- package/dist/chunks/{state-sny9w75j.js → location-gdxj8ks4.js} +18 -18
- package/dist/chunks/{state-5gt3f0n7.js → location-gmpz9h40.js} +33 -33
- package/dist/chunks/{state-jwpv483e.js → location-gnvmv7zt.js} +18 -18
- package/dist/chunks/{state-vfnexndp.js → location-gqft2nrr.js} +6 -6
- package/dist/chunks/{state-7j27yge6.js → location-grhdqs63.js} +19 -19
- package/dist/chunks/{state-8hts1srz.js → location-gt93hrec.js} +11 -11
- package/dist/chunks/{state-h2b79v29.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{state-n3ky4ns8.js → location-h4kgzxf5.js} +2 -2
- package/dist/chunks/{state-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-aeggwfyx.js → location-h9wy77ww.js} +7 -7
- package/dist/chunks/{state-21qrczcf.js → location-hapgv9v5.js} +23 -23
- package/dist/chunks/{state-y7hh2tp0.js → location-hkwpvpak.js} +24 -24
- package/dist/chunks/{state-mhz4gg3p.js → location-hq78km43.js} +19 -19
- package/dist/chunks/{state-5w4b35rv.js → location-hvtsb2k8.js} +9 -9
- package/dist/chunks/{state-ejxk0zy2.js → location-j151k726.js} +32 -32
- package/dist/chunks/{state-3w2eqbz4.js → location-j2kw60gk.js} +13 -13
- package/dist/chunks/{state-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{state-wxgmpaes.js → location-jdg8p4tj.js} +11 -11
- package/dist/chunks/{state-yndsvvt3.js → location-jdrd3c06.js} +1 -1
- package/dist/chunks/{state-611ehfjv.js → location-jkzf7ay7.js} +3 -3
- package/dist/chunks/{state-mcqz5t5c.js → location-jt92w6zc.js} +22 -22
- package/dist/chunks/{state-xg26vyyk.js → location-k212rrg8.js} +4 -4
- package/dist/chunks/{state-zvt5dnpc.js → location-k76fn4kw.js} +4 -4
- package/dist/chunks/{state-p66jwzje.js → location-k9anv2x6.js} +23 -23
- package/dist/chunks/{state-6fhb81wd.js → location-karyz3y9.js} +19 -19
- package/dist/chunks/{state-f7ge0a8n.js → location-kbe6f2sn.js} +45 -45
- package/dist/chunks/{state-6pygarpm.js → location-kg64916e.js} +3 -3
- package/dist/chunks/{state-101fvt1n.js → location-kmg3b8a8.js} +88 -88
- package/dist/chunks/{state-vccqm5x4.js → location-ksatnkbz.js} +25 -25
- package/dist/chunks/{state-s4e19jsk.js → location-m242qanr.js} +40 -40
- package/dist/chunks/{state-7pg6bb3s.js → location-m30qs711.js} +23 -23
- package/dist/chunks/{state-9kg8hsmm.js → location-m3c0a78p.js} +11 -11
- package/dist/chunks/{state-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-t2t1t50a.js → location-m70vqwee.js} +16 -16
- package/dist/chunks/{state-hv684ge7.js → location-m793x516.js} +178 -178
- package/dist/chunks/{state-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-fmcqyzhx.js → location-mawpmn43.js} +9 -9
- package/dist/chunks/{state-bdpzzc2x.js → location-mek16e5d.js} +11 -11
- package/dist/chunks/{state-3eb2wybh.js → location-mqvx1r3j.js} +11 -11
- package/dist/chunks/{state-nc7he5v1.js → location-mvw81cf0.js} +27 -27
- package/dist/chunks/{state-1q8nfdb4.js → location-n1exqw8h.js} +3 -3
- package/dist/chunks/{state-x944hqgj.js → location-n38m8ysg.js} +35 -35
- package/dist/chunks/{state-gh5z95q3.js → location-n8sna2wb.js} +9 -9
- package/dist/chunks/{state-7x6rk6r1.js → location-n8wxvzz9.js} +9 -9
- package/dist/chunks/{state-m4g7grr3.js → location-nb0mgk1p.js} +24 -24
- package/dist/chunks/{state-bx25mqzy.js → location-nc6y641n.js} +25 -25
- package/dist/chunks/{state-kss966qf.js → location-nfcraa34.js} +22 -22
- package/dist/chunks/{state-h6h410qg.js → location-nj66ja0z.js} +61 -61
- package/dist/chunks/{state-d7gb4geb.js → location-nwav4b6k.js} +5 -5
- package/dist/chunks/{state-rhgq3aa6.js → location-p7vebjqd.js} +22 -22
- package/dist/chunks/{state-d9sgy5v4.js → location-pcxghkgz.js} +4 -4
- package/dist/chunks/{state-t7v34wze.js → location-pdz1qa80.js} +6 -6
- package/dist/chunks/{state-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{state-4n607a2z.js → location-pp7e5es3.js} +5 -5
- package/dist/chunks/{state-55ehdx5d.js → location-pqst28f9.js} +23 -23
- package/dist/chunks/{state-7rghpwat.js → location-pqza79a5.js} +30 -30
- package/dist/chunks/{state-89zyxthc.js → location-pv7j4d88.js} +22 -22
- package/dist/chunks/{state-z2btvd3q.js → location-pz79f5fk.js} +9 -9
- package/dist/chunks/{state-b0rb4zb4.js → location-q3ra36g2.js} +30 -30
- package/dist/chunks/{state-9qk2kwmb.js → location-q552wz1s.js} +16 -16
- package/dist/chunks/{state-6bjn4za1.js → location-qkseqq5s.js} +26 -26
- package/dist/chunks/{state-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{state-qxjc9qry.js → location-qxjc9qry.js} +3 -3
- package/dist/chunks/{state-mwnn09ds.js → location-r0dh3q8k.js} +22 -22
- package/dist/chunks/{state-qmqgtz8f.js → location-r2m716tb.js} +9 -9
- package/dist/chunks/{state-6rhevr55.js → location-r3hk3vvb.js} +41 -41
- package/dist/chunks/{state-prq7hedt.js → location-r9w3djhf.js} +9 -9
- package/dist/chunks/{state-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-1qbad211.js → location-rhchahe3.js} +8 -8
- package/dist/chunks/{state-bnmr3cva.js → location-rvf0m9x6.js} +8 -8
- package/dist/chunks/{state-4xpke3ff.js → location-rwkyravt.js} +19 -19
- package/dist/chunks/{state-qcq5ks5d.js → location-s13q9xsn.js} +22 -22
- package/dist/chunks/{state-ryg7eh2t.js → location-s7hewkcj.js} +10 -10
- package/dist/chunks/{state-c6b7y4z0.js → location-s8mh1nra.js} +3 -3
- package/dist/chunks/{state-bgecxp98.js → location-sdgwcra8.js} +4 -4
- package/dist/chunks/{state-k1qsfy5p.js → location-sgszqgg5.js} +42 -42
- package/dist/chunks/{state-8mps3fwf.js → location-smss3raw.js} +19 -19
- package/dist/chunks/{state-pb9tkzd3.js → location-sqfjvg79.js} +21 -21
- package/dist/chunks/{state-wv396vej.js → location-t550f9t1.js} +8 -8
- package/dist/chunks/{state-52gbbbb2.js → location-taen15gp.js} +36 -36
- package/dist/chunks/{state-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-h4ckqw4f.js → location-tbe4vfsv.js} +11 -11
- package/dist/chunks/{state-3jms3t4n.js → location-tbmv8js2.js} +75 -75
- package/dist/chunks/{state-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{state-9ywvhnd6.js → location-tgrcp62g.js} +20 -20
- package/dist/chunks/{state-tjedn1bk.js → location-tjedn1bk.js} +1 -1
- package/dist/chunks/{state-yfng7xhx.js → location-tmtg3qgf.js} +63 -63
- package/dist/chunks/{state-tg7bkhef.js → location-v0es1rhs.js} +7 -7
- package/dist/chunks/{state-wm8vp7b3.js → location-v7qwwke9.js} +16 -16
- package/dist/chunks/{state-nv5wzee9.js → location-v812q89j.js} +14 -14
- package/dist/chunks/{state-m2pfdawv.js → location-v882ey3h.js} +4 -4
- package/dist/chunks/{state-0zaydvkv.js → location-vcjw93zb.js} +32 -32
- package/dist/chunks/{state-7q0e42ms.js → location-vdygypy1.js} +4 -4
- package/dist/chunks/{state-qf4tt5n8.js → location-vepwfmka.js} +5 -5
- package/dist/chunks/{state-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{state-b434f0z0.js → location-vn0evt42.js} +6 -6
- package/dist/chunks/{state-7st03jgk.js → location-vrts8c30.js} +19 -19
- package/dist/chunks/{state-yss3y4q1.js → location-vz992avt.js} +13 -13
- package/dist/chunks/{state-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-84txncab.js → location-w1eejvng.js} +5 -5
- package/dist/chunks/{state-1pxz8ven.js → location-w2h15q85.js} +5 -5
- package/dist/chunks/{state-80jhpvy9.js → location-w2khkhy7.js} +21 -21
- package/dist/chunks/{state-ft8vrdb0.js → location-w3766evm.js} +28 -28
- package/dist/chunks/{state-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-jn0tk1mz.js → location-w3x9v1nk.js} +8 -8
- package/dist/chunks/{state-0r3c1bmw.js → location-wbgabvvj.js} +5 -5
- package/dist/chunks/{state-wrvjmzy4.js → location-wcp7fp92.js} +47 -47
- package/dist/chunks/{state-4yhfmhtq.js → location-wd6s3dg2.js} +34 -34
- package/dist/chunks/{state-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{state-h3pfkhmz.js → location-wp27whg1.js} +13 -13
- package/dist/chunks/{state-tf2qcnq5.js → location-wtn9vyqv.js} +11 -11
- package/dist/chunks/{state-m8b1hsph.js → location-x9grm7g9.js} +10 -10
- package/dist/chunks/{state-427fgkyx.js → location-xbp45kg1.js} +18 -18
- package/dist/chunks/{state-2a6rn6yr.js → location-xcd0eash.js} +6 -6
- package/dist/chunks/{state-fzm7tejx.js → location-xd2nvtk7.js} +17 -17
- package/dist/chunks/{state-cfcvtgjj.js → location-xfe76f1r.js} +24 -24
- package/dist/chunks/{state-mzwaxmr6.js → location-xg1vnfsw.js} +3 -3
- package/dist/chunks/{state-4pa8nav4.js → location-xkhfjrgz.js} +3 -3
- package/dist/chunks/{state-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{state-551azpvx.js → location-xmgjmham.js} +24 -24
- package/dist/chunks/{state-tb07zrhn.js → location-xrbnp9j2.js} +1 -1
- package/dist/chunks/location-xwd6n8tx.js +253 -0
- package/dist/chunks/{state-ykd4jxva.js → location-y0tgs2ts.js} +20 -20
- package/dist/chunks/{state-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-rg29w5sg.js → location-y9t8hm03.js} +15 -15
- package/dist/chunks/{state-gs1dqwms.js → location-ydq3cy3j.js} +22 -22
- package/dist/chunks/{state-3gccgfaf.js → location-yjnzakaj.js} +1 -1
- package/dist/chunks/{state-41kmeemt.js → location-ypw6bvy6.js} +9 -9
- package/dist/chunks/{state-9dgxaq8y.js → location-yqjnaa28.js} +15 -15
- package/dist/chunks/{state-w9f5rn9p.js → location-yvb4exc7.js} +14 -14
- package/dist/chunks/{state-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-5h69wz8x.js → location-z0m1wg4b.js} +4 -4
- package/dist/chunks/{state-0j8txdm0.js → location-z8w2whtk.js} +3 -3
- package/dist/chunks/{state-3nz0bd4c.js → location-zd7wpxs7.js} +2 -2
- package/dist/chunks/{state-9031p0b2.js → location-zhkbw3m9.js} +5 -5
- package/dist/chunks/{state-qfqe7b7s.js → location-zn575rda.js} +11 -11
- package/dist/chunks/{state-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-cs141p16.js → location-zv7jazps.js} +26 -26
- package/dist/chunks/{state-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-qh28zxsx.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 +86 -86
- 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 +115 -115
- 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 +116 -116
- 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 +136 -136
- 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 +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +71 -71
- 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 +80 -80
- 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 +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- 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 +104 -104
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- 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 +118 -118
- 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 +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +115 -115
- 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 +75 -75
- 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 +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- 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 +86 -86
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +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 +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- 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 +104 -104
- package/dist/tool/plugin/read.js +126 -126
- 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 +111 -111
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/state-by5v678g.js +0 -18
- package/dist/chunks/state-qk8sy7r3.js +0 -253
- /package/dist/chunks/{state-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service51, exports_runner };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-cf6066tf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9ktdg2kj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./location-xmgjmham.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-q552wz1s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./location-43355rh8.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-gdxj8ks4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./location-n8sna2wb.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-vdygypy1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin32
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin32 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service71;
|
|
43
|
+
const discovery = yield* Service6;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service72;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin22 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin32, exports_skill2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76,
|
|
4
|
+
node80
|
|
5
|
+
} from "./location-6r5wz7qt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node79
|
|
19
|
+
} from "./location-cf6066tf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service56,
|
|
22
|
+
node58
|
|
23
|
+
} from "./location-jdg8p4tj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service74,
|
|
29
|
+
node78,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9ktdg2kj.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service55,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer20,
|
|
51
|
+
node: () => node57,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID13,
|
|
62
|
+
modelID: ID12,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID13,
|
|
72
|
+
modelID: ID12,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID13,
|
|
83
|
+
modelID: ID12,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID13,
|
|
94
|
+
modelID: ID12,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID13,
|
|
106
|
+
modelID: ID12,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID13,
|
|
116
|
+
modelID: ID12,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service55 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID13.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer20 = Layer.effect(Service55, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service75;
|
|
275
|
+
const models = yield* Service74;
|
|
276
|
+
const integrations = yield* Service76;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service56;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service55.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node57 = makeLocationNode({
|
|
326
|
+
service: Service55,
|
|
327
|
+
layer: layer20,
|
|
328
|
+
deps: [node79, node78, node80, Npm.node, node58]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node57, exports_model_resolver };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-jdrd3c06.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make24,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3df827ch.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-11ddt8jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-q552wz1s.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./location-9ktdg2kj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID8,
|
|
17
|
+
Service63,
|
|
18
|
+
node65
|
|
19
|
+
} from "./location-mvw81cf0.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-6jz79czp.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-t550f9t1.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-4z58m4b4.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-mqvx1r3j.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node64
|
|
35
|
+
} from "./location-9mr8vnz8.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-tmtg3qgf.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make15
|
|
41
|
+
} from "./location-yvb4exc7.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service57,
|
|
44
|
+
node59
|
|
45
|
+
} from "./location-12arssw0.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service34,
|
|
48
|
+
node37
|
|
49
|
+
} from "./location-smss3raw.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service49,
|
|
52
|
+
node52
|
|
53
|
+
} from "./location-xfe76f1r.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
Service39,
|
|
60
|
-
node42
|
|
61
|
-
} from "./state-mcqz5t5c.js";
|
|
55
|
+
Service38,
|
|
56
|
+
node41
|
|
57
|
+
} from "./location-aagvde34.js";
|
|
62
58
|
import {
|
|
63
59
|
Service37,
|
|
64
60
|
node40
|
|
65
|
-
} from "./
|
|
66
|
-
import {
|
|
67
|
-
Service38,
|
|
68
|
-
node41
|
|
69
|
-
} from "./state-2rc505e3.js";
|
|
61
|
+
} from "./location-jt92w6zc.js";
|
|
70
62
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
63
|
+
Service36,
|
|
64
|
+
node39
|
|
65
|
+
} from "./location-9p6p0atc.js";
|
|
74
66
|
import {
|
|
75
67
|
Service35,
|
|
76
68
|
node38
|
|
77
|
-
} from "./
|
|
69
|
+
} from "./location-fzncz4bm.js";
|
|
70
|
+
import {
|
|
71
|
+
Service40,
|
|
72
|
+
node43
|
|
73
|
+
} from "./location-xbp45kg1.js";
|
|
78
74
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
75
|
+
Service41,
|
|
76
|
+
node44
|
|
77
|
+
} from "./location-1v83qqqa.js";
|
|
78
|
+
import {
|
|
79
|
+
Service53,
|
|
80
|
+
node55
|
|
81
|
+
} from "./location-j2kw60gk.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./location-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service33,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node36
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service33 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
97
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service63;
|
|
99
|
+
const builtins = yield* Service34;
|
|
100
|
+
const model = yield* Service74;
|
|
101
|
+
const db = (yield* Service84).db;
|
|
102
|
+
const discovery = yield* Service57;
|
|
103
|
+
const entries = yield* Service40;
|
|
104
|
+
const location = yield* Service79;
|
|
105
|
+
const mcpInstructions = yield* Service37;
|
|
106
|
+
const mcpTools = yield* Service38;
|
|
107
|
+
const models = yield* Service53;
|
|
108
|
+
const request = yield* Service41;
|
|
109
|
+
const referenceInstructions = yield* Service36;
|
|
110
|
+
const skillInstructions = yield* Service35;
|
|
111
|
+
const store = yield* Service62;
|
|
112
|
+
const registry = yield* Service49;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make15(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service33.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node36 = makeLocationNode({
|
|
195
|
+
service: Service33,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
node36,
|
|
202
|
-
node56,
|
|
198
|
+
node65,
|
|
199
|
+
node78,
|
|
200
|
+
node88,
|
|
203
201
|
node37,
|
|
204
|
-
|
|
205
|
-
node42,
|
|
202
|
+
node59,
|
|
206
203
|
node43,
|
|
204
|
+
node83,
|
|
207
205
|
node40,
|
|
208
|
-
node48,
|
|
209
|
-
node38,
|
|
210
|
-
node77,
|
|
211
206
|
node41,
|
|
212
|
-
|
|
207
|
+
node39,
|
|
208
|
+
node55,
|
|
209
|
+
node44,
|
|
210
|
+
node64,
|
|
211
|
+
node38,
|
|
212
|
+
node52
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service33, node36, exports_context };
|