@opencode/core 0.0.0-dev-19451 → 0.0.0-dev-19453
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-services-eaj1djv9.js → instance-02nrjc1r.js} +4 -4
- package/dist/chunks/{location-services-3cnpae06.js → instance-04km2rpk.js} +25 -25
- package/dist/chunks/{location-services-8939b1nw.js → instance-08jnj6hq.js} +6 -6
- package/dist/chunks/{location-services-0ajdgxne.js → instance-0ajdgxne.js} +2 -2
- package/dist/chunks/{location-services-kmmgpvna.js → instance-0gnxgm7q.js} +20 -20
- package/dist/chunks/{location-services-8fvkghgq.js → instance-0hwawmer.js} +30 -30
- package/dist/chunks/instance-0mesazry.js +4 -0
- package/dist/chunks/{location-services-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-ww01qehw.js → instance-0tvwz2y2.js} +43 -43
- package/dist/chunks/{location-services-f2jtjz1n.js → instance-0w5k8v4e.js} +11 -11
- package/dist/chunks/{location-services-e4d1h1z5.js → instance-11ejpy3k.js} +13 -13
- package/dist/chunks/{location-services-1rppxzqd.js → instance-16r326kg.js} +24 -24
- package/dist/chunks/{location-services-abf5nrzb.js → instance-1ajsc0rn.js} +40 -40
- package/dist/chunks/{location-services-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-h2d5hdxw.js → instance-1xbzx26c.js} +7 -7
- package/dist/chunks/{location-services-vhfdprfc.js → instance-1ygvm19r.js} +6 -6
- package/dist/chunks/{location-services-xtfh037b.js → instance-214h1yed.js} +30 -30
- package/dist/chunks/{location-services-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → instance-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-k8hd2gj9.js → instance-27jermd9.js} +4 -4
- package/dist/chunks/{location-services-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-gdxr6gyt.js → instance-2b8str4z.js} +27 -27
- package/dist/chunks/{location-services-wpmdzrrb.js → instance-2dchnhcv.js} +1 -1
- package/dist/chunks/{location-services-phsqhj37.js → instance-2ebf22k5.js} +45 -45
- package/dist/chunks/{location-services-t0fxg8b9.js → instance-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-services-f4frw9mm.js → instance-2h7n160c.js} +9 -9
- package/dist/chunks/{location-services-nn76jaqm.js → instance-2kzg25bw.js} +19 -19
- package/dist/chunks/{location-services-ab663qkx.js → instance-2qnpq2g2.js} +7 -7
- package/dist/chunks/{location-services-0v63wxn0.js → instance-2vvy38b5.js} +5 -5
- package/dist/chunks/{location-services-cznvyt73.js → instance-2xkrqsds.js} +25 -25
- package/dist/chunks/{location-services-10jtetaj.js → instance-2y34zzjz.js} +4 -4
- package/dist/chunks/{location-services-6k4g6370.js → instance-3441ecsd.js} +8 -8
- package/dist/chunks/{location-services-wmq45v6k.js → instance-3bxse654.js} +11 -11
- package/dist/chunks/{location-services-vtqtddsg.js → instance-3c172q5r.js} +15 -15
- package/dist/chunks/{location-services-2tfmgkzg.js → instance-3c4e3q8d.js} +4 -4
- package/dist/chunks/{location-services-kqddbhjm.js → instance-3dqftnvs.js} +1 -1
- package/dist/chunks/{location-services-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-tg6s6r99.js → instance-3qfxf5sw.js} +19 -19
- package/dist/chunks/{location-services-yg187h29.js → instance-3rbfrvfk.js} +4 -4
- package/dist/chunks/{location-services-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-pr65h444.js → instance-3y7bpgjr.js} +16 -16
- package/dist/chunks/{location-services-ka5a4yvg.js → instance-3ybwbczt.js} +8 -8
- package/dist/chunks/{location-services-tek2pf1y.js → instance-3zbe00qw.js} +15 -15
- package/dist/chunks/{location-services-ktbdk3tc.js → instance-45796egf.js} +1 -1
- package/dist/chunks/{location-services-m23k9y15.js → instance-4d6bsavb.js} +9 -9
- package/dist/chunks/{location-services-f5a8jxak.js → instance-4gnq74n1.js} +8 -8
- package/dist/chunks/{location-services-p5294bdq.js → instance-4sw738am.js} +158 -158
- package/dist/chunks/instance-4tq68jvq.js +22 -0
- package/dist/chunks/{location-services-cjea1mvt.js → instance-4vtmaq8n.js} +20 -20
- package/dist/chunks/{location-services-2j9d73f3.js → instance-4w6gpcpb.js} +24 -24
- package/dist/chunks/{location-services-acx0y7wr.js → instance-4yd1mpxv.js} +34 -34
- package/dist/chunks/{location-services-5c4hm403.js → instance-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-f9s276m4.js → instance-5d2dqa19.js} +27 -27
- package/dist/chunks/{location-services-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-8r3rf18d.js → instance-5dr71tcj.js} +51 -51
- package/dist/chunks/instance-5evvfk5y.js +462 -0
- package/dist/chunks/{location-services-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-5k2k3mdz.js → instance-600ypjqh.js} +2 -2
- package/dist/chunks/{location-services-qgn6gcr1.js → instance-607tc6va.js} +5 -5
- package/dist/chunks/{location-services-cemy4wyy.js → instance-615r8f1r.js} +37 -37
- package/dist/chunks/{location-services-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{location-services-n9ah5p1r.js → instance-6dbh8m20.js} +18 -18
- package/dist/chunks/{location-services-jnmqjdkf.js → instance-6h6m7p04.js} +4 -4
- package/dist/chunks/{location-services-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-k37qtvmx.js → instance-6n39k66d.js} +41 -41
- package/dist/chunks/{location-services-pgpcwmv8.js → instance-6s6pyx5x.js} +14 -14
- package/dist/chunks/{location-services-c5c0bz0t.js → instance-6vq97qmv.js} +5 -5
- package/dist/chunks/{location-services-71q4at8m.js → instance-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-wz7pye5f.js → instance-73jscj8j.js} +10 -10
- package/dist/chunks/{location-services-1bbkgx8g.js → instance-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-48y578kf.js → instance-784hv4b7.js} +11 -11
- package/dist/chunks/{location-services-tfwa8sr0.js → instance-7aeh5qf5.js} +7 -7
- package/dist/chunks/{location-services-cmwkp3r5.js → instance-7b15y959.js} +8 -8
- package/dist/chunks/{location-services-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-yfn5eh04.js → instance-7djf7m8d.js} +17 -17
- package/dist/chunks/{location-services-s6ycxjmr.js → instance-7fpgr2s1.js} +6 -6
- package/dist/chunks/{location-services-8fqpyxf3.js → instance-7p8jemdr.js} +15 -15
- package/dist/chunks/{location-services-s868bytv.js → instance-7pjjnmjh.js} +19 -19
- package/dist/chunks/{location-services-81swgkk7.js → instance-81swgkk7.js} +2 -2
- package/dist/chunks/{location-services-dxkzy7ga.js → instance-881vctnb.js} +11 -11
- package/dist/chunks/{location-services-tcezcvh9.js → instance-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-2pxk13gr.js → instance-8nv6ekx5.js} +5 -5
- package/dist/chunks/{location-services-q0shrzhz.js → instance-8q9ppjpv.js} +70 -70
- package/dist/chunks/{location-services-tsr8fc0r.js → instance-8vrttwne.js} +11 -11
- package/dist/chunks/{location-services-0cqt1act.js → instance-8wp5nj2m.js} +2 -2
- package/dist/chunks/{location-services-h8ybhtc8.js → instance-9esnjp7q.js} +83 -83
- package/dist/chunks/{location-services-2hasx83a.js → instance-9f0bagwt.js} +16 -16
- package/dist/chunks/{location-services-zg2sk1d5.js → instance-9g2sjbwk.js} +24 -24
- package/dist/chunks/{location-services-smdef04x.js → instance-9g9t3q64.js} +6 -6
- package/dist/chunks/{location-services-n9y2aybq.js → instance-9jaqn8p5.js} +7 -7
- package/dist/chunks/{location-services-v8qzaprc.js → instance-9vq49g9j.js} +14 -14
- package/dist/chunks/{location-services-wedwh9zy.js → instance-9w8m04nn.js} +43 -43
- package/dist/chunks/{location-services-jbcmsmvm.js → instance-9yrsvg3w.js} +28 -28
- package/dist/chunks/{location-services-twtpn9zf.js → instance-a01vft1m.js} +5 -5
- package/dist/chunks/{location-services-f0v7chq9.js → instance-a8k5ync6.js} +9 -9
- package/dist/chunks/{location-services-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-h41zqsdn.js → instance-ag6qd7v2.js} +9 -9
- package/dist/chunks/{location-services-7xaqnzrn.js → instance-arnb9w2q.js} +11 -11
- package/dist/chunks/{location-services-tka2peys.js → instance-ayk00szn.js} +11 -11
- package/dist/chunks/{location-services-nmc7jbpb.js → instance-b15zrsqy.js} +32 -32
- package/dist/chunks/{location-services-b1d8yfhs.js → instance-b5mp8y1j.js} +28 -28
- package/dist/chunks/{location-services-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-m0jhfz7a.js → instance-bdd3g510.js} +25 -25
- package/dist/chunks/{location-services-6hng0yyt.js → instance-bdhs7hdt.js} +18 -18
- package/dist/chunks/{location-services-tfxcxh33.js → instance-bfm6brwf.js} +11 -11
- package/dist/chunks/{location-services-ya13sgyt.js → instance-bfsx2sjg.js} +11 -11
- package/dist/chunks/{location-services-2r39by5f.js → instance-bgve9sks.js} +7 -7
- package/dist/chunks/{location-services-vz9ktvfm.js → instance-bkmnzq83.js} +28 -28
- package/dist/chunks/{location-services-s7ewmtmf.js → instance-bm611y3h.js} +8 -8
- package/dist/chunks/{location-services-5k8zyj3m.js → instance-bp7wm3m7.js} +10 -10
- package/dist/chunks/{location-services-z3vzppte.js → instance-bvhfacc0.js} +22 -22
- package/dist/chunks/{location-services-retpad30.js → instance-bvmz8gdw.js} +4 -4
- package/dist/chunks/{location-services-gyqjhmw2.js → instance-c7bpmgc6.js} +8 -8
- package/dist/chunks/{location-services-tz4n1mmd.js → instance-ca7w653e.js} +4 -4
- package/dist/chunks/{location-services-hkerkm96.js → instance-cdvreab1.js} +23 -23
- package/dist/chunks/{location-services-f360e7aw.js → instance-cme04ec3.js} +4 -4
- package/dist/chunks/{location-services-1688r137.js → instance-cn9xbew9.js} +18 -18
- package/dist/chunks/{location-services-j15mfg1p.js → instance-cqg8v4c7.js} +6 -6
- package/dist/chunks/{location-services-f4gk10ya.js → instance-cs08824x.js} +18 -18
- package/dist/chunks/{location-services-hnf61xf9.js → instance-da6xy7v3.js} +11 -11
- package/dist/chunks/{location-services-pmr4s4kc.js → instance-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-services-dj2t23y0.js → instance-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-shgvhq32.js → instance-dmjvs3cc.js} +8 -8
- package/dist/chunks/{location-services-g6wwr3qt.js → instance-e3wv7t2h.js} +45 -33
- package/dist/chunks/{location-services-tczx3m7d.js → instance-e6egns80.js} +7 -7
- package/dist/chunks/{location-services-p44d8wdy.js → instance-ead3g9p8.js} +5 -5
- package/dist/chunks/{location-services-21p2r62n.js → instance-emfx6vz6.js} +11 -11
- package/dist/chunks/{location-services-dc7k84w7.js → instance-eq1dtjf9.js} +13 -13
- package/dist/chunks/{location-services-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-yt5bhwy4.js → instance-f0q8xp74.js} +5 -5
- package/dist/chunks/{location-services-f2n192rq.js → instance-f2n192rq.js} +1 -1
- package/dist/chunks/{location-services-7ny4eqaq.js → instance-f6c3qrf2.js} +32 -32
- package/dist/chunks/{location-services-jgz6gjh7.js → instance-f7m8m8v7.js} +31 -31
- package/dist/chunks/{location-services-zfz7njw1.js → instance-f90ymj9d.js} +25 -25
- package/dist/chunks/{location-services-1g7epwpd.js → instance-fdv30zvt.js} +4 -4
- package/dist/chunks/{location-services-7z758yvs.js → instance-fehwxswn.js} +41 -41
- package/dist/chunks/{location-services-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-kf68rs3n.js → instance-gfnxse99.js} +5 -5
- package/dist/chunks/{location-services-czjcw1ty.js → instance-gh92w79d.js} +17 -17
- package/dist/chunks/{location-services-8cv2rr7h.js → instance-gpb118sx.js} +17 -17
- package/dist/chunks/{location-services-hz2x7yqm.js → instance-gvs6qdt3.js} +34 -34
- package/dist/chunks/{location-services-831x1ev0.js → instance-gy4mn1wv.js} +24 -24
- package/dist/chunks/{location-services-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-18e56dsp.js → instance-h6z8d5tn.js} +4 -4
- package/dist/chunks/{location-services-hdnk95c8.js → instance-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-e6jvcfvd.js → instance-hzbmfpwx.js} +10 -10
- package/dist/chunks/{location-services-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-2dp6pmwx.js → instance-j5agp8q7.js} +26 -26
- package/dist/chunks/{location-services-2f04pwep.js → instance-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-services-6fxfggn4.js → instance-jbpfmagy.js} +29 -29
- package/dist/chunks/{location-services-mj7jk1tr.js → instance-jcpf3jb8.js} +6 -6
- package/dist/chunks/{location-services-tfwap27p.js → instance-jefma2gq.js} +10 -10
- package/dist/chunks/{location-services-ke95q5v4.js → instance-jrcb77en.js} +12 -12
- package/dist/chunks/{location-services-m31hrvtp.js → instance-jxahb5yh.js} +5 -5
- package/dist/chunks/{location-services-w5wb35vm.js → instance-k03cr5vp.js} +21 -21
- package/dist/chunks/{location-services-8hy82370.js → instance-k1nbxhgz.js} +11 -11
- package/dist/chunks/{location-services-2s1xfa2w.js → instance-kg05dyfc.js} +7 -7
- package/dist/chunks/{location-services-kg06axw8.js → instance-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-c35z34qg.js → instance-km4dt0q4.js} +13 -13
- package/dist/chunks/{location-services-c0jhk4qn.js → instance-kvdvm6ae.js} +24 -24
- package/dist/chunks/{location-services-gyhegj3g.js → instance-kxth1j4p.js} +21 -21
- package/dist/chunks/{location-services-v0wp6508.js → instance-kxvaja5r.js} +17 -17
- package/dist/chunks/{location-services-m0jqrx5p.js → instance-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-bx7c57kt.js → instance-m5s4nbm4.js} +13 -13
- package/dist/chunks/{location-services-jjs74g98.js → instance-m86bnw2c.js} +9 -9
- package/dist/chunks/{location-services-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-t1gfewgs.js → instance-makt1ns3.js} +6 -6
- package/dist/chunks/{location-services-gy0cbxbc.js → instance-mbzqsbpq.js} +20 -20
- package/dist/chunks/{location-services-wqkncbjv.js → instance-mdw96t0x.js} +6 -6
- package/dist/chunks/{location-services-56gdpj1q.js → instance-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-services-vnk6y1a3.js → instance-mgtytz9t.js} +3 -3
- package/dist/chunks/instance-mh49fa99.js +247 -0
- package/dist/chunks/{location-services-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-mn5tqr63.js → instance-mn5tqr63.js} +2 -2
- package/dist/chunks/{location-services-kpmgqkrr.js → instance-mq679w9b.js} +18 -18
- package/dist/chunks/{location-services-h13535c5.js → instance-n22c0hdz.js} +11 -11
- package/dist/chunks/{location-services-z3ezx9pg.js → instance-ne0c1bn0.js} +12 -12
- package/dist/chunks/{location-services-nhy5jxhy.js → instance-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-services-b25gz6yg.js → instance-njeb77e3.js} +11 -11
- package/dist/chunks/{location-services-824d0e4j.js → instance-nrdnmsy6.js} +15 -15
- package/dist/chunks/{location-services-z7ffasf1.js → instance-nvt2vm6c.js} +18 -18
- package/dist/chunks/{location-services-2w6qszrm.js → instance-pcctj9pb.js} +3 -3
- package/dist/chunks/{location-services-jrcagpff.js → instance-phckgmp3.js} +23 -23
- package/dist/chunks/{location-services-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-pjndq0fz.js → instance-ptzqbhxm.js} +14 -14
- package/dist/chunks/{location-services-fmfnnzgs.js → instance-pv0y2rr1.js} +4 -4
- package/dist/chunks/{location-services-z76d14ww.js → instance-q0p8k37k.js} +23 -23
- package/dist/chunks/instance-q509s3k3.js +18 -0
- package/dist/chunks/{location-services-mypwhdkk.js → instance-q5xvhvda.js} +6 -6
- package/dist/chunks/{location-services-mjymc32g.js → instance-qj8eh1ht.js} +4 -4
- package/dist/chunks/{location-services-qxw806c1.js → instance-qjp34vpc.js} +6 -6
- package/dist/chunks/{location-services-28wjfbzm.js → instance-qsa030pa.js} +27 -27
- package/dist/chunks/{location-services-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-dygv5p4v.js → instance-qt6pfj40.js} +47 -47
- package/dist/chunks/{location-services-ftxwt64d.js → instance-qx0e8r5y.js} +15 -15
- package/dist/chunks/{location-services-942f7qpg.js → instance-r2qzv5a7.js} +8 -8
- package/dist/chunks/{location-services-r9mregkx.js → instance-r9mregkx.js} +2 -2
- package/dist/chunks/{location-services-8sghyhzw.js → instance-ra3qct3x.js} +8 -8
- package/dist/chunks/{location-services-fqvj2kck.js → instance-ras7gexc.js} +5 -5
- package/dist/chunks/{location-services-badyvhv3.js → instance-rd2sgy6n.js} +28 -28
- package/dist/chunks/{location-services-1hjtdgdn.js → instance-rdw6amv9.js} +14 -14
- package/dist/chunks/{location-services-5yf7fhr0.js → instance-rkw2tkw1.js} +9 -9
- package/dist/chunks/{location-services-w1k39n5e.js → instance-rsdf2nvv.js} +4 -4
- package/dist/chunks/{location-services-b0y1tez2.js → instance-ryn20a59.js} +55 -55
- package/dist/chunks/{location-services-faazhd4x.js → instance-rzxn8jq1.js} +2 -2
- package/dist/chunks/{location-services-74x46t3v.js → instance-s1a57xgp.js} +1 -1
- package/dist/chunks/{location-services-egn3zdh5.js → instance-s7895k5s.js} +34 -34
- package/dist/chunks/{location-services-kb6vnew7.js → instance-sd0ggnme.js} +15 -15
- package/dist/chunks/{location-services-ntzc7frx.js → instance-svaw7j31.js} +23 -23
- package/dist/chunks/{location-services-38c819ax.js → instance-t3w9f47z.js} +1 -1
- package/dist/chunks/{location-services-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-6a8fnbq3.js → instance-tc6mnd6c.js} +86 -86
- package/dist/chunks/{location-services-pe64je7v.js → instance-tdetagnf.js} +13 -13
- package/dist/chunks/{location-services-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-qdexhy91.js → instance-te1qebsh.js} +13 -13
- package/dist/chunks/{location-services-dp73zmae.js → instance-te9p8s57.js} +47 -47
- package/dist/chunks/{location-services-gv6a8nnw.js → instance-th5km1p3.js} +5 -5
- package/dist/chunks/{location-services-bqvgdfs7.js → instance-trw9q7cc.js} +28 -28
- package/dist/chunks/{location-services-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-6d9mz4vp.js → instance-twy35tz0.js} +8 -8
- package/dist/chunks/{location-services-52s84kjy.js → instance-tyk0a488.js} +13 -13
- package/dist/chunks/{location-services-xkjyxwdt.js → instance-v71xcev7.js} +1 -1
- package/dist/chunks/{location-services-tt4z169h.js → instance-vag76dp2.js} +6 -6
- package/dist/chunks/{location-services-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-6nyydjrp.js → instance-vjexth8g.js} +43 -43
- package/dist/chunks/{location-services-ghk9cxjs.js → instance-vkez6a4k.js} +6 -6
- package/dist/chunks/{location-services-jwrwwt03.js → instance-vnyg0xgd.js} +33 -33
- package/dist/chunks/{location-services-p2c38shw.js → instance-vq86hpdd.js} +4 -4
- package/dist/chunks/{location-services-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-rw73kgyn.js → instance-w0bh4yt8.js} +9 -9
- package/dist/chunks/{location-services-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-bgxcxs0p.js → instance-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-services-fhtvm1st.js → instance-wbz1thxw.js} +4 -4
- package/dist/chunks/{location-services-z7sbn75z.js → instance-wchg9gdb.js} +26 -26
- package/dist/chunks/{location-services-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-xknhk0nf.js → instance-wf538q6w.js} +8 -8
- package/dist/chunks/{location-services-feqb3hv1.js → instance-wf59d9yk.js} +29 -29
- package/dist/chunks/{location-services-0k5cj3rh.js → instance-whjf4gy9.js} +1 -1
- package/dist/chunks/{location-services-wsyyx6kz.js → instance-wp7hrgxs.js} +11 -11
- package/dist/chunks/{location-services-rtv6ahp9.js → instance-wpm2rk0p.js} +6 -6
- package/dist/chunks/{location-services-rv8srvjv.js → instance-wqkvtfr5.js} +27 -27
- package/dist/chunks/{location-services-rfnzy394.js → instance-wx9wy1qm.js} +1 -1
- package/dist/chunks/{location-services-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-pv7wv9k9.js → instance-x333260n.js} +10 -10
- package/dist/chunks/{location-services-gvp64fzy.js → instance-x5khm267.js} +19 -19
- package/dist/chunks/{location-services-7j2qha59.js → instance-x8gz1y8e.js} +8 -8
- package/dist/chunks/{location-services-feme730n.js → instance-x9xqt8e9.js} +19 -19
- package/dist/chunks/{location-services-hz84tk5e.js → instance-xbrnje9f.js} +8 -8
- package/dist/chunks/{location-services-s8610hey.js → instance-xg9t41r3.js} +2 -2
- package/dist/chunks/{location-services-k79tzb9n.js → instance-xhmq8qgk.js} +9 -9
- package/dist/chunks/{location-services-npamts55.js → instance-xkv1vnrt.js} +11 -11
- package/dist/chunks/{location-services-3978fxhd.js → instance-xnaxqrmt.js} +17 -17
- package/dist/chunks/{location-services-c1h18g4r.js → instance-xpf4gh7q.js} +16 -16
- package/dist/chunks/{location-services-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-ek1mvd6a.js → instance-y3pqja6p.js} +23 -23
- package/dist/chunks/{location-services-dpkg50ah.js → instance-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-pph6wwqv.js → instance-yd07e7tr.js} +17 -17
- package/dist/chunks/{location-services-prncnyqx.js → instance-ydx4pzvn.js} +26 -26
- package/dist/chunks/{location-services-h4tz497q.js → instance-yn40zvva.js} +12 -12
- package/dist/chunks/{location-services-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-y23m868y.js → instance-yv41ak19.js} +17 -17
- package/dist/chunks/{location-services-hkqqdn79.js → instance-yxeqwz64.js} +39 -39
- package/dist/chunks/{location-services-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-1ry39x5d.js → instance-z3czwxnm.js} +23 -23
- package/dist/chunks/{location-services-z63w68vq.js → instance-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-mx1q1bxy.js → instance-zdt91v21.js} +24 -24
- package/dist/chunks/{location-services-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-wn598c0j.js → instance-zmahsj78.js} +26 -26
- package/dist/chunks/{location-services-38z2y7mt.js → instance-zq81vz9n.js} +12 -12
- package/dist/chunks/{location-services-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-xjfemsx1.js → instance-zve2akr2.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-937tqe06.js → instance-zz3m7b18.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.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 +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +81 -81
- package/dist/repository-cache.js +73 -73
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/location-services-4fd074mh.js +0 -247
- package/dist/chunks/location-services-6cy1ztdc.js +0 -22
- package/dist/chunks/location-services-9sh4wc5j.js +0 -18
- package/dist/chunks/location-services-nb15d6a9.js +0 -462
- package/dist/chunks/location-services-qapv375x.js +0 -4
- /package/dist/chunks/{location-services-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-paphc93g.js → instance-paphc93g.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service39,
|
|
3
3
|
node42
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-3qfxf5sw.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node35
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
63
|
const references = yield* Service39;
|
|
64
|
-
return
|
|
64
|
+
return Service31.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node42] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service31, node35, exports_instructions5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./instance-wqkvtfr5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./instance-5dr71tcj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service43;
|
|
57
|
+
const permission = yield* Service59;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instance-9f0bagwt.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event13
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-2xkrqsds.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID4,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-qsa030pa.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-r2qzv5a7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID6,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-wchg9gdb.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID6
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID4.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID4.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID13.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
252
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node50,
|
|
4
|
+
canonical2
|
|
5
|
+
} from "./instance-73jscj8j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service35,
|
|
8
|
+
node38
|
|
9
|
+
} from "./instance-vkez6a4k.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./instance-9vq49g9j.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-mh49fa99.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service47, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service48).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
39
39
|
}, { idleTimeToLive: Duration.infinity });
|
|
40
40
|
const map = {
|
|
41
41
|
...inner,
|
|
42
|
-
get: (ref) => inner.get(
|
|
43
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
44
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
42
|
+
get: (ref) => inner.get(canonical2(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical2(ref);
|
|
47
47
|
const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
|
|
48
48
|
MutableHashMap.remove(builds, key);
|
|
49
49
|
return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node38.replace(Layer.succeed(Service35, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node50.replace(Layer.succeed(Service47, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-te9p8s57.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./instance-5dr71tcj.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin39,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input2 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin39 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin19 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin39, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./instance-6n39k66d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./instance-twy35tz0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin8 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_location_watcher2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-r2qzv5a7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID12
|
|
7
|
+
} from "./instance-jrcb77en.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-5dr71tcj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service29,
|
|
13
|
+
node33
|
|
14
|
+
} from "./instance-2ebf22k5.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./instance-e3wv7t2h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
McpInstructions: () => exports_instructions2,
|
|
27
|
+
Service: () => Service21,
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node25
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service21 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service29;
|
|
69
|
+
return Service21.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node25 = makeLocationNode({ service: Service21, layer: layer10, deps: [node33] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service21, layer10, node25, exports_instructions2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service25,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service25 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service25.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service25, awaitActivation2, exports_service };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|