@opencode/core 0.0.0-dev-19405 → 0.0.0-dev-19406
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{reference-vq6pkt6q.js → workspace-00yj64tw.js} +8 -8
- package/dist/chunks/{reference-4bap03mh.js → workspace-08va5z8e.js} +38 -38
- package/dist/chunks/{reference-069ez2pk.js → workspace-0c2368v0.js} +27 -27
- package/dist/chunks/{reference-5jgk54rp.js → workspace-0df1zyj6.js} +45 -45
- package/dist/chunks/{reference-w0n7a3yn.js → workspace-0f5r6y21.js} +13 -13
- package/dist/chunks/{reference-2k8khapm.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{reference-ezmrpqv5.js → workspace-0mvrzs3q.js} +27 -27
- package/dist/chunks/{reference-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-38j1eg2k.js → workspace-11f5ey5t.js} +9 -9
- package/dist/chunks/{reference-3g767a7k.js → workspace-17x03v7d.js} +17 -17
- package/dist/chunks/{reference-7e2yy7bx.js → workspace-18e56dsp.js} +4 -4
- package/dist/chunks/{reference-w44x3hm1.js → workspace-19p34cwj.js} +11 -11
- package/dist/chunks/{reference-z6nz13dk.js → workspace-1a6tnz5m.js} +6 -6
- package/dist/chunks/{reference-f2n192rq.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{reference-gv45jpg5.js → workspace-1agm07vn.js} +4 -4
- package/dist/chunks/{reference-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-1eyaby9q.js → workspace-1eyaby9q.js} +2 -2
- package/dist/chunks/{reference-4s15yhyb.js → workspace-1hfvq3hk.js} +9 -9
- package/dist/chunks/{reference-wmbw81qg.js → workspace-1k8a3rj6.js} +79 -79
- package/dist/chunks/{reference-q342wcsq.js → workspace-1n9v4yht.js} +3 -3
- package/dist/chunks/{reference-2x1tygz9.js → workspace-21kgkeg9.js} +9 -9
- package/dist/chunks/{reference-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{reference-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{reference-vxdjbxqe.js → workspace-25z0xxdg.js} +10 -10
- package/dist/chunks/{reference-vvhxhpdd.js → workspace-260nsw4w.js} +20 -20
- package/dist/chunks/{reference-zvg6wpm3.js → workspace-26hypp0s.js} +33 -33
- package/dist/chunks/{reference-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-rszxffrt.js → workspace-2atctz6s.js} +162 -162
- package/dist/chunks/{reference-k1endqwm.js → workspace-2d4astz3.js} +12 -12
- package/dist/chunks/{reference-asmz7wyz.js → workspace-2hyh68ab.js} +8 -8
- package/dist/chunks/{reference-a1p8sqe6.js → workspace-2nfnt4ye.js} +21 -21
- package/dist/chunks/{reference-tkhm1f4n.js → workspace-2q352txm.js} +46 -46
- package/dist/chunks/{reference-qajrngy3.js → workspace-31japxcc.js} +24 -24
- package/dist/chunks/{reference-7yqjxrmz.js → workspace-35agz59w.js} +6 -6
- package/dist/chunks/{reference-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-zjnwhdhy.js → workspace-3j1hp0ty.js} +27 -27
- package/dist/chunks/{reference-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3j6hn5pg.js → workspace-3wnr7h3v.js} +12 -12
- package/dist/chunks/{reference-1jjc8ex5.js → workspace-42z94ejy.js} +6 -6
- package/dist/chunks/{reference-y98pmm57.js → workspace-47z782k9.js} +15 -15
- package/dist/chunks/{reference-sgpd7ym3.js → workspace-48qrq2th.js} +10 -10
- package/dist/chunks/{reference-7b2pfzf8.js → workspace-48vm7pvj.js} +16 -16
- package/dist/chunks/{reference-adaj7ksj.js → workspace-4brkry6z.js} +7 -7
- package/dist/chunks/{reference-hx12r247.js → workspace-4knw0yd9.js} +27 -27
- package/dist/chunks/{reference-xhmq8qgk.js → workspace-52vrzpkh.js} +9 -9
- package/dist/chunks/{reference-mgw48z1b.js → workspace-564nwv9t.js} +24 -24
- package/dist/chunks/{reference-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
- package/dist/chunks/{reference-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-0dwg38z7.js → workspace-5n23cvdt.js} +20 -20
- package/dist/chunks/{reference-9eh6sf6d.js → workspace-5nrew705.js} +5 -5
- package/dist/chunks/{reference-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-verxd6cc.js → workspace-5va42dqn.js} +7 -7
- package/dist/chunks/{reference-v7j335k4.js → workspace-5xyecbgy.js} +30 -30
- package/dist/chunks/{reference-21bd5msc.js → workspace-60swyqgb.js} +6 -6
- package/dist/chunks/{reference-en74w496.js → workspace-62jy5cfr.js} +5 -5
- package/dist/chunks/{reference-c7ecgrk6.js → workspace-63c29q5z.js} +8 -8
- package/dist/chunks/{reference-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{reference-spphehv3.js → workspace-671axw96.js} +25 -25
- package/dist/chunks/{reference-1efffvwy.js → workspace-6c6d27ky.js} +21 -21
- package/dist/chunks/{reference-efq5tq4f.js → workspace-6f71wzny.js} +18 -18
- package/dist/chunks/{reference-5rswhkvm.js → workspace-6h5kb07x.js} +20 -20
- package/dist/chunks/{reference-nbwvt5pv.js → workspace-6jgmv1yx.js} +8 -8
- package/dist/chunks/{reference-qs0ddh18.js → workspace-6kkm1vms.js} +32 -32
- package/dist/chunks/{reference-hbhmt5dn.js → workspace-6m75b8cv.js} +2 -2
- package/dist/chunks/{reference-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{reference-as4zy6vm.js → workspace-75my1bc5.js} +6 -6
- package/dist/chunks/{reference-4zrw1ey2.js → workspace-772n9qp6.js} +2 -2
- package/dist/chunks/{reference-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-yp7f5kew.js → workspace-7d6jfxsy.js} +15 -15
- package/dist/chunks/{reference-e1nwe2td.js → workspace-7f86n5vp.js} +8 -8
- package/dist/chunks/{reference-rtphz2v8.js → workspace-7xpb4b38.js} +9 -9
- package/dist/chunks/{reference-xxhb4jr7.js → workspace-81swgkk7.js} +9 -9
- package/dist/chunks/{reference-hkjf8z9r.js → workspace-87deq66t.js} +6 -6
- package/dist/chunks/{reference-tcezcvh9.js → workspace-89znhe33.js} +4 -4
- package/dist/chunks/{reference-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/workspace-8g1qq46z.js +247 -0
- package/dist/chunks/{reference-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{reference-n3wdcy6w.js → workspace-8sghyhzw.js} +8 -8
- package/dist/chunks/{reference-4mkcvr19.js → workspace-90h7kwk9.js} +5 -5
- package/dist/chunks/{reference-smq0r06k.js → workspace-98cg5nke.js} +59 -59
- package/dist/chunks/{reference-w3x9v1nk.js → workspace-9ex8f1cq.js} +8 -8
- package/dist/chunks/{reference-48ghgnyj.js → workspace-9hvf7zmn.js} +9 -9
- package/dist/chunks/{reference-w671fmtf.js → workspace-9shdk57a.js} +46 -46
- package/dist/chunks/{reference-qjwymapa.js → workspace-9wbxqmjz.js} +25 -25
- package/dist/chunks/{reference-7mydebfb.js → workspace-9xw3tj2y.js} +11 -11
- package/dist/chunks/{reference-sgfkh1bp.js → workspace-a0z4fccy.js} +4 -4
- package/dist/chunks/{reference-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{reference-dxt7hne3.js → workspace-a5bp1xck.js} +11 -11
- package/dist/chunks/{reference-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-29sw5btw.js → workspace-aam5c1df.js} +43 -43
- package/dist/chunks/{reference-gt0cxfk7.js → workspace-aan3cyfv.js} +1 -1
- package/dist/chunks/{reference-5t7ms9mx.js → workspace-acdf9wey.js} +18 -18
- package/dist/chunks/{reference-kr2c45mn.js → workspace-ade7nb1r.js} +20 -20
- package/dist/chunks/{reference-92yzrxcq.js → workspace-anadqz16.js} +25 -25
- package/dist/chunks/{reference-4fse7aks.js → workspace-av8gdzmj.js} +17 -17
- package/dist/chunks/{reference-234ap6ss.js → workspace-b2wde7ay.js} +18 -18
- package/dist/chunks/{reference-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-ej085sj0.js → workspace-beamfkq3.js} +4 -4
- package/dist/chunks/{reference-jtefztwj.js → workspace-behfe7zr.js} +4 -4
- package/dist/chunks/{reference-vyy6cxw9.js → workspace-bha4atvq.js} +4 -4
- package/dist/chunks/{reference-cvaa60g2.js → workspace-bn5b4a4k.js} +14 -14
- package/dist/chunks/{reference-0pr2t355.js → workspace-bnf2jjvk.js} +15 -15
- package/dist/chunks/{reference-65ttwmv3.js → workspace-br1eash1.js} +19 -19
- package/dist/chunks/{reference-z1f4gy9p.js → workspace-bv56xrks.js} +8 -8
- package/dist/chunks/workspace-by5v678g.js +18 -0
- package/dist/chunks/{reference-ftm00p2b.js → workspace-c30fjtmk.js} +1 -1
- package/dist/chunks/{reference-189pdvy9.js → workspace-c8266qxr.js} +13 -13
- package/dist/chunks/{reference-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{reference-jzxr77q3.js → workspace-cxqtyqa4.js} +26 -26
- package/dist/chunks/{reference-x3xe09d9.js → workspace-cxssh81s.js} +3 -3
- package/dist/chunks/{reference-hj92pwq6.js → workspace-d9sn21bc.js} +2 -2
- package/dist/chunks/{reference-4grg7b1w.js → workspace-dcvqdecp.js} +4 -4
- package/dist/chunks/{reference-y4xp3h88.js → workspace-dx1xsamq.js} +282 -282
- package/dist/chunks/{reference-8rpas02w.js → workspace-e6jfrte4.js} +17 -17
- package/dist/chunks/{reference-13j5h6zk.js → workspace-e9z75ypz.js} +13 -13
- package/dist/chunks/{reference-gbt6w4kb.js → workspace-eaj1djv9.js} +4 -4
- package/dist/chunks/{reference-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-2f0bjgcj.js → workspace-evbgk2k8.js} +5 -5
- package/dist/chunks/{reference-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{reference-5nsrms9d.js → workspace-fb6ja2y4.js} +1 -1
- package/dist/chunks/{reference-gvqge573.js → workspace-fsyg4b4p.js} +9 -9
- package/dist/chunks/{reference-aw218f2w.js → workspace-ftsj9eb4.js} +14 -14
- package/dist/chunks/{reference-bkaavq67.js → workspace-fvev15ye.js} +10 -10
- package/dist/chunks/{reference-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-3kmcaztr.js → workspace-fyjrpq2n.js} +11 -11
- package/dist/chunks/{reference-qcvy1hs9.js → workspace-g47eftgs.js} +9 -9
- package/dist/chunks/{reference-675rgbk8.js → workspace-gbze51rp.js} +41 -41
- package/dist/chunks/{reference-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-h8zt85z5.js → workspace-gdvq22q3.js} +10 -10
- package/dist/chunks/{reference-7qfmb4s4.js → workspace-gha35mp7.js} +43 -43
- package/dist/chunks/{reference-j5vg7gm1.js → workspace-gjg21rfc.js} +22 -22
- package/dist/chunks/{reference-zzd7tndm.js → workspace-gpw9wb7z.js} +26 -26
- package/dist/chunks/{reference-ap8njz3k.js → workspace-gqay82r3.js} +11 -11
- package/dist/chunks/{reference-th5km1p3.js → workspace-gv6a8nnw.js} +5 -5
- package/dist/chunks/{reference-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-g8xxs4tx.js → workspace-h2r7bbkd.js} +8 -8
- package/dist/chunks/{reference-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-83x6p9kd.js → workspace-hggyschk.js} +1 -1
- package/dist/chunks/{reference-0n9gyfew.js → workspace-hhvjvf8g.js} +4 -4
- package/dist/chunks/{reference-e82z9tr0.js → workspace-hjt4xg1x.js} +7 -7
- package/dist/chunks/{reference-7gvwkz6m.js → workspace-hkfg6fzm.js} +5 -5
- package/dist/chunks/{reference-hn57h045.js → workspace-hn57h045.js} +1 -1
- package/dist/chunks/{reference-yvmq8qxx.js → workspace-hs7fbk9e.js} +12 -12
- package/dist/chunks/{reference-xakp9rv9.js → workspace-hww6a8kv.js} +12 -12
- package/dist/chunks/{reference-52zvc43d.js → workspace-hxbwkwf2.js} +41 -41
- package/dist/chunks/{reference-w94h77jp.js → workspace-j2e3vmqt.js} +15 -15
- package/dist/chunks/{reference-6k7a189h.js → workspace-j2qyabf0.js} +36 -36
- package/dist/chunks/{reference-g6zhr88b.js → workspace-j4w9fnyz.js} +6 -6
- package/dist/chunks/{reference-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-8jmaqybk.js → workspace-j7wq2tw5.js} +3 -3
- package/dist/chunks/{reference-jahnfg6b.js → workspace-j8qeg2b0.js} +23 -23
- package/dist/chunks/{reference-bq8xzrzg.js → workspace-j9987dbw.js} +17 -17
- package/dist/chunks/{reference-kjz5gbca.js → workspace-jefma2gq.js} +10 -10
- package/dist/chunks/{reference-ratrq7cm.js → workspace-jfqtm2ew.js} +4 -4
- package/dist/chunks/{reference-xdk9p2qn.js → workspace-jw80jp6b.js} +21 -21
- package/dist/chunks/{reference-rvnq7e84.js → workspace-jwdv4y1w.js} +11 -11
- package/dist/chunks/{reference-xbjve9g7.js → workspace-jwef205w.js} +10 -10
- package/dist/chunks/{reference-hhczrqr1.js → workspace-jx36ppfv.js} +4 -4
- package/dist/chunks/{reference-qas58w1m.js → workspace-k2v8w9sh.js} +17 -17
- package/dist/chunks/{reference-x0x84apk.js → workspace-k3s1wnxs.js} +18 -18
- package/dist/chunks/{reference-v61v6jk6.js → workspace-k6hm1c4z.js} +17 -17
- package/dist/chunks/{reference-j5208yae.js → workspace-k8e0krnc.js} +9 -9
- package/dist/chunks/{reference-7my7c7z0.js → workspace-kc6m6sz4.js} +9 -9
- package/dist/chunks/{reference-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-fmxx1bts.js → workspace-ks28khcp.js} +24 -24
- package/dist/chunks/{reference-3eqkaq2z.js → workspace-ktdx9tqj.js} +14 -14
- package/dist/chunks/{reference-vqz1dqct.js → workspace-ky29xcn8.js} +19 -19
- package/dist/chunks/{reference-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/workspace-mbnhm94y.js +22 -0
- package/dist/chunks/{reference-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{reference-r4avt07e.js → workspace-mn4xswwv.js} +24 -24
- package/dist/chunks/{reference-2k5ec76m.js → workspace-mnvzjba7.js} +34 -34
- package/dist/chunks/{reference-6y0x6mhe.js → workspace-mpd5qf4j.js} +36 -36
- package/dist/chunks/{reference-r5x6zcsm.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{reference-k6szry07.js → workspace-ncyvmtt2.js} +19 -19
- package/dist/chunks/{reference-610kgvj3.js → workspace-nfgy6v4x.js} +8 -8
- package/dist/chunks/{reference-j0w83stm.js → workspace-nm95p8zp.js} +6 -6
- package/dist/chunks/{reference-jhetwysa.js → workspace-ns261efr.js} +3 -3
- package/dist/chunks/{reference-zky2ysba.js → workspace-nyc7jxxp.js} +37 -37
- package/dist/chunks/{reference-csf2jhsg.js → workspace-paegk39x.js} +4 -4
- package/dist/chunks/{reference-j935v87r.js → workspace-paphc93g.js} +2 -2
- package/dist/chunks/{reference-x7kn3ctb.js → workspace-pazbjste.js} +9 -9
- package/dist/chunks/{reference-pcfbqvzv.js → workspace-pbrpfg1g.js} +18 -18
- package/dist/chunks/{reference-6gzrz82e.js → workspace-pcyx20k3.js} +16 -16
- package/dist/chunks/{reference-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{reference-ewnjgq7q.js → workspace-prdj2v50.js} +5 -5
- package/dist/chunks/{reference-hp02hwp4.js → workspace-q0syr9ta.js} +13 -13
- package/dist/chunks/{reference-9dpegb11.js → workspace-q1hq4vqk.js} +18 -18
- package/dist/chunks/{reference-pfq1v9kt.js → workspace-q6xe9kp6.js} +24 -24
- package/dist/chunks/{reference-3c1tgrea.js → workspace-qfzde7bh.js} +6 -6
- package/dist/chunks/{reference-j16zphk7.js → workspace-qnbyzqhb.js} +24 -24
- package/dist/chunks/{reference-q9b7wkyy.js → workspace-qnnfhh99.js} +16 -16
- package/dist/chunks/{reference-37b2kds0.js → workspace-qp21pdsm.js} +43 -43
- package/dist/chunks/{reference-6dg7rqxz.js → workspace-qs1x3754.js} +17 -17
- package/dist/chunks/{reference-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-ja4wy4ee.js → workspace-qwkytnft.js} +9 -9
- package/dist/chunks/{reference-a291bara.js → workspace-qyyvm09j.js} +8 -8
- package/dist/chunks/{reference-zxwpk2nb.js → workspace-r0vgb2sm.js} +1 -1
- package/dist/chunks/{reference-aykdxbsk.js → workspace-r2c1v5cs.js} +11 -11
- package/dist/chunks/{reference-j6bm1nn6.js → workspace-r6fr6xhv.js} +16 -16
- package/dist/chunks/{reference-fhjrrdjb.js → workspace-r97fj8kj.js} +22 -22
- package/dist/chunks/{reference-6wsb51zt.js → workspace-rbfxpsrk.js} +18 -18
- package/dist/chunks/{reference-f1my3kj4.js → workspace-rf48fc3z.js} +20 -20
- package/dist/chunks/{reference-j5v2xxap.js → workspace-rnwhwxkr.js} +11 -11
- package/dist/chunks/{reference-e7kd7gj5.js → workspace-rpb40cdh.js} +3 -3
- package/dist/chunks/{reference-4nvekdmf.js → workspace-rtathh62.js} +8 -8
- package/dist/chunks/{reference-1f0ahqzp.js → workspace-rvbs1y5m.js} +16 -16
- package/dist/chunks/{reference-yx9d5yhn.js → workspace-rw0gxka2.js} +20 -20
- package/dist/chunks/{reference-redrjz5k.js → workspace-rybesq9t.js} +15 -15
- package/dist/chunks/{reference-e46ah9gc.js → workspace-saahjfzz.js} +7 -7
- package/dist/chunks/{reference-mfwv2709.js → workspace-scg96trk.js} +17 -17
- package/dist/chunks/{reference-t8mcaem5.js → workspace-sczgc2a3.js} +1 -1
- package/dist/chunks/{reference-d6fzg897.js → workspace-sm6980w8.js} +17 -17
- package/dist/chunks/{reference-8pqq62t9.js → workspace-svjbpvc0.js} +18 -18
- package/dist/chunks/{reference-xb3xm0py.js → workspace-swa700vz.js} +16 -16
- package/dist/chunks/{reference-m4wh40kd.js → workspace-szqt16bj.js} +2 -2
- package/dist/chunks/{reference-e7g2pv1c.js → workspace-t07nr89d.js} +13 -13
- package/dist/chunks/{reference-5kptn8c0.js → workspace-t0x5rdq8.js} +9 -9
- package/dist/chunks/{reference-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-knhghh0v.js → workspace-tb3qt4de.js} +30 -30
- package/dist/chunks/{reference-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{reference-vh99d6cz.js → workspace-th7rxwpk.js} +11 -11
- package/dist/chunks/{reference-1bmfk1j7.js → workspace-tmv3vrbh.js} +9 -9
- package/dist/chunks/{reference-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-yjb32c3k.js → workspace-v2dqap2x.js} +11 -11
- package/dist/chunks/{reference-m9qjv7qq.js → workspace-vcm9nwkf.js} +23 -23
- package/dist/chunks/{reference-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-3j8sdtpz.js → workspace-vncycja5.js} +4 -4
- package/dist/chunks/{reference-4j04egcw.js → workspace-vw4rsjqf.js} +59 -59
- package/dist/chunks/{reference-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-7mnn3rdt.js → workspace-w2tqht5n.js} +3 -3
- package/dist/chunks/{reference-zh4avhke.js → workspace-w3c11q9a.js} +26 -26
- package/dist/chunks/{reference-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-3jp54z3r.js → workspace-w79zsp0s.js} +1 -1
- package/dist/chunks/{reference-3qcr26pr.js → workspace-w8ssx6tw.js} +4 -4
- package/dist/chunks/{reference-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{reference-nns6kj95.js → workspace-we9gybbj.js} +7 -7
- package/dist/chunks/{reference-4vptvh4s.js → workspace-wvmwf5r3.js} +37 -37
- package/dist/chunks/{reference-qfhza6js.js → workspace-wycsdkc3.js} +9 -9
- package/dist/chunks/{reference-y0mcqq9w.js → workspace-wyp518qd.js} +32 -32
- package/dist/chunks/{reference-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{reference-y19r4g5g.js → workspace-x4f7xa08.js} +12 -12
- package/dist/chunks/{reference-qjp4a40e.js → workspace-x6cge8hj.js} +11 -11
- package/dist/chunks/{reference-j1tww2gp.js → workspace-xaj3yemm.js} +6 -6
- package/dist/chunks/{reference-qnyc9adz.js → workspace-xb38tjbm.js} +27 -27
- package/dist/chunks/{reference-gsx0ryk4.js → workspace-xekzrwwc.js} +9 -9
- package/dist/chunks/{reference-1wxb385z.js → workspace-xep7y6dg.js} +1 -1
- package/dist/chunks/{reference-8q0rcqtv.js → workspace-xfmmbppy.js} +14 -14
- package/dist/chunks/{reference-kgyjz9fy.js → workspace-xrnzdda7.js} +25 -25
- package/dist/chunks/{reference-wfbvyrr3.js → workspace-xyvg2pqc.js} +26 -26
- package/dist/chunks/{reference-y0n2m4xg.js → workspace-y0n2m4xg.js} +1 -1
- package/dist/chunks/{reference-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{reference-8q01rjya.js → workspace-yaw72qpm.js} +18 -18
- package/dist/chunks/{reference-zsy896rw.js → workspace-ybpsbgjn.js} +10 -10
- package/dist/chunks/{reference-fj264fv9.js → workspace-yd1p1r8q.js} +79 -79
- package/dist/chunks/{reference-gf18h3v3.js → workspace-yjgcx94j.js} +12 -12
- package/dist/chunks/{reference-510m7gjw.js → workspace-yjptyezs.js} +5 -5
- package/dist/chunks/{reference-0akhmw49.js → workspace-yrejkez5.js} +5 -5
- package/dist/chunks/{reference-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-s4enseaf.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-v4hps1eq.js → workspace-yxse6n4e.js} +14 -14
- package/dist/chunks/{reference-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-29x78va6.js → workspace-z63w68vq.js} +6 -6
- package/dist/chunks/{reference-z146wf5t.js → workspace-z7th72fz.js} +29 -29
- package/dist/chunks/{reference-gjdkj7gs.js → workspace-zbt061zt.js} +24 -24
- package/dist/chunks/{reference-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-sfddxscf.js → workspace-zg7z3sgq.js} +33 -33
- package/dist/chunks/{reference-gkmh43rj.js → workspace-zgh2pzwp.js} +7 -7
- package/dist/chunks/{reference-yfxdtzm1.js → workspace-zgpjdkre.js} +24 -24
- package/dist/chunks/{reference-fd0t6sve.js → workspace-zjp7g5zn.js} +28 -28
- package/dist/chunks/{reference-wtjt4ngy.js → workspace-zkdt6a6d.js} +36 -36
- package/dist/chunks/{reference-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-9d1kp679.js → workspace-zwhke550.js} +40 -40
- package/dist/chunks/{reference-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +116 -116
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +95 -95
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- 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 +115 -115
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/reference-9zdhvgqs.js +0 -18
- package/dist/chunks/reference-m71yds50.js +0 -247
- package/dist/chunks/reference-sjqcgh4k.js +0 -22
- /package/dist/chunks/{reference-0mesazry.js → workspace-0mesazry.js} +0 -0
- /package/dist/chunks/{reference-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./workspace-rf48fc3z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service51;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make10, LoadError2, exports_module };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-63c29q5z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service60,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node64
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID10,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service60 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service60.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node64 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service60, locationLayer2, node64, exports_aisdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rnwhwxkr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-beamfkq3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./workspace-zjp7g5zn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-qnbyzqhb.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID10,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-63c29q5z.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID6.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID6.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID10.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -221,9 +221,9 @@ var OpenAIPlugin3 = define({
|
|
|
221
221
|
evt.baseURL = codexBaseURL;
|
|
222
222
|
evt.headers.originator = "opencode";
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
224
|
+
}), { providerID: ID10.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|
|
@@ -314,4 +314,4 @@ function claim(token) {
|
|
|
314
314
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
export {
|
|
317
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rnwhwxkr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-beamfkq3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./workspace-zjp7g5zn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-qnbyzqhb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID10,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-63c29q5z.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-4brkry6z.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID10.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID10.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID10.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID10.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID10.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID10.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID10.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID10.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID10.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID10.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service53,
|
|
3
|
+
node57,
|
|
4
|
+
canonical3
|
|
5
|
+
} from "./workspace-x4f7xa08.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service40,
|
|
8
|
+
node43
|
|
9
|
+
} from "./workspace-qfzde7bh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./workspace-ade7nb1r.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-8g1qq46z.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(Service53, 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, Service14).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(canonical3(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical3(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
|
+
node43.replace(Layer.succeed(Service40, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node57.replace(Layer.succeed(Service53, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load2
|
|
6
|
+
} from "./workspace-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options7,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service51,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer21,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node55,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load2());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer21 = (options) => Layer.effect(
|
|
65
|
+
var layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service51.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service51).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service51, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service51, layer: layer21(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node55 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options7, Service51, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured7, node55, exports_watcher };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured4,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node46,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node46 = configured4();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer17, configured4, node46, exports_app };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-w2tqht5n.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-1n9v4yht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin33 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin34, exports_exa };
|