@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./permission-pa71v4xs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./permission-hc3jk0qp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-dbweq2g3.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
|
+
node: () => node82
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service78 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service79;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service78.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node82 = makeLocationNode({
|
|
633
|
+
service: Service78,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node83, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service78, node82, exports_integration, Event18 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./permission-pa71v4xs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./permission-s5esxmbf.js";
|
|
7
7
|
import {
|
|
8
8
|
Error4
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-jyhn569w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./permission-bh2h312c.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-bsprd9wx.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-578hyz0h.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-x5q60wvw.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-zyk1yjk8.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -55,11 +55,11 @@ var INPUT_INCOMPLETE = {
|
|
|
55
55
|
type: "tool.input-incomplete",
|
|
56
56
|
message: "Tool call arguments were not completed and were not executed. Re-issue the tool call with complete arguments."
|
|
57
57
|
};
|
|
58
|
-
var
|
|
59
|
-
const bus = yield*
|
|
58
|
+
var make3 = Effect.gen(function* () {
|
|
59
|
+
const bus = yield* Service84;
|
|
60
60
|
const llm = yield* LLMClient.Service;
|
|
61
|
-
const snapshots = yield*
|
|
62
|
-
const toolOutput = yield*
|
|
61
|
+
const snapshots = yield* Service37;
|
|
62
|
+
const toolOutput = yield* Service41;
|
|
63
63
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
64
64
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
65
65
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -226,4 +226,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
226
226
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
export { Outcome2,
|
|
229
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-4dhmsxq6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin46 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin46, exports_plan };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./permission-bnkkg5p8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./permission-fwhqfwqn.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service61;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-jftd83kv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./permission-bzz8wrte.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service84,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node88,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service84 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service84,
|
|
84
|
+
deps: [node89],
|
|
85
|
+
layer: Layer.effect(Service84, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service85;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service84.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node88 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service84, configured12, node88, exports_bus };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./permission-svcw9x3w.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service83;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./permission-bzz8wrte.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./permission-pa71v4xs.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-dhtaqzk7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node68
|
|
22
|
+
} from "./permission-yvxejzvs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node30
|
|
26
|
+
} from "./permission-xs8shqq6.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service65;
|
|
66
|
+
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node88, llmClient2, node30, node68, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./permission-skzynr4s.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-jftd83kv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./permission-1b3hp9sm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service47,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-ap89vq3r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./permission-xftgx4ts.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./permission-rtqbsk82.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin26
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin26 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service54;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin4 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service47;
|
|
60
|
+
const sessions = yield* Service24;
|
|
61
|
+
const agents = yield* Service67;
|
|
62
|
+
const subagents = yield* Service11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin4 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin26, exports_command };
|