@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,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-b14zgdmq.js";
|
|
5
|
+
import {
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./websearch-nbddwgy7.js";
|
|
5
9
|
import {
|
|
6
10
|
Service75,
|
|
7
11
|
node80
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service73,
|
|
11
|
-
node78
|
|
12
|
-
} from "./formatter-as2ntxq9.js";
|
|
12
|
+
} from "./websearch-wgwah134.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-v1faaxn9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service47,
|
|
18
|
+
node50
|
|
19
|
+
} from "./websearch-nsgtnfv3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./websearch-mqhpj7pr.js";
|
|
23
23
|
import {
|
|
24
24
|
Service9,
|
|
25
25
|
node12
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-p1wf2k30.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service47;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
51
|
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node50, FSUtil.node, node80, node82, node84, node23, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./websearch-tm3xsw7s.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service16,
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service16 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service48;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service16.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [node51, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service16, node19, exports_ripgrep };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./websearch-wsm6apwn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./websearch-63zbbs1j.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-q4jfn25e.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./websearch-c3a448g7.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin6
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin6 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service46;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin23 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID14.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID14.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin6, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-4zap2cj4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./websearch-942f7qpg.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./websearch-nsgtnfv3.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./websearch-wgwah134.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./websearch-c3a448g7.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./websearch-e1e4502e.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-6jnybvqn.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-vk8krtfx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin4
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin4 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service46;
|
|
43
43
|
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service47;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin32 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin32 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source3.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin32 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source3.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin32 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source3.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin32 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin4, exports_skill };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info12,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -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/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./websearch-wgwah134.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./websearch-tm3xsw7s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service16
|
|
15
|
+
} from "./websearch-a26eawhe.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-2k3rbpfn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service70
|
|
24
|
+
} from "./websearch-thbkm2hy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./websearch-h1v3nefe.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin22,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin22 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service48;
|
|
70
|
+
const ripgrep = yield* Service16;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service70;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin42 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent3, Plugin22, exports_glob };
|