@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-qfz6bxfd.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-zzb1j0z2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
16
|
-
register: () =>
|
|
13
|
+
var exports_instructions = {};
|
|
14
|
+
__export(exports_instructions, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions,
|
|
16
|
+
register: () => register4
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register4 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register4, exports_instructions };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node94
|
|
6
|
+
} from "./project-qkn1vdbd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service90,
|
|
9
|
+
node92
|
|
10
|
+
} from "./project-fna9a5p4.js";
|
|
11
11
|
import {
|
|
12
12
|
create4
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
15
|
make23
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-ashdrv1y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service20,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node23
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service20 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service90;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make23;
|
|
40
40
|
const state = create4({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service20.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node23 = makeLocationNode({
|
|
61
|
+
service: Service20,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node92, Global.node, node94, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service20, node23, exports_strategies };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-hq3r0yyq.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-xg22f7xw.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-8h1vpp1z.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-wqvgzbkg.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-rq5hxvfv.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-qtf35215.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-2ytp0tvq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service93,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-dnx5tzbn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service89,
|
|
11
|
+
node91
|
|
12
|
+
} from "./project-8qbavr51.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service90,
|
|
15
|
+
node92
|
|
16
|
+
} from "./project-fna9a5p4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node79
|
|
20
|
+
} from "./project-et64y3fp.js";
|
|
21
21
|
import {
|
|
22
22
|
reconcile2,
|
|
23
23
|
create4
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-40y6dtc2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
26
|
+
ID19,
|
|
27
|
+
Service88,
|
|
28
|
+
node90
|
|
29
|
+
} from "./project-dyq31xsa.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID18,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service87,
|
|
34
|
+
node89
|
|
35
|
+
} from "./project-xg22f7xw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
37
|
+
node71,
|
|
38
38
|
enabled3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./project-4mj95crb.js";
|
|
40
40
|
import {
|
|
41
41
|
EventStreamRejectedError2,
|
|
42
42
|
EventStreamTerminatedError2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./project-9ceax7yg.js";
|
|
44
44
|
import {
|
|
45
45
|
canonicalJson2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./project-ade8csyh.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
48
|
+
make25
|
|
49
|
+
} from "./project-s1ph7h9e.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service32,
|
|
52
52
|
key2,
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
53
|
+
node35
|
|
54
|
+
} from "./project-w973ra0e.js";
|
|
55
55
|
import {
|
|
56
56
|
__export
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./project-9rqn6x4v.js";
|
|
58
58
|
|
|
59
59
|
// src/mcp/index.ts
|
|
60
60
|
var exports_mcp4 = {};
|
|
61
61
|
__export(exports_mcp4, {
|
|
62
62
|
EventsUnavailableError: () => EventsUnavailableError2,
|
|
63
63
|
Mcp: () => exports_mcp4,
|
|
64
|
-
NotFoundError: () =>
|
|
64
|
+
NotFoundError: () => NotFoundError5,
|
|
65
65
|
Options: () => Options3,
|
|
66
66
|
PromptsChanged: () => PromptsChanged2,
|
|
67
67
|
Resource: () => Resource2,
|
|
@@ -69,12 +69,12 @@ __export(exports_mcp4, {
|
|
|
69
69
|
ResourceContent: () => ResourceContent2,
|
|
70
70
|
ResourceTemplate: () => ResourceTemplate2,
|
|
71
71
|
ServerName: () => ServerName2,
|
|
72
|
-
Service: () =>
|
|
72
|
+
Service: () => Service31,
|
|
73
73
|
Status: () => Status3,
|
|
74
74
|
ToolCallError: () => ToolCallError2,
|
|
75
75
|
configured: () => configured3,
|
|
76
|
-
layer: () =>
|
|
77
|
-
node: () =>
|
|
76
|
+
layer: () => layer15,
|
|
77
|
+
node: () => node34
|
|
78
78
|
});
|
|
79
79
|
import { Mcp } from "@opencode/schema/mcp";
|
|
80
80
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -110,7 +110,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
110
110
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
111
111
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
114
114
|
server: ServerName2
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -145,7 +145,7 @@ var EVENT_REOPEN = Schedule.min([Schedule.exponential("1 second"), Schedule.spac
|
|
|
145
145
|
var isEnded = (error) => error instanceof EventStreamRejectedError2 || error instanceof EventStreamTerminatedError2;
|
|
146
146
|
var cloneConfig = (config) => structuredClone(config);
|
|
147
147
|
|
|
148
|
-
class
|
|
148
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
class EventsUnavailableError2 extends Schema.TaggedError()("MCP.EventsUnavailableError", {
|
|
@@ -159,15 +159,15 @@ var Options3 = Schema.Struct({
|
|
|
159
159
|
version: Schema.String
|
|
160
160
|
}))
|
|
161
161
|
});
|
|
162
|
-
var
|
|
163
|
-
const location = yield*
|
|
164
|
-
const environment = yield*
|
|
162
|
+
var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
163
|
+
const location = yield* Service90;
|
|
164
|
+
const environment = yield* Service78;
|
|
165
165
|
const bus = yield* Service93;
|
|
166
|
-
const forms = yield*
|
|
167
|
-
const integration = yield*
|
|
168
|
-
const credentials = yield*
|
|
166
|
+
const forms = yield* Service88;
|
|
167
|
+
const integration = yield* Service87;
|
|
168
|
+
const credentials = yield* Service89;
|
|
169
169
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
170
|
-
const pool = yield*
|
|
170
|
+
const pool = yield* Service32;
|
|
171
171
|
const mcpEvents = yield* enabled3("mcp_events");
|
|
172
172
|
const root = yield* Effect.scope;
|
|
173
173
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -252,7 +252,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
252
252
|
return;
|
|
253
253
|
const remote = entry.config;
|
|
254
254
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
255
|
-
const integrationID =
|
|
255
|
+
const integrationID = ID18.make(suffix);
|
|
256
256
|
entry.integrationID = integrationID;
|
|
257
257
|
const methodID = MethodID2.make(suffix);
|
|
258
258
|
const scope = yield* Scope.fork(root);
|
|
@@ -267,7 +267,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
267
267
|
method: { id: methodID, type: "oauth", label: name },
|
|
268
268
|
authorize: () => Effect.gen(function* () {
|
|
269
269
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
270
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
270
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service89, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
271
271
|
})
|
|
272
272
|
});
|
|
273
273
|
}).pipe(Scope.provide(scope));
|
|
@@ -275,7 +275,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
275
275
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
276
276
|
const entry = entries.get(name);
|
|
277
277
|
if (!entry)
|
|
278
|
-
return yield* new
|
|
278
|
+
return yield* new NotFoundError5({ server: name });
|
|
279
279
|
return entry;
|
|
280
280
|
});
|
|
281
281
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -288,12 +288,12 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
288
288
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
289
289
|
return;
|
|
290
290
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
291
|
-
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(
|
|
291
|
+
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(Service89, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
292
292
|
});
|
|
293
293
|
const elicitation = {
|
|
294
294
|
create: (input) => Effect.gen(function* () {
|
|
295
295
|
if (input.params.mode === "url") {
|
|
296
|
-
const formID =
|
|
296
|
+
const formID = ID19.create();
|
|
297
297
|
const elicitationID = input.params.elicitationId;
|
|
298
298
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
299
299
|
if (key)
|
|
@@ -330,7 +330,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
330
330
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
331
331
|
};
|
|
332
332
|
}));
|
|
333
|
-
}).pipe(Effect.provideService(
|
|
333
|
+
}).pipe(Effect.provideService(Service90, location)),
|
|
334
334
|
complete: (input) => Effect.gen(function* () {
|
|
335
335
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
336
336
|
if (!formID)
|
|
@@ -362,7 +362,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
362
362
|
status: { status: "pending" },
|
|
363
363
|
startup: Latch.makeUnsafe(),
|
|
364
364
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
365
|
-
connection: (pooled ? share :
|
|
365
|
+
connection: (pooled ? share : make25)({
|
|
366
366
|
name,
|
|
367
367
|
config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
|
|
368
368
|
directory: location.directory,
|
|
@@ -505,7 +505,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
505
505
|
clientInfo: options?.clientInfo
|
|
506
506
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
507
507
|
closed = true;
|
|
508
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
508
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
509
509
|
const register = Effect.gen(function* () {
|
|
510
510
|
if (closed) {
|
|
511
511
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -578,7 +578,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
578
578
|
yield* entry.connection.start;
|
|
579
579
|
}).pipe(locks.withLock(name));
|
|
580
580
|
});
|
|
581
|
-
fork(bus.subscribe(
|
|
581
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
582
582
|
const state = create4({
|
|
583
583
|
name: "mcp",
|
|
584
584
|
initial: () => ({
|
|
@@ -604,7 +604,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
604
604
|
}),
|
|
605
605
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
606
606
|
});
|
|
607
|
-
return
|
|
607
|
+
return Service31.of({
|
|
608
608
|
transform: state.transform,
|
|
609
609
|
reload: state.reload,
|
|
610
610
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -777,22 +777,22 @@ function mergeCatalogs(catalogs) {
|
|
|
777
777
|
}
|
|
778
778
|
function configured3(options) {
|
|
779
779
|
return makeLocationNode({
|
|
780
|
-
service:
|
|
781
|
-
layer:
|
|
780
|
+
service: Service31,
|
|
781
|
+
layer: layer15(options),
|
|
782
782
|
deps: [
|
|
783
|
-
node88,
|
|
784
|
-
node60,
|
|
785
|
-
node74,
|
|
786
|
-
node95,
|
|
787
|
-
node93,
|
|
788
783
|
node92,
|
|
789
|
-
|
|
784
|
+
node79,
|
|
785
|
+
node71,
|
|
786
|
+
node95,
|
|
787
|
+
node90,
|
|
788
|
+
node89,
|
|
789
|
+
node91,
|
|
790
790
|
httpFetch,
|
|
791
|
-
|
|
791
|
+
node35
|
|
792
792
|
]
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
|
-
var
|
|
795
|
+
var node34 = configured3();
|
|
796
796
|
function toElicitationField(key, property, required) {
|
|
797
797
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
798
798
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -843,4 +843,4 @@ function toElicitationField(key, property, required) {
|
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
846
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service31, EventsUnavailableError2, Options3, layer15, configured3, node34, exports_mcp4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-m90tx7mw.js";
|
|
4
4
|
import {
|
|
5
5
|
ID17
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-0nsnpsj5.js";
|
|
7
7
|
import {
|
|
8
8
|
ID16,
|
|
9
9
|
VariantID2,
|
|
10
10
|
Family2,
|
|
11
11
|
Info24
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-fth92xh7.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/models.ts
|
|
18
|
-
var
|
|
19
|
-
__export(
|
|
20
|
-
CopilotModels: () =>
|
|
18
|
+
var exports_models2 = {};
|
|
19
|
+
__export(exports_models2, {
|
|
20
|
+
CopilotModels: () => exports_models2,
|
|
21
21
|
auto: () => auto2,
|
|
22
22
|
autoModel: () => autoModel2,
|
|
23
|
-
derive: () =>
|
|
24
|
-
get: () =>
|
|
25
|
-
load: () =>
|
|
23
|
+
derive: () => derive3,
|
|
24
|
+
get: () => get3,
|
|
25
|
+
load: () => load5,
|
|
26
26
|
routeFor: () => routeFor2
|
|
27
27
|
});
|
|
28
28
|
import { Money } from "@opencode/schema/money";
|
|
@@ -74,17 +74,17 @@ var RemoteModel = Schema.Struct({
|
|
|
74
74
|
});
|
|
75
75
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
77
|
-
function
|
|
78
|
-
return
|
|
77
|
+
function get3(http, baseURL, headers, existing) {
|
|
78
|
+
return load5(http, baseURL, headers).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var load5 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
|
|
81
81
|
const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL}/models`).pipe(HttpClientRequest.setHeaders(headers))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("5 seconds"));
|
|
82
82
|
return new Map(response.data.flatMap((raw) => {
|
|
83
83
|
const model = Option.getOrUndefined(decodeModel(raw));
|
|
84
84
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
85
85
|
}));
|
|
86
86
|
});
|
|
87
|
-
function
|
|
87
|
+
function derive3(baseURL, remote, existing) {
|
|
88
88
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
89
89
|
for (const [id, model] of result) {
|
|
90
90
|
const current = remote.get(model.modelID);
|
|
@@ -243,4 +243,4 @@ function variants(remote, messages) {
|
|
|
243
243
|
];
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export {
|
|
246
|
+
export { get3, load5, derive3, auto2, autoModel2, routeFor2, exports_models2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node79
|
|
9
|
+
} from "./project-et64y3fp.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-1y4ftnew.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service30,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node33,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -117,7 +117,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
117
117
|
}) {
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service30 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
121
121
|
}
|
|
122
122
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
123
123
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -322,13 +322,13 @@ var clampLine = (line) => {
|
|
|
322
322
|
const end = code >= 55296 && code <= 56319 ? MAX_LINE_LENGTH - 1 : MAX_LINE_LENGTH;
|
|
323
323
|
return line.slice(0, end) + MAX_LINE_SUFFIX;
|
|
324
324
|
};
|
|
325
|
-
var layer = Layer.effect(
|
|
326
|
-
const environment = yield*
|
|
327
|
-
return
|
|
325
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
326
|
+
const environment = yield* Service78;
|
|
327
|
+
return Service30.of({
|
|
328
328
|
list: environment.files.list,
|
|
329
329
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
330
330
|
});
|
|
331
331
|
}));
|
|
332
|
-
var
|
|
332
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node79] });
|
|
333
333
|
|
|
334
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
334
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service30, read2, node33, exports_read_filesystem };
|