@opencode/core 0.0.0-dev-21775 → 0.0.0-dev-21777
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 +80 -80
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{file-retention-zz0wb7w6.js → wellknown-04jxknxw.js} +28 -28
- package/dist/chunks/{file-retention-c2sed5cq.js → wellknown-08rawchj.js} +3 -3
- package/dist/chunks/{file-retention-jp659ej9.js → wellknown-0e55pn21.js} +9 -9
- package/dist/chunks/wellknown-0hg0mcp7.js +133 -0
- package/dist/chunks/{file-retention-30yerwvb.js → wellknown-0tjr8cgx.js} +35 -35
- package/dist/chunks/{file-retention-1z6jjy5p.js → wellknown-0vx028ky.js} +6 -6
- package/dist/chunks/{file-retention-jy12te0b.js → wellknown-0yg5t7s5.js} +10 -10
- package/dist/chunks/{file-retention-7zkdf223.js → wellknown-0zht2ra2.js} +13 -13
- package/dist/chunks/{file-retention-w46nxhz5.js → wellknown-156eqp0k.js} +7 -7
- package/dist/chunks/{file-retention-9qp5p8zq.js → wellknown-15npty3x.js} +15 -15
- package/dist/chunks/{file-retention-kmzgegqq.js → wellknown-160yv0cs.js} +8 -8
- package/dist/chunks/{file-retention-zt6m90gj.js → wellknown-1cdsvsw3.js} +11 -11
- package/dist/chunks/{file-retention-k6rztwfs.js → wellknown-1cxgtnbf.js} +21 -21
- package/dist/chunks/wellknown-1tzh2fwz.js +26 -0
- package/dist/chunks/{file-retention-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-xk76yr4x.js → wellknown-1yjfvzjr.js} +24 -24
- package/dist/chunks/{file-retention-ehw7gamr.js → wellknown-24hqqhtt.js} +35 -35
- package/dist/chunks/{file-retention-1ep2p91f.js → wellknown-27w5k9zf.js} +2 -2
- package/dist/chunks/{file-retention-t9bqp2qp.js → wellknown-2efa57sj.js} +7 -7
- package/dist/chunks/{file-retention-1hg0zxtx.js → wellknown-2jjbcsmh.js} +13 -13
- package/dist/chunks/{file-retention-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
- package/dist/chunks/{file-retention-8esf06c6.js → wellknown-31avdb49.js} +8 -8
- package/dist/chunks/wellknown-3879nz5k.js +517 -0
- package/dist/chunks/{file-retention-1htg6rk5.js → wellknown-3c7qpzd7.js} +8 -8
- package/dist/chunks/{file-retention-ayjs7tqn.js → wellknown-3cbjf1nt.js} +2 -2
- package/dist/chunks/{file-retention-xk8af61m.js → wellknown-3gen3464.js} +18 -18
- package/dist/chunks/{file-retention-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-05038jtd.js → wellknown-3q0rd7f0.js} +9 -9
- package/dist/chunks/{file-retention-a37vbyfx.js → wellknown-3vdvxvt6.js} +23 -23
- package/dist/chunks/{file-retention-d7tcj48j.js → wellknown-46p4nd0k.js} +3 -3
- package/dist/chunks/{file-retention-zjrarrrn.js → wellknown-471w593b.js} +9 -9
- package/dist/chunks/{file-retention-fhj25s52.js → wellknown-4bzv39yc.js} +35 -35
- package/dist/chunks/{file-retention-jc09y3gx.js → wellknown-4h8bx7yk.js} +5 -5
- package/dist/chunks/{file-retention-xw52kzy1.js → wellknown-4qr8kst0.js} +20 -20
- package/dist/chunks/{file-retention-6dw9a62t.js → wellknown-4tnne5r4.js} +86 -86
- package/dist/chunks/{file-retention-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
- package/dist/chunks/{file-retention-yzptcycq.js → wellknown-5248xpep.js} +1 -1
- package/dist/chunks/{file-retention-y755953d.js → wellknown-58gfgbrj.js} +21 -21
- package/dist/chunks/{file-retention-ks30mcjv.js → wellknown-59p1f3he.js} +6 -6
- package/dist/chunks/{file-retention-d6n7qg8p.js → wellknown-5btwyzmg.js} +19 -19
- package/dist/chunks/{file-retention-ffnxs1x0.js → wellknown-5cfa5pm8.js} +4 -4
- package/dist/chunks/{file-retention-ahrm6a4v.js → wellknown-5ch3p6j9.js} +24 -24
- package/dist/chunks/{file-retention-6tx8rgr5.js → wellknown-5cnbxcdc.js} +12 -12
- package/dist/chunks/{file-retention-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-23nwgtns.js → wellknown-5pxxc420.js} +7 -7
- package/dist/chunks/{file-retention-q83y25yv.js → wellknown-5q6rg3ah.js} +7 -7
- package/dist/chunks/{file-retention-1a3825m9.js → wellknown-5sjqaaf3.js} +24 -24
- package/dist/chunks/{file-retention-bjhzkqyk.js → wellknown-61ennm6n.js} +4 -4
- package/dist/chunks/{file-retention-h31vq76g.js → wellknown-61g7nd3s.js} +10 -10
- package/dist/chunks/{file-retention-hz9cscar.js → wellknown-6b0wj5kz.js} +3 -3
- package/dist/chunks/{file-retention-tpm1qpxt.js → wellknown-6c5cd6ez.js} +9 -9
- package/dist/chunks/{file-retention-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-3r7w24g9.js → wellknown-6gctnm3n.js} +16 -16
- package/dist/chunks/{file-retention-kp5tvjar.js → wellknown-6n3yb10w.js} +8 -8
- package/dist/chunks/{file-retention-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
- package/dist/chunks/{file-retention-tp6pqz2g.js → wellknown-6pqc74hk.js} +12 -12
- package/dist/chunks/{file-retention-na64j5m8.js → wellknown-6r6h6sat.js} +19 -19
- package/dist/chunks/{file-retention-0c77ab74.js → wellknown-6s2cpg4s.js} +23 -23
- package/dist/chunks/{file-retention-szcgc7h4.js → wellknown-6y263vp8.js} +5 -5
- package/dist/chunks/{file-retention-wctyzwyk.js → wellknown-74jxnsy8.js} +30 -30
- package/dist/chunks/{file-retention-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-kqhr5b96.js → wellknown-7bzgm6j7.js} +27 -27
- package/dist/chunks/{file-retention-6g7e0vcw.js → wellknown-7jxwkttf.js} +11 -11
- package/dist/chunks/{file-retention-9nz28cm2.js → wellknown-7p0gfk8r.js} +11 -11
- package/dist/chunks/{file-retention-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-6cahmqzr.js → wellknown-7ye4ae45.js} +8 -8
- package/dist/chunks/{file-retention-m8f63jhp.js → wellknown-83txnp1n.js} +29 -29
- package/dist/chunks/{file-retention-m0ef4zea.js → wellknown-8ak2wtwm.js} +15 -15
- package/dist/chunks/{file-retention-dh62xe4r.js → wellknown-8bc2ahr8.js} +3 -3
- package/dist/chunks/{file-retention-xha7ydwr.js → wellknown-8fxn4ej1.js} +18 -18
- package/dist/chunks/{file-retention-mr15razv.js → wellknown-8jb500t8.js} +16 -16
- package/dist/chunks/{file-retention-qjgzc4b4.js → wellknown-8jztxfpf.js} +4 -4
- package/dist/chunks/{file-retention-pdf3vz88.js → wellknown-8k68n2qp.js} +14 -14
- package/dist/chunks/{file-retention-frt8zmm9.js → wellknown-8qhb45tw.js} +11 -11
- package/dist/chunks/{file-retention-8r6n0qax.js → wellknown-8r6n0qax.js} +1 -1
- package/dist/chunks/{file-retention-4y5adm9d.js → wellknown-8tzs9as6.js} +46 -46
- package/dist/chunks/{file-retention-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-fg9nnp40.js → wellknown-91at89dk.js} +13 -13
- package/dist/chunks/{file-retention-91rj84md.js → wellknown-91rj84md.js} +1 -1
- package/dist/chunks/{file-retention-ztpn6ax8.js → wellknown-922cm4bg.js} +9 -9
- package/dist/chunks/{file-retention-mqcadzqw.js → wellknown-9g4cv0f3.js} +5 -5
- package/dist/chunks/{file-retention-1yq6n76y.js → wellknown-9rkgepac.js} +18 -18
- package/dist/chunks/{file-retention-p22znmy8.js → wellknown-9shqtmsr.js} +11 -11
- package/dist/chunks/{file-retention-yar054mm.js → wellknown-ac8m9jgw.js} +35 -35
- package/dist/chunks/{file-retention-0gqjs8xd.js → wellknown-acwbq7dh.js} +11 -11
- package/dist/chunks/{file-retention-s7xmnr8t.js → wellknown-agqd6nxz.js} +6 -6
- package/dist/chunks/{file-retention-034tev2y.js → wellknown-aj7mw0zk.js} +2 -2
- package/dist/chunks/{file-retention-7ta0ytq2.js → wellknown-atkrv4f1.js} +18 -18
- package/dist/chunks/{file-retention-mv7k79ef.js → wellknown-atvnxcjg.js} +48 -48
- package/dist/chunks/{file-retention-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
- package/dist/chunks/{file-retention-8k7fs4yk.js → wellknown-b13wcdxr.js} +5 -5
- package/dist/chunks/{file-retention-5784b4h2.js → wellknown-b88d5nwd.js} +9 -9
- package/dist/chunks/{file-retention-wj8797dk.js → wellknown-b8fyfga2.js} +21 -21
- package/dist/chunks/{file-retention-9bz5f2aq.js → wellknown-bb8x8cdz.js} +19 -19
- package/dist/chunks/{file-retention-y8dsb888.js → wellknown-bd0tpmaf.js} +8 -8
- package/dist/chunks/{file-retention-af63jp32.js → wellknown-be9dmfer.js} +21 -21
- package/dist/chunks/{file-retention-bstexjd6.js → wellknown-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-yz0q7a5m.js → wellknown-bw273ec6.js} +26 -26
- package/dist/chunks/{file-retention-p2mqe0hz.js → wellknown-bxwc6da6.js} +12 -12
- package/dist/chunks/{file-retention-ymh0wyfn.js → wellknown-c50m9zrv.js} +20 -20
- package/dist/chunks/{file-retention-995kf3fb.js → wellknown-c59xc1n0.js} +26 -33
- package/dist/chunks/{file-retention-kf3903q6.js → wellknown-c81fqfqt.js} +2 -2
- package/dist/chunks/{file-retention-d2887f8n.js → wellknown-c9t2ty9q.js} +4 -4
- package/dist/chunks/{file-retention-3164ts83.js → wellknown-cda3ha6j.js} +4 -4
- package/dist/chunks/{file-retention-qqg9c0kv.js → wellknown-cpvd08na.js} +4 -4
- package/dist/chunks/{file-retention-zbkhh3g1.js → wellknown-cr39h6xc.js} +32 -32
- package/dist/chunks/{file-retention-5ej6fcjw.js → wellknown-csfpqy7c.js} +6 -6
- package/dist/chunks/{file-retention-y7gf4t9q.js → wellknown-cvc23dz4.js} +14 -14
- package/dist/chunks/{file-retention-x6n10bgh.js → wellknown-cx6bpn5t.js} +18 -18
- package/dist/chunks/{file-retention-cjy4375a.js → wellknown-cxpb5f81.js} +2 -2
- package/dist/chunks/{file-retention-7zkpzyeb.js → wellknown-czf0zymf.js} +27 -27
- package/dist/chunks/{file-retention-nnsghjk2.js → wellknown-d0tmt39w.js} +34 -34
- package/dist/chunks/{file-retention-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-pnx1meeb.js → wellknown-dcmqjbj1.js} +51 -51
- package/dist/chunks/{file-retention-r8q5fgtf.js → wellknown-dp5wfbj1.js} +35 -35
- package/dist/chunks/{file-retention-en82s9xt.js → wellknown-dsknn1hy.js} +21 -21
- package/dist/chunks/{file-retention-s6rab191.js → wellknown-dzkbqkpx.js} +24 -24
- package/dist/chunks/{file-retention-ps196dw6.js → wellknown-e35j4gt7.js} +16 -16
- package/dist/chunks/{file-retention-adgmyams.js → wellknown-e6g5g1wq.js} +43 -43
- package/dist/chunks/{file-retention-mc4sw9w4.js → wellknown-e6y915td.js} +6 -6
- package/dist/chunks/{file-retention-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-2qvs9jak.js → wellknown-e88t32tv.js} +11 -11
- package/dist/chunks/{file-retention-dk26t417.js → wellknown-eaem389f.js} +15 -15
- package/dist/chunks/{file-retention-2vejemke.js → wellknown-egcetw1q.js} +13 -13
- package/dist/chunks/{file-retention-5yw85qpw.js → wellknown-egz7d1cs.js} +26 -26
- package/dist/chunks/{file-retention-yhen3jxk.js → wellknown-ek6vqcaq.js} +4 -4
- package/dist/chunks/{file-retention-sfp4tb26.js → wellknown-esfv9gvv.js} +4 -4
- package/dist/chunks/{file-retention-mv49vzrc.js → wellknown-etxjsby2.js} +32 -32
- package/dist/chunks/{file-retention-6z77c2r8.js → wellknown-ey89v7jw.js} +16 -16
- package/dist/chunks/{file-retention-1e1kb1f8.js → wellknown-eya7ab03.js} +15 -15
- package/dist/chunks/{file-retention-6481hcqs.js → wellknown-ez3zn048.js} +11 -11
- package/dist/chunks/{file-retention-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fnrac0zs.js → wellknown-fy5bjxgv.js} +3 -3
- package/dist/chunks/{file-retention-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
- package/dist/chunks/{file-retention-0kpntjxf.js → wellknown-g7wmygc1.js} +3 -3
- package/dist/chunks/{file-retention-cf7x3ksa.js → wellknown-g9dq5tb6.js} +27 -27
- package/dist/chunks/{file-retention-gcjdgkn2.js → wellknown-gcjdgkn2.js} +2 -2
- package/dist/chunks/{file-retention-n0wvcyfn.js → wellknown-gh9c8abt.js} +3 -3
- package/dist/chunks/{file-retention-r09k0ff8.js → wellknown-gn2br83g.js} +16 -16
- package/dist/chunks/{file-retention-37rj4464.js → wellknown-gthfkf9z.js} +13 -13
- package/dist/chunks/{file-retention-62n5agxz.js → wellknown-h2hkdbmv.js} +2 -2
- package/dist/chunks/{file-retention-dbx6pzfq.js → wellknown-h4ja5x6t.js} +6 -6
- package/dist/chunks/{file-retention-atnbxq3j.js → wellknown-h51c97x2.js} +26 -26
- package/dist/chunks/{file-retention-x8570257.js → wellknown-h9927jyw.js} +9 -9
- package/dist/chunks/{file-retention-rkvrbxb1.js → wellknown-hbcsvp0f.js} +17 -11
- package/dist/chunks/{file-retention-c7nehh90.js → wellknown-hbstmyqp.js} +6 -6
- package/dist/chunks/{file-retention-c3cfh5w6.js → wellknown-hdfrs5mg.js} +5 -5
- package/dist/chunks/{file-retention-t8cetwdg.js → wellknown-hg41gd58.js} +1 -1
- package/dist/chunks/{file-retention-0dye9s24.js → wellknown-hs11k58z.js} +4 -4
- package/dist/chunks/{file-retention-wwyg2b72.js → wellknown-hwdyf90s.js} +24 -24
- package/dist/chunks/{file-retention-fbx1pf6w.js → wellknown-hz95n7rj.js} +28 -28
- package/dist/chunks/{file-retention-j113cymg.js → wellknown-j113cymg.js} +1 -1
- package/dist/chunks/{file-retention-8gaq3e8g.js → wellknown-j2vqej1t.js} +9 -9
- package/dist/chunks/{file-retention-0ex69mkq.js → wellknown-j3rp8z28.js} +43 -43
- package/dist/chunks/{file-retention-a0vny5h5.js → wellknown-j718j4p4.js} +17 -17
- package/dist/chunks/{file-retention-ycrb3cr5.js → wellknown-j8we4jgn.js} +15 -15
- package/dist/chunks/{file-retention-eqtjzdmt.js → wellknown-jenkz3h9.js} +15 -15
- package/dist/chunks/{file-retention-q404j35s.js → wellknown-jh1qsrkb.js} +39 -39
- package/dist/chunks/{file-retention-757kxfk5.js → wellknown-jhakfsh4.js} +1 -1
- package/dist/chunks/{file-retention-hfbj6knv.js → wellknown-jjvs5gfh.js} +17 -17
- package/dist/chunks/{file-retention-79zrs9sr.js → wellknown-jmc1s92r.js} +8 -8
- package/dist/chunks/{file-retention-5yj1svp7.js → wellknown-jns20v2e.js} +26 -26
- package/dist/chunks/{file-retention-5yvm9gq4.js → wellknown-jwec9qe4.js} +11 -11
- package/dist/chunks/{file-retention-ezw660nq.js → wellknown-jyr7n9x1.js} +3 -3
- package/dist/chunks/{file-retention-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-ymzrk7b3.js → wellknown-ka7gkb12.js} +1 -1
- package/dist/chunks/{file-retention-mamyemm0.js → wellknown-kd89nm9p.js} +14 -14
- package/dist/chunks/{file-retention-8aaegyc4.js → wellknown-kqtnm4zs.js} +2 -2
- package/dist/chunks/{file-retention-pfwczevg.js → wellknown-krs5mes8.js} +18 -18
- package/dist/chunks/wellknown-kt3bjfbg.js +26 -0
- package/dist/chunks/{file-retention-d356z46s.js → wellknown-kvgv58sm.js} +24 -24
- package/dist/chunks/{file-retention-kzcwk5ky.js → wellknown-kwd8yzj2.js} +11 -11
- package/dist/chunks/{file-retention-wbmtbw5y.js → wellknown-kxfvb65t.js} +5 -5
- package/dist/chunks/{file-retention-2mbjfaxd.js → wellknown-ky596kc3.js} +4 -4
- package/dist/chunks/{file-retention-4hh7j8bj.js → wellknown-m0ry6ynm.js} +18 -18
- package/dist/chunks/{file-retention-b3zqj1fn.js → wellknown-m126rssb.js} +21 -21
- package/dist/chunks/{file-retention-xjmvvx28.js → wellknown-m151rvrq.js} +22 -22
- package/dist/chunks/{file-retention-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-dqyjxj68.js → wellknown-m1ka6wme.js} +14 -14
- package/dist/chunks/{file-retention-vmfhgzt5.js → wellknown-m37sd98t.js} +4 -4
- package/dist/chunks/{file-retention-fe3ptvc8.js → wellknown-m39qkr2j.js} +17 -17
- package/dist/chunks/{file-retention-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-jchrqzf6.js → wellknown-masd7ga8.js} +4 -4
- package/dist/chunks/{file-retention-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-1dt1w7eh.js → wellknown-mdgpbx00.js} +58 -58
- package/dist/chunks/{file-retention-ktrds4tk.js → wellknown-mh0df1gn.js} +4 -4
- package/dist/chunks/{file-retention-feghes5g.js → wellknown-mke939yf.js} +16 -16
- package/dist/chunks/{file-retention-d3k5k72a.js → wellknown-mqa6tqca.js} +13 -13
- package/dist/chunks/{file-retention-043edbps.js → wellknown-mqy7jcc3.js} +20 -20
- package/dist/chunks/{file-retention-ay8p2qby.js → wellknown-mx37ejap.js} +72 -72
- package/dist/chunks/{file-retention-n0p0277s.js → wellknown-n0p0277s.js} +1 -1
- package/dist/chunks/{file-retention-d4yvfdjq.js → wellknown-n3cagxyt.js} +9 -9
- package/dist/chunks/{file-retention-8rqkymsz.js → wellknown-n58cmm6s.js} +8 -8
- package/dist/chunks/{file-retention-n9p72mjb.js → wellknown-n9p72mjb.js} +2 -2
- package/dist/chunks/{file-retention-nah043kf.js → wellknown-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-wv1byjhn.js → wellknown-p16j9thq.js} +50 -50
- package/dist/chunks/{file-retention-t39e16tb.js → wellknown-p23tmbza.js} +11 -11
- package/dist/chunks/{file-retention-p7vhpwh8.js → wellknown-p7vhpwh8.js} +1 -1
- package/dist/chunks/{file-retention-w4488581.js → wellknown-p9fn62m0.js} +4 -4
- package/dist/chunks/{file-retention-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-prazahgm.js → wellknown-prazahgm.js} +2 -2
- package/dist/chunks/{file-retention-zfyb5tr4.js → wellknown-pre1sqds.js} +4 -4
- package/dist/chunks/{file-retention-h5dyhw6p.js → wellknown-q7pkjngt.js} +30 -30
- package/dist/chunks/{file-retention-bqwdyg2t.js → wellknown-qaz4f448.js} +9 -9
- package/dist/chunks/{file-retention-234ntbqc.js → wellknown-qewdp238.js} +22 -22
- package/dist/chunks/wellknown-qmh7vbk2.js +18 -0
- package/dist/chunks/{file-retention-c9x3pgse.js → wellknown-qp9nzqh8.js} +16 -16
- package/dist/chunks/{file-retention-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-kv52dac4.js → wellknown-r8cv79ss.js} +12 -12
- package/dist/chunks/{file-retention-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-d5wa0b2s.js → wellknown-rf1g2xr4.js} +5 -5
- package/dist/chunks/{file-retention-1v3pmt1f.js → wellknown-rh99e6cx.js} +34 -34
- package/dist/chunks/{file-retention-pv1g07z8.js → wellknown-rqwx01wv.js} +25 -25
- package/dist/chunks/{file-retention-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-3xv5yes5.js → wellknown-rwvswa9y.js} +6 -6
- package/dist/chunks/{file-retention-ndyybwqb.js → wellknown-s315sn73.js} +17 -17
- package/dist/chunks/{file-retention-kd9fhfv6.js → wellknown-s9agp0wp.js} +16 -16
- package/dist/chunks/{file-retention-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-66hxanz0.js → wellknown-t2adjgr6.js} +31 -31
- package/dist/chunks/{file-retention-802q13vp.js → wellknown-t401z26n.js} +7 -7
- package/dist/chunks/{file-retention-a1qdfkze.js → wellknown-tcp1bmnd.js} +13 -13
- package/dist/chunks/{file-retention-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-hj1ah81s.js → wellknown-tnp0dwr6.js} +27 -27
- package/dist/chunks/{file-retention-3wb8nyxx.js → wellknown-tp3w5r6h.js} +17 -17
- package/dist/chunks/{file-retention-ys018t90.js → wellknown-tpwbr6cx.js} +41 -41
- package/dist/chunks/{file-retention-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
- package/dist/chunks/{file-retention-n1s97216.js → wellknown-tyfyb2y4.js} +17 -17
- package/dist/chunks/{file-retention-h7d4rbrg.js → wellknown-v0t96s7a.js} +4 -4
- package/dist/chunks/{file-retention-exyf3fed.js → wellknown-v27t7dvh.js} +10 -10
- package/dist/chunks/{file-retention-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-nm4377q9.js → wellknown-v5gy4fh6.js} +5 -5
- package/dist/chunks/{file-retention-jsy02eqp.js → wellknown-v7bqyd8s.js} +17 -17
- package/dist/chunks/{file-retention-vd3b3yk9.js → wellknown-vd3b3yk9.js} +1 -1
- package/dist/chunks/{file-retention-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-ja8b98rf.js → wellknown-vhbqcsjh.js} +8 -8
- package/dist/chunks/{file-retention-74by25sn.js → wellknown-vnhr9jck.js} +17 -17
- package/dist/chunks/{file-retention-d63vatx9.js → wellknown-vrpgx22b.js} +4 -4
- package/dist/chunks/{file-retention-hjznzsdn.js → wellknown-vsec61f7.js} +14 -14
- package/dist/chunks/{file-retention-vx3z2ta8.js → wellknown-vy5k7220.js} +14 -14
- package/dist/chunks/{file-retention-d0z36nkj.js → wellknown-vya0mwf0.js} +17 -17
- package/dist/chunks/{file-retention-as38c070.js → wellknown-vz4jdedr.js} +8 -8
- package/dist/chunks/{file-retention-8w0qx81v.js → wellknown-vzdp29pn.js} +25 -25
- package/dist/chunks/{file-retention-40za9wsf.js → wellknown-w2eysc6j.js} +9 -9
- package/dist/chunks/{file-retention-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-ay3eg20d.js → wellknown-w49d6sjv.js} +21 -21
- package/dist/chunks/{file-retention-re267s79.js → wellknown-wag6p64v.js} +12 -12
- package/dist/chunks/{file-retention-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-njc35j2b.js → wellknown-wdb5a6sv.js} +13 -13
- package/dist/chunks/{file-retention-av5ks0e5.js → wellknown-wj6vtssy.js} +9 -9
- package/dist/chunks/{file-retention-9xhfncsk.js → wellknown-wm15htn2.js} +39 -39
- package/dist/chunks/{file-retention-fznmdakp.js → wellknown-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-cn5vzm85.js → wellknown-x3ms6r27.js} +2 -2
- package/dist/chunks/{file-retention-6a2eq7nz.js → wellknown-xc28g6rc.js} +26 -26
- package/dist/chunks/{file-retention-w0e5cwhb.js → wellknown-xcw3pgbc.js} +34 -34
- package/dist/chunks/{file-retention-he1xcvzj.js → wellknown-xfqmb1dp.js} +6 -6
- package/dist/chunks/{file-retention-qr4bptwr.js → wellknown-xfwmjqem.js} +31 -31
- package/dist/chunks/{file-retention-s27aztda.js → wellknown-xjnmf968.js} +6 -6
- package/dist/chunks/wellknown-xk4hcb07.js +261 -0
- package/dist/chunks/{file-retention-562s2c64.js → wellknown-xm65v1c6.js} +25 -25
- package/dist/chunks/{file-retention-xjvykbh7.js → wellknown-xs8zeem2.js} +24 -24
- package/dist/chunks/{file-retention-a5dtds7w.js → wellknown-xv5h0f8t.js} +3 -3
- package/dist/chunks/{file-retention-g2cjact9.js → wellknown-xvfjp7yw.js} +141 -141
- package/dist/chunks/{file-retention-sc8prgdb.js → wellknown-yactmmgv.js} +9 -9
- package/dist/chunks/{file-retention-fpecf9xp.js → wellknown-yad47j67.js} +4 -4
- package/dist/chunks/{file-retention-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-5tw9zmff.js → wellknown-ym8pz2ff.js} +91 -91
- package/dist/chunks/{file-retention-f0cbaec5.js → wellknown-yv7rfcpt.js} +28 -28
- package/dist/chunks/{file-retention-w29j0fga.js → wellknown-yyw72xks.js} +8 -8
- package/dist/chunks/{file-retention-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-86nyzsdp.js → wellknown-z0kx572n.js} +2 -2
- package/dist/chunks/{file-retention-wb3zghwg.js → wellknown-z1325g04.js} +45 -45
- package/dist/chunks/{file-retention-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-enz9anj1.js → wellknown-z5jgj3bn.js} +7 -7
- package/dist/chunks/{file-retention-mjagy123.js → wellknown-za6yq9hg.js} +5 -5
- package/dist/chunks/{file-retention-jd8b4czr.js → wellknown-zapb4bac.js} +16 -16
- package/dist/chunks/{file-retention-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
- package/dist/chunks/{file-retention-4vc6yp1q.js → wellknown-zshj6dbt.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/console-access.js +12 -0
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +373 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +77 -77
- package/dist/file-access.js +108 -108
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +111 -111
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +364 -362
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +361 -359
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -95
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +119 -119
- package/dist/plugin/provider/opencode.js +103 -102
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -169
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +93 -93
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- 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 +225 -225
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +168 -168
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +96 -96
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -104
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +130 -130
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +78 -78
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +170 -170
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +139 -139
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +128 -128
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +126 -126
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +139 -139
- package/dist/tool/plugin/webfetch.js +117 -117
- package/dist/tool/plugin/websearch.js +118 -118
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/console-access.d.ts +7 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/usage-limits.d.ts +103 -0
- package/dist/usage-limits.js +97 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +89 -89
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/file-retention-4t67gtqn.js +0 -257
- package/dist/chunks/file-retention-jztn5z23.js +0 -18
- package/dist/chunks/file-retention-q2x3hw9d.js +0 -26
- package/dist/chunks/file-retention-qegqjw48.js +0 -517
- /package/dist/chunks/{file-retention-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-dbztejgq.js → wellknown-dbztejgq.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./wellknown-gn2br83g.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./wellknown-s9agp0wp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./wellknown-e6g5g1wq.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./wellknown-kvgv58sm.js";
|
|
18
18
|
import {
|
|
19
19
|
Service12
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-gcjdgkn2.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-mh0df1gn.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill = {};
|
|
34
|
+
__export(exports_skill, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
36
|
+
Plugin: () => Plugin3
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin3 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
46
|
+
const config = yield* Service68;
|
|
47
47
|
const discovery = yield* Service12;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service83;
|
|
51
|
+
const watcher = yield* Service69;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin32 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin32 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source4.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin32 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source4.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin32 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source4.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin32 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin3, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./wellknown-s9agp0wp.js";
|
|
4
4
|
import {
|
|
5
5
|
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-1yjfvzjr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service68
|
|
10
|
+
} from "./wellknown-e6g5g1wq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./wellknown-5sjqaaf3.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-hbstmyqp.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service68;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service66);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service83);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./wellknown-6gctnm3n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./wellknown-2jjbcsmh.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-vd3b3yk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service37,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-qmh7vbk2.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-xvfjp7yw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info4,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service37,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event2, ID as ID2, Info as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service86;
|
|
45
|
+
const kv = yield* Service72;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service37.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service37,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event2, ID2, Info4, Source2, State2 };
|
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-kwd8yzj2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./wellknown-6gctnm3n.js";
|
|
7
|
+
import {
|
|
8
|
+
defaultServer2,
|
|
9
|
+
server2,
|
|
10
|
+
headers2
|
|
11
|
+
} from "./wellknown-kt3bjfbg.js";
|
|
7
12
|
import {
|
|
8
13
|
OAuth3,
|
|
9
14
|
Event19
|
|
10
|
-
} from "./
|
|
15
|
+
} from "./wellknown-m126rssb.js";
|
|
11
16
|
import {
|
|
12
17
|
key2
|
|
13
|
-
} from "./
|
|
18
|
+
} from "./wellknown-61ennm6n.js";
|
|
14
19
|
import {
|
|
15
20
|
ID14,
|
|
16
21
|
MethodID2,
|
|
17
22
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
23
|
+
} from "./wellknown-5ch3p6j9.js";
|
|
19
24
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
25
|
+
Service14
|
|
26
|
+
} from "./wellknown-61g7nd3s.js";
|
|
22
27
|
import {
|
|
23
28
|
ID13,
|
|
24
29
|
mergeOverlay2,
|
|
25
30
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
31
|
+
} from "./wellknown-xm65v1c6.js";
|
|
27
32
|
import {
|
|
28
33
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
34
|
+
} from "./wellknown-1yjfvzjr.js";
|
|
30
35
|
import {
|
|
31
36
|
supports2,
|
|
32
37
|
resolve2
|
|
33
|
-
} from "./
|
|
38
|
+
} from "./wellknown-gh9c8abt.js";
|
|
34
39
|
import {
|
|
35
40
|
ID3,
|
|
36
41
|
Input14,
|
|
37
42
|
Response2
|
|
38
|
-
} from "./
|
|
43
|
+
} from "./wellknown-1cxgtnbf.js";
|
|
39
44
|
|
|
40
45
|
// src/plugin/provider/opencode.ts
|
|
41
46
|
import {
|
|
@@ -57,7 +62,6 @@ import { ConfigPolicy } from "@opencode/schema/config/policy";
|
|
|
57
62
|
import { ConfigProvider } from "@opencode/schema/config/provider";
|
|
58
63
|
import { Mcp } from "@opencode/schema/mcp";
|
|
59
64
|
import { Money } from "@opencode/schema/money";
|
|
60
|
-
var defaultServer = "https://opencode.ai/console";
|
|
61
65
|
var clientID = "opencode-cli";
|
|
62
66
|
var methodID = MethodID2.make("device");
|
|
63
67
|
var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Unknown, {
|
|
@@ -135,12 +139,12 @@ function oauth(http) {
|
|
|
135
139
|
type: "string",
|
|
136
140
|
format: "uri",
|
|
137
141
|
hidden: true,
|
|
138
|
-
default:
|
|
142
|
+
default: defaultServer2
|
|
139
143
|
}
|
|
140
144
|
]
|
|
141
145
|
},
|
|
142
146
|
authorize: (answer) => Effect.gen(function* () {
|
|
143
|
-
const server = yield* normalizeServer(answer.server ??
|
|
147
|
+
const server = yield* normalizeServer(answer.server ?? defaultServer2);
|
|
144
148
|
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID, supports_org_scope: true }, Device);
|
|
145
149
|
const verification = yield* Effect.try({
|
|
146
150
|
try: () => {
|
|
@@ -159,7 +163,7 @@ function oauth(http) {
|
|
|
159
163
|
};
|
|
160
164
|
}),
|
|
161
165
|
refresh: (credential) => Effect.gen(function* () {
|
|
162
|
-
const response = yield* send(http, `${
|
|
166
|
+
const response = yield* send(http, `${server2(credential)}/auth/device/token`, {
|
|
163
167
|
grant_type: "refresh_token",
|
|
164
168
|
refresh_token: credential.refresh,
|
|
165
169
|
client_id: clientID
|
|
@@ -189,10 +193,10 @@ var OpencodePlugin2 = define({
|
|
|
189
193
|
id: "opencode.provider.opencode",
|
|
190
194
|
effect: Effect.fn(function* (ctx) {
|
|
191
195
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
192
|
-
const bus = yield*
|
|
196
|
+
const bus = yield* Service86;
|
|
193
197
|
const client = yield* HttpClient.HttpClient;
|
|
194
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const managed = yield*
|
|
199
|
+
const managed = yield* Service14;
|
|
196
200
|
const scope = yield* Scope.Scope;
|
|
197
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
198
202
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -217,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
217
221
|
config,
|
|
218
222
|
connection,
|
|
219
223
|
organization: organizationName(credential),
|
|
220
|
-
mcp: config?.mcp && { servers: config.mcp.servers, headers:
|
|
224
|
+
mcp: config?.mcp && { servers: config.mcp.servers, headers: headers2(credential) }
|
|
221
225
|
})));
|
|
222
226
|
}), Effect.tap(() => status(undefined)), Effect.catch((cause) => Effect.gen(function* () {
|
|
223
227
|
const next = connectionStatus(cause);
|
|
@@ -365,7 +369,7 @@ var OpencodePlugin2 = define({
|
|
|
365
369
|
const metadata = credential.metadata;
|
|
366
370
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
367
371
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
368
|
-
const server = yield* normalizeServer(
|
|
372
|
+
const server = yield* normalizeServer(server2(credential));
|
|
369
373
|
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
370
374
|
query: input.query,
|
|
371
375
|
providerID: descriptor.providerID
|
|
@@ -443,7 +447,7 @@ var OpencodePlugin2 = define({
|
|
|
443
447
|
})
|
|
444
448
|
});
|
|
445
449
|
function fetchConfig(http, value) {
|
|
446
|
-
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${
|
|
450
|
+
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${server2(value)}/api/v2/config`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders(headers2(value)))).pipe(Effect.flatMap((response) => Effect.gen(function* () {
|
|
447
451
|
if (response.status === 404)
|
|
448
452
|
return;
|
|
449
453
|
if (response.status === 401) {
|
|
@@ -456,7 +460,7 @@ function fetchConfig(http, value) {
|
|
|
456
460
|
if (Option.isSome(body))
|
|
457
461
|
return yield* new SsoRequiredError({
|
|
458
462
|
organization: organizationName(value),
|
|
459
|
-
url: yield* ssoUrl(
|
|
463
|
+
url: yield* ssoUrl(server2(value), body.value.connectionId)
|
|
460
464
|
});
|
|
461
465
|
}
|
|
462
466
|
return yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RemoteResponse)));
|
|
@@ -482,17 +486,6 @@ function connectionStatus(cause) {
|
|
|
482
486
|
function organizationName(credential) {
|
|
483
487
|
return typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined;
|
|
484
488
|
}
|
|
485
|
-
function credentialHeaders(value) {
|
|
486
|
-
const orgID = value.metadata?.orgID;
|
|
487
|
-
return {
|
|
488
|
-
authorization: `Bearer ${value.type === "oauth" ? value.access : value.key}`,
|
|
489
|
-
...typeof orgID === "string" ? { "x-org-id": orgID } : {}
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
function serverUrl(value) {
|
|
493
|
-
const server = typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
|
|
494
|
-
return server.replace(/^https:\/\/console\.opencode\.ai(?=\/|$)/, defaultServer);
|
|
495
|
-
}
|
|
496
489
|
function withoutCredentials(body) {
|
|
497
490
|
return body && Object.fromEntries(Object.entries(body).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
498
491
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-08rawchj.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./wellknown-5sjqaaf3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service66;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./wellknown-s9agp0wp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./wellknown-5sjqaaf3.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./wellknown-vy5k7220.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-74jxnsy8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./wellknown-jh1qsrkb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./wellknown-cx6bpn5t.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin26,
|
|
41
|
+
name: () => name8,
|
|
42
42
|
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name8 = "grep";
|
|
48
|
+
var Input8 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input2 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin26 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service66;
|
|
90
|
+
const ripgrep = yield* Service65;
|
|
91
|
+
const location = yield* Service83;
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input8,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin18 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output6, toModelContent2, Plugin26, exports_grep };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|