@opencode/core 0.0.0-dev-19323 → 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 +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{formatter-2re99ccz.js → websearch-05teyaep.js} +15 -15
- package/dist/chunks/{formatter-9aw1sd75.js → websearch-06mrgcsv.js} +27 -27
- package/dist/chunks/{formatter-nxm2phx8.js → websearch-0a2dwfaw.js} +11 -11
- package/dist/chunks/{formatter-9ph45b3w.js → websearch-0g3br09g.js} +4 -4
- package/dist/chunks/websearch-0mesazry.js +4 -0
- package/dist/chunks/{formatter-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-8zt8zdpt.js → websearch-0s4fbnn3.js} +31 -31
- package/dist/chunks/{formatter-wf7cxbta.js → websearch-0tcdq60f.js} +84 -84
- package/dist/chunks/{formatter-aatmr98r.js → websearch-0xepr98t.js} +43 -43
- package/dist/chunks/{formatter-4wxgrd29.js → websearch-15sfvttd.js} +6 -6
- package/dist/chunks/{formatter-x0511brf.js → websearch-18e56dsp.js} +4 -4
- package/dist/chunks/{formatter-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-1dfhrqqs.js → websearch-1dfhrqqs.js} +2 -2
- package/dist/chunks/{formatter-nwd5g3n7.js → websearch-1rr79kmz.js} +12 -12
- package/dist/chunks/{formatter-nvwrp1re.js → websearch-1ry9mraq.js} +6 -6
- package/dist/chunks/{formatter-yzxhg32c.js → websearch-1wyvekfz.js} +11 -11
- package/dist/chunks/{formatter-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-pj6fq5pb.js → websearch-285x9q22.js} +18 -18
- package/dist/chunks/{formatter-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-x6erhwpm.js → websearch-2h9na2de.js} +28 -28
- package/dist/chunks/{formatter-4vbphvac.js → websearch-2jeyz3kj.js} +24 -24
- package/dist/chunks/{formatter-j6mvre0g.js → websearch-2k3rbpfn.js} +21 -21
- package/dist/chunks/{formatter-5zrbqe2b.js → websearch-2mn4c47k.js} +16 -16
- package/dist/chunks/{formatter-xsdh20fb.js → websearch-2pxk13gr.js} +5 -5
- package/dist/chunks/{formatter-0zmbch9c.js → websearch-2za57jae.js} +26 -26
- package/dist/chunks/{formatter-vykq01h1.js → websearch-334rw752.js} +24 -24
- package/dist/chunks/{formatter-7czvajng.js → websearch-378w8nm6.js} +26 -26
- package/dist/chunks/{formatter-2f0bjgcj.js → websearch-37s12vcn.js} +5 -5
- package/dist/chunks/{formatter-4gaxfmfs.js → websearch-387ejgms.js} +13 -13
- package/dist/chunks/{formatter-rstnkd3y.js → websearch-38c819ax.js} +1 -1
- package/dist/chunks/{formatter-mqh1m71v.js → websearch-3afex4r4.js} +6 -6
- package/dist/chunks/{formatter-d9mhv265.js → websearch-3btp5q3h.js} +7 -7
- package/dist/chunks/{formatter-kzd68pqg.js → websearch-3c1tgrea.js} +5 -5
- package/dist/chunks/{formatter-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-rdz329w6.js → websearch-3ykjgsne.js} +15 -15
- package/dist/chunks/{formatter-6s6gjz7c.js → websearch-44rs3ysg.js} +10 -10
- package/dist/chunks/{formatter-5hzqjfjf.js → websearch-4819gndr.js} +14 -14
- package/dist/chunks/{formatter-b7c0s4y2.js → websearch-48hhwy5w.js} +36 -36
- package/dist/chunks/{formatter-ax3qyspe.js → websearch-4crvm9b8.js} +10 -10
- package/dist/chunks/{formatter-qkcr7fg6.js → websearch-4f3vmzpw.js} +20 -20
- package/dist/chunks/{formatter-gv6qs0q8.js → websearch-4g5898cq.js} +6 -6
- package/dist/chunks/{formatter-hmq6fc40.js → websearch-4zap2cj4.js} +11 -11
- package/dist/chunks/{formatter-yjhz1ss9.js → websearch-55w4pjk1.js} +8 -8
- package/dist/chunks/{formatter-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
- package/dist/chunks/{formatter-svnm6nqs.js → websearch-5771e8zs.js} +37 -33
- package/dist/chunks/{formatter-24yrwg43.js → websearch-57b6xfzc.js} +19 -19
- package/dist/chunks/{formatter-sxtajyff.js → websearch-59ksr2n4.js} +9 -9
- package/dist/chunks/{formatter-dkp9jbyh.js → websearch-5c083vn1.js} +16 -16
- package/dist/chunks/{formatter-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-bn7csmb0.js → websearch-5k7yj39d.js} +47 -47
- package/dist/chunks/{formatter-s2vccmkj.js → websearch-5pfbsr5q.js} +28 -28
- package/dist/chunks/{formatter-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-507eqkq3.js → websearch-6311qrfs.js} +11 -11
- package/dist/chunks/{formatter-h2r7bbkd.js → websearch-63zbbs1j.js} +8 -8
- package/dist/chunks/{formatter-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{formatter-w1fjdxqa.js → websearch-690jvt19.js} +16 -16
- package/dist/chunks/{formatter-2z1344gj.js → websearch-6cstqhfs.js} +3 -3
- package/dist/chunks/{formatter-2402vzrj.js → websearch-6h73sxmp.js} +5 -5
- package/dist/chunks/{formatter-6jnybvqn.js → websearch-6jnybvqn.js} +2 -2
- package/dist/chunks/{formatter-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-7eze2gq5.js → websearch-6xfhf4kq.js} +30 -30
- package/dist/chunks/{formatter-71q4at8m.js → websearch-71q4at8m.js} +1 -1
- package/dist/chunks/{formatter-4b6bntqd.js → websearch-74x46t3v.js} +1 -1
- package/dist/chunks/{formatter-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-6ef2pfss.js → websearch-7c2n2wee.js} +15 -15
- package/dist/chunks/{formatter-jg7bke4g.js → websearch-7ced988x.js} +20 -20
- package/dist/chunks/websearch-7cjemnxc.js +247 -0
- package/dist/chunks/{formatter-fcrkznn8.js → websearch-7dqw4kz8.js} +5 -5
- package/dist/chunks/{formatter-vjdqq2ps.js → websearch-7fdaqwq5.js} +11 -11
- package/dist/chunks/{formatter-00832hy7.js → websearch-7j2qha59.js} +8 -8
- package/dist/chunks/{formatter-fewmpqq2.js → websearch-7qs6vq0e.js} +33 -33
- package/dist/chunks/{formatter-a2rjx51z.js → websearch-7rj90sty.js} +13 -13
- package/dist/chunks/{formatter-2kahp3dy.js → websearch-7y65vrff.js} +15 -15
- package/dist/chunks/{formatter-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-sa2p75cm.js → websearch-8kbbh0w1.js} +9 -9
- package/dist/chunks/{formatter-q3m0pvtr.js → websearch-8m2ckye2.js} +23 -23
- package/dist/chunks/{formatter-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-t8bhz2vr.js → websearch-8sghyhzw.js} +8 -8
- package/dist/chunks/{formatter-y7sdqeac.js → websearch-91nhymbr.js} +3 -3
- package/dist/chunks/{formatter-tnt0rc0p.js → websearch-93xwxhm0.js} +18 -18
- package/dist/chunks/{formatter-jtp7wgq3.js → websearch-942f7qpg.js} +6 -6
- package/dist/chunks/{formatter-ydmx1k2a.js → websearch-97hvk7xq.js} +24 -24
- package/dist/chunks/{formatter-bkb79wpa.js → websearch-99etmp5d.js} +5 -5
- package/dist/chunks/{formatter-pjmw00w1.js → websearch-9pv0dm11.js} +7 -7
- package/dist/chunks/{formatter-4999spj6.js → websearch-a0gcm80g.js} +26 -26
- package/dist/chunks/{formatter-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-swg097y1.js → websearch-a26eawhe.js} +14 -14
- package/dist/chunks/{formatter-sdewe3f0.js → websearch-a55gzx1a.js} +20 -20
- package/dist/chunks/{formatter-67kygeqd.js → websearch-a5wtfydr.js} +4 -4
- package/dist/chunks/{formatter-3sv4a4je.js → websearch-a81kw550.js} +25 -25
- package/dist/chunks/{formatter-jw80jp6b.js → websearch-a8bn8zg0.js} +4 -4
- package/dist/chunks/{formatter-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-v13qk5h6.js → websearch-ab2dwfas.js} +35 -35
- package/dist/chunks/{formatter-2ymxn29j.js → websearch-afe7vqbt.js} +22 -22
- package/dist/chunks/{formatter-3swc72ss.js → websearch-afsmvzt6.js} +25 -25
- package/dist/chunks/{formatter-jz0y62hq.js → websearch-arebr1bt.js} +57 -57
- package/dist/chunks/{formatter-54r2pn5z.js → websearch-arm85r5x.js} +4 -4
- package/dist/chunks/{formatter-15v2jbpx.js → websearch-arvb0n3z.js} +14 -14
- package/dist/chunks/{formatter-p5reg5b3.js → websearch-asgy4dhx.js} +20 -20
- package/dist/chunks/{formatter-w8bn9h5m.js → websearch-atr43f13.js} +28 -28
- package/dist/chunks/{formatter-snkd7br7.js → websearch-b0g171hr.js} +27 -27
- package/dist/chunks/{formatter-8fawk0wq.js → websearch-b14zgdmq.js} +4 -4
- package/dist/chunks/{formatter-6xkfsm7b.js → websearch-b5bq914g.js} +11 -11
- package/dist/chunks/{formatter-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-b0stxe20.js → websearch-b6msbg5e.js} +9 -9
- package/dist/chunks/{formatter-5zx2pz03.js → websearch-b7y488fd.js} +5 -5
- package/dist/chunks/{formatter-pm66mswd.js → websearch-bdpr0v97.js} +20 -20
- package/dist/chunks/{formatter-x77360f3.js → websearch-begapzgx.js} +25 -25
- package/dist/chunks/{formatter-dep21bfz.js → websearch-bv56xrks.js} +4 -4
- package/dist/chunks/{formatter-j08z5txv.js → websearch-bvxtbtxk.js} +17 -17
- package/dist/chunks/{formatter-cmaetz9z.js → websearch-byj39j9m.js} +11 -11
- package/dist/chunks/{formatter-jakejc1k.js → websearch-bzad7s1k.js} +35 -35
- package/dist/chunks/{formatter-km6tcm3q.js → websearch-c3a448g7.js} +43 -43
- package/dist/chunks/{formatter-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-gkammdw2.js → websearch-cg8jeepg.js} +78 -78
- package/dist/chunks/{formatter-05dy3mmw.js → websearch-cgkzk7v5.js} +32 -32
- package/dist/chunks/{formatter-e93dqa41.js → websearch-cw1zpsft.js} +44 -44
- package/dist/chunks/{formatter-jqb8tpfq.js → websearch-d0arqfyn.js} +2 -2
- package/dist/chunks/{formatter-d0b9w6zn.js → websearch-d39vvv45.js} +14 -14
- package/dist/chunks/{formatter-p72z5xx6.js → websearch-d9sn21bc.js} +2 -2
- package/dist/chunks/{formatter-spqcpneg.js → websearch-dcse214k.js} +6 -6
- package/dist/chunks/{formatter-0rz3ymjm.js → websearch-dgksc2sd.js} +30 -30
- package/dist/chunks/{formatter-tfkarycn.js → websearch-dq0shdwz.js} +10 -10
- package/dist/chunks/{formatter-hz7rxrk4.js → websearch-dqvx4yr7.js} +15 -15
- package/dist/chunks/{formatter-6ppv86n3.js → websearch-e1e4502e.js} +24 -24
- package/dist/chunks/{formatter-58gq70n5.js → websearch-e5xzc49q.js} +9 -9
- package/dist/chunks/websearch-e7cwfed2.js +22 -0
- package/dist/chunks/{formatter-mhkvc446.js → websearch-eq1pz5kg.js} +3 -3
- package/dist/chunks/{formatter-9zyah8pv.js → websearch-eshaqmyj.js} +29 -29
- package/dist/chunks/{formatter-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/websearch-evbegrn7.js +123 -0
- package/dist/chunks/{formatter-yyaa3q2x.js → websearch-ez5ddhv1.js} +7 -7
- package/dist/chunks/{formatter-85tfjvz5.js → websearch-f5w8syvq.js} +30 -30
- package/dist/chunks/{formatter-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-78hqr335.js → websearch-f9tgbxqd.js} +4 -4
- package/dist/chunks/{formatter-y4zwryx6.js → websearch-ffypkg10.js} +11 -11
- package/dist/chunks/{formatter-kfpqrvxm.js → websearch-fj63e0d3.js} +14 -14
- package/dist/chunks/{formatter-3vq9ncec.js → websearch-fkazv5r1.js} +40 -42
- package/dist/chunks/{formatter-608425eb.js → websearch-fmayke6d.js} +10 -10
- package/dist/chunks/{formatter-2q8hwwwc.js → websearch-fpv6qd1b.js} +11 -11
- package/dist/chunks/{formatter-t8r3ep1g.js → websearch-fqvj2kck.js} +5 -5
- package/dist/chunks/{formatter-2g93c721.js → websearch-fsk7wvm8.js} +16 -16
- package/dist/chunks/{formatter-dsxwnv8x.js → websearch-fve1bw57.js} +24 -24
- package/dist/chunks/{formatter-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-jy5b41x9.js → websearch-g00y01sj.js} +30 -30
- package/dist/chunks/{formatter-1s5bbqd2.js → websearch-g82gzaec.js} +5 -5
- package/dist/chunks/{formatter-aasq3zsm.js → websearch-gc8yf83v.js} +13 -13
- package/dist/chunks/{formatter-hden6f01.js → websearch-gcd0ehtm.js} +24 -24
- package/dist/chunks/{formatter-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-gdvy8fx6.js → websearch-gdvy8fx6.js} +1 -1
- package/dist/chunks/{formatter-d481hhja.js → websearch-gh7c7re6.js} +27 -27
- package/dist/chunks/{formatter-dkg5h5h7.js → websearch-gm67693k.js} +38 -38
- package/dist/chunks/{formatter-th5km1p3.js → websearch-gv6a8nnw.js} +5 -5
- package/dist/chunks/{formatter-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-xnqgmrgw.js → websearch-h1v3nefe.js} +18 -18
- package/dist/chunks/{formatter-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-bha4atvq.js → websearch-hfdr1yjj.js} +4 -4
- package/dist/chunks/{formatter-e82z9tr0.js → websearch-hjt4xg1x.js} +7 -7
- package/dist/chunks/{formatter-hn57h045.js → websearch-hn57h045.js} +1 -1
- package/dist/chunks/{formatter-qte5z7bc.js → websearch-hnr5yq9h.js} +5 -5
- package/dist/chunks/{formatter-z817eph2.js → websearch-hqnfm370.js} +11 -11
- package/dist/chunks/{formatter-ss0awb04.js → websearch-j15mfg1p.js} +4 -4
- package/dist/chunks/{formatter-wzz0kxab.js → websearch-j311gd59.js} +4 -4
- package/dist/chunks/{formatter-f464wbzp.js → websearch-j4ddpc5s.js} +11 -11
- package/dist/chunks/{formatter-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-2f04pwep.js → websearch-j7wq2tw5.js} +3 -3
- package/dist/chunks/{formatter-g1qe0q0d.js → websearch-ja84z3n9.js} +32 -32
- package/dist/chunks/{formatter-9tv941ec.js → websearch-jj6bfmkc.js} +35 -35
- package/dist/chunks/{formatter-8stavsj4.js → websearch-jvd3y3k4.js} +20 -20
- package/dist/chunks/{formatter-k52252t7.js → websearch-jwjk52g2.js} +4 -4
- package/dist/chunks/{formatter-7t5cqd0r.js → websearch-jx8g4evx.js} +9 -9
- package/dist/chunks/{formatter-z2g5x8r4.js → websearch-k6kbb44b.js} +13 -13
- package/dist/chunks/{formatter-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{formatter-fmwg5sj2.js → websearch-kj5sb4b2.js} +12 -12
- package/dist/chunks/{formatter-9zswys26.js → websearch-kpvyk30t.js} +9 -9
- package/dist/chunks/{formatter-b2jx7zxs.js → websearch-kqddbhjm.js} +1 -1
- package/dist/chunks/{formatter-380vjcmd.js → websearch-ktbdk3tc.js} +1 -1
- package/dist/chunks/{formatter-2m5q4n8f.js → websearch-kwb21ekm.js} +46 -46
- package/dist/chunks/{formatter-d1kz70d9.js → websearch-kww9schw.js} +10 -10
- package/dist/chunks/{formatter-m5gt6gr4.js → websearch-m5mdrn9p.js} +21 -21
- package/dist/chunks/{formatter-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-3mea1sze.js → websearch-mj2kz0jy.js} +11 -11
- package/dist/chunks/{formatter-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
- package/dist/chunks/{formatter-ezkasqsa.js → websearch-mqhpj7pr.js} +15 -15
- package/dist/chunks/{formatter-2nbt55tc.js → websearch-mvdg3mfe.js} +8 -8
- package/dist/chunks/{formatter-zbgrd7e9.js → websearch-n5vnxzpd.js} +1 -1
- package/dist/chunks/{formatter-63bt3mag.js → websearch-n6qqmqgy.js} +2 -2
- package/dist/chunks/{formatter-77tatc9x.js → websearch-n8msvv3r.js} +10 -10
- package/dist/chunks/{formatter-7zdm33ac.js → websearch-nbddwgy7.js} +10 -10
- package/dist/chunks/{formatter-xgwcrf73.js → websearch-nq6mme1h.js} +6 -6
- package/dist/chunks/{formatter-zy6n9aja.js → websearch-nsgtnfv3.js} +22 -22
- package/dist/chunks/{formatter-p1wf2k30.js → websearch-p1wf2k30.js} +2 -2
- package/dist/chunks/{formatter-ke5bg3pe.js → websearch-p41181a2.js} +10 -10
- package/dist/chunks/{formatter-paegk39x.js → websearch-paegk39x.js} +1 -1
- package/dist/chunks/{formatter-nek9n16k.js → websearch-pfqqfqdz.js} +4 -4
- package/dist/chunks/{formatter-rndh4q5e.js → websearch-pgqwvc05.js} +32 -32
- package/dist/chunks/{formatter-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-reydm93y.js → websearch-pmc9emny.js} +41 -41
- package/dist/chunks/{formatter-pmr4s4kc.js → websearch-pmr4s4kc.js} +1 -1
- package/dist/chunks/{formatter-at0srrj9.js → websearch-psq9ezjm.js} +17 -17
- package/dist/chunks/{formatter-pbxc810x.js → websearch-pwhfzjn6.js} +4 -4
- package/dist/chunks/{formatter-44c3xn2h.js → websearch-px4zejfa.js} +9 -9
- package/dist/chunks/{formatter-2cmv458r.js → websearch-q4fmv0xv.js} +5 -5
- package/dist/chunks/{formatter-h1n238ac.js → websearch-q4jfn25e.js} +4 -4
- package/dist/chunks/{formatter-mhj2gpj9.js → websearch-qc9721hg.js} +3 -3
- package/dist/chunks/{formatter-jbfk6qbe.js → websearch-qhf0djj0.js} +8 -8
- package/dist/chunks/{formatter-v5dkyp31.js → websearch-qm0v3jhh.js} +7 -7
- package/dist/chunks/{formatter-mmtbb532.js → websearch-qnpzwfyv.js} +37 -37
- package/dist/chunks/{formatter-fbv7gz6y.js → websearch-qpw72wst.js} +32 -32
- package/dist/chunks/{formatter-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-apjqksq4.js → websearch-rgz11k33.js} +3 -3
- package/dist/chunks/{formatter-mvb3ydwb.js → websearch-s0z04k8w.js} +11 -11
- package/dist/chunks/{formatter-5fs2kqn8.js → websearch-s3bcnxj7.js} +15 -15
- package/dist/chunks/{formatter-eaj1djv9.js → websearch-s8d7rejh.js} +6 -6
- package/dist/chunks/{formatter-p44d8wdy.js → websearch-s8zy8myc.js} +5 -5
- package/dist/chunks/{formatter-cap7pekz.js → websearch-snnskafs.js} +5 -5
- package/dist/chunks/{formatter-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-fcmtdmz7.js → websearch-texzms63.js} +9 -9
- package/dist/chunks/{formatter-dyjcz8ay.js → websearch-thbkm2hy.js} +38 -38
- package/dist/chunks/{formatter-v2e5xjra.js → websearch-tm3xsw7s.js} +24 -24
- package/dist/chunks/{formatter-y1jmkgm7.js → websearch-tmhsdwgv.js} +72 -25
- package/dist/chunks/{formatter-56n5z1rw.js → websearch-tnrgf8qg.js} +24 -24
- package/dist/chunks/{formatter-rbbz2e5e.js → websearch-ts0zqzjb.js} +169 -169
- package/dist/chunks/{formatter-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-1dxndaps.js → websearch-tw3swqcv.js} +6 -6
- package/dist/chunks/{formatter-v1faaxn9.js → websearch-v1faaxn9.js} +1 -1
- package/dist/chunks/{formatter-k6f2n2fy.js → websearch-v2mmqvh7.js} +5 -5
- package/dist/chunks/{formatter-ptdz73pj.js → websearch-v3m4c232.js} +14 -14
- package/dist/chunks/{formatter-844ef7ks.js → websearch-v4hmzr0r.js} +8 -8
- package/dist/chunks/{formatter-85w66kng.js → websearch-vbdsxtwt.js} +9 -9
- package/dist/chunks/{formatter-h11qs7jk.js → websearch-vdkcs6ev.js} +17 -17
- package/dist/chunks/{formatter-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-69vs0mm5.js → websearch-vk8krtfx.js} +6 -6
- package/dist/chunks/{formatter-7ybwwvvx.js → websearch-vnk6y1a3.js} +3 -3
- package/dist/chunks/{formatter-6cybjkxz.js → websearch-vt76p1zz.js} +15 -15
- package/dist/chunks/{formatter-15cfnja2.js → websearch-vv1rytwg.js} +23 -23
- package/dist/chunks/{formatter-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-k7d0894y.js → websearch-w12rp218.js} +3 -3
- package/dist/chunks/{formatter-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-w79zsp0s.js → websearch-w79zsp0s.js} +1 -1
- package/dist/chunks/{formatter-ft2ydrms.js → websearch-w7ec13p8.js} +8 -8
- package/dist/chunks/{formatter-456sctqq.js → websearch-wcjyc11q.js} +8 -8
- package/dist/chunks/{formatter-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-as2ntxq9.js → websearch-wgwah134.js} +16 -16
- package/dist/chunks/{formatter-q1c4k7jk.js → websearch-wpmdzrrb.js} +1 -1
- package/dist/chunks/{formatter-90wxkfyp.js → websearch-wpmye8b7.js} +292 -292
- package/dist/chunks/{formatter-4bajp7bm.js → websearch-wqjxxe4w.js} +17 -17
- package/dist/chunks/{formatter-v219cx7c.js → websearch-wrfwz8fz.js} +15 -15
- package/dist/chunks/{formatter-bjkwvj0b.js → websearch-wsm6apwn.js} +19 -19
- package/dist/chunks/{formatter-feyq9nz9.js → websearch-wvrt9hy9.js} +18 -18
- package/dist/chunks/{formatter-dmec30x4.js → websearch-wx5m0ks4.js} +27 -27
- package/dist/chunks/{formatter-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-x43y2vfs.js → websearch-x43y2vfs.js} +2 -2
- package/dist/chunks/{formatter-kcwf74x3.js → websearch-xkjyxwdt.js} +1 -1
- package/dist/chunks/{formatter-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-wpdn7j4k.js → websearch-y1p6v3bq.js} +13 -13
- package/dist/chunks/{formatter-c2p1vz36.js → websearch-y3tv5ajv.js} +18 -18
- package/dist/chunks/{formatter-1djm1bap.js → websearch-y5ydn9hy.js} +14 -14
- package/dist/chunks/{formatter-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-fythdanz.js → websearch-ynatkf7q.js} +9 -9
- package/dist/chunks/{formatter-yp2x3t23.js → websearch-yp2x3t23.js} +1 -1
- package/dist/chunks/{formatter-j3xb24h1.js → websearch-yqp1h1jz.js} +18 -18
- package/dist/chunks/{formatter-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-eesadx08.js → websearch-yv5eknx8.js} +50 -50
- package/dist/chunks/{formatter-c23pbdtg.js → websearch-yw0264dm.js} +13 -13
- package/dist/chunks/{formatter-6nm7gc1x.js → websearch-z0b94crh.js} +17 -17
- package/dist/chunks/{formatter-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-x0sgqvmj.js → websearch-z63466qb.js} +14 -14
- package/dist/chunks/{formatter-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-x1vyefq1.js → websearch-zebjdrv3.js} +7 -7
- package/dist/chunks/{formatter-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-kr779903.js → websearch-zg18cws0.js} +31 -31
- package/dist/chunks/{formatter-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- 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 +360 -359
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- 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 +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +7 -7
- 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 +3 -3
- package/dist/instance.js +351 -350
- package/dist/instruction-discovery.js +83 -83
- 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 +86 -86
- 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 +83 -83
- 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 +103 -103
- package/dist/mcp/instructions.js +122 -122
- 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 +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- 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 +86 -86
- 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 +5 -5
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- 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 +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -338
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +6 -6
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +129 -129
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- 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 +1 -1
- 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 +119 -119
- 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 +5 -5
- package/dist/session/title.js +149 -149
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- 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 +3 -3
- 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 +1 -1
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/formatter-gbadjzag.js +0 -4
- package/dist/chunks/formatter-xyxwga5q.js +0 -22
- package/dist/chunks/formatter-y4zsdjyj.js +0 -247
- /package/dist/chunks/{formatter-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a1tpkmh4.js → websearch-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-paphc93g.js → websearch-paphc93g.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./websearch-c3a448g7.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./websearch-tm3xsw7s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./websearch-wqjxxe4w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./websearch-thbkm2hy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-h1v3nefe.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service54,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-y1p6v3bq.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service44
|
|
37
|
+
} from "./websearch-5k7yj39d.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./websearch-cg8jeepg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./websearch-pfqqfqdz.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./websearch-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin19,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin19 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service23;
|
|
122
|
+
const jobs = yield* Service43;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service48;
|
|
125
|
+
const access = yield* Service18;
|
|
126
|
+
const shell = yield* Service44;
|
|
127
|
+
const shellSelect = yield* Service54;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service70;
|
|
130
|
+
const config = yield* Service46;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin35 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name2,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin35 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name2,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input2,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin35 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name2,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name2];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin19, exports_shell2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-b14zgdmq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service17,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./websearch-7qs6vq0e.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
17
|
+
const modelsDev = yield* Service17;
|
|
18
18
|
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
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
|
-
var
|
|
14
|
+
var Plugin42 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin14 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin42, exports_mcp_codemode_exclusion };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service56.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node59 = makeLocationNode({
|
|
143
|
+
service: Service56,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service56, node59, exports_tool_output2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-pwhfzjn6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-942f7qpg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service53,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node56
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID8,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service53 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service53.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node56 = makeLocationNode({ service: Service53, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service53, locationLayer2, node56, exports_aisdk };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-b14zgdmq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./websearch-942f7qpg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID5
|
|
9
|
+
} from "./websearch-arvb0n3z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event20
|
|
12
|
+
} from "./websearch-dgksc2sd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID6
|
|
15
|
+
} from "./websearch-g00y01sj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service57
|
|
18
|
+
} from "./websearch-begapzgx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./websearch-yqp1h1jz.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID8.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service57;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID5.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
Service72
|
|
4
|
-
} from "./formatter-bjkwvj0b.js";
|
|
5
|
-
import {
|
|
2
|
+
ID14,
|
|
6
3
|
Service73
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./websearch-wsm6apwn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service75
|
|
7
|
+
} from "./websearch-wgwah134.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service46
|
|
10
|
+
} from "./websearch-c3a448g7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service54,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-y1p6v3bq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./websearch-cg8jeepg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./websearch-j4ddpc5s.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin15
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin15 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service46;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin19 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service75;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service54;
|
|
60
|
+
const sessions = yield* Service23;
|
|
61
|
+
const agents = yield* Service73;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin19 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin15, exports_command };
|