@opencode/core 0.0.0-dev-20828 → 0.0.0-dev-20830
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-fs0s4xdc.js → state-0557p3be.js} +34 -34
- package/dist/chunks/{form-782zrs06.js → state-0cg871e2.js} +5 -5
- package/dist/chunks/{form-g9w77p2h.js → state-0dfgejyr.js} +8 -8
- package/dist/chunks/{form-7dqw4kz8.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-bhx0crjq.js → state-0nafeyy2.js} +17 -17
- package/dist/chunks/{form-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-n8vdnqrc.js → state-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-98byex5e.js → state-0sakkys5.js} +10 -10
- package/dist/chunks/{form-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-msrmpw8q.js → state-0ww3hhrw.js} +4 -4
- package/dist/chunks/{form-4t145sc8.js → state-11ca2t5k.js} +46 -46
- package/dist/chunks/{form-674crf5e.js → state-171hx01y.js} +15 -15
- package/dist/chunks/{form-f2n192rq.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{form-n22ba5av.js → state-1hrrgg86.js} +329 -329
- package/dist/chunks/{form-tqp03w29.js → state-1jpgqh2z.js} +22 -22
- package/dist/chunks/{form-7qxdy3ab.js → state-1msdpkf3.js} +12 -12
- package/dist/chunks/{form-fsbk27r1.js → state-1nzh38e4.js} +9 -9
- package/dist/chunks/{form-57ys8d4d.js → state-1p1kcw92.js} +11 -11
- package/dist/chunks/{form-nx8rb7q9.js → state-1v5f3sf1.js} +13 -13
- package/dist/chunks/{form-e9gv8add.js → state-1xzgq0dt.js} +13 -13
- package/dist/chunks/{form-m1aw2hct.js → state-1yceajqh.js} +24 -24
- package/dist/chunks/{form-410ssy4d.js → state-24myjta5.js} +6 -6
- package/dist/chunks/{form-j3th3ztc.js → state-29c6hkck.js} +8 -8
- package/dist/chunks/{form-k1s8dyb0.js → state-2fr77vvd.js} +25 -25
- package/dist/chunks/{form-n6kqnd83.js → state-2j0vym9z.js} +12 -12
- package/dist/chunks/{form-t1dawjzh.js → state-2ktf0ed2.js} +8 -8
- package/dist/chunks/{form-fzb4jpac.js → state-2p5arddx.js} +13 -13
- package/dist/chunks/{form-7yfmjjmm.js → state-2qhyej25.js} +19 -19
- package/dist/chunks/{form-7gra0nqm.js → state-2r93mh4x.js} +5 -5
- package/dist/chunks/{form-2vvh33eb.js → state-2vvh33eb.js} +2 -2
- package/dist/chunks/{form-7pggkc53.js → state-2wy3czpc.js} +1 -1
- package/dist/chunks/{form-jmq43kgc.js → state-2zxcz0hw.js} +25 -25
- package/dist/chunks/{form-qxq0nqwk.js → state-35rvysyk.js} +3 -3
- package/dist/chunks/{form-b1pkt330.js → state-36n3adjp.js} +31 -31
- package/dist/chunks/{form-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-chk1c479.js → state-3y03j49s.js} +9 -9
- package/dist/chunks/{form-g4m1e4g9.js → state-3yqqv8dh.js} +36 -36
- package/dist/chunks/{form-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-8v5x19vh.js → state-42y89c4e.js} +24 -24
- package/dist/chunks/{form-zwvaegnk.js → state-4g85bg4y.js} +15 -15
- package/dist/chunks/{form-njy67wa0.js → state-4gbdxvwm.js} +17 -17
- package/dist/chunks/{form-q1gp456n.js → state-4tm360fx.js} +11 -11
- package/dist/chunks/{form-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-81key8bf.js → state-4v653aq5.js} +4 -4
- package/dist/chunks/{form-wgngrczc.js → state-50jyrsbn.js} +17 -17
- package/dist/chunks/{form-f5qn9b68.js → state-51wkfrt1.js} +5 -5
- package/dist/chunks/{form-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{form-pspzh9gr.js → state-58peq4z0.js} +3 -3
- package/dist/chunks/{form-kqzz1msf.js → state-5av0yrf2.js} +24 -24
- package/dist/chunks/{form-e1b8n3gh.js → state-5jsc8r4j.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-whbg0208.js → state-5zrs708t.js} +16 -16
- package/dist/chunks/{form-706phk7x.js → state-63db42yp.js} +2 -2
- package/dist/chunks/{form-02txvjnv.js → state-6ee6mja4.js} +11 -11
- package/dist/chunks/{form-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-8wrxqz42.js → state-6xpm1twa.js} +9 -9
- package/dist/chunks/{form-zcywpsge.js → state-72cj47zm.js} +11 -11
- package/dist/chunks/{form-xnbwxy24.js → state-72xps0ff.js} +28 -28
- package/dist/chunks/{form-wnt7wp6b.js → state-77nza94r.js} +13 -13
- package/dist/chunks/{form-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-vfvdkzh7.js → state-7mtsxbrk.js} +18 -18
- package/dist/chunks/{form-gd0tnyjc.js → state-7zt5x37y.js} +1 -1
- package/dist/chunks/{form-2ngk0dg2.js → state-82qb1t6x.js} +11 -11
- package/dist/chunks/{form-z8x0h9ra.js → state-83exb234.js} +26 -26
- package/dist/chunks/{form-hg2p2a9v.js → state-83tfp6t6.js} +17 -17
- package/dist/chunks/{form-he2v6sv2.js → state-8472ey6f.js} +27 -27
- package/dist/chunks/{form-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{form-t1t87xhv.js → state-87bedf94.js} +11 -11
- package/dist/chunks/{form-dw864gpf.js → state-88xma3a9.js} +11 -11
- package/dist/chunks/{form-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{form-25cs5cen.js → state-8aaqm6qj.js} +8 -8
- package/dist/chunks/{form-g23t6sg1.js → state-8enzew06.js} +34 -34
- package/dist/chunks/{form-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-rkprpv83.js → state-8sze2n9a.js} +6 -6
- package/dist/chunks/{form-ggjznnsd.js → state-8v02gd0t.js} +8 -8
- package/dist/chunks/{form-91qna3x0.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{form-dsn3h2gd.js → state-944h6gfv.js} +29 -29
- package/dist/chunks/{form-q84ycsvd.js → state-9a7pyw65.js} +33 -33
- package/dist/chunks/{form-9n6wwvty.js → state-9bm5c0md.js} +19 -19
- package/dist/chunks/{form-an2yc5xr.js → state-9bxt77bv.js} +57 -57
- package/dist/chunks/{form-69h1251q.js → state-9f40cav3.js} +8 -8
- package/dist/chunks/{form-hgmkvm58.js → state-9ndy2hht.js} +15 -15
- package/dist/chunks/{form-m6wf1b27.js → state-9qd4mbdw.js} +66 -66
- package/dist/chunks/{form-adtep242.js → state-9rbc7h43.js} +16 -16
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{form-j85eagxk.js → state-a0x3wzs7.js} +31 -31
- package/dist/chunks/{form-sazevqmq.js → state-a5ah3nzf.js} +20 -20
- package/dist/chunks/{form-w7m721xm.js → state-a7e5kesa.js} +2 -2
- package/dist/chunks/{form-hwtfb5gf.js → state-adnxhg2x.js} +33 -33
- package/dist/chunks/{form-secas1cc.js → state-adrw5mdv.js} +83 -83
- package/dist/chunks/{form-ny06cy4w.js → state-ahqtxjpt.js} +13 -13
- package/dist/chunks/{form-9b9geqmr.js → state-ayty09pp.js} +25 -25
- package/dist/chunks/{form-dtnvqxqd.js → state-b3d5k4tq.js} +11 -11
- package/dist/chunks/{form-3ebsda8f.js → state-b7ag9snz.js} +44 -44
- package/dist/chunks/{form-0eta6zh7.js → state-b7e85k7b.js} +24 -24
- package/dist/chunks/{form-ssbwjptr.js → state-b8zqr6yd.js} +11 -11
- package/dist/chunks/{form-tdc7v4mg.js → state-b96c8sgz.js} +45 -45
- package/dist/chunks/{form-wvx6w4rx.js → state-bgvakscb.js} +15 -15
- package/dist/chunks/{form-ff7y9y3v.js → state-bh3znjnz.js} +22 -22
- package/dist/chunks/{form-02xddtc0.js → state-bxkmvfck.js} +25 -25
- package/dist/chunks/{form-rj3eygr5.js → state-c41wscbt.js} +2 -2
- package/dist/chunks/{form-2sejkfem.js → state-c765mh8b.js} +9 -9
- package/dist/chunks/{form-sa8ekw3f.js → state-c8ax2afj.js} +2 -2
- package/dist/chunks/{form-wynsndej.js → state-ccx2wqdd.js} +8 -8
- package/dist/chunks/{form-k4tq5x53.js → state-cfnx7scx.js} +49 -49
- package/dist/chunks/{form-espmheeq.js → state-cfyzhaat.js} +11 -11
- package/dist/chunks/{form-2krnjfyp.js → state-cg9scsxc.js} +35 -35
- package/dist/chunks/{form-q0dgg3zj.js → state-ckxmgpbg.js} +24 -24
- package/dist/chunks/{form-kqxat9ja.js → state-cnv8w6dz.js} +87 -87
- package/dist/chunks/{form-t5h642bt.js → state-cwmk4gds.js} +7 -7
- package/dist/chunks/{form-e4fpj63v.js → state-cyzep8tn.js} +4 -4
- package/dist/chunks/{form-zwdvdw98.js → state-d2m5w5xb.js} +42 -42
- package/dist/chunks/{form-372hk0sy.js → state-d5nwps6r.js} +1 -1
- package/dist/chunks/{form-addxnjmp.js → state-db2wf4at.js} +4 -4
- package/dist/chunks/{form-edv7wmg4.js → state-dfam6ca0.js} +10 -10
- package/dist/chunks/{form-dmbwbvhk.js → state-djj1n09f.js} +7 -7
- package/dist/chunks/{form-bnwvdr8k.js → state-dp1z867b.js} +27 -27
- package/dist/chunks/{form-v36zy0wa.js → state-dyabj6q8.js} +13 -13
- package/dist/chunks/{form-dr78sty6.js → state-e5wg3wb1.js} +21 -21
- package/dist/chunks/{form-tj99qrza.js → state-e6g20vae.js} +24 -24
- package/dist/chunks/{form-setc7ajv.js → state-e8vwfchq.js} +9 -9
- package/dist/chunks/{form-s8d7rejh.js → state-eaj1djv9.js} +6 -6
- package/dist/chunks/{form-a2ew8a62.js → state-edrmdtr5.js} +7 -7
- package/dist/chunks/{form-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-daeg89qt.js → state-efpar2mq.js} +3 -3
- package/dist/chunks/{form-5jpna63x.js → state-ej0jrn3e.js} +11 -11
- package/dist/chunks/{form-pk42rxm6.js → state-emzsebxx.js} +6 -6
- package/dist/chunks/{form-c1fqxshp.js → state-es1vcfrp.js} +3 -3
- package/dist/chunks/{form-s6kxze16.js → state-esc9b6cf.js} +7 -7
- package/dist/chunks/{form-p7s7eag1.js → state-f06gwrsq.js} +8 -8
- package/dist/chunks/{form-407zx9f2.js → state-f80x16a8.js} +13 -13
- package/dist/chunks/{form-7deejnv5.js → state-fbw9agv5.js} +29 -29
- package/dist/chunks/{form-gmvqaxcm.js → state-fdqap5k5.js} +178 -178
- package/dist/chunks/{form-h4svzz1k.js → state-ftz7pznp.js} +10 -10
- package/dist/chunks/{form-dbqktatz.js → state-gaabptfq.js} +23 -23
- package/dist/chunks/{form-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-b0ynatpn.js → state-ghhxwymr.js} +10 -10
- package/dist/chunks/{form-z2qbjhyn.js → state-ghrzdqqx.js} +5 -5
- package/dist/chunks/{form-ce02pvrk.js → state-ghsw8zx7.js} +15 -15
- package/dist/chunks/{form-gk8qb678.js → state-gk8qb678.js} +1 -1
- package/dist/chunks/{form-v6gtewkg.js → state-gtx4ax2e.js} +45 -45
- package/dist/chunks/{form-4z58m4b4.js → state-gw7cjrad.js} +4 -4
- package/dist/chunks/{form-602550ez.js → state-h40gvhgm.js} +24 -24
- package/dist/chunks/{form-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
- package/dist/chunks/{form-kt428qqn.js → state-h93dctaq.js} +11 -11
- package/dist/chunks/{form-c2ms8fjw.js → state-h986hd8g.js} +18 -18
- package/dist/chunks/{form-v241zgxx.js → state-hazngtky.js} +1 -1
- package/dist/chunks/{form-ymgkxg7n.js → state-hcv80w8f.js} +11 -11
- package/dist/chunks/{form-6zz246r9.js → state-hd86p3k8.js} +4 -4
- package/dist/chunks/{form-5r61v62t.js → state-hdn8e5hd.js} +4 -4
- package/dist/chunks/{form-drac6928.js → state-hdxgsgcv.js} +5 -5
- package/dist/chunks/{form-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-zcrspsvn.js → state-hn57h045.js} +4 -4
- package/dist/chunks/{form-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{form-wyazd03e.js → state-j9z6me7c.js} +9 -9
- package/dist/chunks/{form-95ff9q6w.js → state-jjneh92f.js} +13 -13
- package/dist/chunks/{form-ns6yht8e.js → state-jjw261ry.js} +13 -13
- package/dist/chunks/{form-5dgjn14j.js → state-jnft9wxv.js} +8 -8
- package/dist/chunks/{form-ppqr5nhx.js → state-jqd3eecq.js} +9 -9
- package/dist/chunks/{form-kz0fxtr4.js → state-jqpbgzsk.js} +10 -10
- package/dist/chunks/{form-mns24rw2.js → state-jvmjd6nh.js} +17 -17
- package/dist/chunks/{form-eb5pm11b.js → state-jznafckq.js} +11 -11
- package/dist/chunks/{form-t49c1kc0.js → state-k0b9ft2z.js} +11 -11
- package/dist/chunks/{form-67fm9hxb.js → state-k6dq7md3.js} +17 -17
- package/dist/chunks/{form-7vrsjqpj.js → state-k8ktzaxx.js} +16 -16
- package/dist/chunks/{form-q266kqc1.js → state-k9jq8a9f.js} +26 -26
- package/dist/chunks/{form-1p9yx0fe.js → state-kg8sbxbz.js} +21 -21
- package/dist/chunks/{form-1w2wqhfv.js → state-khmqacep.js} +4 -4
- package/dist/chunks/{form-jewzahs7.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{form-kkjh6fan.js → state-krdw763r.js} +32 -32
- package/dist/chunks/{form-53qd1f5j.js → state-krjewr0x.js} +31 -31
- package/dist/chunks/{form-hbmkw9wp.js → state-krmj6tzy.js} +20 -20
- package/dist/chunks/{form-6w4z75dy.js → state-m3gr93j5.js} +14 -14
- package/dist/chunks/{form-kada6eax.js → state-m93cgr6s.js} +6 -6
- package/dist/chunks/{form-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-1c5kbjh1.js → state-mnvbn3nr.js} +6 -6
- package/dist/chunks/{form-25gtbz14.js → state-mxwkr8w2.js} +9 -9
- package/dist/chunks/{form-eq967g2h.js → state-n5my2xp1.js} +15 -15
- package/dist/chunks/{form-dypjmpy5.js → state-n8axfj05.js} +5 -5
- package/dist/chunks/{form-3hq3wkzn.js → state-ndkkganb.js} +20 -20
- package/dist/chunks/{form-7mehp2db.js → state-nh7hmz05.js} +5 -5
- package/dist/chunks/{form-0r7ekek2.js → state-ny5dcp87.js} +27 -27
- package/dist/chunks/{form-98kmy8hf.js → state-nza4bhrq.js} +8 -8
- package/dist/chunks/{form-p4mj4rdp.js → state-pa8pe2x7.js} +8 -8
- package/dist/chunks/{form-4vm585d8.js → state-pdhsfkgt.js} +14 -14
- package/dist/chunks/{form-phz50fbd.js → state-phz50fbd.js} +2 -2
- package/dist/chunks/{form-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{form-c95arbvr.js → state-px6rtfw4.js} +12 -12
- package/dist/chunks/{form-hkffa77z.js → state-pyg4v0b6.js} +4 -4
- package/dist/chunks/{form-kb4rw88y.js → state-pz9yt98x.js} +7 -7
- package/dist/chunks/{form-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-yqhrhpcs.js → state-qjcd7mbq.js} +19 -19
- package/dist/chunks/{form-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-dvs6amxs.js → state-qp0mnk5r.js} +3 -3
- package/dist/chunks/{form-ny6t9171.js → state-qp1byhys.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{form-3jp0e4zv.js → state-qv34d5f9.js} +13 -13
- package/dist/chunks/{form-aps8hww0.js → state-r02hbddp.js} +18 -18
- package/dist/chunks/{form-cdv4x00t.js → state-r96659h9.js} +36 -36
- package/dist/chunks/{form-y0e8a50k.js → state-rc1szs54.js} +6 -6
- package/dist/chunks/{form-v797c0nk.js → state-rccpv2ye.js} +18 -18
- package/dist/chunks/{form-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-7v1qqt5d.js → state-rg9sha5m.js} +7 -7
- package/dist/chunks/{form-85zcaa4a.js → state-rjjk3vjj.js} +20 -20
- package/dist/chunks/{form-83dsgdpz.js → state-rpgyk1wb.js} +16 -16
- package/dist/chunks/{form-qn2g7fdy.js → state-rxg074bj.js} +22 -22
- package/dist/chunks/{form-t0pyhqcw.js → state-s5qxm7c2.js} +11 -11
- package/dist/chunks/{form-t286ahc8.js → state-sc2t89x6.js} +12 -12
- package/dist/chunks/{form-n7d88tpn.js → state-ss358qx3.js} +3 -3
- package/dist/chunks/{form-5rzwp8tz.js → state-sxcaecc0.js} +3 -3
- package/dist/chunks/{form-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{form-d71bthh7.js → state-t2y7bdcw.js} +15 -15
- package/dist/chunks/{form-2nkr91ag.js → state-t8neg7x7.js} +33 -33
- package/dist/chunks/{form-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → state-tkb22qbm.js} +2 -2
- package/dist/chunks/{form-78540c8n.js → state-tvwsnpay.js} +5 -5
- package/dist/chunks/{form-1j6m29mr.js → state-txm3e8qz.js} +9 -9
- package/dist/chunks/{form-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v0es1rhs.js → state-v0es1rhs.js} +2 -2
- package/dist/chunks/{form-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-pf6b5592.js → state-vbv3keym.js} +11 -11
- package/dist/chunks/{form-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{form-51f5btjf.js → state-vqfzq50h.js} +6 -6
- package/dist/chunks/{form-gbw80gmv.js → state-vv5tc97j.js} +2 -2
- package/dist/chunks/{form-8kb1mg34.js → state-vvdwz8bp.js} +4 -4
- package/dist/chunks/{form-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-q941vmqq.js → state-vztm24v3.js} +46 -46
- package/dist/chunks/{form-h83xjv7f.js → state-w39jehkq.js} +5 -5
- package/dist/chunks/{form-8w44vpkn.js → state-w3ajezp3.js} +16 -16
- package/dist/chunks/{form-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-ft3bm8wc.js → state-w88g6rmw.js} +5 -5
- package/dist/chunks/{form-endy3sye.js → state-w8zb7k19.js} +11 -11
- package/dist/chunks/{form-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{form-wk5z6jzv.js → state-wjqb2vp5.js} +9 -9
- package/dist/chunks/{form-xhgknps5.js → state-wm17x2yg.js} +15 -15
- package/dist/chunks/{form-5ppwfcxb.js → state-wrt27mz2.js} +11 -11
- package/dist/chunks/{form-2b63rq0n.js → state-wtdq1xvb.js} +17 -17
- package/dist/chunks/{form-nvc3frs4.js → state-wzkn9px2.js} +6 -6
- package/dist/chunks/{form-c8gen4ss.js → state-x119eg88.js} +30 -30
- package/dist/chunks/{form-tmnkkjp7.js → state-x1hcexjc.js} +3 -3
- package/dist/chunks/{form-fg21g81d.js → state-x372j2ps.js} +30 -30
- package/dist/chunks/{form-p9tm5ycc.js → state-x39s0e6k.js} +16 -16
- package/dist/chunks/{form-am0cn9r6.js → state-x4adhrm2.js} +43 -43
- package/dist/chunks/{form-8d86b3ha.js → state-x52x10kp.js} +17 -17
- package/dist/chunks/{form-rzbjs5ks.js → state-x63y8anf.js} +4 -4
- package/dist/chunks/{form-tnmf4dev.js → state-xbg4wfgw.js} +9 -9
- package/dist/chunks/{form-drwq78ky.js → state-xfkkasph.js} +4 -4
- package/dist/chunks/{form-zz7jjxnj.js → state-xjk7skpn.js} +23 -23
- package/dist/chunks/{form-jvqd6gcq.js → state-xsmtq4qf.js} +8 -8
- package/dist/chunks/{form-85fyjh0d.js → state-xw7yq2vg.js} +32 -32
- package/dist/chunks/{form-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-26h36xx0.js → state-y2yc1hmv.js} +155 -155
- package/dist/chunks/{form-espax8zg.js → state-y5rf7nzv.js} +4 -4
- package/dist/chunks/{form-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{form-ffsmct6j.js → state-ybtjykms.js} +9 -9
- package/dist/chunks/{form-psfd2gfy.js → state-yknhy38n.js} +50 -50
- package/dist/chunks/{form-a81m50dc.js → state-ykry54sk.js} +30 -30
- package/dist/chunks/{form-4tvwpn9h.js → state-ywszk2jg.js} +5 -5
- package/dist/chunks/{form-ywt8jp22.js → state-ywt8jp22.js} +2 -2
- package/dist/chunks/{form-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-d32kv9sd.js → state-z0xmsghh.js} +23 -23
- package/dist/chunks/{form-c2j9akp4.js → state-z3a8mnsb.js} +45 -45
- package/dist/chunks/{form-y0kth46m.js → state-z88250gw.js} +22 -22
- package/dist/chunks/{form-dyk8dg4h.js → state-z89zfw7h.js} +28 -28
- package/dist/chunks/{form-qst3dbrw.js → state-zcwza7b0.js} +6 -6
- package/dist/chunks/{form-v7htmggb.js → state-zj4r7vbk.js} +3 -3
- package/dist/chunks/{form-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-8gjqxw1x.js → state-zx4tn7qt.js} +3 -3
- package/dist/chunks/{form-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-zyk1yjk8.js → state-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- 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 +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/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 +367 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- 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 +169 -169
- package/dist/plugin/sdk.js +78 -78
- 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 +346 -346
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-by5v678g.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-bw78ga2c.js → state-bw78ga2c.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node75
|
|
4
|
+
} from "./state-cfyzhaat.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
ID9,
|
|
11
|
-
Service64,
|
|
12
|
-
node68
|
|
13
|
-
} from "./form-q0dgg3zj.js";
|
|
8
|
+
} from "./state-vvdwz8bp.js";
|
|
14
9
|
import {
|
|
15
10
|
ID15,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./state-ckxmgpbg.js";
|
|
14
|
+
import {
|
|
15
|
+
ID11,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-x119eg88.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID10,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service73,
|
|
24
|
+
node77
|
|
25
|
+
} from "./state-ykry54sk.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service81,
|
|
33
33
|
node85
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./state-vv5tc97j.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID9,
|
|
37
|
+
Service72,
|
|
38
|
+
node76
|
|
39
|
+
} from "./state-fbw9agv5.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service68,
|
|
42
|
+
node71
|
|
43
|
+
} from "./state-88xma3a9.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service67,
|
|
46
|
+
node70
|
|
47
|
+
} from "./state-1yceajqh.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
49
|
+
Service71,
|
|
50
50
|
node74
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./state-6xpm1twa.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service44,
|
|
54
|
+
node46
|
|
55
|
+
} from "./state-xbg4wfgw.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID8,
|
|
58
|
+
Service70,
|
|
59
|
+
node73
|
|
60
|
+
} from "./state-8472ey6f.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID7
|
|
63
|
+
} from "./state-z89zfw7h.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service29,
|
|
66
|
+
node33
|
|
67
|
+
} from "./state-gtx4ax2e.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service80,
|
|
70
|
+
node84
|
|
71
|
+
} from "./state-2ktf0ed2.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service76,
|
|
74
|
+
node80
|
|
75
|
+
} from "./state-9bxt77bv.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service45,
|
|
78
|
+
node47
|
|
79
|
+
} from "./state-2fr77vvd.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service33,
|
|
83
|
+
node36
|
|
84
|
+
} from "./state-bh3znjnz.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info14,
|
|
87
|
+
Service55,
|
|
88
|
+
node57
|
|
89
|
+
} from "./state-k9jq8a9f.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service19,
|
|
92
|
+
node22
|
|
93
|
+
} from "./state-cnv8w6dz.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service34,
|
|
96
|
+
node37
|
|
97
|
+
} from "./state-5av0yrf2.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service43,
|
|
100
|
+
node45
|
|
101
|
+
} from "./state-w8zb7k19.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service16,
|
|
104
|
+
node19
|
|
105
|
+
} from "./state-4gbdxvwm.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID5,
|
|
108
|
+
Service35,
|
|
109
|
+
node38
|
|
110
|
+
} from "./state-kg8sbxbz.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service18,
|
|
113
|
+
node21
|
|
114
|
+
} from "./state-k8ktzaxx.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info5,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service17,
|
|
120
|
+
node20
|
|
121
|
+
} from "./state-0557p3be.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service56,
|
|
124
|
+
node58
|
|
125
|
+
} from "./state-x52x10kp.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./state-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
146
|
+
const agents = yield* Service79;
|
|
147
|
+
const aisdk = yield* Service68;
|
|
148
|
+
const providers = yield* Service72;
|
|
149
|
+
const models = yield* Service70;
|
|
150
|
+
const commands = yield* Service67;
|
|
151
151
|
const bus = yield* Service84;
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
152
|
+
const integration = yield* Service73;
|
|
153
|
+
const kv = yield* Service71;
|
|
154
|
+
const mcp = yield* Service29;
|
|
155
155
|
const location = yield* Service81;
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
156
|
+
const reference = yield* Service33;
|
|
157
|
+
const rpc = yield* Service43;
|
|
158
|
+
const skill = yield* Service55;
|
|
159
|
+
const tools = yield* Service45;
|
|
160
|
+
const vcs = yield* Service16;
|
|
161
|
+
const websearch = yield* Service35;
|
|
162
|
+
const generate = yield* Service56;
|
|
163
|
+
const permission = yield* Service76;
|
|
164
|
+
const hooks = yield* Service80;
|
|
165
|
+
const sessions = yield* Service19;
|
|
166
|
+
const persistentPty = yield* Service34;
|
|
167
|
+
const locations = yield* Service44;
|
|
168
|
+
const worktrees = yield* Service17;
|
|
169
|
+
const worktreeStrategies = yield* Service18;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info27({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
185
|
const location = yield* Service81;
|
|
186
|
-
const agents = yield*
|
|
186
|
+
const agents = yield* Service79;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info27({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID15.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID15.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID9.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID9.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID11.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID9.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID9.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID9.make(providerID), ID8.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID9.make(providerID), ID8.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID9.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID9.make(providerID), ID8.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID9.make(providerID), ID8.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID9.make(providerID), ID8.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID9.make(providerID), ID8.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID9.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,20 +312,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID10.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID10.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
326
326
|
}),
|
|
327
327
|
external: (input) => integration.connection.external({
|
|
328
|
-
integrationID:
|
|
328
|
+
integrationID: ID10.make(input.integrationID),
|
|
329
329
|
methodID: MethodID2.make(input.methodID),
|
|
330
330
|
answer: input.answer,
|
|
331
331
|
label: input.label
|
|
@@ -333,60 +333,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
333
333
|
},
|
|
334
334
|
oauth: {
|
|
335
335
|
connect: (input) => response(integration.oauth.connect({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID10.make(input.integrationID),
|
|
337
337
|
methodID: MethodID2.make(input.methodID),
|
|
338
338
|
answer: input.answer,
|
|
339
339
|
label: input.label
|
|
340
340
|
})),
|
|
341
341
|
status: (input) => response(integration.oauth.status({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID10.make(input.integrationID),
|
|
343
343
|
attemptID: AttemptID2.make(input.attemptID)
|
|
344
344
|
})),
|
|
345
345
|
complete: (input) => integration.oauth.complete({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID10.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID),
|
|
348
348
|
code: input.code
|
|
349
349
|
}),
|
|
350
350
|
cancel: (input) => integration.oauth.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID10.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
command: {
|
|
356
356
|
connect: (input) => response(integration.command.connect({
|
|
357
|
-
integrationID:
|
|
357
|
+
integrationID: ID10.make(input.integrationID),
|
|
358
358
|
methodID: MethodID2.make(input.methodID),
|
|
359
359
|
label: input.label
|
|
360
360
|
})),
|
|
361
361
|
status: (input) => response(integration.command.status({
|
|
362
|
-
integrationID:
|
|
362
|
+
integrationID: ID10.make(input.integrationID),
|
|
363
363
|
attemptID: AttemptID2.make(input.attemptID)
|
|
364
364
|
})),
|
|
365
365
|
cancel: (input) => integration.command.cancel({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID10.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})
|
|
369
369
|
},
|
|
370
370
|
reload: integration.reload,
|
|
371
371
|
connection: {
|
|
372
|
-
active: (id) => integration.connection.active(
|
|
373
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
372
|
+
active: (id) => integration.connection.active(ID10.make(id)),
|
|
373
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID11.make(connection.id) } : connection),
|
|
374
374
|
status: (input) => integration.connection.status({
|
|
375
|
-
integrationID:
|
|
376
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
375
|
+
integrationID: ID10.make(input.integrationID),
|
|
376
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID11.make(input.connection.id) } : input.connection,
|
|
377
377
|
status: input.status
|
|
378
378
|
})
|
|
379
379
|
},
|
|
380
380
|
transform: (callback) => integration.transform((editor) => {
|
|
381
381
|
callback({
|
|
382
382
|
list: () => mutable(editor.list()),
|
|
383
|
-
get: (id) => mutable(editor.get(
|
|
384
|
-
update: (id, update) => editor.update(
|
|
385
|
-
remove: (id) => editor.remove(
|
|
383
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
384
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
385
|
+
remove: (id) => editor.remove(ID10.make(id)),
|
|
386
386
|
method: {
|
|
387
|
-
list: (id) => editor.method.list(
|
|
387
|
+
list: (id) => editor.method.list(ID10.make(id)),
|
|
388
388
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
389
|
-
remove: (id, method) => editor.method.remove(
|
|
389
|
+
remove: (id, method) => editor.method.remove(ID10.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
})
|
|
@@ -397,7 +397,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
397
397
|
if (ref && !isCurrentLocation(ref))
|
|
398
398
|
return Effect.gen(function* () {
|
|
399
399
|
const location = yield* Service81;
|
|
400
|
-
const mcp = yield*
|
|
400
|
+
const mcp = yield* Service29;
|
|
401
401
|
return {
|
|
402
402
|
location: new Info27({
|
|
403
403
|
directory: location.directory,
|
|
@@ -434,7 +434,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
434
434
|
reload: reference.reload,
|
|
435
435
|
transform: (callback) => reference.transform((editor) => {
|
|
436
436
|
callback({
|
|
437
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
437
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
438
438
|
remove: editor.remove,
|
|
439
439
|
list: editor.list,
|
|
440
440
|
get: editor.get
|
|
@@ -448,7 +448,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
448
448
|
callback({
|
|
449
449
|
list: () => mutable(editor.list()),
|
|
450
450
|
get: editor.get,
|
|
451
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
451
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info14)(value)),
|
|
452
452
|
update: editor.update,
|
|
453
453
|
remove: editor.remove
|
|
454
454
|
});
|
|
@@ -479,19 +479,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
479
479
|
providers: () => response(websearch.providers()),
|
|
480
480
|
query: (input) => response(websearch.query({
|
|
481
481
|
query: input.query,
|
|
482
|
-
providerID: input.providerID === undefined ? undefined :
|
|
482
|
+
providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
|
|
483
483
|
})),
|
|
484
484
|
reload: websearch.reload,
|
|
485
485
|
transform: (callback) => websearch.transform((editor) => {
|
|
486
486
|
callback({
|
|
487
487
|
add: (definition) => editor.add({
|
|
488
|
-
id:
|
|
488
|
+
id: ID5.make(definition.id),
|
|
489
489
|
name: definition.name,
|
|
490
490
|
execute: definition.execute
|
|
491
491
|
}),
|
|
492
492
|
default: {
|
|
493
493
|
get: editor.default.get,
|
|
494
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
494
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
497
|
})
|
|
@@ -551,31 +551,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
551
551
|
return context;
|
|
552
552
|
});
|
|
553
553
|
var requirements3 = LayerNode.group([
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
554
|
+
node75,
|
|
555
|
+
node83,
|
|
556
|
+
node71,
|
|
557
|
+
node76,
|
|
558
|
+
node73,
|
|
559
|
+
node70,
|
|
560
560
|
node88,
|
|
561
|
-
|
|
561
|
+
node77,
|
|
562
562
|
node74,
|
|
563
|
-
|
|
563
|
+
node33,
|
|
564
564
|
node85,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
565
|
+
node36,
|
|
566
|
+
node45,
|
|
567
|
+
node57,
|
|
568
|
+
node47,
|
|
569
|
+
node19,
|
|
570
|
+
node38,
|
|
571
|
+
node20,
|
|
572
|
+
node21,
|
|
573
|
+
node58,
|
|
574
|
+
node80,
|
|
575
|
+
node84,
|
|
576
|
+
node22,
|
|
577
|
+
node37,
|
|
578
|
+
node46
|
|
579
579
|
]);
|
|
580
580
|
function storage2(kv, pluginID) {
|
|
581
581
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -602,7 +602,7 @@ function methodImplementation(input) {
|
|
|
602
602
|
if ("authorize" in input) {
|
|
603
603
|
const refresh = input.refresh;
|
|
604
604
|
return {
|
|
605
|
-
integrationID:
|
|
605
|
+
integrationID: ID10.make(input.integrationID),
|
|
606
606
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
607
607
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
608
608
|
if (authorization.mode === "auto") {
|
|
@@ -622,24 +622,24 @@ function methodImplementation(input) {
|
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "env") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID10.make(input.integrationID),
|
|
626
626
|
method: input.method
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
if (input.method.type === "command") {
|
|
630
630
|
return {
|
|
631
|
-
integrationID:
|
|
631
|
+
integrationID: ID10.make(input.integrationID),
|
|
632
632
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
635
|
if (input.method.type === "external") {
|
|
636
636
|
return {
|
|
637
|
-
integrationID:
|
|
637
|
+
integrationID: ID10.make(input.integrationID),
|
|
638
638
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
641
|
return {
|
|
642
|
-
integrationID:
|
|
642
|
+
integrationID: ID10.make(input.integrationID),
|
|
643
643
|
method: input.method
|
|
644
644
|
};
|
|
645
645
|
}
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./state-gtx4ax2e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./state-9bxt77bv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service29;
|
|
26
|
+
const permission = yield* Service76;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin13 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin32, exports_mcp_resource };
|