@opencode/core 0.0.0-dev-256 → 0.0.0-dev-261
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{ripgrep-aj7mw0zk.js → mime-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-daqk1zzh.js → mime-05ga3jym.js} +32 -32
- package/dist/chunks/{ripgrep-k1sfxhaz.js → mime-09npetjp.js} +40 -40
- package/dist/chunks/{ripgrep-j5dh2pqj.js → mime-0cjt6hj4.js} +15 -15
- package/dist/chunks/{ripgrep-hs9b4b47.js → mime-0eq01nmm.js} +9 -9
- package/dist/chunks/{ripgrep-e7gncem7.js → mime-0h3385jp.js} +2 -2
- package/dist/chunks/{ripgrep-w687dnns.js → mime-0h8y3ex8.js} +4 -4
- package/dist/chunks/{ripgrep-t5kja7d6.js → mime-0j9k711p.js} +27 -27
- package/dist/chunks/{ripgrep-7442v31d.js → mime-0rhd3fk1.js} +9 -9
- package/dist/chunks/{ripgrep-yeejah88.js → mime-107zh63q.js} +3 -3
- package/dist/chunks/{ripgrep-11hfp36g.js → mime-11hfp36g.js} +1 -1
- package/dist/chunks/{ripgrep-q91dqmyj.js → mime-17x7vgjp.js} +26 -26
- package/dist/chunks/{ripgrep-z38nccrw.js → mime-1aqsckx4.js} +4 -4
- package/dist/chunks/{ripgrep-phrz113q.js → mime-1dtbfpzr.js} +30 -28
- package/dist/chunks/{ripgrep-f2dkd9c9.js → mime-1dy1zrej.js} +92 -92
- package/dist/chunks/{ripgrep-ybcwzyjp.js → mime-1ene02nc.js} +31 -31
- package/dist/chunks/{ripgrep-27w5k9zf.js → mime-1ep2p91f.js} +2 -2
- package/dist/chunks/mime-1hm0b4am.js +257 -0
- package/dist/chunks/{ripgrep-vm4ntgdp.js → mime-1hma5w09.js} +95 -95
- package/dist/chunks/{ripgrep-sbpkqjks.js → mime-1kmbt0nq.js} +16 -16
- package/dist/chunks/{ripgrep-qqpbcr2p.js → mime-1kn6jdkn.js} +4 -4
- package/dist/chunks/{ripgrep-68gxk72y.js → mime-1nwvfgjk.js} +25 -25
- package/dist/chunks/{ripgrep-3sxgvrsr.js → mime-1w8p0a18.js} +15 -15
- package/dist/chunks/{ripgrep-7521vzgd.js → mime-1wpsahk2.js} +13 -13
- package/dist/chunks/{ripgrep-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{ripgrep-204s3925.js → mime-204s3925.js} +1 -1
- package/dist/chunks/{ripgrep-ddcyzbs8.js → mime-2135gcnk.js} +13 -13
- package/dist/chunks/{ripgrep-25h84942.js → mime-25h84942.js} +1 -1
- package/dist/chunks/{ripgrep-y6qsxzbk.js → mime-29db0j4x.js} +4 -4
- package/dist/chunks/{ripgrep-dp20ymjh.js → mime-2b25mbj3.js} +5 -5
- package/dist/chunks/mime-2dkjcnxp.js +18 -0
- package/dist/chunks/{ripgrep-r8ack8x7.js → mime-2e3yfjq6.js} +8 -8
- package/dist/chunks/{ripgrep-vmaxc52x.js → mime-2hrk5wbs.js} +18 -18
- package/dist/chunks/{ripgrep-mmx1mfjr.js → mime-2kg89srt.js} +4 -4
- package/dist/chunks/{ripgrep-f2hbk3te.js → mime-2qwjmz35.js} +11 -11
- package/dist/chunks/{ripgrep-2zp5a6yg.js → mime-2zp5a6yg.js} +1 -1
- package/dist/chunks/{ripgrep-17cjzed1.js → mime-36qx82yz.js} +4 -4
- package/dist/chunks/{ripgrep-gt0enb5r.js → mime-3f6130kj.js} +30 -30
- package/dist/chunks/{ripgrep-jzpa86ty.js → mime-3h56g0x5.js} +38 -38
- package/dist/chunks/{ripgrep-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-a33m5c2w.js → mime-3k3cm4zk.js} +11 -11
- package/dist/chunks/{ripgrep-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
- package/dist/chunks/{ripgrep-h7zsgwja.js → mime-3xm4v4zv.js} +28 -28
- package/dist/chunks/{ripgrep-agz4bq91.js → mime-45xte6ee.js} +33 -33
- package/dist/chunks/{ripgrep-b0hcd791.js → mime-48es43h7.js} +10 -10
- package/dist/chunks/{ripgrep-bzmxpqn3.js → mime-4a1s8y4n.js} +15 -15
- package/dist/chunks/mime-4dx1dgte.js +16 -0
- package/dist/chunks/{ripgrep-b0mgw4ep.js → mime-4hebgate.js} +12 -12
- package/dist/chunks/{ripgrep-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
- package/dist/chunks/{ripgrep-qh99nfkk.js → mime-4qxqnvmw.js} +27 -27
- package/dist/chunks/{ripgrep-h7tawekg.js → mime-4tdcetb8.js} +27 -27
- package/dist/chunks/{ripgrep-yqqn7f99.js → mime-4thnqhg3.js} +1 -1
- package/dist/chunks/{ripgrep-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{ripgrep-enpxw9ft.js → mime-4yscp7k1.js} +34 -34
- package/dist/chunks/{ripgrep-yxp9849n.js → mime-50x74c5d.js} +31 -31
- package/dist/chunks/mime-52zxaxjc.js +26 -0
- package/dist/chunks/{ripgrep-40za9wsf.js → mime-5enarcya.js} +6 -6
- package/dist/chunks/{ripgrep-3szttj5s.js → mime-5f3qf23k.js} +20 -20
- package/dist/chunks/{ripgrep-9wqtqs01.js → mime-5g59k7nb.js} +34 -34
- package/dist/chunks/{ripgrep-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-tjx9btwx.js → mime-6447hfkj.js} +199 -199
- package/dist/chunks/{ripgrep-mg06kx6s.js → mime-69nya0q4.js} +16 -16
- package/dist/chunks/{ripgrep-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
- package/dist/chunks/{ripgrep-sy9atnn8.js → mime-6evmzryz.js} +9 -9
- package/dist/chunks/{ripgrep-my54cbqv.js → mime-6fpf7z8r.js} +5 -5
- package/dist/chunks/{ripgrep-hzv53yz7.js → mime-6vkwvj03.js} +21 -21
- package/dist/chunks/mime-6vmee23j.js +52 -0
- package/dist/chunks/{ripgrep-qfkq8xrf.js → mime-6zh541c7.js} +58 -58
- package/dist/chunks/{ripgrep-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
- package/dist/chunks/{ripgrep-hr4y9snp.js → mime-78p2h4ex.js} +7 -7
- package/dist/chunks/{ripgrep-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-s85z3cra.js → mime-7h09t6vy.js} +4 -4
- package/dist/chunks/{ripgrep-sk9th60b.js → mime-7q2ytnwk.js} +32 -32
- package/dist/chunks/{ripgrep-7rr96ps8.js → mime-7q3qfmpr.js} +35 -35
- package/dist/chunks/{ripgrep-pa3yh9f4.js → mime-7qrckcvm.js} +33 -33
- package/dist/chunks/{ripgrep-xyn9xt4d.js → mime-7s9zy64f.js} +11 -11
- package/dist/chunks/{ripgrep-gs1ef0jt.js → mime-7ssbg7yb.js} +23 -23
- package/dist/chunks/{ripgrep-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{ripgrep-2k2kcze4.js → mime-85aybcep.js} +85 -85
- package/dist/chunks/{ripgrep-0cc6nv5k.js → mime-87vy0wwt.js} +11 -11
- package/dist/chunks/{ripgrep-vpm1h889.js → mime-8dnnkdqt.js} +15 -15
- package/dist/chunks/{ripgrep-wsrqy1ze.js → mime-8f7wz2tq.js} +21 -21
- package/dist/chunks/{ripgrep-0h910ma9.js → mime-8p46qq0s.js} +17 -17
- package/dist/chunks/{ripgrep-5rgg5y2m.js → mime-8pyn3tva.js} +6 -6
- package/dist/chunks/{ripgrep-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{ripgrep-gffq2h0h.js → mime-904xv1p5.js} +27 -27
- package/dist/chunks/{ripgrep-wjc27my0.js → mime-90g6tx1j.js} +11 -11
- package/dist/chunks/{ripgrep-90zstvax.js → mime-90zstvax.js} +1 -1
- package/dist/chunks/{ripgrep-zh4a5xq0.js → mime-91a9ea02.js} +11 -11
- package/dist/chunks/{ripgrep-b3tsdpgs.js → mime-91xttez3.js} +11 -11
- package/dist/chunks/{ripgrep-29bbm67v.js → mime-98sj2w4a.js} +25 -25
- package/dist/chunks/{ripgrep-n0xqaxze.js → mime-9e3hvwnw.js} +32 -32
- package/dist/chunks/{ripgrep-2n5jzsvh.js → mime-9esxa6rs.js} +13 -13
- package/dist/chunks/{ripgrep-pj6fb39f.js → mime-9kq27ct5.js} +34 -34
- package/dist/chunks/{ripgrep-zmz19rft.js → mime-9pf0pmfk.js} +11 -11
- package/dist/chunks/{ripgrep-j83zfqb4.js → mime-9wkv0v86.js} +20 -20
- package/dist/chunks/{ripgrep-ams2yx18.js → mime-9zk9amhx.js} +21 -21
- package/dist/chunks/{ripgrep-rmk8jq11.js → mime-abne355d.js} +47 -47
- package/dist/chunks/{ripgrep-3rj35y7k.js → mime-aes06p6b.js} +5 -5
- package/dist/chunks/{ripgrep-zr96t73h.js → mime-ajntjgfc.js} +16 -16
- package/dist/chunks/{ripgrep-xf83b33t.js → mime-ape62p7n.js} +32 -32
- package/dist/chunks/{ripgrep-n6v2b7cw.js → mime-avgzkss2.js} +5 -5
- package/dist/chunks/{ripgrep-3cbjf1nt.js → mime-ayjs7tqn.js} +2 -2
- package/dist/chunks/{ripgrep-hq7e4nr1.js → mime-b4hen3e4.js} +7 -7
- package/dist/chunks/{ripgrep-b6vsg801.js → mime-b6vsg801.js} +2 -2
- package/dist/chunks/{ripgrep-7h63ckp6.js → mime-bcyfntnp.js} +19 -19
- package/dist/chunks/{ripgrep-1f952vs7.js → mime-bgwcavjj.js} +9 -9
- package/dist/chunks/{ripgrep-4fcq8f9m.js → mime-bpyckyws.js} +15 -15
- package/dist/chunks/{ripgrep-1t7faze9.js → mime-br6xvyb6.js} +16 -16
- package/dist/chunks/{ripgrep-2w1g18fp.js → mime-bvk25jmh.js} +4 -4
- package/dist/chunks/{ripgrep-c5rgx9f0.js → mime-bx6g05dx.js} +17 -17
- package/dist/chunks/{ripgrep-4ggjgtjs.js → mime-c3gnxtmm.js} +14 -14
- package/dist/chunks/{ripgrep-dwwyec8z.js → mime-c4phwmq5.js} +6 -6
- package/dist/chunks/{ripgrep-3416qbwy.js → mime-c4vfmmrn.js} +8 -8
- package/dist/chunks/{ripgrep-ke335cjj.js → mime-c5q03pmb.js} +5 -5
- package/dist/chunks/{ripgrep-3ryz99p0.js → mime-c6x7d2ts.js} +4 -4
- package/dist/chunks/{ripgrep-x3d3mep8.js → mime-cpbq744t.js} +6 -6
- package/dist/chunks/{ripgrep-tak8qdkr.js → mime-crttzga9.js} +8 -8
- package/dist/chunks/{ripgrep-jqfrpy0b.js → mime-cw43sd18.js} +4 -4
- package/dist/chunks/{ripgrep-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
- package/dist/chunks/{ripgrep-xcebgh3h.js → mime-czey47wt.js} +4 -4
- package/dist/chunks/{ripgrep-z33c4g07.js → mime-d1zc5akg.js} +13 -13
- package/dist/chunks/{ripgrep-v8xpr2tt.js → mime-d390zwf3.js} +11 -11
- package/dist/chunks/{ripgrep-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{ripgrep-r2aaaqsx.js → mime-d64mgb0d.js} +34 -34
- package/dist/chunks/{ripgrep-ddwaa558.js → mime-d8p3t516.js} +4 -4
- package/dist/chunks/{ripgrep-8wxjt6jj.js → mime-dbqn72gh.js} +41 -41
- package/dist/chunks/{ripgrep-ackzm7p5.js → mime-ddb1fpa4.js} +18 -18
- package/dist/chunks/{ripgrep-a17h2gz7.js → mime-de5ev1ss.js} +5 -5
- package/dist/chunks/{ripgrep-jk10zsa9.js → mime-dgy529yc.js} +25 -25
- package/dist/chunks/{ripgrep-shmzzj1p.js → mime-dgzhj2a3.js} +17 -17
- package/dist/chunks/{ripgrep-qavpxcye.js → mime-dja1b12h.js} +2 -2
- package/dist/chunks/{ripgrep-d8k33s6g.js → mime-dmbvkkjp.js} +8 -8
- package/dist/chunks/{ripgrep-6dstrpje.js → mime-dn75kjkt.js} +12 -12
- package/dist/chunks/{ripgrep-dt77769w.js → mime-dt77769w.js} +1 -1
- package/dist/chunks/{ripgrep-nxftzjsa.js → mime-dt8yqcce.js} +19 -19
- package/dist/chunks/{ripgrep-6vab03tz.js → mime-dtpswqs3.js} +32 -32
- package/dist/chunks/{ripgrep-mb3v38wv.js → mime-e11a9bx3.js} +3 -3
- package/dist/chunks/{ripgrep-e834z07m.js → mime-e834z07m.js} +1 -1
- package/dist/chunks/{ripgrep-9x1v9m9g.js → mime-ecgyc3nf.js} +4 -4
- package/dist/chunks/{ripgrep-p47gpjqr.js → mime-eek85r7s.js} +22 -18
- package/dist/chunks/{ripgrep-49835bfw.js → mime-ej397f02.js} +4 -4
- package/dist/chunks/{ripgrep-erc81w38.js → mime-ekd6nmzx.js} +11 -11
- package/dist/chunks/{ripgrep-8d2bz6m6.js → mime-enkpkfwx.js} +8 -8
- package/dist/chunks/{ripgrep-5jefyemb.js → mime-ew1cbhhw.js} +5 -5
- package/dist/chunks/{ripgrep-y8d574bw.js → mime-f004ykrw.js} +26 -26
- package/dist/chunks/{ripgrep-7kef5ntp.js → mime-f0ay53g6.js} +3 -3
- package/dist/chunks/{ripgrep-1fwefjcd.js → mime-f1md2d8q.js} +22 -22
- package/dist/chunks/{ripgrep-gzqtw9gm.js → mime-fddcjhj2.js} +25 -25
- package/dist/chunks/{ripgrep-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{ripgrep-ydbjebpg.js → mime-fg9n74ny.js} +25 -25
- package/dist/chunks/{ripgrep-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
- package/dist/chunks/{ripgrep-r5gpr2p5.js → mime-fym7nwga.js} +25 -25
- package/dist/chunks/{ripgrep-aytd9eaj.js → mime-gd8sx287.js} +4 -4
- package/dist/chunks/{ripgrep-3b0cyw5p.js → mime-ghzabfw7.js} +15 -15
- package/dist/chunks/{ripgrep-q6vnkpbt.js → mime-gqwtxsn1.js} +33 -33
- package/dist/chunks/{ripgrep-aje86v63.js → mime-gw7tqdxz.js} +5 -5
- package/dist/chunks/{ripgrep-qnghve6e.js → mime-gy1k9bkm.js} +8 -8
- package/dist/chunks/{ripgrep-5zt75wsq.js → mime-h2atfgt1.js} +8 -8
- package/dist/chunks/{ripgrep-a4f3mdv6.js → mime-h3pj7a7m.js} +18 -18
- package/dist/chunks/{ripgrep-s4vdbda8.js → mime-h5060pr3.js} +14 -14
- package/dist/chunks/{ripgrep-mw7r6xhf.js → mime-h6sym59v.js} +6 -6
- package/dist/chunks/{ripgrep-m049c8tp.js → mime-hbe771na.js} +20 -20
- package/dist/chunks/{ripgrep-ak1f0tsr.js → mime-hbqfs0kq.js} +15 -15
- package/dist/chunks/{ripgrep-jxs8nk7d.js → mime-hcaakz9a.js} +11 -11
- package/dist/chunks/{ripgrep-hh7kjqtw.js → mime-hh7kjqtw.js} +1 -1
- package/dist/chunks/{ripgrep-vcxd5eqd.js → mime-hj8ktf3x.js} +8 -8
- package/dist/chunks/{ripgrep-z9qgeafv.js → mime-hk82q6eb.js} +20 -20
- package/dist/chunks/{ripgrep-pvvt21d7.js → mime-hkv8mm0v.js} +14 -14
- package/dist/chunks/{ripgrep-hpg1pkwy.js → mime-hpg1pkwy.js} +1 -1
- package/dist/chunks/{ripgrep-rxc5w0st.js → mime-hw311zkt.js} +43 -43
- package/dist/chunks/{ripgrep-xv70sp23.js → mime-hz5a1k95.js} +26 -26
- package/dist/chunks/{ripgrep-909bcygr.js → mime-j8c8vpy0.js} +51 -51
- package/dist/chunks/{ripgrep-jfaecv01.js → mime-jfaecv01.js} +1 -1
- package/dist/chunks/{ripgrep-dsmd9z3t.js → mime-jgmjv1sa.js} +37 -37
- package/dist/chunks/{ripgrep-rkafft8x.js → mime-jjmhfyts.js} +16 -16
- package/dist/chunks/{ripgrep-x62jm14v.js → mime-jjv1q8d4.js} +12 -12
- package/dist/chunks/{ripgrep-jtnps1zs.js → mime-jtnps1zs.js} +2 -2
- package/dist/chunks/{ripgrep-fqsvv22e.js → mime-jw5zbn3z.js} +45 -45
- package/dist/chunks/{ripgrep-psanbaqe.js → mime-k4s79gcj.js} +9 -9
- package/dist/chunks/{ripgrep-k814nvkf.js → mime-k814nvkf.js} +1 -1
- package/dist/chunks/{ripgrep-03sqz7a9.js → mime-k989ntyt.js} +9 -9
- package/dist/chunks/{ripgrep-qys60372.js → mime-k9xb07cm.js} +10 -10
- package/dist/chunks/{ripgrep-1gx6yymd.js → mime-kdd90951.js} +81 -52
- package/dist/chunks/{ripgrep-3jqgx5kj.js → mime-kehv92bx.js} +51 -51
- package/dist/chunks/{ripgrep-2e5pdp54.js → mime-kewx5hse.js} +7 -7
- package/dist/chunks/{ripgrep-e5697zjm.js → mime-kk2a6haj.js} +12 -12
- package/dist/chunks/{ripgrep-d5xvmxkt.js → mime-kpj4bnmp.js} +9 -9
- package/dist/chunks/{ripgrep-k4hxmz12.js → mime-kprjpmw6.js} +33 -33
- package/dist/chunks/{ripgrep-k4461cq5.js → mime-ksxm71aw.js} +6 -6
- package/dist/chunks/{ripgrep-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
- package/dist/chunks/{ripgrep-pmnwwjgv.js → mime-kt9zkheb.js} +62 -62
- package/dist/chunks/{ripgrep-s5z0gt4g.js → mime-kzcsdwss.js} +3 -3
- package/dist/chunks/{ripgrep-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{ripgrep-3tpyq6vw.js → mime-m6jwak7z.js} +13 -13
- package/dist/chunks/{ripgrep-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-8z6m94af.js → mime-mb7mbhnz.js} +3 -3
- package/dist/chunks/{ripgrep-fkx1epcn.js → mime-mf0cbe1f.js} +24 -24
- package/dist/chunks/{ripgrep-mg356nz4.js → mime-mg356nz4.js} +3 -3
- package/dist/chunks/{ripgrep-bccmdxdz.js → mime-mgvjndd7.js} +12 -12
- package/dist/chunks/{ripgrep-tsszwamj.js → mime-mpc1wbnc.js} +28 -28
- package/dist/chunks/{ripgrep-5aysfjzq.js → mime-mpqhh0ff.js} +11 -11
- package/dist/chunks/{ripgrep-bxe7n28z.js → mime-msj7tqt3.js} +8 -8
- package/dist/chunks/{ripgrep-xsga5jf7.js → mime-mz88wxq7.js} +20 -20
- package/dist/chunks/{ripgrep-nah043kf.js → mime-nah043kf.js} +1 -1
- package/dist/chunks/{ripgrep-5c6v7bf7.js → mime-nf5vm8zn.js} +31 -31
- package/dist/chunks/{ripgrep-ndtpazxm.js → mime-nj6nnwwx.js} +30 -30
- package/dist/chunks/{ripgrep-jew46n24.js → mime-njqr3cdm.js} +9 -9
- package/dist/chunks/{ripgrep-jqnfqjgv.js → mime-nym9wyb3.js} +6 -6
- package/dist/chunks/{ripgrep-p015t6z3.js → mime-p015t6z3.js} +2 -2
- package/dist/chunks/{ripgrep-882n9ge3.js → mime-p36gpr4j.js} +5 -5
- package/dist/chunks/{ripgrep-1yq9hg58.js → mime-p7vhpwh8.js} +5 -5
- package/dist/chunks/{ripgrep-pnxd3f75.js → mime-p87480bx.js} +11 -11
- package/dist/chunks/{ripgrep-2hnaskt6.js → mime-pcc4d2n5.js} +9 -9
- package/dist/chunks/{ripgrep-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-jdra26ww.js → mime-q5654s0t.js} +25 -25
- package/dist/chunks/{ripgrep-m7egy7mx.js → mime-q5fg6nv3.js} +50 -50
- package/dist/chunks/{ripgrep-9nd6g1h4.js → mime-q8jvga0v.js} +53 -53
- package/dist/chunks/{ripgrep-b5jmjrr6.js → mime-qatgy48x.js} +33 -33
- package/dist/chunks/{ripgrep-zd07p9e4.js → mime-qevqwm2d.js} +29 -29
- package/dist/chunks/{ripgrep-3t0qvtxf.js → mime-qkevpenz.js} +12 -12
- package/dist/chunks/{ripgrep-82b9pnxq.js → mime-qnt4yn7k.js} +5 -5
- package/dist/chunks/{ripgrep-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
- package/dist/chunks/{ripgrep-qqvy8y24.js → mime-qqvy8y24.js} +1 -1
- package/dist/chunks/{ripgrep-h0xgca3k.js → mime-qsawh7eg.js} +27 -27
- package/dist/chunks/{ripgrep-vydydcga.js → mime-qx2f3s6n.js} +23 -23
- package/dist/chunks/{ripgrep-x8yhn9vn.js → mime-r1b7wght.js} +24 -24
- package/dist/chunks/{ripgrep-r542h3bh.js → mime-r542h3bh.js} +1 -1
- package/dist/chunks/{ripgrep-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{ripgrep-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{ripgrep-hy1b2qcd.js → mime-s4fkafj4.js} +2 -2
- package/dist/chunks/{ripgrep-sa3fpqfw.js → mime-sa3fpqfw.js} +2 -2
- package/dist/chunks/{ripgrep-dqyfjygp.js → mime-sdvfaqjv.js} +30 -30
- package/dist/chunks/mime-sefdxvs5.js +113 -0
- package/dist/chunks/{ripgrep-rvdapjqy.js → mime-sg2p3jg1.js} +11 -11
- package/dist/chunks/{ripgrep-fxhhzhmy.js → mime-sj7qk1wq.js} +23 -23
- package/dist/chunks/{ripgrep-wz5tj16h.js → mime-sqbb0ctm.js} +5 -5
- package/dist/chunks/{ripgrep-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
- package/dist/chunks/{ripgrep-mtkfycnh.js → mime-ssfehs1z.js} +4 -4
- package/dist/chunks/{ripgrep-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
- package/dist/chunks/{ripgrep-am8n4zj8.js → mime-t6t8h010.js} +42 -42
- package/dist/chunks/{ripgrep-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{ripgrep-sfvb2ra8.js → mime-tdjh7w66.js} +48 -48
- package/dist/chunks/{ripgrep-8k3jsm6y.js → mime-tr6n2pd7.js} +22 -22
- package/dist/chunks/{ripgrep-7pf9jw4b.js → mime-tspwpfmw.js} +3 -3
- package/dist/chunks/{ripgrep-7fjdcjgg.js → mime-tt26s4vq.js} +11 -11
- package/dist/chunks/{ripgrep-twssxy5n.js → mime-twssxy5n.js} +2 -2
- package/dist/chunks/{ripgrep-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{ripgrep-db73xe5x.js → mime-v4g74xq2.js} +21 -21
- package/dist/chunks/{ripgrep-zh7bbm8x.js → mime-v7a0snhq.js} +9 -9
- package/dist/chunks/{ripgrep-n53x6sf3.js → mime-vf16q2b1.js} +6 -6
- package/dist/chunks/{ripgrep-qf4spmep.js → mime-vh5h3cx2.js} +35 -35
- package/dist/chunks/{ripgrep-eqmd2tfz.js → mime-vmfhgzt5.js} +7 -7
- package/dist/chunks/{ripgrep-18g90bpv.js → mime-vrcsa8qx.js} +9 -9
- package/dist/chunks/{ripgrep-vaq1yek0.js → mime-vzppetdn.js} +6 -6
- package/dist/chunks/{ripgrep-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-d0t1jrhe.js → mime-w4ykgd89.js} +5 -5
- package/dist/chunks/{ripgrep-fdfr6sds.js → mime-w81tm3vv.js} +17 -17
- package/dist/chunks/{ripgrep-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-nx4vzyjd.js → mime-wegkxhrn.js} +2 -2
- package/dist/chunks/{ripgrep-wnhgecwx.js → mime-wnhgecwx.js} +1 -1
- package/dist/chunks/{ripgrep-kcg78dnn.js → mime-wwgpyqzb.js} +9 -9
- package/dist/chunks/{ripgrep-kjdrtwey.js → mime-x2kc3zfh.js} +8 -8
- package/dist/chunks/{ripgrep-6fpch3kw.js → mime-x3a4n8aj.js} +15 -15
- package/dist/chunks/{ripgrep-r87akjs2.js → mime-x6tax50b.js} +6 -6
- package/dist/chunks/{ripgrep-jhvnj4yv.js → mime-x7qkck9a.js} +15 -15
- package/dist/chunks/{ripgrep-g24xgb35.js → mime-xcmevbrr.js} +11 -11
- package/dist/chunks/{ripgrep-xd9cc171.js → mime-xd9cc171.js} +1 -1
- package/dist/chunks/{ripgrep-cac0wmbb.js → mime-xk2zn0cv.js} +4 -4
- package/dist/chunks/{ripgrep-x524hec9.js → mime-xmcerbsc.js} +20 -20
- package/dist/chunks/{ripgrep-pcc6rjnf.js → mime-xp4cjnvy.js} +20 -10
- package/dist/chunks/{ripgrep-5bp97s21.js → mime-xqpnzpk3.js} +18 -18
- package/dist/chunks/{ripgrep-z48jxn29.js → mime-xr2mnjhn.js} +16 -16
- package/dist/chunks/{ripgrep-qzwfbxrg.js → mime-y24rddh5.js} +11 -11
- package/dist/chunks/{ripgrep-c48vnd7r.js → mime-y2bdgeyh.js} +3 -3
- package/dist/chunks/{ripgrep-xp46ybm5.js → mime-y3a4nh1w.js} +19 -19
- package/dist/chunks/{ripgrep-ffcqnzz5.js → mime-ya13x5xa.js} +14 -14
- package/dist/chunks/{ripgrep-qkw2jr9b.js → mime-yara3q77.js} +2 -2
- package/dist/chunks/{ripgrep-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{ripgrep-jp89zqat.js → mime-ych9pyce.js} +12 -12
- package/dist/chunks/{ripgrep-b363w4yw.js → mime-ykcxy4jb.js} +18 -18
- package/dist/chunks/{ripgrep-h5prggwk.js → mime-ys5ht53z.js} +47 -47
- package/dist/chunks/{ripgrep-mvntxdz5.js → mime-yvg33581.js} +17 -17
- package/dist/chunks/{ripgrep-gkng5bng.js → mime-z2dgfpsc.js} +6 -6
- package/dist/chunks/{ripgrep-z7zabdrt.js → mime-z6b5kr5f.js} +21 -21
- package/dist/chunks/{ripgrep-5w9dwxvh.js → mime-z8xs1n5t.js} +24 -24
- package/dist/chunks/{ripgrep-zbjfvsrb.js → mime-zba90nwx.js} +13 -13
- package/dist/chunks/{ripgrep-x959zq99.js → mime-zcf14pnt.js} +4 -4
- package/dist/chunks/{ripgrep-2kk97py3.js → mime-zeba2tf9.js} +11 -11
- package/dist/chunks/{ripgrep-6t0y96w1.js → mime-zeg6dwe8.js} +37 -37
- package/dist/chunks/{ripgrep-x3fmc1hr.js → mime-zfvpppwm.js} +21 -21
- package/dist/chunks/{ripgrep-5qbnyx67.js → mime-zjqm9jqg.js} +43 -43
- package/dist/chunks/{ripgrep-nta1mp64.js → mime-ztytxe50.js} +11 -11
- package/dist/chunks/mime-zw960apb.js +535 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +11 -7
- package/dist/config/managed.js +8 -0
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -127
- package/dist/config/plugin/command.js +228 -225
- package/dist/config/plugin/compaction.js +169 -166
- package/dist/config/plugin/compatibility.js +149 -146
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -126
- package/dist/config/plugin/image.js +129 -125
- package/dist/config/plugin/instruction.js +129 -125
- package/dist/config/plugin/location-watcher.js +129 -125
- package/dist/config/plugin/mcp.js +138 -134
- package/dist/config/plugin/policy.js +129 -127
- package/dist/config/plugin/provider.js +129 -126
- package/dist/config/plugin/reference.js +131 -127
- package/dist/config/plugin/shell.js +129 -125
- package/dist/config/plugin/skill-file.js +145 -142
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -149
- package/dist/config/plugin/snapshot.js +129 -125
- package/dist/config/plugin/source.js +132 -128
- package/dist/config/plugin/tool-output.js +130 -126
- package/dist/config/plugin/websearch.js +128 -124
- package/dist/config/plugin/worktree.js +131 -127
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +80 -80
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +107 -107
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +391 -390
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +105 -105
- 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 +84 -84
- package/dist/file-access.js +155 -152
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -236
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +116 -116
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/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 +382 -381
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -170
- package/dist/location-lifecycle.js +149 -146
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +379 -378
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +11 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +175 -172
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -229
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +358 -357
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -142
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -125
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -125
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -123
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -123
- package/dist/plugin/provider/configured.js +125 -121
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -122
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -134
- package/dist/plugin/provider/local.js +135 -131
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -134
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -125
- package/dist/plugin/provider/opencode.js +131 -128
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -124
- package/dist/plugin/provider/vllm.js +138 -134
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -176
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -145
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +368 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -123
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +239 -236
- 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 +102 -102
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +236 -233
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +242 -239
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -124
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -168
- package/dist/session/context.js +195 -192
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +239 -236
- package/dist/session/execution.js +161 -158
- package/dist/session/generate.js +197 -194
- package/dist/session/history.js +135 -131
- package/dist/session/inbox.js +146 -142
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +136 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -159
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -160
- package/dist/session/projector.js +142 -138
- package/dist/session/prompt.js +147 -144
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -134
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -243
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -145
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +159 -156
- package/dist/session/runner/to-llm-message.js +136 -132
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -174
- package/dist/session/shell.js +143 -139
- package/dist/session/skill.js +146 -143
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -137
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +197 -194
- package/dist/session/to-session-error.js +147 -144
- package/dist/session/transfer.js +240 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -227
- 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 +145 -141
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -147
- package/dist/skill.js +155 -152
- package/dist/snapshot.js +105 -105
- 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 +172 -169
- package/dist/tool/plugin/edit.js +163 -160
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -162
- package/dist/tool/plugin/grep.js +167 -164
- package/dist/tool/plugin/image-generate.js +236 -233
- package/dist/tool/plugin/mcp-resource.js +161 -158
- package/dist/tool/plugin/opencode.js +160 -157
- package/dist/tool/plugin/patch.js +161 -158
- package/dist/tool/plugin/question.js +145 -142
- package/dist/tool/plugin/read.js +164 -161
- package/dist/tool/plugin/schedule.js +242 -239
- package/dist/tool/plugin/shell.js +229 -226
- package/dist/tool/plugin/skill.js +154 -151
- package/dist/tool/plugin/subagent.js +231 -228
- package/dist/tool/plugin/todo.js +148 -145
- package/dist/tool/plugin/webfetch.js +154 -151
- package/dist/tool/plugin/websearch.js +152 -149
- package/dist/tool/plugin/write.js +165 -162
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/integration.d.ts +29 -7
- package/dist/types/config/managed.d.ts +10 -0
- package/dist/types/config/plugin/policy.d.ts +4 -1
- package/dist/types/managed-policy.d.ts +16 -2
- package/dist/types/websearch.d.ts +2 -0
- package/dist/usage-limits.js +97 -97
- 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 +3 -3
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- 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 +99 -99
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/ripgrep-apk2hew3.js +0 -76
- package/dist/chunks/ripgrep-cgp1s624.js +0 -26
- package/dist/chunks/ripgrep-f38wrs86.js +0 -535
- package/dist/chunks/ripgrep-n3r3rt18.js +0 -18
- package/dist/chunks/ripgrep-qraj6mtx.js +0 -257
- package/dist/chunks/ripgrep-x7c80rtj.js +0 -31
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kah00gy.js → mime-1kah00gy.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-7stb81gk.js → mime-7stb81gk.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a058387c.js → mime-a058387c.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-beh6qq61.js → mime-beh6qq61.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ean2d8b5.js → mime-ean2d8b5.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-ncqqe42p.js → mime-ncqqe42p.js} +0 -0
- /package/dist/chunks/{ripgrep-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-stkk57rt.js → mime-stkk57rt.js} +0 -0
- /package/dist/chunks/{ripgrep-t03h4f5z.js → mime-t03h4f5z.js} +0 -0
- /package/dist/chunks/{ripgrep-ty7weeps.js → mime-ty7weeps.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-45xte6ee.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-7q3qfmpr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve2, exports_variant };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./mime-xmcerbsc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./mime-c4phwmq5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-2dkjcnxp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service62;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service45;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin22,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin22 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin22, exports_goal };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-sqbb0ctm.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service87,
|
|
3
|
+
node91
|
|
4
|
+
} from "./mime-xcmevbrr.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
|
+
node: () => node85
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service81 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service87).db;
|
|
26
|
+
return Service81.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service81, node85, exports_kv };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./mime-2kg89srt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info20
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info21)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info20 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info20, exports_agent4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./mime-xcmevbrr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./mime-1kmbt0nq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./mime-c4phwmq5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError11,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-z2dgfpsc.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service68
|
|
29
|
+
} from "./mime-1w8p0a18.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service60
|
|
33
|
+
} from "./mime-mpc1wbnc.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service58
|
|
36
|
+
} from "./mime-t6t8h010.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-ddb1fpa4.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./mime-v4g74xq2.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./mime-pcc4d2n5.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./mime-k989ntyt.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./mime-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const database = yield*
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
65
|
+
const bus = yield* Service86;
|
|
66
|
+
const database = yield* Service87;
|
|
67
|
+
const store = yield* Service68;
|
|
68
|
+
const instances = yield* Service62;
|
|
69
|
+
const execution = yield* Service58;
|
|
70
|
+
const admission = yield* Service60;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError11({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -155,7 +155,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
155
155
|
sessionID: session.id,
|
|
156
156
|
item
|
|
157
157
|
});
|
|
158
|
-
}).pipe(instances.provide(session), Effect.provideService(
|
|
158
|
+
}).pipe(instances.provide(session), Effect.provideService(Service87, database), Effect.provideService(FSUtil.Service, fs));
|
|
159
159
|
}).pipe(Effect.catchTag("SessionInbox.LifecycleConflict", () => new PromptConflictError2({ sessionID, messageID })));
|
|
160
160
|
if (input.resume !== false)
|
|
161
161
|
yield* execution.wake(sessionID);
|
|
@@ -164,7 +164,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service62, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service62, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service87, database), Effect.provideService(Service86, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service86, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin31
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin31 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin12 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_mcp_codemode_defaults };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./mime-1kmbt0nq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node77
|
|
7
|
+
} from "./mime-ya13x5xa.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./mime-0j9k711p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./mime-2dkjcnxp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node24,
|
|
17
17
|
ID4
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-mz88wxq7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service9,
|
|
21
|
+
node11
|
|
22
|
+
} from "./mime-enkpkfwx.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-zw960apb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make9,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-c3gnxtmm.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service7,
|
|
35
|
+
node9
|
|
36
|
+
} from "./mime-zba90nwx.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service8,
|
|
39
|
+
node10
|
|
40
|
+
} from "./mime-0eq01nmm.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
49
|
layer: () => layer4,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -134,13 +134,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
134
134
|
};
|
|
135
135
|
});
|
|
136
136
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
137
|
-
const registry = yield*
|
|
138
|
-
const sdk = yield*
|
|
139
|
-
const instance = yield*
|
|
140
|
-
const sources = yield*
|
|
141
|
-
const modules = yield*
|
|
142
|
-
const bus = yield*
|
|
143
|
-
const updates = yield*
|
|
137
|
+
const registry = yield* Service30;
|
|
138
|
+
const sdk = yield* Service7;
|
|
139
|
+
const instance = yield* Service9;
|
|
140
|
+
const sources = yield* Service4;
|
|
141
|
+
const modules = yield* make9();
|
|
142
|
+
const bus = yield* Service86;
|
|
143
|
+
const updates = yield* Service8;
|
|
144
144
|
const internal = yield* list2();
|
|
145
145
|
let release = yield* registry.hold();
|
|
146
146
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -215,14 +215,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
215
215
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
216
216
|
}));
|
|
217
217
|
var nodeDeps = [
|
|
218
|
-
|
|
218
|
+
node24,
|
|
219
|
+
node9,
|
|
220
|
+
node11,
|
|
219
221
|
node6,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
node7,
|
|
223
|
-
node89,
|
|
222
|
+
node10,
|
|
223
|
+
node90,
|
|
224
224
|
Npm.node,
|
|
225
|
-
|
|
225
|
+
node77,
|
|
226
226
|
requirements2
|
|
227
227
|
];
|
|
228
228
|
function pluginSource(target) {
|
|
@@ -230,6 +230,6 @@ function pluginSource(target) {
|
|
|
230
230
|
return { type: "local", path: target };
|
|
231
231
|
return { type: "package", target };
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
234
234
|
|
|
235
|
-
export { layer4,
|
|
235
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./mime-xcmevbrr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./mime-bgwcavjj.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-2dkjcnxp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./mime-msj7tqt3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-z2dgfpsc.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-h6sym59v.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service42
|
|
30
|
+
} from "./mime-4qxqnvmw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service70;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service42;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,14 +141,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service50;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
148
148
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
149
149
|
});
|
|
150
150
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
151
|
-
const { db } = yield*
|
|
151
|
+
const { db } = yield* Service87;
|
|
152
152
|
const blob = yield* read3(db, refHash2(uri));
|
|
153
153
|
if (!blob)
|
|
154
154
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|