@opencode/core 0.0.0-dev-20794 → 0.0.0-dev-20798
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{file-mutation-96fkfqj2.js → permission-0867ny8p.js} +30 -30
- package/dist/chunks/{file-mutation-6k82atfh.js → permission-0a64wyvf.js} +11 -11
- package/dist/chunks/{file-mutation-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-pdt2jafh.js → permission-0rgt9zzt.js} +20 -20
- package/dist/chunks/{file-mutation-0emb60td.js → permission-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-30c1nq7z.js → permission-0w62qmxp.js} +4 -4
- package/dist/chunks/{file-mutation-f63qcbt6.js → permission-1061b640.js} +16 -16
- package/dist/chunks/{file-mutation-arkxpnc7.js → permission-11zxpxmk.js} +11 -11
- package/dist/chunks/{file-mutation-0kj4k1tc.js → permission-121pyapq.js} +51 -51
- package/dist/chunks/{file-mutation-0nchd41w.js → permission-18r7tqwc.js} +24 -23
- package/dist/chunks/{file-mutation-t88w3btv.js → permission-18yqp4d1.js} +20 -20
- package/dist/chunks/{file-mutation-hdwqhw82.js → permission-19bvb7ap.js} +6 -6
- package/dist/chunks/{file-mutation-7vmkqt70.js → permission-1b3hp9sm.js} +41 -41
- package/dist/chunks/{file-mutation-fvhg8gw5.js → permission-1cawmmgw.js} +9 -9
- package/dist/chunks/{file-mutation-84h8c373.js → permission-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-mutation-4ffk7hnv.js → permission-1mymedw7.js} +45 -45
- package/dist/chunks/{file-mutation-3z5acqv0.js → permission-1nc875hk.js} +12 -12
- package/dist/chunks/{file-mutation-35s76chf.js → permission-29y7gdct.js} +4 -4
- package/dist/chunks/{file-mutation-ma3c0nra.js → permission-2djegtem.js} +4 -4
- package/dist/chunks/{file-mutation-08w4ybrc.js → permission-2m8jawch.js} +4 -4
- package/dist/chunks/{file-mutation-1jk66z4d.js → permission-2p8kcfzp.js} +37 -37
- package/dist/chunks/{file-mutation-2a12y9bg.js → permission-2p9k1bxm.js} +6 -6
- package/dist/chunks/{file-mutation-2vvh33eb.js → permission-2vvh33eb.js} +2 -2
- package/dist/chunks/{file-mutation-w8xr7nv8.js → permission-2xwkyk0m.js} +5 -5
- package/dist/chunks/{file-mutation-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-br43j30r.js → permission-3fdbr0t9.js} +9 -9
- package/dist/chunks/{file-mutation-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3hwn7j4h.js → permission-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-mutation-d1rwsgz6.js → permission-3sbnpzmt.js} +30 -30
- package/dist/chunks/{file-mutation-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-vkaebcec.js → permission-43mhxncg.js} +16 -16
- package/dist/chunks/{file-mutation-pcj7teyq.js → permission-47jkzegy.js} +5 -5
- package/dist/chunks/{file-mutation-c3nph5qn.js → permission-49q6xr1d.js} +26 -26
- package/dist/chunks/{file-mutation-2ktf0ed2.js → permission-4a0nv7mx.js} +8 -8
- package/dist/chunks/{file-mutation-rxnjmc3f.js → permission-4ap3exgq.js} +33 -33
- package/dist/chunks/{file-mutation-kng38vy9.js → permission-4dhmsxq6.js} +55 -55
- package/dist/chunks/{file-mutation-hm8d1c19.js → permission-4mn4pdq4.js} +24 -24
- package/dist/chunks/{file-mutation-m8kxqagj.js → permission-4nadmqk6.js} +18 -18
- package/dist/chunks/{file-mutation-4ts7tf6z.js → permission-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-mutation-q53z4mp6.js → permission-4z7naazd.js} +77 -77
- package/dist/chunks/{file-mutation-r94pvvab.js → permission-54ma36ye.js} +4 -4
- package/dist/chunks/{file-mutation-nmc82f5r.js → permission-578hyz0h.js} +5 -5
- package/dist/chunks/{file-mutation-2vwxxgve.js → permission-5dsfe2fx.js} +3 -3
- package/dist/chunks/{file-mutation-jxy38crn.js → permission-5hes5pr6.js} +18 -18
- package/dist/chunks/{file-mutation-e9myf44w.js → permission-5m63j0x9.js} +12 -12
- package/dist/chunks/{file-mutation-6128rfg2.js → permission-5m84d531.js} +8 -8
- package/dist/chunks/{file-mutation-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-63db42yp.js → permission-5pyjqqve.js} +2 -2
- package/dist/chunks/{file-mutation-e80seqcp.js → permission-5rzwp8tz.js} +3 -3
- package/dist/chunks/{file-mutation-x555xz49.js → permission-67w3b3c1.js} +28 -28
- package/dist/chunks/{file-mutation-cpa5tgd0.js → permission-6g0am89f.js} +4 -4
- package/dist/chunks/{file-mutation-tygvv2hj.js → permission-6pmrennt.js} +15 -15
- package/dist/chunks/{file-mutation-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-ncceg1m1.js → permission-6y1gtmaj.js} +25 -25
- package/dist/chunks/permission-6yerckma.js +26 -0
- package/dist/chunks/{file-mutation-y9s6fa94.js → permission-71748gaj.js} +11 -11
- package/dist/chunks/{file-mutation-f75zav2x.js → permission-71az546q.js} +2 -2
- package/dist/chunks/{file-mutation-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-bx3a7gm0.js → permission-7desqmmy.js} +32 -32
- package/dist/chunks/{file-mutation-7dqw4kz8.js → permission-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-mutation-sv7n11b0.js → permission-7g7d1a0d.js} +34 -34
- package/dist/chunks/{file-mutation-sj77aade.js → permission-7tfntwgh.js} +10 -10
- package/dist/chunks/{file-mutation-82v73sw7.js → permission-82v73sw7.js} +3 -3
- package/dist/chunks/{file-mutation-nm2znq5e.js → permission-842gc1q9.js} +15 -15
- package/dist/chunks/{file-mutation-84txncab.js → permission-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-1ptst37f.js → permission-879pdkpw.js} +48 -48
- package/dist/chunks/{file-mutation-97x6zpcg.js → permission-88btmr7f.js} +22 -22
- package/dist/chunks/permission-8k7d7nrh.js +513 -0
- package/dist/chunks/{file-mutation-8m6m0r52.js → permission-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-mutation-5r0361rz.js → permission-8mr9hc7m.js} +22 -22
- package/dist/chunks/{file-mutation-8n3kfz9t.js → permission-8qfsvs7t.js} +7 -7
- package/dist/chunks/{file-mutation-8sze2n9a.js → permission-8sze2n9a.js} +2 -2
- package/dist/chunks/{file-mutation-mr2053vn.js → permission-91y72fzf.js} +8 -8
- package/dist/chunks/{file-mutation-brkb82jv.js → permission-99y5njfe.js} +6 -6
- package/dist/chunks/{file-mutation-kb9j3d72.js → permission-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-mutation-8x85sx4p.js → permission-9mpf12xv.js} +6 -6
- package/dist/chunks/{file-mutation-dx0zwnzh.js → permission-9warehvz.js} +11 -11
- package/dist/chunks/{file-mutation-wwk9s6gm.js → permission-9wnb64mk.js} +4 -4
- package/dist/chunks/{file-mutation-x3j07sqv.js → permission-a71dp01s.js} +1 -1
- package/dist/chunks/{file-mutation-e4xjgbbt.js → permission-acvz0gda.js} +9 -9
- package/dist/chunks/{file-mutation-gqtdsdt7.js → permission-addxnjmp.js} +4 -4
- package/dist/chunks/{file-mutation-wqpqtk9p.js → permission-adw3bn0q.js} +14 -14
- package/dist/chunks/{file-mutation-f73rjn58.js → permission-afdssyjb.js} +4 -4
- package/dist/chunks/{file-mutation-4m4myvej.js → permission-ag1vmkq5.js} +5 -5
- package/dist/chunks/{file-mutation-tbe3ncrs.js → permission-ap89vq3r.js} +19 -19
- package/dist/chunks/{file-mutation-8spzkyqz.js → permission-aq7275dt.js} +11 -11
- package/dist/chunks/{file-mutation-q7mz9q6q.js → permission-b04gvtaq.js} +46 -46
- package/dist/chunks/{file-mutation-ngt4szzp.js → permission-bacj9t34.js} +9 -9
- package/dist/chunks/{file-mutation-y8wcetdn.js → permission-bh2h312c.js} +11 -11
- package/dist/chunks/{file-mutation-nfmcnngg.js → permission-bnkkg5p8.js} +19 -19
- package/dist/chunks/{file-mutation-e8vwfchq.js → permission-bsprd9wx.js} +6 -6
- package/dist/chunks/{file-mutation-ev47m0c9.js → permission-bsxt7ke4.js} +20 -20
- package/dist/chunks/{file-mutation-7x9mkh61.js → permission-bve6qjkp.js} +13 -13
- package/dist/chunks/{file-mutation-g6cjcx64.js → permission-bzz8wrte.js} +11 -11
- package/dist/chunks/{file-mutation-8gnbq3mq.js → permission-c5gx90bd.js} +49 -49
- package/dist/chunks/{file-mutation-h2cxmyv6.js → permission-c8fzga1g.js} +176 -176
- package/dist/chunks/{file-mutation-abyvteg4.js → permission-cax823b0.js} +5 -5
- package/dist/chunks/{file-mutation-55c2f9sd.js → permission-crprrqm9.js} +35 -35
- package/dist/chunks/{file-mutation-1v97ydhe.js → permission-cx4cpdm8.js} +32 -32
- package/dist/chunks/{file-mutation-1wjt2sv4.js → permission-cx8j2kw4.js} +2 -2
- package/dist/chunks/{file-mutation-5t8ewn7s.js → permission-cxryejnk.js} +24 -24
- package/dist/chunks/{file-mutation-h6cmthvy.js → permission-d41v1r24.js} +20 -20
- package/dist/chunks/{file-mutation-mkpy3z2x.js → permission-dbweq2g3.js} +28 -28
- package/dist/chunks/{file-mutation-cxyknwdq.js → permission-df46w92m.js} +24 -24
- package/dist/chunks/{file-mutation-6159pc4w.js → permission-dhtaqzk7.js} +8 -8
- package/dist/chunks/{file-mutation-r2m716tb.js → permission-djszqvmq.js} +9 -9
- package/dist/chunks/{file-mutation-a2zbpae8.js → permission-dkwxev37.js} +22 -22
- package/dist/chunks/{file-mutation-fyme91p9.js → permission-dsqwq135.js} +7 -7
- package/dist/chunks/{file-mutation-t1s1k5yy.js → permission-dwg50gpj.js} +13 -13
- package/dist/chunks/{file-mutation-5hqd4evq.js → permission-dxtjfr5w.js} +26 -26
- package/dist/chunks/{file-mutation-mfae1c65.js → permission-dzxtww8h.js} +20 -20
- package/dist/chunks/{file-mutation-r29xnvpy.js → permission-e12zrfjk.js} +20 -20
- package/dist/chunks/{file-mutation-sds13m34.js → permission-e4g6rnfs.js} +11 -11
- package/dist/chunks/permission-e53qrayz.js +253 -0
- package/dist/chunks/{file-mutation-tb0p0v3w.js → permission-edx1299v.js} +28 -28
- package/dist/chunks/{file-mutation-52fpbh6z.js → permission-eeaf82dq.js} +8 -8
- package/dist/chunks/{file-mutation-eej6y6fw.js → permission-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-31prma8q.js → permission-ej41exat.js} +8 -8
- package/dist/chunks/{file-mutation-1er3e6yx.js → permission-eq9cbjh1.js} +40 -40
- package/dist/chunks/{file-mutation-9j45sp9y.js → permission-erc8hxye.js} +3 -3
- package/dist/chunks/{file-mutation-swfq2ggm.js → permission-es4zr9pq.js} +8 -8
- package/dist/chunks/{file-mutation-zpqaydr5.js → permission-f215snft.js} +14 -14
- package/dist/chunks/{file-mutation-7xkbz91v.js → permission-f2bepxa4.js} +11 -11
- package/dist/chunks/{file-mutation-mb650nvc.js → permission-f4x7tdmc.js} +6 -6
- package/dist/chunks/{file-mutation-1rfarsz2.js → permission-fa06sfaa.js} +21 -21
- package/dist/chunks/{file-mutation-czrk7eqc.js → permission-fbvp0k6e.js} +13 -13
- package/dist/chunks/{file-mutation-hkvdrpa0.js → permission-ff8twdz4.js} +14 -14
- package/dist/chunks/{file-mutation-g7m5jc3s.js → permission-fktxf9jh.js} +13 -13
- package/dist/chunks/{file-mutation-6gfcack1.js → permission-fvsf627r.js} +32 -32
- package/dist/chunks/{file-mutation-b02gegf9.js → permission-fwhqfwqn.js} +6 -6
- package/dist/chunks/{file-mutation-792fxttk.js → permission-fz14dcjq.js} +17 -17
- package/dist/chunks/{file-mutation-7sh3javy.js → permission-g1ghggvv.js} +11 -11
- package/dist/chunks/{file-mutation-emjccja6.js → permission-g7eh4ee8.js} +4 -4
- package/dist/chunks/{file-mutation-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-wd9rzwsc.js → permission-gjat5q9s.js} +8 -8
- package/dist/chunks/{file-mutation-gk8qb678.js → permission-gk8qb678.js} +1 -1
- package/dist/chunks/{file-mutation-2tnztyb4.js → permission-gpxncbys.js} +25 -25
- package/dist/chunks/{file-mutation-1zr2pts9.js → permission-gsy01x3h.js} +46 -46
- package/dist/chunks/{file-mutation-3cegwx68.js → permission-h2b79v29.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-4nj4bn9q.js → permission-h71w788e.js} +9 -9
- package/dist/chunks/{file-mutation-h7s7r6s9.js → permission-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-mutation-001v9px8.js → permission-h9s04ysn.js} +29 -29
- package/dist/chunks/{file-mutation-ns2ffs2h.js → permission-havdyj78.js} +11 -11
- package/dist/chunks/{file-mutation-svfda40e.js → permission-hc3jk0qp.js} +35 -35
- package/dist/chunks/{file-mutation-413zckkp.js → permission-hf70zf3n.js} +14 -14
- package/dist/chunks/{file-mutation-08pekkkp.js → permission-hff4xq6b.js} +31 -31
- package/dist/chunks/{file-mutation-hgz4x7wa.js → permission-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-mutation-jn8pq3zr.js → permission-hzyqe4zz.js} +15 -15
- package/dist/chunks/{file-mutation-nk8pyrqt.js → permission-j24gjvrt.js} +11 -11
- package/dist/chunks/{file-mutation-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-j6g3s69e.js → permission-j6xyqk3q.js} +11 -11
- package/dist/chunks/{file-mutation-emh6xp50.js → permission-j81g7ypj.js} +22 -22
- package/dist/chunks/{file-mutation-dvnvp1s2.js → permission-jd4785vb.js} +9 -9
- package/dist/chunks/{file-mutation-x6gzkr09.js → permission-jftd83kv.js} +2 -2
- package/dist/chunks/permission-jqh9b0xq.js +18 -0
- package/dist/chunks/{file-mutation-22vr6xcz.js → permission-jrhws6fd.js} +7 -7
- package/dist/chunks/{file-mutation-2pg08m5e.js → permission-jy4c01cs.js} +9 -9
- package/dist/chunks/{file-mutation-tgnk2hj2.js → permission-jyhn569w.js} +22 -22
- package/dist/chunks/{file-mutation-pjbxg7y6.js → permission-k3cjg3rv.js} +5 -5
- package/dist/chunks/{file-mutation-7q7krz9g.js → permission-kak8azr3.js} +10 -10
- package/dist/chunks/{file-mutation-0pfnnq19.js → permission-kep13917.js} +7 -7
- package/dist/chunks/{file-mutation-n75va8h4.js → permission-kjrnpcqs.js} +14 -14
- package/dist/chunks/{file-mutation-zz6a9v66.js → permission-kjvjp12z.js} +13 -13
- package/dist/chunks/{file-mutation-ermxvwhp.js → permission-kkp8zx71.js} +4 -4
- package/dist/chunks/{file-mutation-0mez6xtb.js → permission-m08g2nfv.js} +19 -19
- package/dist/chunks/{file-mutation-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-q1v2ecrg.js → permission-mhhhgcje.js} +20 -20
- package/dist/chunks/{file-mutation-y2p23j5v.js → permission-mjb5p1qt.js} +15 -15
- package/dist/chunks/{file-mutation-dfd436bf.js → permission-mr1x1312.js} +25 -25
- package/dist/chunks/{file-mutation-895hwfaf.js → permission-mwac1kvk.js} +21 -21
- package/dist/chunks/{file-mutation-9p0ppmpk.js → permission-myxpwbc1.js} +17 -17
- package/dist/chunks/{file-mutation-jmb3v5n8.js → permission-n49d9j3n.js} +33 -33
- package/dist/chunks/{file-mutation-16p3pjs3.js → permission-n58fwfj9.js} +20 -20
- package/dist/chunks/{file-mutation-q53wc5d1.js → permission-nfp6qa8f.js} +5 -5
- package/dist/chunks/{file-mutation-a9ztvwgh.js → permission-nqfeqft8.js} +8 -8
- package/dist/chunks/{file-mutation-y029vxmf.js → permission-p9pz60nm.js} +2 -2
- package/dist/chunks/{file-mutation-8tma8yk9.js → permission-pa71v4xs.js} +16 -16
- package/dist/chunks/{file-mutation-0xvjdmzv.js → permission-pck7vvdx.js} +5 -5
- package/dist/chunks/{file-mutation-hpz1ef6d.js → permission-phk6wrew.js} +32 -32
- package/dist/chunks/{file-mutation-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-7zt5x37y.js → permission-pnzf6mjf.js} +1 -1
- package/dist/chunks/{file-mutation-5nhcs1gc.js → permission-ppj5zt05.js} +23 -23
- package/dist/chunks/{file-mutation-n9b0e670.js → permission-pxfh3dfs.js} +11 -11
- package/dist/chunks/{file-mutation-987t3db3.js → permission-pz91bm7f.js} +42 -42
- package/dist/chunks/{file-mutation-q0xm7vwc.js → permission-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-mutation-e0rj9m82.js → permission-q2an6qgh.js} +37 -37
- package/dist/chunks/{file-mutation-z3nay82g.js → permission-q58mka6k.js} +9 -9
- package/dist/chunks/{file-mutation-q4bmetfh.js → permission-q8d01tfe.js} +11 -11
- package/dist/chunks/{file-mutation-n9735yat.js → permission-qcd4fcp0.js} +18 -18
- package/dist/chunks/{file-mutation-frjx316d.js → permission-qg3mqya1.js} +32 -32
- package/dist/chunks/{file-mutation-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-k6geg3g4.js → permission-qwwmtqky.js} +7 -7
- package/dist/chunks/{file-mutation-ks1x06j6.js → permission-r3jj6dc1.js} +20 -20
- package/dist/chunks/{file-mutation-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-pnhxssdf.js → permission-rg1e8n1n.js} +1 -1
- package/dist/chunks/{file-mutation-6t4hr8r6.js → permission-rk7s9xkn.js} +4 -4
- package/dist/chunks/{file-mutation-rejzs90v.js → permission-rsqqs00a.js} +13 -13
- package/dist/chunks/{file-mutation-fmcyb5kn.js → permission-rtqbsk82.js} +19 -19
- package/dist/chunks/{file-mutation-4an6wz3e.js → permission-s5esxmbf.js} +21 -21
- package/dist/chunks/{file-mutation-tmh2szjd.js → permission-s6q4m3rw.js} +11 -11
- package/dist/chunks/{file-mutation-q0dpqjr6.js → permission-s9yx8wdb.js} +5 -5
- package/dist/chunks/{file-mutation-347k46de.js → permission-set8mr7x.js} +20 -20
- package/dist/chunks/{file-mutation-6xsva56f.js → permission-skzynr4s.js} +24 -24
- package/dist/chunks/{file-mutation-raq2v0bx.js → permission-sm50yx05.js} +3 -3
- package/dist/chunks/{file-mutation-66hgkdkn.js → permission-svcw9x3w.js} +12 -12
- package/dist/chunks/{file-mutation-97aeaand.js → permission-sz15zhhw.js} +4 -4
- package/dist/chunks/{file-mutation-gw9kxxex.js → permission-t1g75zb1.js} +23 -23
- package/dist/chunks/{file-mutation-ryr25ayn.js → permission-t2fc4mz5.js} +4 -4
- package/dist/chunks/{file-mutation-eaj1djv9.js → permission-t550f9t1.js} +8 -8
- package/dist/chunks/{file-mutation-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-8vmqdhw3.js → permission-tfzms4hw.js} +11 -11
- package/dist/chunks/{file-mutation-5z6x68ky.js → permission-thehtxep.js} +14 -14
- package/dist/chunks/{file-mutation-pttfvfkm.js → permission-tm0d2req.js} +48 -48
- package/dist/chunks/{file-mutation-4bxnfknc.js → permission-tn5vzadn.js} +19 -19
- package/dist/chunks/{file-mutation-h8ev6gqr.js → permission-tnn2zr7p.js} +17 -17
- package/dist/chunks/{file-mutation-p37cw4rj.js → permission-tpw6cwsb.js} +8 -8
- package/dist/chunks/{file-mutation-7qxkbnsm.js → permission-tshys90f.js} +4 -4
- package/dist/chunks/{file-mutation-mbytadxt.js → permission-ttdqgenf.js} +13 -13
- package/dist/chunks/{file-mutation-tyytaxap.js → permission-tyytaxap.js} +1 -1
- package/dist/chunks/{file-mutation-xecxzrdp.js → permission-v0es1rhs.js} +2 -2
- package/dist/chunks/{file-mutation-mmwgr206.js → permission-v0rmr13d.js} +29 -29
- package/dist/chunks/{file-mutation-3rg2w6xv.js → permission-v2679nm9.js} +9 -9
- package/dist/chunks/{file-mutation-0bqktbhr.js → permission-v3437zz8.js} +11 -11
- package/dist/chunks/{file-mutation-v7p4zvkq.js → permission-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-mutation-5zm63kxk.js → permission-v8dvbsx3.js} +24 -24
- package/dist/chunks/{file-mutation-2p9rsret.js → permission-vdead4g8.js} +11 -11
- package/dist/chunks/{file-mutation-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-ss358qx3.js → permission-vx3jgdek.js} +3 -3
- package/dist/chunks/{file-mutation-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-pqzs1kgy.js → permission-w0tnwptq.js} +36 -36
- package/dist/chunks/{file-mutation-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-8ws6ad5b.js → permission-wg4745h2.js} +4 -4
- package/dist/chunks/{file-mutation-2cjv1swf.js → permission-wh6zw745.js} +5 -5
- package/dist/chunks/{file-mutation-0xwjverx.js → permission-wkm5w91q.js} +27 -27
- package/dist/chunks/{file-mutation-d3sj2eet.js → permission-wkvczzh5.js} +15 -15
- package/dist/chunks/{file-mutation-4xfmg39d.js → permission-wpdnty0e.js} +15 -15
- package/dist/chunks/{file-mutation-y9tr1e68.js → permission-x21zgmep.js} +51 -51
- package/dist/chunks/{file-mutation-cb73d6eg.js → permission-x5q60wvw.js} +3 -3
- package/dist/chunks/{file-mutation-krr416t2.js → permission-x9xg8x40.js} +19 -19
- package/dist/chunks/{file-mutation-m4bedved.js → permission-xep3ze1y.js} +5 -5
- package/dist/chunks/{file-mutation-xfkkasph.js → permission-xfkkasph.js} +1 -1
- package/dist/chunks/{file-mutation-h3kajr6j.js → permission-xfp8ry6z.js} +4 -4
- package/dist/chunks/{file-mutation-fx15w7g6.js → permission-xftgx4ts.js} +88 -88
- package/dist/chunks/{file-mutation-4jfbp8dd.js → permission-xh4fy60y.js} +5 -5
- package/dist/chunks/{file-mutation-tx6et3w6.js → permission-xs8shqq6.js} +87 -87
- package/dist/chunks/{file-mutation-80c2enrh.js → permission-xtb1gs3j.js} +16 -16
- package/dist/chunks/{file-mutation-r2rtbtrq.js → permission-xtba51zg.js} +14 -14
- package/dist/chunks/{file-mutation-br5x8hm0.js → permission-xtey03m7.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-1795xh8n.js → permission-y5qqa7my.js} +10 -10
- package/dist/chunks/{file-mutation-dpkg50ah.js → permission-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-5ezk1j40.js → permission-yd8r87h6.js} +30 -30
- package/dist/chunks/{file-mutation-5y9r66cr.js → permission-ydk4cx33.js} +30 -30
- package/dist/chunks/{file-mutation-yp2x3t23.js → permission-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-gw7cjrad.js → permission-yrcj3v3g.js} +4 -4
- package/dist/chunks/{file-mutation-511hp0pk.js → permission-ys0pbpvc.js} +3 -3
- package/dist/chunks/{file-mutation-e2f8ga9k.js → permission-yvxejzvs.js} +17 -17
- package/dist/chunks/{file-mutation-wjr9rjd7.js → permission-ywt8jp22.js} +6 -6
- package/dist/chunks/{file-mutation-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-nc2e17ej.js → permission-z5tdqdjp.js} +45 -45
- package/dist/chunks/{file-mutation-rcm8yqz1.js → permission-z79kqqnc.js} +5 -5
- package/dist/chunks/{file-mutation-4b4qgg5c.js → permission-zbrcmnr9.js} +32 -32
- package/dist/chunks/{file-mutation-qmav61fh.js → permission-zkv4zs3q.js} +25 -25
- package/dist/chunks/{file-mutation-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-zh9hhqtd.js → permission-zy52m0s9.js} +16 -16
- package/dist/chunks/{file-mutation-scgrse2b.js → permission-zyk1yjk8.js} +5 -5
- 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 +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +92 -92
- 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 +357 -357
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +354 -354
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/file-mutation-775h0p7n.js +0 -26
- package/dist/chunks/file-mutation-by5v678g.js +0 -18
- package/dist/chunks/file-mutation-ekpbha00.js +0 -513
- package/dist/chunks/file-mutation-h9wkgsjp.js +0 -253
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → permission-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → permission-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-bw78ga2c.js → permission-bw78ga2c.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → permission-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-pyv0edze.js → permission-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → permission-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,137 +1,137 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node66
|
|
4
|
+
} from "./permission-71748gaj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./permission-pa71v4xs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./permission-skzynr4s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-hc3jk0qp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./permission-n49d9j3n.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service81,
|
|
33
33
|
node85
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./permission-jftd83kv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID13,
|
|
37
|
+
Service77,
|
|
38
|
+
node81
|
|
39
|
+
} from "./permission-zbrcmnr9.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service75,
|
|
42
|
+
node79
|
|
43
|
+
} from "./permission-tfzms4hw.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service43,
|
|
46
|
+
node46
|
|
47
|
+
} from "./permission-bnkkg5p8.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service71,
|
|
50
|
+
node75
|
|
51
|
+
} from "./permission-rsqqs00a.js";
|
|
52
52
|
import {
|
|
53
53
|
Service62,
|
|
54
54
|
node64
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./permission-p9pz60nm.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID12,
|
|
58
|
+
Service76,
|
|
59
|
+
node80
|
|
60
|
+
} from "./permission-ydk4cx33.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID10
|
|
63
|
+
} from "./permission-h9s04ysn.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service35,
|
|
66
|
+
node39
|
|
67
|
+
} from "./permission-121pyapq.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service68,
|
|
70
|
+
node71
|
|
71
|
+
} from "./permission-4a0nv7mx.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service64,
|
|
74
|
+
node67
|
|
75
|
+
} from "./permission-4dhmsxq6.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service45,
|
|
78
|
+
node48
|
|
79
|
+
} from "./permission-jyhn569w.js";
|
|
80
80
|
import {
|
|
81
81
|
Source3,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service38,
|
|
83
|
+
node41
|
|
84
|
+
} from "./permission-wkm5w91q.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info7,
|
|
87
|
+
Service44,
|
|
88
|
+
node47
|
|
89
|
+
} from "./permission-dxtjfr5w.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service24,
|
|
92
|
+
node27
|
|
93
|
+
} from "./permission-xftgx4ts.js";
|
|
94
94
|
import {
|
|
95
95
|
Service20,
|
|
96
96
|
node23
|
|
97
|
-
} from "./
|
|
97
|
+
} from "./permission-r3jj6dc1.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service16,
|
|
100
|
+
node19
|
|
101
|
+
} from "./permission-hf70zf3n.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service53,
|
|
104
|
+
node56
|
|
105
|
+
} from "./permission-fa06sfaa.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID6,
|
|
108
|
+
Service48,
|
|
109
|
+
node51
|
|
110
|
+
} from "./permission-67w3b3c1.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service18,
|
|
113
|
+
node21
|
|
114
|
+
} from "./permission-1061b640.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info3,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service17,
|
|
120
|
+
node20
|
|
121
|
+
} from "./permission-w0tnwptq.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service73,
|
|
124
|
+
node77
|
|
125
|
+
} from "./permission-tnn2zr7p.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./permission-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
132
132
|
__export(exports_host, {
|
|
133
133
|
PluginHost: () => exports_host,
|
|
134
|
-
make: () =>
|
|
134
|
+
make: () => make7,
|
|
135
135
|
requirements: () => requirements3,
|
|
136
136
|
storage: () => storage2
|
|
137
137
|
});
|
|
@@ -141,32 +141,32 @@ import { Effect, Schema, Stream } from "effect";
|
|
|
141
141
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
142
142
|
var mutable = (value) => value;
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
|
-
var
|
|
144
|
+
var make7 = 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*
|
|
146
|
+
const agents = yield* Service67;
|
|
147
|
+
const aisdk = yield* Service75;
|
|
148
|
+
const providers = yield* Service77;
|
|
149
|
+
const models = yield* Service76;
|
|
150
|
+
const commands = yield* Service43;
|
|
151
|
+
const bus = yield* Service84;
|
|
152
|
+
const integration = yield* Service78;
|
|
153
|
+
const kv = yield* Service71;
|
|
154
|
+
const mcp = yield* Service35;
|
|
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*
|
|
156
|
+
const reference = yield* Service38;
|
|
157
|
+
const rpc = yield* Service16;
|
|
158
|
+
const skill = yield* Service44;
|
|
159
|
+
const tools = yield* Service45;
|
|
160
|
+
const vcs = yield* Service53;
|
|
161
|
+
const websearch = yield* Service48;
|
|
162
|
+
const generate = yield* Service73;
|
|
163
|
+
const permission = yield* Service64;
|
|
164
|
+
const hooks = yield* Service68;
|
|
165
|
+
const sessions = yield* Service24;
|
|
166
166
|
const persistentPty = yield* Service20;
|
|
167
167
|
const locations = yield* Service62;
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
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 : ID10.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(Info3);
|
|
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* Service67;
|
|
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(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 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(ID13.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(ID13.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: ID15.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(ID13.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID13.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(ID13.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.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 : ID13.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.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(ID13.make(providerID), ID12.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(ID13.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(ID14.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: ID14.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: ID14.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: ID14.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: ID14.make(input.integrationID),
|
|
343
343
|
attemptID: AttemptID2.make(input.attemptID)
|
|
344
344
|
})),
|
|
345
345
|
complete: (input) => integration.oauth.complete({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID14.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: ID14.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: ID14.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: ID14.make(input.integrationID),
|
|
363
363
|
attemptID: AttemptID2.make(input.attemptID)
|
|
364
364
|
})),
|
|
365
365
|
cancel: (input) => integration.command.cancel({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID14.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(ID14.make(id)),
|
|
373
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
|
|
374
374
|
status: (input) => integration.connection.status({
|
|
375
|
-
integrationID:
|
|
376
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
375
|
+
integrationID: ID14.make(input.integrationID),
|
|
376
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.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(ID14.make(id))),
|
|
384
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
385
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
386
386
|
method: {
|
|
387
|
-
list: (id) => editor.method.list(
|
|
387
|
+
list: (id) => editor.method.list(ID14.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(ID14.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* Service35;
|
|
401
401
|
return {
|
|
402
402
|
location: new Info27({
|
|
403
403
|
directory: location.directory,
|
|
@@ -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(Info7)(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 : ID6.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: ID6.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 : ID6.make(selection))
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
497
|
})
|
|
@@ -551,29 +551,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
551
551
|
return context;
|
|
552
552
|
});
|
|
553
553
|
var requirements3 = LayerNode.group([
|
|
554
|
-
node74,
|
|
555
|
-
node83,
|
|
556
|
-
node68,
|
|
557
|
-
node75,
|
|
558
|
-
node69,
|
|
559
|
-
node43,
|
|
560
|
-
node87,
|
|
561
|
-
node76,
|
|
562
|
-
node65,
|
|
563
|
-
node40,
|
|
564
|
-
node85,
|
|
565
|
-
node46,
|
|
566
|
-
node26,
|
|
567
|
-
node79,
|
|
568
|
-
node45,
|
|
569
|
-
node57,
|
|
570
|
-
node29,
|
|
571
|
-
node24,
|
|
572
|
-
node25,
|
|
573
554
|
node66,
|
|
555
|
+
node70,
|
|
556
|
+
node79,
|
|
557
|
+
node81,
|
|
574
558
|
node80,
|
|
575
|
-
|
|
576
|
-
|
|
559
|
+
node46,
|
|
560
|
+
node88,
|
|
561
|
+
node82,
|
|
562
|
+
node75,
|
|
563
|
+
node39,
|
|
564
|
+
node85,
|
|
565
|
+
node41,
|
|
566
|
+
node19,
|
|
567
|
+
node47,
|
|
568
|
+
node48,
|
|
569
|
+
node56,
|
|
570
|
+
node51,
|
|
571
|
+
node20,
|
|
572
|
+
node21,
|
|
573
|
+
node77,
|
|
574
|
+
node67,
|
|
575
|
+
node71,
|
|
576
|
+
node27,
|
|
577
577
|
node23,
|
|
578
578
|
node64
|
|
579
579
|
]);
|
|
@@ -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: ID14.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: ID14.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: ID14.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: ID14.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: ID14.make(input.integrationID),
|
|
643
643
|
method: input.method
|
|
644
644
|
};
|
|
645
645
|
}
|
|
@@ -647,4 +647,4 @@ function credential(value) {
|
|
|
647
647
|
return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
export {
|
|
650
|
+
export { make7, requirements3, storage2, exports_host };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-hc3jk0qp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-n49d9j3n.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|