@opencode/core 0.0.0-dev-20661 → 0.0.0-dev-20665
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{repository-kg7g3ey4.js → model-04hfwksm.js} +16 -16
- package/dist/chunks/{repository-gpjhh13y.js → model-05tb8896.js} +11 -11
- package/dist/chunks/{repository-5rrf9qge.js → model-09bawd7d.js} +12 -12
- package/dist/chunks/{repository-he1ycz2s.js → model-0bwx6hyg.js} +7 -7
- package/dist/chunks/model-0hbnkapr.js +253 -0
- package/dist/chunks/{repository-hmhzhfpw.js → model-0hc1cq6w.js} +13 -13
- package/dist/chunks/{repository-q0xm7vwc.js → model-0j77ygfz.js} +6 -6
- package/dist/chunks/{repository-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-6h5736te.js → model-0pbe0zt0.js} +30 -30
- package/dist/chunks/{repository-tcnkdppf.js → model-0swnknvj.js} +23 -23
- package/dist/chunks/{repository-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-dmqk4yfk.js → model-12dy9wgh.js} +11 -11
- package/dist/chunks/{repository-7c7bareq.js → model-13db7e4e.js} +24 -24
- package/dist/chunks/{repository-btfhnvjh.js → model-143qq2q9.js} +3 -3
- package/dist/chunks/{repository-zmnepbn3.js → model-143vczaq.js} +7 -7
- package/dist/chunks/{repository-z37gfj8r.js → model-16dgqdxz.js} +3 -3
- package/dist/chunks/{repository-yt3fxxnb.js → model-18cdd48g.js} +4 -4
- package/dist/chunks/{repository-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1dvck2a7.js → model-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-n1n192bv.js → model-1rn5pcm9.js} +4 -4
- package/dist/chunks/{repository-fxgyesrr.js → model-1rnd72fy.js} +16 -16
- package/dist/chunks/{repository-wnmdvmz6.js → model-1v75qvzv.js} +18 -18
- package/dist/chunks/{repository-kyr2t18s.js → model-1w58g905.js} +17 -17
- package/dist/chunks/{repository-748da515.js → model-1yft0xp6.js} +17 -17
- package/dist/chunks/{repository-33w4ejhs.js → model-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-4ts7tf6z.js → model-2ccvkpx1.js} +2 -2
- package/dist/chunks/{repository-fcrkznn8.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-zfs8ae4p.js → model-2m8jawch.js} +4 -4
- package/dist/chunks/{repository-qxmaq0sm.js → model-2n295dmf.js} +8 -8
- package/dist/chunks/{repository-d9kqsdy4.js → model-2nxxz3xr.js} +23 -23
- package/dist/chunks/{repository-p9q8g7vd.js → model-2seqm7ta.js} +4 -4
- package/dist/chunks/{repository-wmn12sgk.js → model-3704aagw.js} +3 -3
- package/dist/chunks/{repository-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-qvreyy9g.js → model-3j9bgvtg.js} +5 -5
- package/dist/chunks/{repository-az7tb05h.js → model-3ptfharv.js} +26 -26
- package/dist/chunks/{repository-gmmdfr2g.js → model-3rd28rcz.js} +7 -7
- package/dist/chunks/{repository-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-w2c5pkxk.js → model-3st0ejts.js} +189 -189
- package/dist/chunks/{repository-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-e5p55b06.js → model-42rpdw4e.js} +9 -9
- package/dist/chunks/{repository-10h4ddzz.js → model-43wd9vsa.js} +13 -13
- package/dist/chunks/{repository-ssby7wmp.js → model-43xazcv4.js} +330 -330
- package/dist/chunks/{repository-2na9pj0b.js → model-4r5bkf9y.js} +33 -33
- package/dist/chunks/{repository-b513f556.js → model-4r9w7v50.js} +22 -22
- package/dist/chunks/{repository-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-afr26chb.js → model-55rgt2sk.js} +11 -11
- package/dist/chunks/{repository-dax2f43k.js → model-565cggcq.js} +88 -88
- package/dist/chunks/{repository-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-rvnx9ynj.js → model-5dec13bj.js} +25 -25
- package/dist/chunks/{repository-eqbnvekh.js → model-5m62pdvr.js} +44 -44
- package/dist/chunks/{repository-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-2vn93ng9.js → model-5nq6ntwv.js} +16 -16
- package/dist/chunks/{repository-kwqsq9eb.js → model-5r5teqtw.js} +1 -1
- package/dist/chunks/{repository-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-d1t6tc1e.js → model-5wwecgr9.js} +3 -3
- package/dist/chunks/{repository-6wjv80df.js → model-6g7e4dd5.js} +9 -9
- package/dist/chunks/{repository-4zws30q5.js → model-6h5e082a.js} +20 -20
- package/dist/chunks/{repository-magykp64.js → model-6m42r3np.js} +19 -19
- package/dist/chunks/{repository-j4dqt27y.js → model-6pamc8qx.js} +11 -11
- package/dist/chunks/{repository-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-y5dw8kr0.js → model-6xzjqc7j.js} +4 -4
- package/dist/chunks/{repository-4ya93pvd.js → model-6ymz3gfr.js} +38 -38
- package/dist/chunks/{repository-71az546q.js → model-71az546q.js} +2 -2
- package/dist/chunks/{repository-0kfggb32.js → model-75e9eb11.js} +4 -4
- package/dist/chunks/{repository-cwa6csj7.js → model-79qaa2kf.js} +9 -9
- package/dist/chunks/{repository-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-z8bvm205.js → model-7ejrgaad.js} +9 -9
- package/dist/chunks/{repository-vwctd27t.js → model-7kx3xyrk.js} +4 -4
- package/dist/chunks/{repository-205k8jhr.js → model-7nt8nw1z.js} +31 -31
- package/dist/chunks/{repository-379b4hhp.js → model-7qe8e482.js} +8 -8
- package/dist/chunks/{repository-bce8mqt3.js → model-7tzvmzbr.js} +5 -5
- package/dist/chunks/{repository-w9vf9qqj.js → model-7v81x33d.js} +9 -9
- package/dist/chunks/{repository-7ahbtrex.js → model-7yjncwxp.js} +30 -30
- package/dist/chunks/{repository-9z6cmhkq.js → model-7zd39w7j.js} +3 -3
- package/dist/chunks/{repository-w1eejvng.js → model-84txncab.js} +5 -5
- package/dist/chunks/{repository-dj68pnee.js → model-86qzxe6p.js} +4 -4
- package/dist/chunks/{repository-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-6cpse6c2.js → model-8dxznbhk.js} +13 -13
- package/dist/chunks/{repository-9gaqynqt.js → model-8f29pv30.js} +3 -3
- package/dist/chunks/{repository-my8tnftd.js → model-8k7ec5p2.js} +11 -11
- package/dist/chunks/{repository-9vk7ehay.js → model-8q8jfg7g.js} +9 -9
- package/dist/chunks/{repository-b4twkq7r.js → model-8sze2n9a.js} +2 -2
- package/dist/chunks/{repository-0xqyf95c.js → model-8wbxkt1z.js} +4 -4
- package/dist/chunks/{repository-kqkwtn5n.js → model-9525rq9q.js} +23 -23
- package/dist/chunks/{repository-9e5bzkjp.js → model-9e5bzkjp.js} +3 -3
- package/dist/chunks/model-9e9he82z.js +26 -0
- package/dist/chunks/{repository-94heg7e8.js → model-9mn5fbt0.js} +32 -32
- package/dist/chunks/{repository-4a2kvcyx.js → model-9pa8tak9.js} +2 -2
- package/dist/chunks/{repository-9k8khh75.js → model-9qb76avw.js} +14 -14
- package/dist/chunks/{repository-vc155zt0.js → model-9rven2v7.js} +20 -20
- package/dist/chunks/{repository-9sh4wc5j.js → model-9sh4wc5j.js} +1 -1
- package/dist/chunks/{repository-yqvvg513.js → model-a03m4akp.js} +20 -20
- package/dist/chunks/{repository-j7071276.js → model-a5rc1k9w.js} +5 -5
- package/dist/chunks/{repository-tvx3ewvr.js → model-a7ehty0t.js} +25 -25
- package/dist/chunks/{repository-d0zee6yx.js → model-a7g6j6nx.js} +12 -12
- package/dist/chunks/{repository-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-8vwp8w5g.js → model-aenqjndq.js} +21 -21
- package/dist/chunks/{repository-r4xwqsmk.js → model-an20b3q3.js} +11 -11
- package/dist/chunks/{repository-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-1ghf8zs3.js → model-bdpzzc2x.js} +11 -11
- package/dist/chunks/{repository-18g4yb7e.js → model-bpjzyxk6.js} +27 -27
- package/dist/chunks/{repository-27b211kq.js → model-bskc84e3.js} +5 -5
- package/dist/chunks/{repository-xa3ghtvx.js → model-btwta0ay.js} +16 -16
- package/dist/chunks/{repository-ey6rfqvz.js → model-bvqebne3.js} +11 -11
- package/dist/chunks/{repository-74zds2q2.js → model-bzv7w39z.js} +47 -47
- package/dist/chunks/{repository-r44petzp.js → model-c0ke6nr1.js} +12 -12
- package/dist/chunks/{repository-sq5ga9n2.js → model-c0kz0pvs.js} +28 -28
- package/dist/chunks/{repository-0xezjjjn.js → model-c27esgm9.js} +8 -8
- package/dist/chunks/{repository-tcay1cqt.js → model-c8bydgjz.js} +6 -6
- package/dist/chunks/{repository-ngkc5a6n.js → model-cqfygt2f.js} +5 -5
- package/dist/chunks/{repository-40gcpxzn.js → model-cvnbmapz.js} +28 -28
- package/dist/chunks/{repository-atxy8ykf.js → model-d03bk1nx.js} +20 -20
- package/dist/chunks/{repository-8qvzptz7.js → model-d9sgy5v4.js} +4 -4
- package/dist/chunks/{repository-xvr70the.js → model-dak0aer2.js} +94 -94
- package/dist/chunks/{repository-t7n9q6bq.js → model-dhmh7aw6.js} +4 -4
- package/dist/chunks/{repository-xkntkrq7.js → model-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-t3vv4d42.js → model-dzae2snb.js} +13 -13
- package/dist/chunks/{repository-5qd3pb7m.js → model-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-f4bkz93y.js → model-eb1ryh4n.js} +26 -26
- package/dist/chunks/{repository-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-rgbeeb12.js → model-ekbw19fm.js} +23 -23
- package/dist/chunks/{repository-8a6ws7jr.js → model-en9mxp96.js} +9 -9
- package/dist/chunks/{repository-a1gpj94z.js → model-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-vgznchvw.js → model-eqx6m485.js} +8 -8
- package/dist/chunks/{repository-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-j07em0ca.js → model-evzgxw2j.js} +60 -60
- package/dist/chunks/{repository-ravgrsv5.js → model-f1thfm8v.js} +11 -11
- package/dist/chunks/{repository-301v9tya.js → model-f50cy0tv.js} +33 -33
- package/dist/chunks/{repository-hz0q9sdq.js → model-f5gy8qwh.js} +8 -8
- package/dist/chunks/{repository-6sxn0fyv.js → model-f5hkpmh1.js} +17 -17
- package/dist/chunks/{repository-yevqza3m.js → model-f5r0fqm4.js} +11 -11
- package/dist/chunks/{repository-r9w3djhf.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{repository-ryr25ayn.js → model-fm2qvscf.js} +4 -4
- package/dist/chunks/{repository-537jbssw.js → model-fnkg6qb4.js} +52 -52
- package/dist/chunks/{repository-043vq6jw.js → model-frxn4dna.js} +9 -9
- package/dist/chunks/{repository-p558d1j2.js → model-ft3zxgd7.js} +8 -8
- package/dist/chunks/{repository-kadwda11.js → model-fw2qxq8w.js} +32 -32
- package/dist/chunks/{repository-ahx40rxf.js → model-fxhje9fq.js} +28 -28
- package/dist/chunks/{repository-bvjh5av3.js → model-g07h2xqa.js} +9 -9
- package/dist/chunks/{repository-grs6z2v9.js → model-g76p8ycs.js} +21 -21
- package/dist/chunks/{repository-573jdjzy.js → model-g7yjevyk.js} +6 -6
- package/dist/chunks/{repository-a1pv9e77.js → model-gaffbzjy.js} +10 -10
- package/dist/chunks/{repository-vh7fby3r.js → model-gb6ehmsa.js} +25 -25
- package/dist/chunks/{repository-1pt39jfx.js → model-gb9qa9c1.js} +9 -9
- package/dist/chunks/{repository-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-g5pr0hqg.js → model-gm3dfsm1.js} +5 -5
- package/dist/chunks/{repository-fwj22sb9.js → model-gr72qpsv.js} +11 -11
- package/dist/chunks/{repository-krry4gk1.js → model-gwbzj4wh.js} +38 -38
- package/dist/chunks/{repository-zze7mas3.js → model-gzvvm5t9.js} +11 -11
- package/dist/chunks/{repository-scp3g09m.js → model-h10mhkmh.js} +18 -18
- package/dist/chunks/{repository-h2b79v29.js → model-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-pcr95nxz.js → model-h30avht3.js} +27 -27
- package/dist/chunks/{repository-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-ea0ampwz.js → model-h960ywcp.js} +11 -11
- package/dist/chunks/{repository-jxnv3vs9.js → model-he5rhnsk.js} +3 -3
- package/dist/chunks/{repository-stye60hc.js → model-hshpsfrb.js} +32 -32
- package/dist/chunks/{repository-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-nhy104pe.js → model-jdydv5w6.js} +59 -59
- package/dist/chunks/{repository-yk3hsgx2.js → model-jedqxwja.js} +11 -11
- package/dist/chunks/{repository-5g6sbyxh.js → model-jeeje7kx.js} +22 -22
- package/dist/chunks/{repository-zy2zpvm6.js → model-jfwamsgh.js} +18 -18
- package/dist/chunks/{repository-fxkzw5w5.js → model-jmh5z47c.js} +21 -21
- package/dist/chunks/{repository-16f7tttd.js → model-jvt424gv.js} +9 -9
- package/dist/chunks/{repository-2jpa8mfg.js → model-jwnzethd.js} +13 -13
- package/dist/chunks/{repository-mm07xyj9.js → model-jzdyaq3q.js} +37 -37
- package/dist/chunks/{repository-dnz8myac.js → model-k2ee98a4.js} +8 -8
- package/dist/chunks/{repository-ach6z8vh.js → model-k8vxkqnq.js} +4 -4
- package/dist/chunks/{repository-106g6zzb.js → model-ke5wyhkr.js} +17 -17
- package/dist/chunks/{repository-4b9xfex1.js → model-ksr0mctg.js} +18 -18
- package/dist/chunks/{repository-eakgj8q2.js → model-ksts8xsw.js} +45 -45
- package/dist/chunks/{repository-kmy91h7k.js → model-ktqfz204.js} +5 -5
- package/dist/chunks/{repository-7n7v53sw.js → model-m15b84sy.js} +9 -9
- package/dist/chunks/{repository-m3fdjcah.js → model-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-8b9545xm.js → model-m8s1k1qd.js} +32 -32
- package/dist/chunks/{repository-x9gjp2wb.js → model-m99sccj6.js} +15 -15
- package/dist/chunks/{repository-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-7zrsqeap.js → model-mbfqztvv.js} +46 -46
- package/dist/chunks/{repository-4zfp2qta.js → model-mczqcbtg.js} +22 -22
- package/dist/chunks/{repository-5j13w0pe.js → model-mr28wkyp.js} +25 -25
- package/dist/chunks/{repository-h79eb4wf.js → model-mtjbpypn.js} +27 -27
- package/dist/chunks/{repository-dgpsrprm.js → model-mxvxcxwy.js} +4 -4
- package/dist/chunks/{repository-dxr8fvgz.js → model-mzr0kwz3.js} +19 -19
- package/dist/chunks/{repository-0r3c1bmw.js → model-n8vdnqrc.js} +5 -5
- package/dist/chunks/{repository-b1ajvfw3.js → model-nbwfbw7q.js} +29 -29
- package/dist/chunks/{repository-mqjzjjf0.js → model-ndzm53tf.js} +7 -7
- package/dist/chunks/{repository-551p5xfx.js → model-ngzr1rke.js} +35 -35
- package/dist/chunks/{repository-ecmranas.js → model-nkfqmrng.js} +5 -5
- package/dist/chunks/{repository-4sb6t3m1.js → model-nnegw8hy.js} +50 -50
- package/dist/chunks/{repository-ja8t3wh1.js → model-nx67q5mf.js} +27 -27
- package/dist/chunks/{repository-g0445xdp.js → model-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-10r6pp2x.js → model-p5x6h0ea.js} +15 -15
- package/dist/chunks/{repository-w7d850mj.js → model-pc670ma7.js} +19 -19
- package/dist/chunks/{repository-spgjrcy8.js → model-pdfafe8d.js} +72 -72
- package/dist/chunks/{repository-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{repository-vnyrj955.js → model-q1ecnbsd.js} +3 -3
- package/dist/chunks/{repository-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-benv41rp.js → model-qt4mgnnm.js} +9 -9
- package/dist/chunks/{repository-0618chc0.js → model-qxcqbx7c.js} +11 -11
- package/dist/chunks/{repository-xyafkbt0.js → model-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-4mg116vk.js → model-qy0tcep6.js} +31 -31
- package/dist/chunks/{repository-scgrse2b.js → model-qygbw77c.js} +5 -5
- package/dist/chunks/{repository-0szg9e3a.js → model-r830apza.js} +11 -11
- package/dist/chunks/{repository-1acjjqhc.js → model-r8xr0va3.js} +4 -4
- package/dist/chunks/{repository-zhf35gm1.js → model-rbdmdcgh.js} +32 -32
- package/dist/chunks/{repository-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-afssb52c.js → model-re96rjx3.js} +3 -3
- package/dist/chunks/{repository-ysv4x97r.js → model-rhvy48gn.js} +10 -10
- package/dist/chunks/{repository-nttvqnzt.js → model-rsdgpk2t.js} +31 -31
- package/dist/chunks/{repository-nj6293bs.js → model-s5yxayxs.js} +16 -16
- package/dist/chunks/{repository-td335a07.js → model-snsqt8dj.js} +35 -35
- package/dist/chunks/{repository-1sb13fhj.js → model-snswbz2h.js} +46 -46
- package/dist/chunks/{repository-n4hagvcf.js → model-spdq57er.js} +14 -14
- package/dist/chunks/{repository-ccdkjy5j.js → model-sy1vayej.js} +23 -23
- package/dist/chunks/{repository-h7sfwyf5.js → model-t2rj41re.js} +11 -11
- package/dist/chunks/{repository-d29nyfm4.js → model-t3gyxbgb.js} +13 -13
- package/dist/chunks/{repository-s8d7rejh.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{repository-9r8ns7n8.js → model-t9rbaskh.js} +27 -27
- package/dist/chunks/{repository-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{repository-21jd8v9m.js → model-tjdrgr4h.js} +15 -15
- package/dist/chunks/{repository-wh6zw745.js → model-tk14y25j.js} +5 -5
- package/dist/chunks/{repository-2jnxrbr3.js → model-v12bfv38.js} +10 -10
- package/dist/chunks/{repository-ry924fh6.js → model-v5qtavm6.js} +36 -36
- package/dist/chunks/{repository-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-07bwtgn1.js → model-vhvmb6ep.js} +17 -17
- package/dist/chunks/{repository-xgwzhbhd.js → model-vhzyme33.js} +14 -14
- package/dist/chunks/{repository-f1ry7jgz.js → model-vk57bjhv.js} +28 -28
- package/dist/chunks/{repository-4pm1k6b6.js → model-vn9zk7na.js} +4 -4
- package/dist/chunks/{repository-wg56nkx8.js → model-vtb6ekz6.js} +24 -24
- package/dist/chunks/{repository-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-h6nxw0pd.js → model-w4axh9wz.js} +8 -8
- package/dist/chunks/{repository-xw8eq9f1.js → model-w8xr7nv8.js} +5 -5
- package/dist/chunks/{repository-32pp5s05.js → model-wb7d44e4.js} +1 -1
- package/dist/chunks/{repository-6hvm7cgx.js → model-wd59kgh2.js} +10 -10
- package/dist/chunks/{repository-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{repository-btcfg8pa.js → model-wp8v4mk0.js} +12 -12
- package/dist/chunks/{repository-8t72k94d.js → model-wypjq10p.js} +22 -22
- package/dist/chunks/{repository-2f8h2t77.js → model-x13kj793.js} +24 -24
- package/dist/chunks/{repository-7kwx6gx2.js → model-x5w0v4qz.js} +18 -18
- package/dist/chunks/{repository-ceb6shg2.js → model-xd4eajp3.js} +11 -11
- package/dist/chunks/{repository-n8se905m.js → model-xf847saf.js} +3 -3
- package/dist/chunks/{repository-g5w8qwbj.js → model-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-wer47y7e.js → model-xggz5yyf.js} +10 -10
- package/dist/chunks/{repository-ns3eape4.js → model-xp3fh2h7.js} +1 -1
- package/dist/chunks/{repository-crvx6mgt.js → model-xrn5m798.js} +26 -26
- package/dist/chunks/{repository-h3g0cwjn.js → model-xzh9enxw.js} +12 -12
- package/dist/chunks/{repository-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-fbtna4cy.js → model-y6yd3ew1.js} +43 -43
- package/dist/chunks/{repository-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{repository-5za7wpg2.js → model-yaycgkrs.js} +15 -15
- package/dist/chunks/{repository-n7avb6m5.js → model-ygs9mme0.js} +5 -5
- package/dist/chunks/{repository-0te6a63x.js → model-yj7xv6w3.js} +4 -4
- package/dist/chunks/{repository-cm3vhcv0.js → model-yjtcy88h.js} +32 -32
- package/dist/chunks/{repository-e7fm67xs.js → model-ym21y5jk.js} +33 -33
- package/dist/chunks/{repository-5meya16s.js → model-yped5gsp.js} +10 -10
- package/dist/chunks/{repository-an4d28vr.js → model-ys5rw1j9.js} +15 -15
- package/dist/chunks/{repository-vwjb8r2v.js → model-yxt1vjsj.js} +6 -6
- package/dist/chunks/{repository-cyfxky51.js → model-z00597qp.js} +36 -36
- package/dist/chunks/{repository-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-ng56fafc.js → model-z331bskf.js} +15 -15
- package/dist/chunks/{repository-xdkfhf58.js → model-z4fb5m0h.js} +48 -48
- package/dist/chunks/{repository-tcmvd7z0.js → model-zcsfwz39.js} +42 -42
- package/dist/chunks/{repository-ggmrdx7v.js → model-zd8we8qk.js} +8 -8
- package/dist/chunks/{repository-64s65d1n.js → model-ze5v0a14.js} +5 -5
- package/dist/chunks/{repository-hjm0k3fp.js → model-zg4hsa4e.js} +2 -2
- package/dist/chunks/{repository-nzeef16t.js → model-zjze8qjc.js} +15 -15
- package/dist/chunks/{repository-s8xbmvwb.js → model-znnhkqbd.js} +15 -15
- package/dist/chunks/{repository-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-7ge4ak7p.js → model-zrs7pmt3.js} +6 -6
- package/dist/chunks/{repository-y1j8epp9.js → model-zwp0h3pa.js} +20 -20
- package/dist/chunks/{repository-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- 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 +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +5 -5
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/repository-bj0bcwj5.js +0 -26
- package/dist/chunks/repository-tkybgs2z.js +0 -253
- /package/dist/chunks/{repository-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → model-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
node60
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-xggz5yyf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./model-a7g6j6nx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./model-t9rbaskh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-sy1vayej.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service68,
|
|
24
|
+
node71
|
|
25
|
+
} from "./model-qy0tcep6.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
30
|
+
Info26,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service78,
|
|
33
|
+
node82
|
|
34
|
+
} from "./model-1yft0xp6.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID11,
|
|
37
|
+
Service67,
|
|
38
|
+
node70
|
|
39
|
+
} from "./model-vk57bjhv.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service57,
|
|
42
|
+
node59
|
|
43
|
+
} from "./model-xd4eajp3.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service55,
|
|
46
|
+
node57
|
|
47
|
+
} from "./model-a03m4akp.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service83,
|
|
50
|
+
node87
|
|
51
|
+
} from "./model-yped5gsp.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service71,
|
|
54
|
+
node74
|
|
55
|
+
} from "./model-gzvvm5t9.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID10,
|
|
58
|
+
Service66,
|
|
59
|
+
node69
|
|
60
|
+
} from "./model-ym21y5jk.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID15
|
|
63
|
+
} from "./model-xrn5m798.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service31,
|
|
66
|
+
node35
|
|
67
|
+
} from "./model-fnkg6qb4.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service61,
|
|
70
|
+
node64
|
|
71
|
+
} from "./model-c27esgm9.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service50,
|
|
74
|
+
node52
|
|
75
|
+
} from "./model-evzgxw2j.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service42,
|
|
78
|
+
node45
|
|
79
|
+
} from "./model-a7ehty0t.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source4,
|
|
82
|
+
Service40,
|
|
83
|
+
node43
|
|
84
|
+
} from "./model-rsdgpk2t.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info6,
|
|
87
|
+
Service38,
|
|
88
|
+
node41
|
|
89
|
+
} from "./model-eb1ryh4n.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service20,
|
|
92
|
+
node23
|
|
93
|
+
} from "./model-dak0aer2.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service37,
|
|
96
|
+
node40
|
|
97
|
+
} from "./model-vtb6ekz6.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service72,
|
|
100
|
+
node75
|
|
101
|
+
} from "./model-ekbw19fm.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service56,
|
|
104
|
+
node58
|
|
105
|
+
} from "./model-x13kj793.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID5,
|
|
108
|
+
Service34,
|
|
109
|
+
node37
|
|
110
|
+
} from "./model-h30avht3.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service36,
|
|
113
|
+
node39
|
|
114
|
+
} from "./model-aenqjndq.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
117
|
Info5,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service35,
|
|
120
|
+
node38
|
|
121
|
+
} from "./model-v5qtavm6.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service44,
|
|
124
|
+
node47
|
|
125
|
+
} from "./model-gb6ehmsa.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./model-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,49 +143,49 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make12 = 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*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
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*
|
|
146
|
+
const agents = yield* Service53;
|
|
147
|
+
const aisdk = yield* Service57;
|
|
148
|
+
const providers = yield* Service67;
|
|
149
|
+
const models = yield* Service66;
|
|
150
|
+
const commands = yield* Service55;
|
|
151
|
+
const bus = yield* Service81;
|
|
152
|
+
const integration = yield* Service68;
|
|
153
|
+
const kv = yield* Service83;
|
|
154
|
+
const mcp = yield* Service31;
|
|
155
|
+
const location = yield* Service78;
|
|
156
|
+
const reference = yield* Service40;
|
|
157
|
+
const rpc = yield* Service72;
|
|
158
|
+
const skill = yield* Service38;
|
|
159
|
+
const tools = yield* Service42;
|
|
160
|
+
const vcs = yield* Service56;
|
|
161
|
+
const websearch = yield* Service34;
|
|
162
|
+
const generate = yield* Service44;
|
|
163
|
+
const permission = yield* Service50;
|
|
164
|
+
const hooks = yield* Service61;
|
|
165
|
+
const sessions = yield* Service20;
|
|
166
|
+
const persistentPty = yield* Service37;
|
|
167
|
+
const locations = yield* Service71;
|
|
168
|
+
const worktrees = yield* Service35;
|
|
169
|
+
const worktreeStrategies = yield* Service36;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
|
-
const locationInfo = () => new
|
|
171
|
+
const locationInfo = () => new Info26({
|
|
172
172
|
directory: location.directory,
|
|
173
173
|
workspaceID: location.workspaceID,
|
|
174
174
|
project: location.project
|
|
175
175
|
});
|
|
176
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
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 : ID15.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
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
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service78;
|
|
186
|
+
const agents = yield* Service53;
|
|
187
187
|
return {
|
|
188
|
-
location: new
|
|
188
|
+
location: new Info26({
|
|
189
189
|
directory: location.directory,
|
|
190
190
|
workspaceID: location.workspaceID,
|
|
191
191
|
project: location.project
|
|
@@ -217,10 +217,10 @@ var make12 = 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(ID9.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make12 = 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(ID11.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(ID11.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: ID14.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(ID11.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID11.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(ID11.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID11.make(providerID), ID10.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make12 = 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 : ID11.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID11.make(providerID), ID10.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID11.make(providerID), ID10.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(ID11.make(providerID), ID10.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(ID11.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make12 = 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(ID12.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: ID12.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID12.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID12.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID12.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID12.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID12.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID12.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID12.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID12.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
|
|
368
368
|
status: (input) => integration.connection.status({
|
|
369
|
-
integrationID:
|
|
370
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
369
|
+
integrationID: ID12.make(input.integrationID),
|
|
370
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
|
|
371
371
|
status: input.status
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
transform: (callback) => integration.transform((editor) => {
|
|
375
375
|
callback({
|
|
376
376
|
list: () => mutable(editor.list()),
|
|
377
|
-
get: (id) => mutable(editor.get(
|
|
378
|
-
update: (id, update) => editor.update(
|
|
379
|
-
remove: (id) => editor.remove(
|
|
377
|
+
get: (id) => mutable(editor.get(ID12.make(id))),
|
|
378
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
379
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
380
380
|
method: {
|
|
381
|
-
list: (id) => editor.method.list(
|
|
381
|
+
list: (id) => editor.method.list(ID12.make(id)),
|
|
382
382
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
383
|
-
remove: (id, method) => editor.method.remove(
|
|
383
|
+
remove: (id, method) => editor.method.remove(ID12.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
})
|
|
@@ -390,10 +390,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
390
390
|
const ref = locationRef(input);
|
|
391
391
|
if (ref && !isCurrentLocation(ref))
|
|
392
392
|
return Effect.gen(function* () {
|
|
393
|
-
const location = yield*
|
|
394
|
-
const mcp = yield*
|
|
393
|
+
const location = yield* Service78;
|
|
394
|
+
const mcp = yield* Service31;
|
|
395
395
|
return {
|
|
396
|
-
location: new
|
|
396
|
+
location: new Info26({
|
|
397
397
|
directory: location.directory,
|
|
398
398
|
workspaceID: location.workspaceID,
|
|
399
399
|
project: location.project
|
|
@@ -428,7 +428,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
428
428
|
reload: reference.reload,
|
|
429
429
|
transform: (callback) => reference.transform((editor) => {
|
|
430
430
|
callback({
|
|
431
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
431
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
432
432
|
remove: editor.remove,
|
|
433
433
|
list: editor.list,
|
|
434
434
|
get: editor.get
|
|
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
442
442
|
callback({
|
|
443
443
|
list: () => mutable(editor.list()),
|
|
444
444
|
get: editor.get,
|
|
445
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
445
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
446
446
|
update: editor.update,
|
|
447
447
|
remove: editor.remove
|
|
448
448
|
});
|
|
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
473
473
|
providers: () => response(websearch.providers()),
|
|
474
474
|
query: (input) => response(websearch.query({
|
|
475
475
|
query: input.query,
|
|
476
|
-
providerID: input.providerID === undefined ? undefined :
|
|
476
|
+
providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
|
|
477
477
|
})),
|
|
478
478
|
reload: websearch.reload,
|
|
479
479
|
transform: (callback) => websearch.transform((editor) => {
|
|
480
480
|
callback({
|
|
481
481
|
add: (definition) => editor.add({
|
|
482
|
-
id:
|
|
482
|
+
id: ID5.make(definition.id),
|
|
483
483
|
name: definition.name,
|
|
484
484
|
execute: definition.execute
|
|
485
485
|
}),
|
|
486
486
|
default: {
|
|
487
487
|
get: editor.default.get,
|
|
488
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
488
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
})
|
|
@@ -515,7 +515,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
515
515
|
metadata: input?.metadata,
|
|
516
516
|
permissions: input?.permissions,
|
|
517
517
|
...input?.parentID === undefined ? {
|
|
518
|
-
location: input?.location ??
|
|
518
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
519
519
|
} : { parentID: input.parentID }
|
|
520
520
|
}),
|
|
521
521
|
get: (input) => sessions.get(input.sessionID),
|
|
@@ -546,30 +546,30 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
546
546
|
});
|
|
547
547
|
var requirements3 = LayerNode.group([
|
|
548
548
|
node60,
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
549
|
+
node55,
|
|
550
|
+
node59,
|
|
551
|
+
node70,
|
|
552
|
+
node69,
|
|
553
|
+
node57,
|
|
554
|
+
node85,
|
|
555
|
+
node71,
|
|
554
556
|
node87,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
+
node35,
|
|
558
|
+
node82,
|
|
557
559
|
node43,
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
node27,
|
|
572
|
-
node69
|
|
560
|
+
node75,
|
|
561
|
+
node41,
|
|
562
|
+
node45,
|
|
563
|
+
node58,
|
|
564
|
+
node37,
|
|
565
|
+
node38,
|
|
566
|
+
node39,
|
|
567
|
+
node47,
|
|
568
|
+
node52,
|
|
569
|
+
node64,
|
|
570
|
+
node23,
|
|
571
|
+
node40,
|
|
572
|
+
node74
|
|
573
573
|
]);
|
|
574
574
|
function storage2(kv, pluginID) {
|
|
575
575
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -596,7 +596,7 @@ function methodImplementation(input) {
|
|
|
596
596
|
if ("authorize" in input) {
|
|
597
597
|
const refresh = input.refresh;
|
|
598
598
|
return {
|
|
599
|
-
integrationID:
|
|
599
|
+
integrationID: ID12.make(input.integrationID),
|
|
600
600
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
601
601
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
602
602
|
if (authorization.mode === "auto") {
|
|
@@ -616,18 +616,18 @@ function methodImplementation(input) {
|
|
|
616
616
|
}
|
|
617
617
|
if (input.method.type === "env") {
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID12.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "command") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID12.make(input.integrationID),
|
|
626
626
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
630
|
-
integrationID:
|
|
630
|
+
integrationID: ID12.make(input.integrationID),
|
|
631
631
|
method: input.method
|
|
632
632
|
};
|
|
633
633
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./model-a7g6j6nx.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-ym21y5jk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./model-7nt8nw1z.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service19;
|
|
36
|
+
const bus = yield* Service81;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|