@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-b14zgdmq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID7,
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError7,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service59,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node63,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID7 = Form.ID;
|
|
39
|
+
var Info21 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID7
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID7
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID7
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID7,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service59 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service59, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -89,7 +89,7 @@ var layer25 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
89
89
|
});
|
|
90
90
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID7.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service59.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node63 = makeLocationNode({ service: Service59, layer: layer25, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID7, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service59, layer25, node63, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./websearch-y3tv5ajv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./websearch-thbkm2hy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service59;
|
|
57
|
+
const permission = yield* Service70;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./websearch-wgwah134.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-asgy4dhx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin35 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service75;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin35, exports_hg };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-942f7qpg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID5,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info19,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-arvb0n3z.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID8.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID5.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID5.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info19.make({
|
|
92
|
+
...Info19.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID5.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-b14zgdmq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service78,
|
|
11
|
+
node83
|
|
12
|
+
} from "./websearch-dgksc2sd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./websearch-wgwah134.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node51
|
|
20
|
+
} from "./websearch-tm3xsw7s.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID7,
|
|
23
|
+
Service59,
|
|
24
|
+
node63
|
|
25
|
+
} from "./websearch-y3tv5ajv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID6,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service58,
|
|
34
|
+
node62
|
|
35
|
+
} from "./websearch-g00y01sj.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./websearch-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service29,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node33
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID6.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service48;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service59;
|
|
181
|
+
const integration = yield* Service58;
|
|
182
|
+
const credentials = yield* Service78;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID6.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID7.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service48, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service29.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service29,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node80, node51, node84, node63, node62, node83]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node33 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options5, layer14, configured5, node33, exports_mcp4 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./websearch-c3a448g7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./websearch-yv5eknx8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service46;
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin17, register2, exports_mcp };
|