@opencode/core 0.0.0-dev-1243 → 0.0.0-dev-1248
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 +88 -88
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -258
- package/dist/bus.js +80 -80
- package/dist/chunks/{pty-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{pty-xbr4bv73.js → project-03bwqn7t.js} +379 -379
- package/dist/chunks/{pty-mw0dakk6.js → project-05yy5vxh.js} +34 -34
- package/dist/chunks/{pty-d5kqx8fq.js → project-0arbppaz.js} +4 -4
- package/dist/chunks/{pty-k1cgmjrv.js → project-0chd5a7v.js} +35 -35
- package/dist/chunks/{pty-yvccjmj1.js → project-0dtrfk3r.js} +44 -44
- package/dist/chunks/{pty-0ma9gw4f.js → project-0ma9gw4f.js} +2 -2
- package/dist/chunks/{pty-a7f6w5my.js → project-0nrjqdgb.js} +11 -11
- package/dist/chunks/{pty-16bpzxh6.js → project-0nsnpsj5.js} +24 -24
- package/dist/chunks/{pty-qgvh6b4a.js → project-0t5w8q7r.js} +10 -10
- package/dist/chunks/{pty-3adw4bt5.js → project-0x9bxa2j.js} +9 -9
- package/dist/chunks/{pty-yepd7x5v.js → project-10pn4eb5.js} +5 -5
- package/dist/chunks/{pty-fdh5529n.js → project-171mzba9.js} +15 -15
- package/dist/chunks/{pty-1aqsckx4.js → project-1aqsckx4.js} +1 -1
- package/dist/chunks/{pty-1aryjtsy.js → project-1aryjtsy.js} +1 -1
- package/dist/chunks/{pty-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{pty-z6b1dhbd.js → project-1qs9np1d.js} +25 -25
- package/dist/chunks/{pty-k3qp21jq.js → project-1r1g9mrd.js} +3 -3
- package/dist/chunks/{pty-fmk2x3nt.js → project-1vkebezz.js} +7 -7
- package/dist/chunks/{pty-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{pty-9djh2dnz.js → project-1y4ftnew.js} +21 -21
- package/dist/chunks/{pty-p7vhpwh8.js → project-1yq9hg58.js} +5 -5
- package/dist/chunks/{pty-zvjthybj.js → project-1zf4sf6z.js} +29 -29
- package/dist/chunks/{pty-dp2tm4a1.js → project-22m053ef.js} +16 -16
- package/dist/chunks/{pty-c6qa2vhr.js → project-26g4haz7.js} +2 -2
- package/dist/chunks/{pty-h359ybnh.js → project-2aym7hfw.js} +22 -22
- package/dist/chunks/{pty-2fc7eemy.js → project-2fc7eemy.js} +1 -1
- package/dist/chunks/{pty-31zy42j6.js → project-2j5rqqks.js} +4 -4
- package/dist/chunks/{pty-w9w8mt4n.js → project-2mbjfaxd.js} +4 -4
- package/dist/chunks/{pty-2p60zmnr.js → project-2p60zmnr.js} +2 -2
- package/dist/chunks/{pty-ny2c3vnr.js → project-2ppya83s.js} +24 -24
- package/dist/chunks/{pty-ypzfmdvb.js → project-2prt43t7.js} +4 -4
- package/dist/chunks/{pty-f80thpwy.js → project-2s9mae96.js} +6 -6
- package/dist/chunks/{pty-3af34bnj.js → project-2x8s18r7.js} +12 -12
- package/dist/chunks/{pty-s47rahr7.js → project-2ytp0tvq.js} +4 -4
- package/dist/chunks/{pty-vek77fn1.js → project-38atze3s.js} +4 -4
- package/dist/chunks/{pty-2bz3yr90.js → project-39cj188s.js} +13 -13
- package/dist/chunks/{pty-j1g6sam5.js → project-3f3v4jga.js} +14 -14
- package/dist/chunks/{pty-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-zkj5hvqk.js → project-3j1mscdb.js} +17 -17
- package/dist/chunks/{pty-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
- package/dist/chunks/{pty-cmyqft71.js → project-3pp8pwgj.js} +12 -12
- package/dist/chunks/{pty-xwa956xd.js → project-3q0f2ar2.js} +34 -34
- package/dist/chunks/{pty-8bgnr0we.js → project-3tnz5sgn.js} +9 -9
- package/dist/chunks/{pty-y5y8fdry.js → project-3w2222m1.js} +11 -11
- package/dist/chunks/{pty-p4rgaht7.js → project-3y3jbad2.js} +28 -28
- package/dist/chunks/{pty-40y6dtc2.js → project-40y6dtc2.js} +1 -1
- package/dist/chunks/{pty-vaa3556q.js → project-431pxc15.js} +20 -20
- package/dist/chunks/{pty-44pmzq9c.js → project-44pmzq9c.js} +2 -2
- package/dist/chunks/{pty-6b62wfya.js → project-483sd1yb.js} +5 -5
- package/dist/chunks/{pty-4dx1dgte.js → project-4dx1dgte.js} +1 -1
- package/dist/chunks/{pty-4f25tdd0.js → project-4f25tdd0.js} +1 -1
- package/dist/chunks/{pty-h5gm5jf1.js → project-4krz84m7.js} +7 -7
- package/dist/chunks/{pty-m4q5xxb9.js → project-4mj95crb.js} +23 -23
- package/dist/chunks/{pty-fztzyxrs.js → project-4py1f4td.js} +4 -4
- package/dist/chunks/{pty-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
- package/dist/chunks/{pty-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{pty-2cskqkp8.js → project-4xg51qdn.js} +30 -30
- package/dist/chunks/{pty-aqbfnays.js → project-519xahjx.js} +8 -8
- package/dist/chunks/{pty-24wpkw88.js → project-519yr74w.js} +7 -7
- package/dist/chunks/{pty-yhg0k745.js → project-548n6y2b.js} +6 -6
- package/dist/chunks/{pty-r1jdstg5.js → project-57mza00s.js} +7 -7
- package/dist/chunks/{pty-k99kdhj8.js → project-5kxgn6ep.js} +27 -27
- package/dist/chunks/{pty-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-vbhat5wh.js → project-5z294gtv.js} +29 -29
- package/dist/chunks/{pty-csjc8g2d.js → project-62n2y8nj.js} +88 -88
- package/dist/chunks/{pty-27kg7kae.js → project-64eaqz1s.js} +14 -14
- package/dist/chunks/{pty-2n467pca.js → project-6dcmk7yw.js} +11 -11
- package/dist/chunks/{pty-qnz51mn9.js → project-6k3ybkzz.js} +36 -36
- package/dist/chunks/{pty-qxr7e54z.js → project-6ntww4tm.js} +8 -8
- package/dist/chunks/{pty-rby4rswg.js → project-6qsycem6.js} +10 -10
- package/dist/chunks/{pty-beq04nbz.js → project-6yxp1w4q.js} +17 -17
- package/dist/chunks/{pty-mdyw5z6p.js → project-71ypmw89.js} +5 -5
- package/dist/chunks/{pty-6j3at20h.js → project-792v9nnn.js} +40 -40
- package/dist/chunks/{pty-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-egabjtks.js → project-7epxk7kn.js} +36 -36
- package/dist/chunks/{pty-3dtf6evj.js → project-7mav3dfd.js} +11 -11
- package/dist/chunks/{pty-d34c0f98.js → project-7r8fsv9c.js} +8 -8
- package/dist/chunks/{pty-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{pty-7weczvnd.js → project-7weczvnd.js} +1 -1
- package/dist/chunks/project-7yv5xa0k.js +18 -0
- package/dist/chunks/{pty-7zs4mqwf.js → project-7zs4mqwf.js} +1 -1
- package/dist/chunks/{pty-775hqbnd.js → project-80mg3ag8.js} +3 -3
- package/dist/chunks/{pty-80pdk984.js → project-80pdk984.js} +1 -1
- package/dist/chunks/{pty-rdyjny1j.js → project-81x66nn9.js} +5 -5
- package/dist/chunks/{pty-85jq8dht.js → project-85jq8dht.js} +1 -1
- package/dist/chunks/{pty-8b3vzgkx.js → project-8b3vzgkx.js} +1 -1
- package/dist/chunks/{pty-73ff1310.js → project-8bcc8xgx.js} +3 -3
- package/dist/chunks/{pty-b5amajw5.js → project-8ev79zfj.js} +17 -17
- package/dist/chunks/{pty-1pba5shw.js → project-8fc4zxgz.js} +20 -20
- package/dist/chunks/{pty-vm46z34s.js → project-8h1vpp1z.js} +32 -32
- package/dist/chunks/{pty-8kjyvwy5.js → project-8kjyvwy5.js} +1 -1
- package/dist/chunks/{pty-3js0jpnw.js → project-8qbavr51.js} +28 -28
- package/dist/chunks/{pty-rb56y7d9.js → project-8s7nwkg4.js} +7 -7
- package/dist/chunks/{pty-8sxe6kv8.js → project-8sxe6kv8.js} +2 -2
- package/dist/chunks/{pty-v8vd993n.js → project-8tdv4j48.js} +8 -8
- package/dist/chunks/{pty-n8pyq7pd.js → project-8tfy862m.js} +33 -33
- package/dist/chunks/{pty-h8tg0dws.js → project-8wepr19g.js} +20 -20
- package/dist/chunks/{pty-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{pty-0358g6ev.js → project-8xe8t0kv.js} +28 -28
- package/dist/chunks/{pty-8zv0xmg5.js → project-8zv0xmg5.js} +1 -1
- package/dist/chunks/{pty-sf9y72b7.js → project-90ct6wq4.js} +4 -4
- package/dist/chunks/{pty-zyfhsknv.js → project-963hk181.js} +9 -9
- package/dist/chunks/{pty-wy0ga8wg.js → project-9c0e36dm.js} +15 -15
- package/dist/chunks/{pty-8cp8083w.js → project-9c5de9ex.js} +32 -32
- package/dist/chunks/{pty-b1g5y16h.js → project-9c8qa8aw.js} +5 -5
- package/dist/chunks/{pty-z4yba2tb.js → project-9sah8c90.js} +13 -13
- package/dist/chunks/{pty-yk8qeqv5.js → project-9vctdnkw.js} +41 -41
- package/dist/chunks/{pty-qd4akt1k.js → project-9x773dww.js} +21 -21
- package/dist/chunks/{pty-9zfcngb4.js → project-9zfcngb4.js} +3 -3
- package/dist/chunks/{pty-9sk33afj.js → project-a0f8fvmt.js} +2 -2
- package/dist/chunks/{pty-391bh81e.js → project-a3qfb72q.js} +11 -11
- package/dist/chunks/{pty-4xbnrh7k.js → project-a8xx5dja.js} +24 -24
- package/dist/chunks/{pty-dngwd1ze.js → project-ab4f9jgy.js} +59 -59
- package/dist/chunks/{pty-7vt9741m.js → project-ag6d02bt.js} +18 -18
- package/dist/chunks/{pty-6y2b864j.js → project-agje4kmn.js} +4 -4
- package/dist/chunks/{pty-macje4cw.js → project-archncmc.js} +11 -11
- package/dist/chunks/{pty-5fmxz15n.js → project-ashdrv1y.js} +5 -5
- package/dist/chunks/{pty-n1aahvmz.js → project-aw1f31nn.js} +11 -11
- package/dist/chunks/{pty-sj2darqv.js → project-ay6wrfq3.js} +9 -9
- package/dist/chunks/{pty-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{pty-j9s2adqk.js → project-az1s11wb.js} +15 -15
- package/dist/chunks/{pty-b26ddj6h.js → project-b26ddj6h.js} +4 -4
- package/dist/chunks/{pty-me215f18.js → project-b7nkz392.js} +1 -1
- package/dist/chunks/{pty-p00j488m.js → project-b7xfdchc.js} +5 -5
- package/dist/chunks/{pty-80dhscwa.js → project-baecht6p.js} +3 -3
- package/dist/chunks/{pty-r6j6qbdv.js → project-bfj43ee4.js} +26 -26
- package/dist/chunks/{pty-5n0rnk8e.js → project-bhfd478d.js} +4 -4
- package/dist/chunks/{pty-egrqhvf4.js → project-bnnynr5w.js} +26 -26
- package/dist/chunks/{pty-bstexjd6.js → project-bstexjd6.js} +1 -1
- package/dist/chunks/{pty-hqqb2y2p.js → project-bzk9fs6r.js} +11 -11
- package/dist/chunks/{pty-229tvxdn.js → project-c5zvymhv.js} +4 -4
- package/dist/chunks/{pty-0ahs07zn.js → project-c6x7d2ts.js} +4 -4
- package/dist/chunks/{pty-63wq4pxn.js → project-caa2677f.js} +17 -17
- package/dist/chunks/{pty-txhtnhhs.js → project-cakbknzd.js} +6 -6
- package/dist/chunks/{pty-zjee4atp.js → project-cfcevk7c.js} +51 -51
- package/dist/chunks/{pty-kcr186t0.js → project-cm34zpbh.js} +12 -12
- package/dist/chunks/{pty-20s3wvje.js → project-cqcp610d.js} +6 -6
- package/dist/chunks/{pty-t096wk8a.js → project-cqqf6ekq.js} +39 -39
- package/dist/chunks/{pty-6x9fp5f4.js → project-crrcr980.js} +8 -8
- package/dist/chunks/{pty-cwrgdav8.js → project-cwrgdav8.js} +2 -2
- package/dist/chunks/{pty-2jdb2eg5.js → project-cxe1m6wk.js} +4 -4
- package/dist/chunks/{pty-1kama452.js → project-cyppd8z1.js} +4 -4
- package/dist/chunks/{pty-7dvrcskb.js → project-d08p3xwc.js} +14 -14
- package/dist/chunks/{pty-thjfc5mn.js → project-d35tjgrr.js} +20 -20
- package/dist/chunks/{pty-vs8ykjes.js → project-d3egxprz.js} +6 -6
- package/dist/chunks/{pty-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{pty-vcre4fmr.js → project-d7tb3b2k.js} +14 -14
- package/dist/chunks/{pty-msktpew6.js → project-dnx5tzbn.js} +4 -4
- package/dist/chunks/{pty-dstq7h4s.js → project-dsdkv40h.js} +15 -15
- package/dist/chunks/{pty-dt77769w.js → project-dt77769w.js} +1 -1
- package/dist/chunks/{pty-wy1tx2gb.js → project-dy31561s.js} +11 -11
- package/dist/chunks/{pty-r4y210a3.js → project-dyq31xsa.js} +23 -23
- package/dist/chunks/{pty-jpzxqxqy.js → project-e23fvnj0.js} +84 -84
- package/dist/chunks/{pty-q21w6f4c.js → project-e2rxxat4.js} +13 -13
- package/dist/chunks/{pty-g0f7dmkp.js → project-e4zwmx34.js} +1 -1
- package/dist/chunks/{pty-cx82y38a.js → project-e50a5zr1.js} +20 -20
- package/dist/chunks/{pty-f0ek8akq.js → project-e5sstke6.js} +58 -58
- package/dist/chunks/{pty-rw34hs10.js → project-efg8vddt.js} +16 -16
- package/dist/chunks/{pty-1a0381qm.js → project-ek0bfxad.js} +33 -33
- package/dist/chunks/{pty-9pggkc0r.js → project-emeqx0zc.js} +3 -3
- package/dist/chunks/{pty-266r7tj0.js → project-epa60wfv.js} +25 -25
- package/dist/chunks/{pty-r5yhnbcg.js → project-epq42292.js} +2 -2
- package/dist/chunks/{pty-eqw4pqj1.js → project-eqw4pqj1.js} +2 -2
- package/dist/chunks/{pty-fr2kfbk9.js → project-et64y3fp.js} +20 -20
- package/dist/chunks/{pty-etrnj9s7.js → project-etrnj9s7.js} +3 -3
- package/dist/chunks/{pty-q7ca3t4c.js → project-ez0cbkx8.js} +11 -11
- package/dist/chunks/{pty-3mxbgqpa.js → project-f1nv7wz1.js} +21 -21
- package/dist/chunks/{pty-f2zjpyt5.js → project-f2zjpyt5.js} +2 -2
- package/dist/chunks/{pty-ep6pe98a.js → project-f4krjp8e.js} +5 -5
- package/dist/chunks/{pty-fg9p65nk.js → project-fg9p65nk.js} +2 -2
- package/dist/chunks/{pty-ga3jps5v.js → project-fgqwc3av.js} +81 -81
- package/dist/chunks/{pty-6ksmbjyz.js → project-fhr7jde6.js} +39 -39
- package/dist/chunks/{pty-yrzkg30c.js → project-fk1xpptr.js} +13 -13
- package/dist/chunks/{pty-rrbtwe8v.js → project-fk3cbne6.js} +5 -5
- package/dist/chunks/{pty-xm7bkqev.js → project-fna9a5p4.js} +17 -17
- package/dist/chunks/{pty-0gxmeqpy.js → project-fsngmdgw.js} +2 -2
- package/dist/chunks/{pty-be6e81x0.js → project-fth92xh7.js} +19 -19
- package/dist/chunks/{pty-vjmzca5d.js → project-fw42cez6.js} +21 -21
- package/dist/chunks/{pty-55h31vwm.js → project-fw5gnxq9.js} +12 -12
- package/dist/chunks/{pty-x1dpdrcs.js → project-fxht90a9.js} +9 -9
- package/dist/chunks/{pty-1yped5qa.js → project-fznmdakp.js} +4 -4
- package/dist/chunks/{pty-bepvt4sc.js → project-g6rdk21d.js} +8 -8
- package/dist/chunks/{pty-knq5zpdc.js → project-g8jb4w4h.js} +8 -8
- package/dist/chunks/{pty-gbjdnr5j.js → project-gbjdnr5j.js} +2 -2
- package/dist/chunks/project-gc9w7cv4.js +26 -0
- package/dist/chunks/{pty-ghrv1g9c.js → project-ghrv1g9c.js} +1 -1
- package/dist/chunks/{pty-87kxp3gn.js → project-gjnqq892.js} +11 -11
- package/dist/chunks/{pty-xmf4xk58.js → project-gm67qj8v.js} +21 -21
- package/dist/chunks/{pty-ba5f9dy2.js → project-gmemj5zs.js} +4 -4
- package/dist/chunks/{pty-tegd4n18.js → project-gnm40gsw.js} +6 -6
- package/dist/chunks/{pty-z0b945q9.js → project-h0z75tx2.js} +9 -9
- package/dist/chunks/{pty-exts65k0.js → project-h1h55cx7.js} +19 -19
- package/dist/chunks/{pty-mdqwgwkn.js → project-ha0b45v6.js} +6 -6
- package/dist/chunks/{pty-hgzwgvze.js → project-hgzwgvze.js} +2 -2
- package/dist/chunks/{pty-b09zhmpv.js → project-hq3r0yyq.js} +3 -3
- package/dist/chunks/{pty-hx8b3d18.js → project-j23ftw7c.js} +65 -65
- package/dist/chunks/{pty-em1bf5bb.js → project-j2j44k42.js} +15 -15
- package/dist/chunks/{pty-ze530hxp.js → project-j5hjhyyz.js} +15 -15
- package/dist/chunks/{pty-sacm4myh.js → project-j6j9dn7c.js} +49 -49
- package/dist/chunks/{pty-m7a8s6rd.js → project-j7kbxvat.js} +15 -15
- package/dist/chunks/{pty-hpp5gkvg.js → project-jhp1phrh.js} +16 -16
- package/dist/chunks/{pty-m754kb2h.js → project-jj7tthaa.js} +21 -21
- package/dist/chunks/{pty-ktzn0v6q.js → project-jjk54350.js} +5 -5
- package/dist/chunks/{pty-jm70asfg.js → project-jm70asfg.js} +1 -1
- package/dist/chunks/{pty-89zbmavv.js → project-jmcqpt3k.js} +48 -48
- package/dist/chunks/{pty-w2ny3zd8.js → project-jvr2w17w.js} +7 -7
- package/dist/chunks/{pty-vfv2prrm.js → project-jyj92zxe.js} +38 -38
- package/dist/chunks/{pty-9x59b6dp.js → project-k15fwzw4.js} +8 -8
- package/dist/chunks/{pty-3yatfvwm.js → project-k4dq8cde.js} +13 -13
- package/dist/chunks/{pty-y4c383t6.js → project-kevxjcad.js} +35 -35
- package/dist/chunks/{pty-kt3bjfbg.js → project-kt3bjfbg.js} +1 -1
- package/dist/chunks/{pty-yjbhdt29.js → project-kz8ph6xm.js} +18 -18
- package/dist/chunks/{pty-kzczzf4v.js → project-kzczzf4v.js} +1 -1
- package/dist/chunks/{pty-c5f61zhz.js → project-m1517jpk.js} +4 -4
- package/dist/chunks/{pty-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{pty-j18wr2rk.js → project-m4ktxxg2.js} +16 -16
- package/dist/chunks/{pty-4dfqsw0d.js → project-m4p4r8nc.js} +4 -4
- package/dist/chunks/{pty-m90tx7mw.js → project-m90tx7mw.js} +1 -1
- package/dist/chunks/{pty-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-mb7mbhnz.js → project-mb7mbhnz.js} +3 -3
- package/dist/chunks/{pty-cnmbkzbq.js → project-mbrsysta.js} +8 -8
- package/dist/chunks/{pty-zhyeaj2c.js → project-mdbdmczz.js} +24 -24
- package/dist/chunks/{pty-1kkxmvxd.js → project-mt2k28pm.js} +12 -12
- package/dist/chunks/{pty-p6ptthry.js → project-mvj868xr.js} +4 -4
- package/dist/chunks/{pty-nvbqw4pr.js → project-n2kx2jb9.js} +14 -14
- package/dist/chunks/{pty-azqdag7d.js → project-n320gsn2.js} +4 -4
- package/dist/chunks/{pty-9rsr036j.js → project-ncmgrs0g.js} +11 -11
- package/dist/chunks/{pty-7709bxzy.js → project-npbr9jyn.js} +14 -14
- package/dist/chunks/{pty-mm4jyspx.js → project-nq381v9m.js} +25 -25
- package/dist/chunks/{pty-7e040g5a.js → project-ntzk619r.js} +3 -3
- package/dist/chunks/{pty-6k06m789.js → project-nvsqe6fp.js} +15 -15
- package/dist/chunks/{pty-1n3sjdt8.js → project-p1dfpbqk.js} +5 -5
- package/dist/chunks/{pty-a643e63t.js → project-phtpfj49.js} +19 -19
- package/dist/chunks/{pty-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{pty-hvhjm4c6.js → project-pkvq7mzj.js} +14 -14
- package/dist/chunks/{pty-y7y3440m.js → project-pqt6ydvr.js} +23 -23
- package/dist/chunks/{pty-nwgt7meq.js → project-q08zdk0z.js} +2 -2
- package/dist/chunks/{pty-3xg6332j.js → project-q3s01060.js} +24 -24
- package/dist/chunks/{pty-dm3h919p.js → project-q40c3wbt.js} +15 -15
- package/dist/chunks/{pty-gk96ttsb.js → project-q69fea8d.js} +3 -3
- package/dist/chunks/{pty-vmqe41cb.js → project-qfz6bxfd.js} +4 -4
- package/dist/chunks/project-qhgv9qa4.js +273 -0
- package/dist/chunks/{pty-qnax57px.js → project-qkn1vdbd.js} +12 -12
- package/dist/chunks/{pty-p2tw0r9g.js → project-qkpj5qxb.js} +25 -25
- package/dist/chunks/{pty-xr37vh5b.js → project-qkzx84kf.js} +14 -14
- package/dist/chunks/{pty-99a0tav3.js → project-qmv06rw9.js} +23 -23
- package/dist/chunks/{pty-3km2fvrr.js → project-qnbbavg6.js} +3 -3
- package/dist/chunks/{pty-fjwkbb1x.js → project-qp2996hh.js} +5 -5
- package/dist/chunks/{pty-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
- package/dist/chunks/{pty-2n444ktb.js → project-qtf35215.js} +3 -3
- package/dist/chunks/{pty-dszd57sv.js → project-qw36vqr6.js} +16 -16
- package/dist/chunks/{pty-w2eysc6j.js → project-r41sfy63.js} +6 -6
- package/dist/chunks/{pty-ghpx7yqc.js → project-raztesy5.js} +19 -19
- package/dist/chunks/{pty-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{pty-sr7ay77s.js → project-rda0b3ts.js} +26 -26
- package/dist/chunks/{pty-rgc9cx3e.js → project-rgc9cx3e.js} +2 -2
- package/dist/chunks/{pty-d30zf05b.js → project-rh4pkht4.js} +26 -26
- package/dist/chunks/{pty-7a2bwsmz.js → project-rha71f46.js} +4 -4
- package/dist/chunks/{pty-824gpnnf.js → project-rj3fktzd.js} +28 -28
- package/dist/chunks/{pty-wahtbzf8.js → project-rq5hxvfv.js} +23 -23
- package/dist/chunks/{pty-13v654k4.js → project-rt678kzv.js} +8 -8
- package/dist/chunks/{pty-vwc5wm1t.js → project-rxr06xej.js} +37 -37
- package/dist/chunks/{pty-29gzk825.js → project-s1ph7h9e.js} +8 -8
- package/dist/chunks/{pty-1q9ek849.js → project-sbqqz40r.js} +10 -10
- package/dist/chunks/{pty-sbya78hr.js → project-sbya78hr.js} +1 -1
- package/dist/chunks/{pty-zm4ckv44.js → project-sehckb7w.js} +9 -9
- package/dist/chunks/{pty-c4970w7t.js → project-sq4s6wq1.js} +6 -6
- package/dist/chunks/{pty-ymj14b15.js → project-sqp3n15g.js} +5 -5
- package/dist/chunks/{pty-svcy3p9a.js → project-svcy3p9a.js} +1 -1
- package/dist/chunks/{pty-e6g6zadt.js → project-sxfhstyp.js} +14 -14
- package/dist/chunks/{pty-qwd1edte.js → project-t1dv4jn6.js} +171 -171
- package/dist/chunks/{pty-0n9984s6.js → project-t755enys.js} +7 -7
- package/dist/chunks/{pty-tbpn7jtk.js → project-tbpn7jtk.js} +1 -1
- package/dist/chunks/{pty-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{pty-ddvn7d3w.js → project-tg1vr1qt.js} +8 -8
- package/dist/chunks/{pty-tg7s7b5t.js → project-tg7s7b5t.js} +1 -1
- package/dist/chunks/{pty-jkfnhp6c.js → project-tk5c1z6k.js} +11 -11
- package/dist/chunks/{pty-tr8x705m.js → project-tr8x705m.js} +1 -1
- package/dist/chunks/{pty-ts0bt9c0.js → project-trxz1dq4.js} +8 -8
- package/dist/chunks/{pty-0fvxehme.js → project-ttz31trp.js} +5 -5
- package/dist/chunks/{pty-tvtps2q9.js → project-tvtps2q9.js} +1 -1
- package/dist/chunks/{pty-twssxy5n.js → project-twssxy5n.js} +2 -2
- package/dist/chunks/{pty-d8n3983h.js → project-tyecybg9.js} +22 -22
- package/dist/chunks/{pty-8n0v893p.js → project-tzt95cez.js} +6 -6
- package/dist/chunks/{pty-y4ty39w2.js → project-v278eqfj.js} +10 -10
- package/dist/chunks/{pty-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{pty-8jacd5hs.js → project-v820yqm0.js} +14 -14
- package/dist/chunks/{pty-fkqcej35.js → project-v8smz8w2.js} +18 -18
- package/dist/chunks/{pty-vjf35v1f.js → project-vjf35v1f.js} +1 -1
- package/dist/chunks/{pty-zyrhd8rm.js → project-vs4msq84.js} +13 -13
- package/dist/chunks/{pty-6h8vcvjm.js → project-vt4r9rmy.js} +9 -9
- package/dist/chunks/{pty-4w04ps7a.js → project-vv9nrnd0.js} +47 -47
- package/dist/chunks/{pty-69ek80f6.js → project-vvmxza90.js} +17 -17
- package/dist/chunks/{pty-jdrretfy.js → project-vyphjyvg.js} +10 -10
- package/dist/chunks/{pty-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-n1r0kv9c.js → project-w61ck1ev.js} +1 -1
- package/dist/chunks/{pty-w79nt68w.js → project-w79nt68w.js} +1 -1
- package/dist/chunks/{pty-myzn5d47.js → project-w973ra0e.js} +19 -19
- package/dist/chunks/{pty-axvjv86p.js → project-waaa4p97.js} +9 -9
- package/dist/chunks/{pty-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{pty-7ry3j0qz.js → project-wccdp8cp.js} +16 -16
- package/dist/chunks/{pty-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{pty-wegkxhrn.js → project-wegkxhrn.js} +2 -2
- package/dist/chunks/{pty-5r4rh8je.js → project-wheb3a6d.js} +10 -10
- package/dist/chunks/{pty-cvz8as22.js → project-wqvgzbkg.js} +31 -31
- package/dist/chunks/{pty-6bxkbwm4.js → project-wqw765en.js} +4 -4
- package/dist/chunks/{pty-zhnybebr.js → project-wxge6eyq.js} +12 -12
- package/dist/chunks/{pty-2qabxkjj.js → project-wzg33x21.js} +10 -10
- package/dist/chunks/{pty-a3fn0gmm.js → project-x150ncgg.js} +2 -2
- package/dist/chunks/{pty-rfvharvn.js → project-x44wax5s.js} +10 -10
- package/dist/chunks/{pty-cf626arh.js → project-x7eswtzx.js} +19 -19
- package/dist/chunks/project-xdvt2kx8.js +35 -0
- package/dist/chunks/{pty-95zraw8z.js → project-xg22f7xw.js} +28 -28
- package/dist/chunks/{pty-c2fvvja0.js → project-xhkfsh82.js} +10 -10
- package/dist/chunks/{pty-xxschbft.js → project-xjr6c8m4.js} +4 -4
- package/dist/chunks/{pty-mx18j166.js → project-xnq89a6b.js} +27 -27
- package/dist/chunks/{pty-knf2v3cz.js → project-xr4330c9.js} +23 -23
- package/dist/chunks/{pty-xtcw8074.js → project-xsb8dtts.js} +9 -9
- package/dist/chunks/{pty-m0j7ss87.js → project-xsefsvkd.js} +33 -33
- package/dist/chunks/{pty-k7spm4sx.js → project-xtzfbvhp.js} +27 -27
- package/dist/chunks/{pty-kyhf42q8.js → project-xw0enpct.js} +26 -26
- package/dist/chunks/{pty-01tg60gd.js → project-y138r13n.js} +52 -52
- package/dist/chunks/{pty-ranh0xe7.js → project-y32xxt00.js} +4 -4
- package/dist/chunks/{pty-78p2h4ex.js → project-y3p3hzkr.js} +5 -5
- package/dist/chunks/{pty-3f4j1rex.js → project-y6mxt1yk.js} +6 -6
- package/dist/chunks/{pty-raqhn8qk.js → project-y7p2c18y.js} +31 -31
- package/dist/chunks/{pty-ssr8tzqd.js → project-y8tnnwde.js} +7 -7
- package/dist/chunks/{pty-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{pty-eqh9gttx.js → project-yggj1nmg.js} +11 -11
- package/dist/chunks/{pty-yr705xyq.js → project-yr705xyq.js} +1 -1
- package/dist/chunks/{pty-41g8xtb0.js → project-ys0r0yhy.js} +27 -27
- package/dist/chunks/{pty-28q4f2dz.js → project-ysrg4cfd.js} +37 -37
- package/dist/chunks/{pty-yvtc2x31.js → project-yvtc2x31.js} +1 -1
- package/dist/chunks/{pty-kbgs7tyr.js → project-yybgvvmq.js} +4 -4
- package/dist/chunks/{pty-x7rwe091.js → project-z0dwjd53.js} +19 -19
- package/dist/chunks/{pty-z0wbgq7s.js → project-z0wbgq7s.js} +1 -1
- package/dist/chunks/{pty-x682s0p9.js → project-z1mn6jt8.js} +30 -30
- package/dist/chunks/{pty-nh1mayqc.js → project-z2pm94c8.js} +5 -5
- package/dist/chunks/{pty-j9nxzz3g.js → project-ze75qvmd.js} +3 -3
- package/dist/chunks/{pty-0qs2w0pq.js → project-zevbv6wf.js} +11 -11
- package/dist/chunks/{pty-ztmds42j.js → project-zhwbpn2g.js} +12 -12
- package/dist/chunks/{pty-ybg8zss5.js → project-zr2728mt.js} +11 -11
- package/dist/chunks/{pty-x53htnnp.js → project-ztnrsjpf.js} +9 -9
- package/dist/chunks/{pty-cg25xdhg.js → project-zzb1j0z2.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +186 -186
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +103 -103
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +268 -268
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +270 -270
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +175 -175
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- 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 +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +173 -173
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +9 -9
- package/dist/chunks/pty-0ra0vqbe.js +0 -35
- package/dist/chunks/pty-5m7pjpxg.js +0 -26
- package/dist/chunks/pty-hbcj4zg4.js +0 -273
- package/dist/chunks/pty-qmh7vbk2.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kah00gy.js → project-1kah00gy.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4qk9sjk2.js → project-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-5w3e23ze.js → project-5w3e23ze.js} +0 -0
- /package/dist/chunks/{pty-6agm2x70.js → project-6agm2x70.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-7rvsyqjv.js → project-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9ceax7yg.js → project-9ceax7yg.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-ade8csyh.js → project-ade8csyh.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-beh6qq61.js → project-beh6qq61.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cqv5kn06.js → project-cqv5kn06.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-ean2d8b5.js → project-ean2d8b5.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jwr30sdr.js → project-jwr30sdr.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-nh4v3znn.js → project-nh4v3znn.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p71gwv9c.js → project-p71gwv9c.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-syrav9an.js → project-syrav9an.js} +0 -0
- /package/dist/chunks/{pty-t03h4f5z.js → project-t03h4f5z.js} +0 -0
- /package/dist/chunks/{pty-ty7weeps.js → project-ty7weeps.js} +0 -0
- /package/dist/chunks/{pty-v2dnd5dt.js → project-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-vtarvj67.js → project-vtarvj67.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x4th4bpe.js → project-x4th4bpe.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → project-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zxpyjp51.js → project-zxpyjp51.js} +0 -0
- /package/dist/chunks/{pty-zz5vv3aq.js → project-zz5vv3aq.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-4py1f4td.js";
|
|
5
5
|
import {
|
|
6
6
|
Service93,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-dnx5tzbn.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID20,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service89,
|
|
30
30
|
Value: () => Value2,
|
|
31
31
|
expiring: () => expiring2,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node91
|
|
33
33
|
});
|
|
34
34
|
import { asc, desc, eq } from "drizzle-orm";
|
|
35
35
|
import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -38,25 +38,25 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
38
38
|
import { Integration } from "@opencode/schema/integration";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
41
|
-
var
|
|
41
|
+
var ID20 = Credential.ID;
|
|
42
42
|
var OAuth3 = Credential.OAuth;
|
|
43
43
|
var Key4 = Credential.Key;
|
|
44
44
|
var External2 = Credential.External;
|
|
45
45
|
var Value2 = Credential.Value;
|
|
46
|
-
var
|
|
46
|
+
var Event20 = Credential.Event;
|
|
47
47
|
var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
|
|
48
48
|
|
|
49
|
-
class
|
|
50
|
-
id:
|
|
49
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
50
|
+
id: ID20,
|
|
51
51
|
integrationID: Integration.ID,
|
|
52
52
|
label: Schema.String,
|
|
53
53
|
value: Value2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service89 extends Context.Service()("@opencode/Credential") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
60
60
|
const db = (yield* Service94).db;
|
|
61
61
|
const bus = yield* Service93;
|
|
62
62
|
const flock = yield* EffectFlock.Service;
|
|
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
66
66
|
const stored = (row) => {
|
|
67
67
|
if (!row.integration_id)
|
|
68
68
|
return;
|
|
69
|
-
return new
|
|
69
|
+
return new Info29({
|
|
70
70
|
id: row.id,
|
|
71
71
|
integrationID: row.integration_id,
|
|
72
72
|
label: row.label,
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
93
93
|
pending.set(id, fiber);
|
|
94
94
|
return yield* restore(Fiber.join(fiber));
|
|
95
95
|
}));
|
|
96
|
-
const service =
|
|
96
|
+
const service = Service89.of({
|
|
97
97
|
refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
|
|
98
98
|
const current = yield* service.get(id);
|
|
99
99
|
if (current?.value.type !== "oauth")
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
123
123
|
return row ? stored(row) : undefined;
|
|
124
124
|
}),
|
|
125
125
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
126
|
-
const credential = new
|
|
127
|
-
id: input.id ??
|
|
126
|
+
const credential = new Info29({
|
|
127
|
+
id: input.id ?? ID20.create(),
|
|
128
128
|
integrationID: input.integrationID,
|
|
129
129
|
label: input.label ?? "default",
|
|
130
130
|
value: input.value
|
|
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
154
154
|
type: credential.value.type,
|
|
155
155
|
active: activated
|
|
156
156
|
});
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
158
158
|
if (activated)
|
|
159
|
-
yield* bus.publish(
|
|
159
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
160
160
|
return credential;
|
|
161
161
|
}),
|
|
162
162
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
172
172
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
173
173
|
if (integrationID) {
|
|
174
174
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
175
|
-
yield* bus.publish(
|
|
175
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
197
197
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
198
198
|
});
|
|
199
199
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
|
|
201
201
|
}),
|
|
202
202
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
203
203
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
226
226
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
227
227
|
});
|
|
228
228
|
if (removed.integrationID)
|
|
229
|
-
yield* bus.publish(
|
|
229
|
+
yield* bus.publish(Event20.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
|
|
230
230
|
if (removed.switched)
|
|
231
|
-
yield* bus.publish(
|
|
231
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
232
232
|
})
|
|
233
233
|
});
|
|
234
234
|
return service;
|
|
235
235
|
}));
|
|
236
|
-
var
|
|
236
|
+
var node91 = makeGlobalNode({ service: Service89, layer, deps: [node96, node95, EffectFlock.node] });
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { ID20, OAuth3, Key4, External2, Value2, Event20, expiring2, Info29, Service89, node91, exports_credential };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-dnx5tzbn.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-fth92xh7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service15,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./project-rda0b3ts.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service15;
|
|
42
42
|
const bus = yield* Service93;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service74,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service74 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service74, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service74.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node75 = makeGlobalNode({ service: Service74, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service74, node75, exports_environment };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-dnx5tzbn.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-raztesy5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-v2dnd5dt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError12,
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
23
|
ProcessNotFoundError: () => ProcessNotFoundError2,
|
|
24
|
-
RequestError: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
UnavailableError: () =>
|
|
27
|
-
available: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
24
|
+
RequestError: () => RequestError3,
|
|
25
|
+
Service: () => Service76,
|
|
26
|
+
UnavailableError: () => UnavailableError5,
|
|
27
|
+
available: () => available4,
|
|
28
|
+
configured: () => configured7,
|
|
29
|
+
layer: () => layer27,
|
|
30
30
|
layerWith: () => layerWith2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node77
|
|
32
32
|
});
|
|
33
33
|
import { stat } from "node:fs/promises";
|
|
34
34
|
import path from "node:path";
|
|
@@ -47,23 +47,23 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
47
47
|
import { Global } from "@opencode/util/global";
|
|
48
48
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
49
49
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
50
|
-
import { available as
|
|
51
|
-
var
|
|
50
|
+
import { available as available4 } from "#persistent-pty-binary";
|
|
51
|
+
var Options5 = Schema.Struct({
|
|
52
52
|
handoff: Schema.optional(Handoff),
|
|
53
53
|
root: Schema.optional(Schema.String)
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
57
57
|
message: Schema.String
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class RequestError3 extends Schema.TaggedError()("PersistentPty.RequestError", {
|
|
62
62
|
message: Schema.String
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError12 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
67
67
|
ptyID: Pty.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -77,9 +77,9 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
77
77
|
}) {
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service76 extends Context.Service()("@opencode/PersistentPty") {
|
|
81
81
|
}
|
|
82
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
82
|
+
var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* () {
|
|
83
83
|
const bus = yield* Service93;
|
|
84
84
|
const global = yield* Global.Service;
|
|
85
85
|
const context = yield* Effect.context();
|
|
@@ -103,7 +103,7 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
103
103
|
const parsed = parseID(id);
|
|
104
104
|
const found = parsed === undefined ? undefined : yield* lookup(daemon, parsed).pipe(Effect.mapError(unavailable));
|
|
105
105
|
if (found?.mode !== "pty")
|
|
106
|
-
return yield* new
|
|
106
|
+
return yield* new NotFoundError12({ ptyID: id });
|
|
107
107
|
return toInfo(found);
|
|
108
108
|
});
|
|
109
109
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -163,7 +163,7 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
163
163
|
});
|
|
164
164
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
165
165
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
166
|
-
return yield* new
|
|
166
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
167
167
|
const id = current.get(sessionID);
|
|
168
168
|
if (!id)
|
|
169
169
|
return null;
|
|
@@ -297,7 +297,7 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
297
297
|
return yield* unexpectedPipe(response);
|
|
298
298
|
return response.processes.map(toPipeInfo);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service76.of({
|
|
301
301
|
list,
|
|
302
302
|
get,
|
|
303
303
|
create,
|
|
@@ -322,14 +322,14 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
322
322
|
listPipes
|
|
323
323
|
});
|
|
324
324
|
}));
|
|
325
|
-
var
|
|
325
|
+
var layer27 = makeLayer();
|
|
326
326
|
var layerWith2 = (options) => makeLayer(options);
|
|
327
|
-
var
|
|
328
|
-
service:
|
|
329
|
-
layer: options === undefined ?
|
|
327
|
+
var configured7 = (options) => makeGlobalNode({
|
|
328
|
+
service: Service76,
|
|
329
|
+
layer: options === undefined ? layer27 : makeLayer(options),
|
|
330
330
|
deps: [node95, Global.node]
|
|
331
331
|
});
|
|
332
|
-
var
|
|
332
|
+
var node77 = configured7();
|
|
333
333
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
334
334
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
335
335
|
var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Effect.catchIf((error) => error.kind === "request", () => Effect.succeed(undefined)), Effect.flatMap((response) => {
|
|
@@ -339,10 +339,10 @@ var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Eff
|
|
|
339
339
|
return Effect.fail(new Error(`unexpected opencode-pty response: ${response.type}`));
|
|
340
340
|
return Effect.succeed(response.process);
|
|
341
341
|
}));
|
|
342
|
-
var unexpected = (response) => Effect.fail(new
|
|
343
|
-
var unavailable = (error) => new
|
|
344
|
-
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new
|
|
345
|
-
var unexpectedPipe = (response) => Effect.fail(new
|
|
342
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
343
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
344
|
+
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new UnavailableError5({ message: error.message });
|
|
345
|
+
var unexpectedPipe = (response) => Effect.fail(new RequestError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
346
346
|
function toInfo(value) {
|
|
347
347
|
if (!value.pty)
|
|
348
348
|
throw new Error(`opencode-pty process ${value.id} is not a terminal`);
|
|
@@ -414,4 +414,4 @@ function fromID(value) {
|
|
|
414
414
|
return parsed;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
export {
|
|
417
|
+
export { Options5, UnavailableError5, RequestError3, NotFoundError12, ProcessNotFoundError2, InvalidCwdError2, Service76, layer27, layerWith2, configured7, node77, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service92,
|
|
6
|
+
node94
|
|
7
|
+
} from "./project-qkn1vdbd.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service85,
|
|
16
|
+
node87
|
|
17
|
+
} from "./project-sbqqz40r.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node43,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service40 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
var isError2 = Schema.is(Schema.Union([
|
|
96
96
|
InvalidBranchError2,
|
|
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
107
107
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
111
111
|
const fs = yield* FSUtil.Service;
|
|
112
|
-
const git = yield*
|
|
112
|
+
const git = yield* Service92;
|
|
113
113
|
const flock = yield* EffectFlock.Service;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
|
-
const kv = yield*
|
|
116
|
-
return
|
|
115
|
+
const kv = yield* Service85;
|
|
116
|
+
return Service40.of({
|
|
117
117
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
118
118
|
if (input.branch)
|
|
119
119
|
yield* validateBranch2(input.branch);
|
|
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
179
|
-
service:
|
|
178
|
+
var node43 = makeGlobalNode({
|
|
179
|
+
service: Service40,
|
|
180
180
|
layer,
|
|
181
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
181
|
+
deps: [EffectFlock.node, FSUtil.node, node94, Global.node, node87]
|
|
182
182
|
});
|
|
183
183
|
function errorMessage(error) {
|
|
184
184
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
187
187
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
190
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node43, exports_repository_cache };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node84
|
|
4
|
+
} from "./project-ag6d02bt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service90,
|
|
7
|
+
node92
|
|
8
|
+
} from "./project-fna9a5p4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node83
|
|
12
|
+
} from "./project-cfcevk7c.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-7weczvnd.js";
|
|
17
17
|
import {
|
|
18
18
|
isDirectorySource2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-tvtps2q9.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/source.ts
|
|
25
25
|
var exports_source = {};
|
|
26
26
|
__export(exports_source, {
|
|
27
27
|
ConfigPluginSource: () => exports_source,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service6,
|
|
29
29
|
empty: () => empty2,
|
|
30
|
-
layer: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
layer: () => layer6,
|
|
31
|
+
node: () => node7
|
|
32
32
|
});
|
|
33
33
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
34
34
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -36,13 +36,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
36
36
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
39
|
-
class
|
|
39
|
+
class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const config = yield*
|
|
43
|
-
const watcher = yield*
|
|
41
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
42
|
+
const config = yield* Service81;
|
|
43
|
+
const watcher = yield* Service82;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
|
-
const location = yield*
|
|
45
|
+
const location = yield* Service90;
|
|
46
46
|
const configuredChanges = yield* PubSub.unbounded();
|
|
47
47
|
const watched = new Set;
|
|
48
48
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -61,7 +61,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
61
61
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
return
|
|
64
|
+
return Service6.of({
|
|
65
65
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
66
66
|
const entries = yield* config.entries();
|
|
67
67
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -73,14 +73,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
73
73
|
})), Stream.fromPubSub(configuredChanges))
|
|
74
74
|
});
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node7 = makeLocationNode({
|
|
77
|
+
service: Service6,
|
|
78
|
+
layer: layer6,
|
|
79
|
+
deps: [node83, FSUtil.node, node84, node92]
|
|
80
80
|
});
|
|
81
81
|
var empty2 = makeLocationNode({
|
|
82
|
-
service:
|
|
83
|
-
layer: Layer.succeed(
|
|
82
|
+
service: Service6,
|
|
83
|
+
layer: Layer.succeed(Service6, Service6.of({
|
|
84
84
|
operations: () => Effect.succeed([]),
|
|
85
85
|
changes: () => Stream.never
|
|
86
86
|
})),
|
|
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
|
|
|
138
138
|
})).pipe(Effect.map((operations) => operations.flat()));
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service6, layer6, node7, empty2, exports_source };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/claude-agent-error.ts
|
|
6
6
|
var exports_claude_agent_error = {};
|
|
7
7
|
__export(exports_claude_agent_error, {
|
|
8
8
|
ClaudeAgentError: () => exports_claude_agent_error,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make9
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make9() {
|
|
12
12
|
let code;
|
|
13
13
|
let rejected;
|
|
14
14
|
return (message) => {
|
|
@@ -40,4 +40,4 @@ function make12() {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, exports_claude_agent_error };
|