@opencode/core 0.0.0-dev-19326 → 0.0.0-dev-19329
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{config-1kpn8rme.js → websearch-05teyaep.js} +15 -15
- package/dist/chunks/{config-kch7s5fg.js → websearch-06mrgcsv.js} +4 -4
- package/dist/chunks/{config-pv3gegc9.js → websearch-0a2dwfaw.js} +13 -13
- package/dist/chunks/{config-569tr4pc.js → websearch-0g3br09g.js} +4 -4
- package/dist/chunks/{config-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-g5h2gn6b.js → websearch-0s4fbnn3.js} +36 -36
- package/dist/chunks/{config-sm6x67bg.js → websearch-0tcdq60f.js} +83 -83
- package/dist/chunks/{config-ek30kmvs.js → websearch-0xepr98t.js} +43 -43
- package/dist/chunks/{config-1pdyq1wn.js → websearch-15sfvttd.js} +4 -4
- package/dist/chunks/{config-x0511brf.js → websearch-18e56dsp.js} +4 -4
- package/dist/chunks/{config-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-1dfhrqqs.js → websearch-1dfhrqqs.js} +2 -2
- package/dist/chunks/{config-23srbqd1.js → websearch-1rr79kmz.js} +12 -12
- package/dist/chunks/{config-5b85kcdj.js → websearch-1ry9mraq.js} +6 -6
- package/dist/chunks/{config-tqkm9jbq.js → websearch-1wyvekfz.js} +10 -10
- package/dist/chunks/{config-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{config-xhkkqpm4.js → websearch-285x9q22.js} +16 -16
- package/dist/chunks/{config-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-nv66vt51.js → websearch-2h9na2de.js} +28 -28
- package/dist/chunks/{config-nzdya8zy.js → websearch-2jeyz3kj.js} +21 -21
- package/dist/chunks/{config-0855v69s.js → websearch-2k3rbpfn.js} +21 -21
- package/dist/chunks/{config-n5w420h3.js → websearch-2mn4c47k.js} +17 -17
- package/dist/chunks/{config-a9ab9jmj.js → websearch-2pxk13gr.js} +5 -5
- package/dist/chunks/{config-8g9ddwam.js → websearch-2za57jae.js} +26 -26
- package/dist/chunks/{config-njtrxhve.js → websearch-334rw752.js} +22 -22
- package/dist/chunks/{config-ebk4es1x.js → websearch-378w8nm6.js} +20 -20
- package/dist/chunks/{config-ag9w8cw1.js → websearch-37s12vcn.js} +5 -5
- package/dist/chunks/{config-x1xcpfha.js → websearch-387ejgms.js} +11 -11
- package/dist/chunks/{config-ffx4mq6v.js → websearch-38c819ax.js} +1 -1
- package/dist/chunks/{config-d7dy7kyk.js → websearch-3afex4r4.js} +6 -6
- package/dist/chunks/{config-7wpfh6mv.js → websearch-3btp5q3h.js} +7 -7
- package/dist/chunks/{config-hwe7x4em.js → websearch-3c1tgrea.js} +6 -6
- package/dist/chunks/{config-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-js9tnhwr.js → websearch-3ykjgsne.js} +18 -18
- package/dist/chunks/{config-gmzg7h0g.js → websearch-44rs3ysg.js} +10 -10
- package/dist/chunks/{config-3jhh6dbq.js → websearch-4819gndr.js} +14 -14
- package/dist/chunks/{config-az8cwyq3.js → websearch-48hhwy5w.js} +33 -33
- package/dist/chunks/{config-8ddxx89t.js → websearch-4crvm9b8.js} +10 -10
- package/dist/chunks/{config-d605brer.js → websearch-4f3vmzpw.js} +13 -13
- package/dist/chunks/{config-t12g5sta.js → websearch-4g5898cq.js} +6 -6
- package/dist/chunks/{config-pztqrn0p.js → websearch-4zap2cj4.js} +11 -11
- package/dist/chunks/{config-exhy6fht.js → websearch-55w4pjk1.js} +8 -8
- package/dist/chunks/{config-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-wy9ptrhe.js → websearch-5771e8zs.js} +39 -35
- package/dist/chunks/{config-7xasq64h.js → websearch-57b6xfzc.js} +19 -19
- package/dist/chunks/{config-tsvnnaee.js → websearch-59ksr2n4.js} +9 -9
- package/dist/chunks/{config-qy2rkr1m.js → websearch-5c083vn1.js} +16 -16
- package/dist/chunks/{config-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{config-n1n4h8c9.js → websearch-5k7yj39d.js} +43 -43
- package/dist/chunks/{config-m1tpde6x.js → websearch-5pfbsr5q.js} +26 -26
- package/dist/chunks/{config-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-b1fgh70n.js → websearch-6311qrfs.js} +11 -11
- package/dist/chunks/{config-7bvkr4r5.js → websearch-63zbbs1j.js} +8 -8
- package/dist/chunks/{config-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{config-wtkq24h6.js → websearch-690jvt19.js} +16 -16
- package/dist/chunks/{config-tn5yj8k7.js → websearch-6cstqhfs.js} +3 -3
- package/dist/chunks/{config-6h73sxmp.js → websearch-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-m86bnw2c.js → websearch-6jnybvqn.js} +9 -9
- package/dist/chunks/{config-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-6f6emysg.js → websearch-6xfhf4kq.js} +24 -24
- package/dist/chunks/{config-71q4at8m.js → websearch-71q4at8m.js} +1 -1
- package/dist/chunks/{config-zxgnc9zk.js → websearch-74x46t3v.js} +1 -1
- package/dist/chunks/{config-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-b0nvwstj.js → websearch-7c2n2wee.js} +13 -13
- package/dist/chunks/{config-750qgww0.js → websearch-7ced988x.js} +15 -15
- package/dist/chunks/websearch-7cjemnxc.js +247 -0
- package/dist/chunks/{config-fcrkznn8.js → websearch-7dqw4kz8.js} +5 -5
- package/dist/chunks/{config-2ns57ds1.js → websearch-7fdaqwq5.js} +11 -11
- package/dist/chunks/{config-q7wajf8z.js → websearch-7j2qha59.js} +8 -8
- package/dist/chunks/{config-5zqnyxe9.js → websearch-7qs6vq0e.js} +20 -20
- package/dist/chunks/{config-1657v3ya.js → websearch-7rj90sty.js} +13 -13
- package/dist/chunks/{config-4kzv7xnq.js → websearch-7y65vrff.js} +15 -15
- package/dist/chunks/{config-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-rzdsnkcx.js → websearch-8kbbh0w1.js} +9 -9
- package/dist/chunks/{config-j5t0v273.js → websearch-8m2ckye2.js} +20 -20
- package/dist/chunks/{config-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{config-8sghyhzw.js → websearch-8sghyhzw.js} +1 -1
- package/dist/chunks/{config-kq5zg6vn.js → websearch-91nhymbr.js} +3 -3
- package/dist/chunks/{config-y1xxajfh.js → websearch-93xwxhm0.js} +18 -18
- package/dist/chunks/{config-9qn3qky1.js → websearch-942f7qpg.js} +6 -6
- package/dist/chunks/{config-vptjw3ks.js → websearch-97hvk7xq.js} +18 -18
- package/dist/chunks/{config-gf6d3hm7.js → websearch-99etmp5d.js} +8 -8
- package/dist/chunks/{config-81swgkk7.js → websearch-9pv0dm11.js} +9 -9
- package/dist/chunks/{config-417t6bcw.js → websearch-a0gcm80g.js} +21 -21
- package/dist/chunks/{config-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{config-m8zqamnv.js → websearch-a26eawhe.js} +14 -14
- package/dist/chunks/{config-8h5hgdex.js → websearch-a55gzx1a.js} +20 -20
- package/dist/chunks/{config-saxdmq1r.js → websearch-a5wtfydr.js} +4 -4
- package/dist/chunks/{config-ycsq97p8.js → websearch-a81kw550.js} +27 -27
- package/dist/chunks/{config-qj8eh1ht.js → websearch-a8bn8zg0.js} +4 -4
- package/dist/chunks/{config-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{config-qn5k0834.js → websearch-ab2dwfas.js} +35 -35
- package/dist/chunks/{config-h44tzz0d.js → websearch-afe7vqbt.js} +22 -22
- package/dist/chunks/{config-3bzdj17n.js → websearch-afsmvzt6.js} +25 -25
- package/dist/chunks/{config-jw0bnz0n.js → websearch-arebr1bt.js} +63 -63
- package/dist/chunks/{config-t366rswz.js → websearch-arm85r5x.js} +4 -4
- package/dist/chunks/{config-vrmbk9b3.js → websearch-arvb0n3z.js} +12 -12
- package/dist/chunks/{config-aw657cyw.js → websearch-asgy4dhx.js} +20 -20
- package/dist/chunks/{config-cdfjc51s.js → websearch-atr43f13.js} +28 -28
- package/dist/chunks/{config-72vjph7r.js → websearch-b0g171hr.js} +34 -34
- package/dist/chunks/{config-arvcqt8y.js → websearch-b14zgdmq.js} +4 -4
- package/dist/chunks/{config-m536chkd.js → websearch-b5bq914g.js} +11 -11
- package/dist/chunks/{config-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-4w87xhbp.js → websearch-b6msbg5e.js} +9 -9
- package/dist/chunks/{config-y6a6ax70.js → websearch-b7y488fd.js} +5 -5
- package/dist/chunks/{config-2vw323ye.js → websearch-bdpr0v97.js} +20 -20
- package/dist/chunks/{config-bcgkk1hh.js → websearch-begapzgx.js} +23 -23
- package/dist/chunks/{config-zerdtc7d.js → websearch-bv56xrks.js} +6 -6
- package/dist/chunks/{config-rr1nvx41.js → websearch-bvxtbtxk.js} +17 -17
- package/dist/chunks/{config-2je79byv.js → websearch-byj39j9m.js} +11 -11
- package/dist/chunks/{config-d9ktfn67.js → websearch-bzad7s1k.js} +38 -38
- package/dist/chunks/{config-6c3m5f2h.js → websearch-c3a448g7.js} +43 -43
- package/dist/chunks/{config-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{config-yfs0d73w.js → websearch-cg8jeepg.js} +82 -82
- package/dist/chunks/{config-ppvatkm2.js → websearch-cgkzk7v5.js} +32 -32
- package/dist/chunks/{config-k6zar0y3.js → websearch-cw1zpsft.js} +52 -52
- package/dist/chunks/{config-8cmk2yrh.js → websearch-d0arqfyn.js} +2 -2
- package/dist/chunks/{config-agn6xsk2.js → websearch-d39vvv45.js} +10 -10
- package/dist/chunks/{config-p72z5xx6.js → websearch-d9sn21bc.js} +2 -2
- package/dist/chunks/{config-3r916n3t.js → websearch-dcse214k.js} +6 -6
- package/dist/chunks/{config-h1r3fqyy.js → websearch-dgksc2sd.js} +30 -30
- package/dist/chunks/{config-es83e26n.js → websearch-dq0shdwz.js} +10 -10
- package/dist/chunks/{config-pkkn2rmb.js → websearch-dqvx4yr7.js} +15 -15
- package/dist/chunks/{config-xaqy8fp9.js → websearch-e1e4502e.js} +24 -24
- package/dist/chunks/{config-qpvszq3c.js → websearch-e5xzc49q.js} +11 -11
- package/dist/chunks/websearch-e7cwfed2.js +22 -0
- package/dist/chunks/{config-eq1pz5kg.js → websearch-eq1pz5kg.js} +1 -1
- package/dist/chunks/{config-cs6ph7bb.js → websearch-eshaqmyj.js} +29 -29
- package/dist/chunks/{config-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/websearch-evbegrn7.js +123 -0
- package/dist/chunks/{config-h7vqmq4a.js → websearch-ez5ddhv1.js} +7 -7
- package/dist/chunks/{config-3ps341yf.js → websearch-f5w8syvq.js} +28 -28
- package/dist/chunks/{config-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{config-vzrz8rh7.js → websearch-f9tgbxqd.js} +4 -4
- package/dist/chunks/{config-hhgar3wg.js → websearch-ffypkg10.js} +17 -17
- package/dist/chunks/{config-a2vkvq8c.js → websearch-fj63e0d3.js} +16 -16
- package/dist/chunks/{config-nct1ykg9.js → websearch-fkazv5r1.js} +20 -20
- package/dist/chunks/{config-edyamwfh.js → websearch-fmayke6d.js} +10 -10
- package/dist/chunks/{config-fyjrpq2n.js → websearch-fpv6qd1b.js} +5 -5
- package/dist/chunks/{config-p0cja4mf.js → websearch-fqvj2kck.js} +5 -5
- package/dist/chunks/{config-qw7k9z72.js → websearch-fsk7wvm8.js} +14 -14
- package/dist/chunks/{config-yckmmtqy.js → websearch-fve1bw57.js} +26 -26
- package/dist/chunks/{config-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-wmnhw0x1.js → websearch-g00y01sj.js} +28 -28
- package/dist/chunks/{config-7z5tcpnz.js → websearch-g82gzaec.js} +5 -5
- package/dist/chunks/{config-a1vyps7d.js → websearch-gc8yf83v.js} +13 -13
- package/dist/chunks/{config-6x6kmq59.js → websearch-gcd0ehtm.js} +24 -24
- package/dist/chunks/{config-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-3fc6dm20.js → websearch-gdvy8fx6.js} +4 -4
- package/dist/chunks/{config-3rhrbxnc.js → websearch-gh7c7re6.js} +31 -31
- package/dist/chunks/{config-a0d0vtpt.js → websearch-gm67693k.js} +41 -41
- package/dist/chunks/{config-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-9qrewpmc.js → websearch-h1v3nefe.js} +18 -18
- package/dist/chunks/{config-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-bha4atvq.js → websearch-hfdr1yjj.js} +4 -4
- package/dist/chunks/{config-hjt4xg1x.js → websearch-hjt4xg1x.js} +1 -1
- package/dist/chunks/{config-jvf3yq6v.js → websearch-hn57h045.js} +4 -4
- package/dist/chunks/{config-hcz3zddy.js → websearch-hnr5yq9h.js} +5 -5
- package/dist/chunks/{config-hgyqvasf.js → websearch-hqnfm370.js} +11 -11
- package/dist/chunks/{config-qz49fwgp.js → websearch-j15mfg1p.js} +4 -4
- package/dist/chunks/{config-j5208yae.js → websearch-j311gd59.js} +7 -7
- package/dist/chunks/{config-c43swxyx.js → websearch-j4ddpc5s.js} +11 -11
- package/dist/chunks/{config-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{config-2f04pwep.js → websearch-j7wq2tw5.js} +3 -3
- package/dist/chunks/{config-qa8kzgyn.js → websearch-ja84z3n9.js} +23 -23
- package/dist/chunks/{config-a6mbpaxv.js → websearch-jj6bfmkc.js} +35 -35
- package/dist/chunks/{config-k0wscy4g.js → websearch-jvd3y3k4.js} +20 -20
- package/dist/chunks/{config-46x4mgr1.js → websearch-jwjk52g2.js} +4 -4
- package/dist/chunks/{config-5z63511r.js → websearch-jx8g4evx.js} +9 -9
- package/dist/chunks/{config-8gq3smt3.js → websearch-k6kbb44b.js} +13 -13
- package/dist/chunks/{config-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{config-1p5m71zp.js → websearch-kj5sb4b2.js} +12 -12
- package/dist/chunks/{config-0996nyz8.js → websearch-kpvyk30t.js} +9 -9
- package/dist/chunks/{config-710w2ech.js → websearch-kqddbhjm.js} +1 -1
- package/dist/chunks/{config-s7xtjryh.js → websearch-ktbdk3tc.js} +1 -1
- package/dist/chunks/{config-6t1wqbey.js → websearch-kwb21ekm.js} +46 -46
- package/dist/chunks/{config-jzg51yg2.js → websearch-kww9schw.js} +8 -8
- package/dist/chunks/{config-y8jrhqey.js → websearch-m5mdrn9p.js} +27 -27
- package/dist/chunks/{config-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-xjc405nr.js → websearch-mj2kz0jy.js} +11 -11
- package/dist/chunks/{config-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
- package/dist/chunks/{config-a5ashrgz.js → websearch-mqhpj7pr.js} +13 -13
- package/dist/chunks/{config-ze5v0a14.js → websearch-mvdg3mfe.js} +8 -8
- package/dist/chunks/{config-2h6dm58y.js → websearch-n5vnxzpd.js} +1 -1
- package/dist/chunks/{config-a4r18kjz.js → websearch-n6qqmqgy.js} +2 -2
- package/dist/chunks/{config-1bmavh6p.js → websearch-n8msvv3r.js} +7 -7
- package/dist/chunks/{config-jefma2gq.js → websearch-nbddwgy7.js} +10 -10
- package/dist/chunks/{config-6m1eqfa8.js → websearch-nq6mme1h.js} +9 -9
- package/dist/chunks/{config-0ss0418f.js → websearch-nsgtnfv3.js} +22 -22
- package/dist/chunks/{config-5kptn8c0.js → websearch-p1wf2k30.js} +9 -9
- package/dist/chunks/{config-kjsr3m9q.js → websearch-p41181a2.js} +10 -10
- package/dist/chunks/{config-paegk39x.js → websearch-paegk39x.js} +1 -1
- package/dist/chunks/{config-70fmpgwx.js → websearch-pfqqfqdz.js} +4 -4
- package/dist/chunks/{config-aswydtf6.js → websearch-pgqwvc05.js} +27 -27
- package/dist/chunks/{config-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{config-64gy2aef.js → websearch-pmc9emny.js} +43 -43
- package/dist/chunks/{config-an7cqtb7.js → websearch-pmr4s4kc.js} +4 -4
- package/dist/chunks/{config-qzyzax4f.js → websearch-psq9ezjm.js} +11 -11
- package/dist/chunks/{config-fq03nfpt.js → websearch-pwhfzjn6.js} +4 -4
- package/dist/chunks/{config-6h3kda3t.js → websearch-px4zejfa.js} +9 -9
- package/dist/chunks/{config-z2qbjhyn.js → websearch-q4fmv0xv.js} +5 -5
- package/dist/chunks/{config-eeke5b1b.js → websearch-q4jfn25e.js} +4 -4
- package/dist/chunks/{config-dr3kpc4j.js → websearch-qc9721hg.js} +3 -3
- package/dist/chunks/{config-595h6ds1.js → websearch-qhf0djj0.js} +8 -8
- package/dist/chunks/{config-fm2qvscf.js → websearch-qm0v3jhh.js} +7 -7
- package/dist/chunks/{config-jdqkc47c.js → websearch-qnpzwfyv.js} +40 -40
- package/dist/chunks/{config-y8m4913b.js → websearch-qpw72wst.js} +32 -32
- package/dist/chunks/{config-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{config-2h688s1b.js → websearch-rgz11k33.js} +3 -3
- package/dist/chunks/{config-qh3g5vy3.js → websearch-s0z04k8w.js} +11 -11
- package/dist/chunks/{config-k9msfnd5.js → websearch-s3bcnxj7.js} +15 -15
- package/dist/chunks/{config-eaj1djv9.js → websearch-s8d7rejh.js} +6 -6
- package/dist/chunks/{config-d2aac7k2.js → websearch-s8zy8myc.js} +5 -5
- package/dist/chunks/{config-sdtja0vv.js → websearch-snnskafs.js} +5 -5
- package/dist/chunks/{config-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{config-rmxfyypy.js → websearch-texzms63.js} +9 -9
- package/dist/chunks/{config-qvq50n5y.js → websearch-thbkm2hy.js} +39 -39
- package/dist/chunks/{config-9m00pm0q.js → websearch-tm3xsw7s.js} +24 -24
- package/dist/chunks/{config-brxdqda1.js → websearch-tmhsdwgv.js} +72 -25
- package/dist/chunks/{config-16ka791j.js → websearch-tnrgf8qg.js} +24 -24
- package/dist/chunks/{config-8kw6wws5.js → websearch-ts0zqzjb.js} +152 -152
- package/dist/chunks/{config-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{config-46k8jh69.js → websearch-tw3swqcv.js} +6 -6
- package/dist/chunks/websearch-v1faaxn9.js +18 -0
- package/dist/chunks/{config-9eec6gj3.js → websearch-v2mmqvh7.js} +5 -5
- package/dist/chunks/{config-avakt016.js → websearch-v3m4c232.js} +16 -16
- package/dist/chunks/{config-cmwkp3r5.js → websearch-v4hmzr0r.js} +8 -8
- package/dist/chunks/{config-27q3k98w.js → websearch-vbdsxtwt.js} +9 -9
- package/dist/chunks/{config-6nwx2zxy.js → websearch-vdkcs6ev.js} +20 -20
- package/dist/chunks/{config-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{config-mhz3pcww.js → websearch-vk8krtfx.js} +6 -6
- package/dist/chunks/{config-fa0cr6zp.js → websearch-vnk6y1a3.js} +3 -3
- package/dist/chunks/{config-ncydacn5.js → websearch-vt76p1zz.js} +15 -15
- package/dist/chunks/{config-ytmtmg8c.js → websearch-vv1rytwg.js} +22 -22
- package/dist/chunks/{config-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-k7d0894y.js → websearch-w12rp218.js} +3 -3
- package/dist/chunks/{config-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-w79zsp0s.js → websearch-w79zsp0s.js} +1 -1
- package/dist/chunks/{config-h6bavb35.js → websearch-w7ec13p8.js} +8 -8
- package/dist/chunks/{config-9cc1d2dv.js → websearch-wcjyc11q.js} +4 -4
- package/dist/chunks/{config-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{config-a76rpznm.js → websearch-wgwah134.js} +16 -16
- package/dist/chunks/{config-8qk9tw02.js → websearch-wpmdzrrb.js} +1 -1
- package/dist/chunks/{config-fnbgnbzv.js → websearch-wpmye8b7.js} +293 -293
- package/dist/chunks/{config-z3q09gkz.js → websearch-wqjxxe4w.js} +17 -17
- package/dist/chunks/{config-0ke0pmzz.js → websearch-wrfwz8fz.js} +15 -15
- package/dist/chunks/{config-77hyqjn8.js → websearch-wsm6apwn.js} +19 -19
- package/dist/chunks/{config-ave3hafy.js → websearch-wvrt9hy9.js} +18 -18
- package/dist/chunks/{config-rzpkkh53.js → websearch-wx5m0ks4.js} +27 -27
- package/dist/chunks/{config-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-x43y2vfs.js → websearch-x43y2vfs.js} +2 -2
- package/dist/chunks/{config-t9e6e84n.js → websearch-xkjyxwdt.js} +1 -1
- package/dist/chunks/{config-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-c0hqkr96.js → websearch-y1p6v3bq.js} +15 -15
- package/dist/chunks/{config-09d0879q.js → websearch-y3tv5ajv.js} +22 -22
- package/dist/chunks/{config-j3nfxkmh.js → websearch-y5ydn9hy.js} +14 -14
- package/dist/chunks/{config-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{config-njmpc6zs.js → websearch-ynatkf7q.js} +9 -9
- package/dist/chunks/{config-yp2x3t23.js → websearch-yp2x3t23.js} +1 -1
- package/dist/chunks/{config-sys0fgg0.js → websearch-yqp1h1jz.js} +12 -12
- package/dist/chunks/{config-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{config-bty8pd59.js → websearch-yv5eknx8.js} +46 -46
- package/dist/chunks/{config-5wxd9yx9.js → websearch-yw0264dm.js} +13 -13
- package/dist/chunks/{config-ae18dp5m.js → websearch-z0b94crh.js} +15 -15
- package/dist/chunks/{config-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-jt79ytas.js → websearch-z63466qb.js} +14 -14
- package/dist/chunks/{config-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{config-g2cy8dr6.js → websearch-zebjdrv3.js} +7 -7
- package/dist/chunks/{config-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-tayfb0c8.js → websearch-zg18cws0.js} +33 -33
- package/dist/chunks/{config-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -352
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +76 -76
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +72 -72
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -0
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +98 -98
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/provider/poe.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +81 -81
- package/package.json +8 -8
- package/dist/chunks/config-9sh4wc5j.js +0 -18
- package/dist/chunks/config-x0r8f7ss.js +0 -22
- package/dist/chunks/config-xr5bxs3t.js +0 -247
- /package/dist/chunks/{config-0mesazry.js → websearch-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a1tpkmh4.js → websearch-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-paphc93g.js → websearch-paphc93g.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info29 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info29, SessionSchema2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-b14zgdmq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./websearch-wgwah134.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service54,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node57
|
|
16
|
+
} from "./websearch-y1p6v3bq.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node22
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service54;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node22 = makeLocationNode({
|
|
274
|
+
service: Service19,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node80, node57]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service19, node22, exports_pty, Event4 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./websearch-wgwah134.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./websearch-tm3xsw7s.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service16
|
|
16
|
+
} from "./websearch-a26eawhe.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-2k3rbpfn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./websearch-thbkm2hy.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service18
|
|
29
|
+
} from "./websearch-h1v3nefe.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./websearch-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin26,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin26 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service48;
|
|
90
|
+
const ripgrep = yield* Service16;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service18;
|
|
93
|
+
const permission = yield* Service70;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin35 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin35 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output7, toModelContent5, Plugin26, exports_grep };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./websearch-thbkm2hy.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin28,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin28 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service70;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description4,
|
|
104
|
-
input:
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin42 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin28, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin29,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin29 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -74,4 +74,4 @@ var Plugin38 = {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export { RenameInput2, MoveInput2,
|
|
77
|
+
export { RenameInput2, MoveInput2, Plugin29, exports_opencode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service51,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node54
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service51 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service51.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node54 = makeLocationNode({ service: Service51, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51, node54, exports_image2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
node51
|
|
7
|
+
} from "./websearch-tm3xsw7s.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service48;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node51] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-91nhymbr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./websearch-3c1tgrea.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-v1faaxn9.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-paegk39x.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-55w4pjk1.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-pgqwvc05.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./websearch-0tcdq60f.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service41;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node10 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node10, exports_update };
|