@opencode/core 0.0.0-dev-21504 → 0.0.0-dev-21507
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{command-02mvvr71.js → tool-02mvvr71.js} +3 -3
- package/dist/chunks/{command-cf25jgjj.js → tool-04cnhvec.js} +28 -28
- package/dist/chunks/{command-m4rj2mnd.js → tool-06v6246a.js} +45 -45
- package/dist/chunks/{command-0vbcp93d.js → tool-0emb60td.js} +2 -2
- package/dist/chunks/{command-xkxvzqg5.js → tool-0kdreaa3.js} +21 -21
- package/dist/chunks/{command-4bzs8rv8.js → tool-0pdt8dbx.js} +3 -3
- package/dist/chunks/{command-3f1rw1kg.js → tool-0sgefyfd.js} +4 -4
- package/dist/chunks/{command-y26vasy8.js → tool-10xea195.js} +29 -29
- package/dist/chunks/{command-qkgtmd8v.js → tool-118zcnpk.js} +23 -23
- package/dist/chunks/{command-bzeyqsqd.js → tool-1ep4rre3.js} +4 -4
- package/dist/chunks/{command-qhm64xy3.js → tool-1ey1ywa8.js} +36 -36
- package/dist/chunks/{command-7ean6v8x.js → tool-1hga77xc.js} +11 -11
- package/dist/chunks/{command-fkhc0ppg.js → tool-1vx9hbz5.js} +21 -21
- package/dist/chunks/{command-89f0qmxx.js → tool-208nnjmr.js} +4 -4
- package/dist/chunks/{command-389fpadm.js → tool-228mhbmk.js} +15 -15
- package/dist/chunks/{command-kks3c8v7.js → tool-26dhv5et.js} +17 -17
- package/dist/chunks/{command-27w5k9zf.js → tool-27w5k9zf.js} +2 -2
- package/dist/chunks/{command-sxjy2bbv.js → tool-283ssd4b.js} +14 -14
- package/dist/chunks/{command-e5cywx9b.js → tool-29gc4c91.js} +10 -10
- package/dist/chunks/{command-1q5vfyvt.js → tool-2ftt7040.js} +28 -28
- package/dist/chunks/{command-qqjrwnjf.js → tool-2mrwwyd2.js} +19 -19
- package/dist/chunks/{command-b7k2jn9m.js → tool-2vz2ewx5.js} +23 -23
- package/dist/chunks/{command-4aqng94r.js → tool-2z2nwxhc.js} +35 -35
- package/dist/chunks/{command-va3y7zmk.js → tool-332kxz91.js} +49 -49
- package/dist/chunks/{command-ecmkrhds.js → tool-34w1safd.js} +23 -23
- package/dist/chunks/{command-f8e526k5.js → tool-37cqxn50.js} +6 -6
- package/dist/chunks/{command-xsgk040k.js → tool-3ga20zad.js} +20 -20
- package/dist/chunks/{command-eh4k6x00.js → tool-3hahq16z.js} +19 -19
- package/dist/chunks/{command-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-56zeqtav.js → tool-3hjc3vgd.js} +10 -10
- package/dist/chunks/{command-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-y7cneyn5.js → tool-3q29hfa9.js} +21 -21
- package/dist/chunks/{command-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-ybc3kgcz.js → tool-3xbwwg1d.js} +15 -15
- package/dist/chunks/{command-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-47jkzegy.js → tool-43kvem2p.js} +5 -5
- package/dist/chunks/{command-37q05ven.js → tool-49jcyb13.js} +18 -18
- package/dist/chunks/{command-73t188jy.js → tool-4c8bw516.js} +8 -8
- package/dist/chunks/{command-6k581ess.js → tool-4dg0xz54.js} +6 -6
- package/dist/chunks/{command-3ggeeyj8.js → tool-4gt0zems.js} +8 -8
- package/dist/chunks/{command-9nyvt9wv.js → tool-4hvcvget.js} +12 -12
- package/dist/chunks/{command-0z7sm6e6.js → tool-4j0c97rp.js} +16 -16
- package/dist/chunks/{command-s81df8he.js → tool-4sj6rv93.js} +11 -11
- package/dist/chunks/{command-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{command-90mddc2j.js → tool-556pd3b9.js} +29 -29
- package/dist/chunks/{command-1tmptvb5.js → tool-5651m5ed.js} +34 -34
- package/dist/chunks/{command-e7gxy7fd.js → tool-5g57z1ma.js} +4 -4
- package/dist/chunks/{command-pgyp9qgz.js → tool-5gx51r66.js} +3 -3
- package/dist/chunks/{command-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-2me2cgjk.js → tool-5qmfkff2.js} +9 -9
- package/dist/chunks/{command-ptak7ehw.js → tool-5z2vrcz3.js} +2 -2
- package/dist/chunks/{command-hbbqk0nf.js → tool-64ddt51t.js} +8 -8
- package/dist/chunks/{command-dy3angj7.js → tool-66950z1s.js} +11 -11
- package/dist/chunks/{command-6827pfxn.js → tool-6827pfxn.js} +1 -1
- package/dist/chunks/{command-djqf971v.js → tool-687c5wp0.js} +23 -23
- package/dist/chunks/{command-yjekck1e.js → tool-6a3j6khd.js} +46 -46
- package/dist/chunks/{command-g5b8j3v4.js → tool-6j90fxgt.js} +17 -17
- package/dist/chunks/{command-yph07088.js → tool-6w39brh1.js} +5 -5
- package/dist/chunks/{command-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-4w7ecc6g.js → tool-6ygh4fgn.js} +24 -24
- package/dist/chunks/{command-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{command-wkhzxvmr.js → tool-7a5jr4d9.js} +22 -22
- package/dist/chunks/{command-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-ge44mx5n.js → tool-7dqsqf20.js} +50 -50
- package/dist/chunks/{command-v2m8q0xf.js → tool-7jvyaakv.js} +15 -15
- package/dist/chunks/{command-zq2x8b87.js → tool-82rbgap5.js} +12 -12
- package/dist/chunks/{command-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{command-6yz0wx8n.js → tool-8cbrfsed.js} +5 -5
- package/dist/chunks/{command-dwr5n885.js → tool-8edt2mn2.js} +81 -81
- package/dist/chunks/{command-r014m902.js → tool-8fs4gys7.js} +11 -11
- package/dist/chunks/{command-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-8mywswrd.js → tool-8mywswrd.js} +1 -1
- package/dist/chunks/{command-w2v961ax.js → tool-8pjxh0v6.js} +35 -37
- package/dist/chunks/{command-mgwe8qfe.js → tool-8ptwh2sj.js} +5 -5
- package/dist/chunks/{command-pwfkmcqs.js → tool-8qjra3pm.js} +29 -29
- package/dist/chunks/{command-8vcf4cwr.js → tool-8vcf4cwr.js} +2 -2
- package/dist/chunks/{command-xx33v6n7.js → tool-940py8pc.js} +14 -14
- package/dist/chunks/{command-s4q0hzws.js → tool-98e06m6b.js} +43 -41
- package/dist/chunks/{command-6y9j254c.js → tool-9ar0tc7e.js} +8 -8
- package/dist/chunks/{command-g0445xdp.js → tool-9hn6k4tm.js} +8 -8
- package/dist/chunks/{command-77qajvn3.js → tool-9ks7twft.js} +21 -21
- package/dist/chunks/tool-9mbmc05v.js +26 -0
- package/dist/chunks/{command-fp13yrwa.js → tool-9ny5hk10.js} +11 -11
- package/dist/chunks/{command-9wev2pgg.js → tool-9wev2pgg.js} +1 -1
- package/dist/chunks/{command-3c8ew9jt.js → tool-9y4hw6ff.js} +45 -45
- package/dist/chunks/{command-jpqeh2wc.js → tool-a3c7ahw6.js} +4 -4
- package/dist/chunks/{command-1e096zfv.js → tool-a6rw3yra.js} +26 -26
- package/dist/chunks/{command-8sse9e5v.js → tool-aher8bmf.js} +16 -16
- package/dist/chunks/{command-aj7mw0zk.js → tool-aj7mw0zk.js} +2 -2
- package/dist/chunks/{command-zahm10sn.js → tool-amdk1eh7.js} +16 -16
- package/dist/chunks/{command-r3npp4de.js → tool-awb2kyzs.js} +17 -17
- package/dist/chunks/{command-1k45a7y4.js → tool-az243w7k.js} +27 -27
- package/dist/chunks/{command-b11a7tx7.js → tool-b11a7tx7.js} +1 -1
- package/dist/chunks/{command-63kpjth9.js → tool-be2hac41.js} +9 -9
- package/dist/chunks/{command-wjr9rjd7.js → tool-bjx1sjef.js} +6 -6
- package/dist/chunks/{command-967benbv.js → tool-bz1rn4hs.js} +11 -11
- package/dist/chunks/{command-5epte933.js → tool-c2sed5cq.js} +2 -2
- package/dist/chunks/{command-cgh16r15.js → tool-c95ze8dw.js} +8 -8
- package/dist/chunks/{command-kkm66dmx.js → tool-cbre0k23.js} +7 -7
- package/dist/chunks/{command-96z498kx.js → tool-ccxm2ze4.js} +13 -13
- package/dist/chunks/{command-02pca900.js → tool-cnfb3fp5.js} +85 -85
- package/dist/chunks/{command-vdp67131.js → tool-cv6a5k53.js} +11 -11
- package/dist/chunks/{command-mv3xkgvr.js → tool-cv8w919v.js} +3 -3
- package/dist/chunks/{command-pkcmhgjr.js → tool-d7bshphg.js} +8 -8
- package/dist/chunks/{command-t8afp1a1.js → tool-d8e9t34v.js} +9 -9
- package/dist/chunks/{command-n6ngdxpd.js → tool-d99mbq37.js} +13 -13
- package/dist/chunks/{command-w7ef2pdc.js → tool-dbde4j0g.js} +4 -4
- package/dist/chunks/{command-nhxs7ffw.js → tool-df85n37n.js} +14 -14
- package/dist/chunks/{command-q13f50ex.js → tool-dgzw2v3x.js} +24 -24
- package/dist/chunks/{command-0depx116.js → tool-dhhj8p3k.js} +22 -22
- package/dist/chunks/{command-cpneeje0.js → tool-djszqvmq.js} +9 -9
- package/dist/chunks/{command-dvj9ct8m.js → tool-dvj9ct8m.js} +3 -3
- package/dist/chunks/{command-ckf8nxjz.js → tool-e2hjzebn.js} +4 -4
- package/dist/chunks/{command-t3znd8m3.js → tool-e5adrsfc.js} +32 -32
- package/dist/chunks/{command-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-wkpdpa51.js → tool-enwyhyab.js} +17 -17
- package/dist/chunks/{command-0ejg1h3y.js → tool-eryt761w.js} +29 -29
- package/dist/chunks/{command-c61wj0cv.js → tool-ewzj04x6.js} +7 -7
- package/dist/chunks/{command-0gapa1rm.js → tool-ex0pka66.js} +5 -5
- package/dist/chunks/{command-pv162s98.js → tool-f083g6z5.js} +4 -4
- package/dist/chunks/{command-3n39cpdf.js → tool-f3c2dd4g.js} +11 -11
- package/dist/chunks/{command-hr3ck4k2.js → tool-f46vcsvf.js} +11 -11
- package/dist/chunks/{command-fcrkznn8.js → tool-fcrkznn8.js} +1 -1
- package/dist/chunks/{command-fcy631f0.js → tool-fcy631f0.js} +1 -1
- package/dist/chunks/{command-r9w3djhf.js → tool-fdms3n6w.js} +9 -9
- package/dist/chunks/{command-e6knj4ky.js → tool-fgz8sgbp.js} +11 -11
- package/dist/chunks/{command-p5pcm5fj.js → tool-fhczpvra.js} +11 -11
- package/dist/chunks/{command-tt8gc4fv.js → tool-fn9t717r.js} +6 -6
- package/dist/chunks/{command-hqhd8mr3.js → tool-fr6mqtdc.js} +13 -13
- package/dist/chunks/{command-8nr013c3.js → tool-fyd5j4v9.js} +23 -23
- package/dist/chunks/{command-hnmmt9bt.js → tool-g0nc362r.js} +16 -16
- package/dist/chunks/{command-qznp475s.js → tool-g5bttqze.js} +8 -8
- package/dist/chunks/{command-fkj9mczz.js → tool-g98a52zh.js} +9 -9
- package/dist/chunks/{command-8gazrhqj.js → tool-gc1jma41.js} +33 -33
- package/dist/chunks/{command-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-a4xtrzqb.js → tool-gjeh15rb.js} +11 -11
- package/dist/chunks/{command-kqef9432.js → tool-gmy8fdpk.js} +4 -4
- package/dist/chunks/{command-mx1fmt33.js → tool-gn4fp5fa.js} +46 -46
- package/dist/chunks/{command-q7jg6b3k.js → tool-gq1qwanx.js} +14 -14
- package/dist/chunks/{command-tfsj72j2.js → tool-gy0p0s4q.js} +20 -20
- package/dist/chunks/{command-jhk62tbh.js → tool-gzsyx702.js} +5 -5
- package/dist/chunks/{command-chpbykcw.js → tool-h4dbkbzh.js} +7 -7
- package/dist/chunks/{command-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-1hy1achk.js → tool-hgchpp86.js} +25 -25
- package/dist/chunks/{command-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-9bs1c7ey.js → tool-hpbpadsk.js} +4 -4
- package/dist/chunks/{command-g02fgy81.js → tool-hveambb3.js} +6 -6
- package/dist/chunks/{command-mmqg1qye.js → tool-j0hvq876.js} +19 -19
- package/dist/chunks/{command-52ae0j7r.js → tool-j3nws6dg.js} +11 -11
- package/dist/chunks/{command-zttg29zn.js → tool-j7zvs761.js} +31 -31
- package/dist/chunks/{command-whq7nv3n.js → tool-j8kb6sns.js} +1 -1
- package/dist/chunks/{command-zbwvew5n.js → tool-jcjdxez0.js} +14 -14
- package/dist/chunks/{command-xwqx1eeb.js → tool-jf44gywc.js} +18 -18
- package/dist/chunks/{command-3egpthbr.js → tool-jj9ksvj6.js} +26 -26
- package/dist/chunks/{command-qjxnsekw.js → tool-jkwff1ec.js} +18 -18
- package/dist/chunks/{command-16swm0z2.js → tool-jmqp76t3.js} +6 -6
- package/dist/chunks/{command-y0mtf7j7.js → tool-jnz7tvg3.js} +5 -5
- package/dist/chunks/{command-6pc27hjz.js → tool-jws6fkes.js} +4 -4
- package/dist/chunks/{command-qk8cm41f.js → tool-k032gzcv.js} +28 -28
- package/dist/chunks/{command-zqgkxsdx.js → tool-k2svkm7d.js} +9 -9
- package/dist/chunks/{command-fkcvtbd2.js → tool-k52t8s6v.js} +9 -9
- package/dist/chunks/{command-72c5e6kf.js → tool-k5jfazps.js} +9 -9
- package/dist/chunks/{command-ws4zn9x6.js → tool-k7af4aa9.js} +11 -11
- package/dist/chunks/{command-mnves5jb.js → tool-kj78g2dw.js} +30 -30
- package/dist/chunks/{command-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
- package/dist/chunks/{command-tdrv5nbk.js → tool-m103jfcn.js} +35 -35
- package/dist/chunks/{command-2g8sxgxk.js → tool-m49kcc85.js} +17 -17
- package/dist/chunks/{command-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{command-22rvfkr8.js → tool-mjj5jjh8.js} +5 -5
- package/dist/chunks/{command-kqv3x6rj.js → tool-mqqhst8y.js} +9 -9
- package/dist/chunks/{command-948dh3hk.js → tool-mqwsrn1d.js} +29 -29
- package/dist/chunks/{command-a4pbv56j.js → tool-mr48ebck.js} +16 -16
- package/dist/chunks/{command-addxnjmp.js → tool-mxvxcxwy.js} +4 -4
- package/dist/chunks/{command-a76s9319.js → tool-n1dmb866.js} +26 -26
- package/dist/chunks/{command-zp3b7061.js → tool-n2dhmw60.js} +21 -21
- package/dist/chunks/{command-0g6q6pfz.js → tool-n5wy83m1.js} +4 -4
- package/dist/chunks/{command-4kj8c1s4.js → tool-n9c7dk5h.js} +28 -28
- package/dist/chunks/{command-jjpxm7bv.js → tool-ndkkv98v.js} +17 -17
- package/dist/chunks/{command-na13574c.js → tool-np60s0wh.js} +26 -26
- package/dist/chunks/{command-dqrbwv0a.js → tool-ntecsb7f.js} +40 -40
- package/dist/chunks/{command-n1dcq2q6.js → tool-nxgc2w5h.js} +4 -4
- package/dist/chunks/{command-fxaymqdw.js → tool-ny8edt06.js} +4 -4
- package/dist/chunks/{command-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
- package/dist/chunks/{command-jjcahp0d.js → tool-p14k59zn.js} +10 -10
- package/dist/chunks/tool-p2h6zvwc.js +18 -0
- package/dist/chunks/{command-9h6sayvh.js → tool-p3p03tan.js} +24 -24
- package/dist/chunks/tool-p5pn22a9.js +257 -0
- package/dist/chunks/{command-dh62xe4r.js → tool-pc1v25hk.js} +3 -3
- package/dist/chunks/{command-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{command-ratrq7cm.js → tool-qa3qhgw8.js} +4 -4
- package/dist/chunks/{command-wbsnpf72.js → tool-qg775g37.js} +48 -48
- package/dist/chunks/{command-drwq78ky.js → tool-qqeeq2t9.js} +7 -7
- package/dist/chunks/{command-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{command-97kmb959.js → tool-qvyxvxya.js} +33 -33
- package/dist/chunks/{command-32ca7668.js → tool-r4apxbbe.js} +18 -18
- package/dist/chunks/{command-283cyrsj.js → tool-rdfnpc7e.js} +1 -1
- package/dist/chunks/{command-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-0javqkgf.js → tool-rm4mkcw0.js} +9 -9
- package/dist/chunks/{command-83dfmwhh.js → tool-rp9an6k1.js} +24 -24
- package/dist/chunks/{command-mez53n4j.js → tool-rq2y2j0k.js} +13 -13
- package/dist/chunks/{command-8br0tfcm.js → tool-rs666mm1.js} +4 -4
- package/dist/chunks/{command-ejrgmtaq.js → tool-rscvxc63.js} +13 -13
- package/dist/chunks/{command-kt3b3w9s.js → tool-s14qqts9.js} +18 -18
- package/dist/chunks/{command-qd788sr8.js → tool-sfjj6pfb.js} +34 -34
- package/dist/chunks/{command-3vvdcvz1.js → tool-sgtpgegc.js} +30 -30
- package/dist/chunks/{command-t7e2bcer.js → tool-sjq3h641.js} +43 -43
- package/dist/chunks/{command-v9txjfgp.js → tool-skpzryv2.js} +12 -12
- package/dist/chunks/{command-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{command-t550f9t1.js → tool-t550f9t1.js} +1 -1
- package/dist/chunks/{command-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-z5bz21w3.js → tool-tbhbbw5y.js} +70 -70
- package/dist/chunks/{command-s5fqv55p.js → tool-tbv8yktb.js} +14 -14
- package/dist/chunks/{command-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{command-dcncen4d.js → tool-tec24ygv.js} +16 -16
- package/dist/chunks/{command-58qhexmz.js → tool-tewdvev1.js} +21 -21
- package/dist/chunks/{command-cevbxveq.js → tool-tfbr2nq1.js} +3 -3
- package/dist/chunks/{command-z0aj456m.js → tool-tjedn1bk.js} +4 -4
- package/dist/chunks/{command-bxqk5pf5.js → tool-tk1z8rcs.js} +9 -9
- package/dist/chunks/{command-ect4475a.js → tool-tx895r66.js} +18 -18
- package/dist/chunks/{command-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{command-e39nsbtg.js → tool-tz96d8h6.js} +9 -9
- package/dist/chunks/{command-z9d3cvam.js → tool-v28f4abg.js} +2 -2
- package/dist/chunks/{command-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-9vgsddc0.js → tool-vbj0m456.js} +5 -5
- package/dist/chunks/{command-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{command-jpjpmxdq.js → tool-vfm45d2v.js} +5 -5
- package/dist/chunks/{command-bqzx1cnv.js → tool-vj682sbm.js} +2 -2
- package/dist/chunks/{command-z9h9mhtp.js → tool-vmamyk2k.js} +17 -17
- package/dist/chunks/{command-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-95mrps0w.js → tool-w174qar2.js} +13 -13
- package/dist/chunks/{command-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-x0mpvren.js → tool-w492d1p5.js} +18 -18
- package/dist/chunks/{command-r54ry9rd.js → tool-w5pf37nm.js} +26 -26
- package/dist/chunks/{command-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-ck6mh85g.js → tool-wb3hegf8.js} +16 -16
- package/dist/chunks/{command-nbbt34nq.js → tool-wbrx293h.js} +5 -5
- package/dist/chunks/{command-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{command-zdzmwh5k.js → tool-wjv6dtxz.js} +4 -4
- package/dist/chunks/{command-3wyzm26w.js → tool-wk61yqzs.js} +42 -42
- package/dist/chunks/{command-emyrjxnr.js → tool-wkrva1pr.js} +13 -13
- package/dist/chunks/{command-v0g0brx6.js → tool-wkrz5chy.js} +41 -41
- package/dist/chunks/{command-h1k4kx5h.js → tool-wn6r8baz.js} +11 -11
- package/dist/chunks/{command-6n0t37d6.js → tool-wsd2y1yv.js} +21 -21
- package/dist/chunks/{command-k9yvbbgh.js → tool-wtd34zkk.js} +7 -7
- package/dist/chunks/{command-jm03v3tw.js → tool-wy8rpyz3.js} +6 -6
- package/dist/chunks/{command-tk1wxqb9.js → tool-x030sm2p.js} +32 -32
- package/dist/chunks/{command-xsxxgc5h.js → tool-x13hnj69.js} +26 -26
- package/dist/chunks/{command-g8qdqr0p.js → tool-x36bd8da.js} +32 -32
- package/dist/chunks/{command-qcmbay3g.js → tool-x6etvh7w.js} +20 -20
- package/dist/chunks/{command-nt51sm0f.js → tool-xdzd716q.js} +5 -5
- package/dist/chunks/{command-e9zd77c1.js → tool-xzsd65cy.js} +20 -20
- package/dist/chunks/{command-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-jad02azz.js → tool-y51c8cm2.js} +177 -177
- package/dist/chunks/{command-n6mnjzyz.js → tool-y5r47bzr.js} +7 -7
- package/dist/chunks/{command-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{command-jg57jh00.js → tool-y9mdcbbm.js} +13 -13
- package/dist/chunks/{command-j7aq1t3e.js → tool-y9s9xvs6.js} +8 -8
- package/dist/chunks/{command-asnmz69s.js → tool-yc3qf5z0.js} +9 -9
- package/dist/chunks/{command-sr1qwj5a.js → tool-yja0x3kv.js} +330 -330
- package/dist/chunks/{command-y99cwb6p.js → tool-ymwgex1k.js} +20 -20
- package/dist/chunks/{command-ayyhc25y.js → tool-yvf18s5x.js} +12 -12
- package/dist/chunks/{command-4rsh6n8g.js → tool-yvz6gv03.js} +12 -12
- package/dist/chunks/{command-xyr4e3r8.js → tool-ywwdv83n.js} +15 -15
- package/dist/chunks/{command-wpm2rk0p.js → tool-yx0rmv9r.js} +4 -4
- package/dist/chunks/{command-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z18fegx4.js → tool-z18fegx4.js} +1 -1
- package/dist/chunks/{command-wsphkq72.js → tool-z6sgjvvh.js} +10 -10
- package/dist/chunks/{command-w8wm14nc.js → tool-z7nbrbpb.js} +9 -9
- package/dist/chunks/{command-8rs56nfj.js → tool-zag9qx83.js} +24 -24
- package/dist/chunks/{command-9r15s34d.js → tool-zdwe30dy.js} +6 -6
- package/dist/chunks/{command-qby9dwvd.js → tool-ze75yzft.js} +8 -8
- package/dist/chunks/{command-et0erakc.js → tool-zfgqkgc5.js} +4 -4
- package/dist/chunks/{command-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-as1q5j0q.js → tool-zwgthjzd.js} +13 -13
- package/dist/chunks/{command-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-1m2v2j5e.js → tool-zyg44wv6.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +76 -76
- 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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +82 -82
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/command-06zctecw.js +0 -257
- package/dist/chunks/command-kj2kg6z0.js +0 -26
- package/dist/chunks/command-phz3h32g.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5fjb7ams.js → tool-5fjb7ams.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-nxgc2w5h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./tool-g0nc362r.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./tool-tx895r66.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./tool-37cqxn50.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./tool-aher8bmf.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
Service63,
|
|
26
|
-
node66
|
|
27
|
-
} from "./command-kt3b3w9s.js";
|
|
23
|
+
} from "./tool-y1fvbwt7.js";
|
|
28
24
|
import {
|
|
29
25
|
Service66,
|
|
30
26
|
node69
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./tool-s14qqts9.js";
|
|
28
|
+
import {
|
|
29
|
+
Service77,
|
|
30
|
+
node80
|
|
31
|
+
} from "./tool-ze75yzft.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
46
|
ID: () => ID7,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service64,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node67
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID7 = Permission.ID;
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service64 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service82;
|
|
133
|
+
const agents = yield* Service67;
|
|
134
|
+
const sessions = yield* Service65;
|
|
135
|
+
const saved = yield* Service66;
|
|
136
|
+
const hooks = yield* Service77;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service64.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node67 = makeLocationNode({
|
|
303
|
+
service: Service64,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89,
|
|
305
|
+
deps: [node89, node86, node70, node68, node69, node80]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node67, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service44,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node48
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service44 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service44.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node48 = makeLocationNode({
|
|
143
|
+
service: Service44,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node48, exports_tool_output2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-3hjc3vgd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-nxgc2w5h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./tool-dgzw2v3x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-p3p03tan.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-a6rw3yra.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./tool-04cnhvec.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-wy8rpyz3.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service76;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-nxgc2w5h.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-04cnhvec.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service38,
|
|
9
|
+
Event8
|
|
10
|
+
} from "./tool-2z2nwxhc.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service38;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./tool-a6rw3yra.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./tool-wk61yqzs.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service73;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service61);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-mjj5jjh8.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-sjq3h641.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-wsd2y1yv.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-rs666mm1.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-gmy8fdpk.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-wjj7prxr.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-7jvyaakv.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-5m9w47nd.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-sfjj6pfb.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-xzsd65cy.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./tool-4j0c97rp.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-wbrx293h.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-208nnjmr.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-m49kcc85.js";
|
|
52
52
|
import {
|
|
53
53
|
NeonPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./tool-ve7vex1e.js";
|
|
55
55
|
import {
|
|
56
56
|
NvidiaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./tool-24dcb14g.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-n5wy83m1.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIPlugin3
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./tool-j0hvq876.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./tool-26dhv5et.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./tool-6ygh4fgn.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./tool-5gx51r66.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./tool-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./tool-vbj0m456.js";
|
|
79
79
|
import {
|
|
80
80
|
PromptCacheKeyPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./tool-hcxmzztb.js";
|
|
82
82
|
import {
|
|
83
83
|
SapAICorePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./tool-gzsyx702.js";
|
|
85
85
|
import {
|
|
86
86
|
VercelPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./tool-j8kb6sns.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./tool-f083g6z5.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./tool-8fs4gys7.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./tool-jjkms2e6.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-tfbr2nq1.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node85
|
|
18
|
+
} from "./tool-yx0rmv9r.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info26,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service81,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured11,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node84
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service81 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service81,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node85]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info26({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service81.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node84 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info26, NotFound2, CreateConflict2, Service81, configured11, node84, exports_workspace };
|