@opencode/core 0.0.0-dev-20390 → 0.0.0-dev-20393
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{wellknown-xrznb47d.js → mime-0b2e6j34.js} +22 -22
- package/dist/chunks/{wellknown-36dygsg6.js → mime-0czrhqsb.js} +9 -9
- package/dist/chunks/{wellknown-m6618qx8.js → mime-0j93mhnt.js} +8 -8
- package/dist/chunks/{wellknown-a0d5xjwh.js → mime-0k4k1txe.js} +19 -19
- package/dist/chunks/{wellknown-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-67e80970.js → mime-0qdzfzxk.js} +3 -3
- package/dist/chunks/{wellknown-cjwramev.js → mime-0w1gqsy8.js} +6 -6
- package/dist/chunks/{wellknown-yp2x3t23.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-myxb0dhn.js → mime-1fw2a5v8.js} +15 -15
- package/dist/chunks/{wellknown-yxkwmac5.js → mime-1pvhv2xq.js} +34 -34
- package/dist/chunks/{wellknown-avv3j5cx.js → mime-1wa534rs.js} +25 -25
- package/dist/chunks/{wellknown-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-0brwf2va.js → mime-23g4r3va.js} +18 -18
- package/dist/chunks/{wellknown-gnkgm0z1.js → mime-2735jr6x.js} +12 -12
- package/dist/chunks/{wellknown-54cj3489.js → mime-273t9hh8.js} +8 -8
- package/dist/chunks/{wellknown-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-ew4hfdhd.js → mime-2ddytahh.js} +17 -17
- package/dist/chunks/{wellknown-mfbg0rbh.js → mime-2mh0qf3p.js} +6 -6
- package/dist/chunks/{wellknown-6zhb4rr8.js → mime-2mp3mppm.js} +16 -16
- package/dist/chunks/{wellknown-z2m1sdgj.js → mime-307pg6fz.js} +12 -12
- package/dist/chunks/{wellknown-0jhjd1gq.js → mime-34yg2f8r.js} +12 -12
- package/dist/chunks/{wellknown-8e5ge1nk.js → mime-358k9xws.js} +31 -31
- package/dist/chunks/{wellknown-vd2rktcf.js → mime-37v1eyhb.js} +32 -32
- package/dist/chunks/{wellknown-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-qs001aqx.js → mime-3pbjq009.js} +11 -11
- package/dist/chunks/{wellknown-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-eecs9ykb.js → mime-3xqprepe.js} +12 -12
- package/dist/chunks/{wellknown-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-7r6fj376.js → mime-42x3169a.js} +31 -31
- package/dist/chunks/{wellknown-2s29ksbb.js → mime-455c909g.js} +4 -4
- package/dist/chunks/{wellknown-bc65k2fg.js → mime-46s1n5mw.js} +14 -14
- package/dist/chunks/{wellknown-fnqgrzsz.js → mime-49q3m3qv.js} +11 -11
- package/dist/chunks/{wellknown-sq0r8rsm.js → mime-4aghrqms.js} +15 -15
- package/dist/chunks/{wellknown-yjjxtmkc.js → mime-4mvefedb.js} +5 -5
- package/dist/chunks/{wellknown-vw98e1e2.js → mime-4vz2qtz6.js} +32 -32
- package/dist/chunks/{wellknown-mm5kxf07.js → mime-533t3k18.js} +6 -6
- package/dist/chunks/{wellknown-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{wellknown-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
- package/dist/chunks/{wellknown-4sn99hha.js → mime-57ez7d0k.js} +7 -7
- package/dist/chunks/{wellknown-sjjn26rq.js → mime-5anqqasm.js} +4 -4
- package/dist/chunks/{wellknown-jyawef8c.js → mime-5bf5dgsk.js} +16 -16
- package/dist/chunks/{wellknown-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-bn6a02me.js → mime-5h9rbjnk.js} +3 -3
- package/dist/chunks/{wellknown-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
- package/dist/chunks/{wellknown-j5208yae.js → mime-5qkxfyep.js} +4 -4
- package/dist/chunks/{wellknown-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-gsd3mdft.js → mime-5v9f52wg.js} +8 -8
- package/dist/chunks/{wellknown-z6jnry8p.js → mime-5xa07e5v.js} +39 -39
- package/dist/chunks/{wellknown-n1ka8r9d.js → mime-5xpznt2d.js} +4 -4
- package/dist/chunks/{wellknown-nk6wb5bm.js → mime-6609w7ea.js} +16 -16
- package/dist/chunks/{wellknown-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-vvgkjvbj.js → mime-67h83v8z.js} +23 -23
- package/dist/chunks/{wellknown-6r0v0y7g.js → mime-68b7s2z5.js} +26 -26
- package/dist/chunks/{wellknown-gs7kc0p5.js → mime-6a3czsa1.js} +25 -25
- package/dist/chunks/{wellknown-h7h04b1q.js → mime-6ecqnzwj.js} +28 -28
- package/dist/chunks/{wellknown-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-ra7w5z1n.js → mime-6v857xcd.js} +15 -15
- package/dist/chunks/{wellknown-xkvs83f6.js → mime-74t4jwhn.js} +13 -13
- package/dist/chunks/{wellknown-a2ft2sz8.js → mime-77k2q0r1.js} +42 -42
- package/dist/chunks/{wellknown-gek3qfvx.js → mime-7b34ea7d.js} +10 -10
- package/dist/chunks/{wellknown-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-228s744n.js → mime-7bsvt23f.js} +31 -31
- package/dist/chunks/{wellknown-6q5ea456.js → mime-7erv94d8.js} +8 -8
- package/dist/chunks/{wellknown-a277y91k.js → mime-7fgjfznh.js} +5 -5
- package/dist/chunks/{wellknown-w9vm5f0e.js → mime-7fn7d9n4.js} +6 -6
- package/dist/chunks/{wellknown-ynb3vjbd.js → mime-7j7zzrbv.js} +15 -15
- package/dist/chunks/{wellknown-h6b02349.js → mime-7pr2hkwv.js} +5 -5
- package/dist/chunks/{wellknown-9jrbrbxe.js → mime-7st4gwze.js} +8 -8
- package/dist/chunks/{wellknown-pq4nsmc3.js → mime-7w3ydhtt.js} +3 -3
- package/dist/chunks/{wellknown-sjxefh2h.js → mime-81qjtn11.js} +11 -11
- package/dist/chunks/{wellknown-2mjmz0mr.js → mime-84z7ydcc.js} +21 -21
- package/dist/chunks/{wellknown-qm1kg07s.js → mime-88navb5x.js} +5 -5
- package/dist/chunks/{wellknown-7rwqf82v.js → mime-89bb6baa.js} +8 -8
- package/dist/chunks/{wellknown-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-k94easz1.js → mime-8xky6wx1.js} +23 -23
- package/dist/chunks/{wellknown-h896pcm5.js → mime-909p1r3q.js} +6 -6
- package/dist/chunks/{wellknown-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
- package/dist/chunks/mime-973x470y.js +252 -0
- package/dist/chunks/{wellknown-1a4rgecm.js → mime-98zdmzn1.js} +5 -5
- package/dist/chunks/{wellknown-seznpkzd.js → mime-99ra6rqj.js} +15 -15
- package/dist/chunks/{wellknown-6jxe02rc.js → mime-9abtanff.js} +21 -21
- package/dist/chunks/{wellknown-3e19tx24.js → mime-9jb3rc6z.js} +3 -3
- package/dist/chunks/{wellknown-xf3b7ak0.js → mime-9k8khh75.js} +14 -14
- package/dist/chunks/{wellknown-rqahb8vc.js → mime-a44te84x.js} +54 -54
- package/dist/chunks/{wellknown-cf7v1ccq.js → mime-a4vyvdaw.js} +36 -36
- package/dist/chunks/{wellknown-q0ap5mzg.js → mime-a5zqc5k5.js} +58 -58
- package/dist/chunks/{wellknown-bfvyfxhx.js → mime-a70nmnzh.js} +13 -13
- package/dist/chunks/{wellknown-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-7yqjxrmz.js → mime-ab9238g2.js} +4 -4
- package/dist/chunks/{wellknown-q3rsrttg.js → mime-ae1n2vcd.js} +4 -4
- package/dist/chunks/{wellknown-b720ka4c.js → mime-aj9wrhbp.js} +9 -9
- package/dist/chunks/{wellknown-x9t8kcge.js → mime-akhct6dk.js} +162 -162
- package/dist/chunks/{wellknown-0dezf2br.js → mime-am2zpr9s.js} +10 -10
- package/dist/chunks/{wellknown-mab7v7vs.js → mime-ama2bat5.js} +20 -20
- package/dist/chunks/{wellknown-8sze2n9a.js → mime-b4twkq7r.js} +2 -2
- package/dist/chunks/{wellknown-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-rqeet6cc.js → mime-b6q4wftx.js} +21 -21
- package/dist/chunks/{wellknown-261ys1de.js → mime-ba2xj7kr.js} +18 -18
- package/dist/chunks/{wellknown-369hrgms.js → mime-bdmy50mw.js} +8 -8
- package/dist/chunks/{wellknown-e2d4ea07.js → mime-be482kdc.js} +10 -10
- package/dist/chunks/{wellknown-1ra9xmx6.js → mime-bhr83ndh.js} +30 -30
- package/dist/chunks/{wellknown-513r3wcj.js → mime-bnjw33a9.js} +30 -30
- package/dist/chunks/{wellknown-dk0989xa.js → mime-bpbzmbw3.js} +10 -10
- package/dist/chunks/{wellknown-vnvtaq40.js → mime-bqcvb6f3.js} +8 -8
- package/dist/chunks/{wellknown-7gjvrwbk.js → mime-bqds8fwq.js} +25 -25
- package/dist/chunks/{wellknown-dt2nw10q.js → mime-brskvj7t.js} +3 -3
- package/dist/chunks/{wellknown-w8vpfvd4.js → mime-c3swec1a.js} +23 -23
- package/dist/chunks/{wellknown-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
- package/dist/chunks/{wellknown-zs4j1z3q.js → mime-cm1dq7vh.js} +16 -16
- package/dist/chunks/{wellknown-4w5f3qm5.js → mime-cmmdg65p.js} +7 -7
- package/dist/chunks/mime-ctefx7dc.js +18 -0
- package/dist/chunks/{wellknown-cwa6csj7.js → mime-cwa6csj7.js} +2 -2
- package/dist/chunks/{wellknown-hsrzezk5.js → mime-czh3ewfp.js} +3 -3
- package/dist/chunks/{wellknown-0dsyvfs7.js → mime-d18akb0w.js} +11 -11
- package/dist/chunks/{wellknown-7pssjadz.js → mime-d3jb63yq.js} +33 -33
- package/dist/chunks/{wellknown-eezskgcm.js → mime-d5jqda9g.js} +9 -9
- package/dist/chunks/{wellknown-c5k5vaz3.js → mime-d7112bbx.js} +1 -1
- package/dist/chunks/{wellknown-47y7a44f.js → mime-d96kp2s5.js} +19 -19
- package/dist/chunks/{wellknown-dtws4se5.js → mime-dhkk2kzs.js} +45 -45
- package/dist/chunks/{wellknown-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-g9c07h1s.js → mime-dqs70hbj.js} +11 -11
- package/dist/chunks/{wellknown-0nzxcfex.js → mime-dwhvgp4n.js} +12 -12
- package/dist/chunks/mime-e2s3qw3n.js +381 -0
- package/dist/chunks/{wellknown-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-ywfysfj4.js → mime-eg7hgdws.js} +32 -32
- package/dist/chunks/{wellknown-cgeghp4x.js → mime-ep28x8fd.js} +3 -3
- package/dist/chunks/{wellknown-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-dqmwfghx.js → mime-evbgk2k8.js} +5 -5
- package/dist/chunks/{wellknown-shgn2yqr.js → mime-ezn2h652.js} +15 -15
- package/dist/chunks/{wellknown-57h65f6p.js → mime-f0y3twfb.js} +3 -3
- package/dist/chunks/{wellknown-4z58m4b4.js → mime-f29mbr7f.js} +4 -4
- package/dist/chunks/{wellknown-xdk9p2qn.js → mime-f3ngv102.js} +21 -21
- package/dist/chunks/{wellknown-5m8kk3r3.js → mime-f502d9mk.js} +20 -20
- package/dist/chunks/{wellknown-6ysrkrkr.js → mime-f5gy8qwh.js} +8 -8
- package/dist/chunks/{wellknown-tvg483jc.js → mime-fbhxxfyt.js} +25 -25
- package/dist/chunks/{wellknown-w9xwjwq7.js → mime-fcacqew5.js} +5 -5
- package/dist/chunks/{wellknown-6rc9febg.js → mime-fm781dj8.js} +10 -10
- package/dist/chunks/{wellknown-0zyk4n2k.js → mime-fsh9jmhz.js} +11 -11
- package/dist/chunks/{wellknown-ye07qgvj.js → mime-fznk35sy.js} +40 -40
- package/dist/chunks/{wellknown-fscej6yq.js → mime-g2rwenqd.js} +11 -11
- package/dist/chunks/{wellknown-xfkkasph.js → mime-g5w8qwbj.js} +4 -4
- package/dist/chunks/{wellknown-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-t79vken4.js → mime-gfdgk92a.js} +3 -3
- package/dist/chunks/{wellknown-cbkdmecc.js → mime-gk21fmqr.js} +6 -6
- package/dist/chunks/{wellknown-w8davq8d.js → mime-gmkrgdn0.js} +11 -11
- package/dist/chunks/{wellknown-s2jers51.js → mime-gmt6yt6e.js} +24 -24
- package/dist/chunks/{wellknown-4k7e8mb5.js → mime-gps30gkr.js} +16 -16
- package/dist/chunks/{wellknown-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-ve8ekxh7.js → mime-gvvt6b7j.js} +9 -9
- package/dist/chunks/{wellknown-pbd5n4fm.js → mime-gxk89abf.js} +78 -78
- package/dist/chunks/{wellknown-3b485cc9.js → mime-gyn306pg.js} +22 -22
- package/dist/chunks/{wellknown-f6p35gmn.js → mime-h6nje0xe.js} +26 -26
- package/dist/chunks/{wellknown-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-1h4mdrah.js → mime-hc60ef2e.js} +24 -24
- package/dist/chunks/{wellknown-ds25bb3f.js → mime-he57e8mw.js} +23 -23
- package/dist/chunks/{wellknown-ecrprvxr.js → mime-hgrb6hk1.js} +20 -20
- package/dist/chunks/{wellknown-brqabvnn.js → mime-hmeqr42r.js} +40 -40
- package/dist/chunks/{wellknown-jv01nqvq.js → mime-hnr5yq9h.js} +5 -5
- package/dist/chunks/{wellknown-g7a3narb.js → mime-hvnby5xe.js} +11 -11
- package/dist/chunks/{wellknown-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-2bkwwcyj.js → mime-jeapb223.js} +305 -305
- package/dist/chunks/{wellknown-n46c7act.js → mime-jf35p79e.js} +8 -8
- package/dist/chunks/{wellknown-jjs74g98.js → mime-jjs74g98.js} +2 -2
- package/dist/chunks/{wellknown-vf2hv0d6.js → mime-jyynsmrb.js} +29 -29
- package/dist/chunks/{wellknown-k3c624dm.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-1qeg66rc.js → mime-k3x97e16.js} +12 -12
- package/dist/chunks/{wellknown-8zgzy1tp.js → mime-k6bsaq2v.js} +33 -33
- package/dist/chunks/{wellknown-fkc4ykd0.js → mime-kcfw7csr.js} +3 -3
- package/dist/chunks/{wellknown-9fy0ds0d.js → mime-kjrtwbw3.js} +20 -20
- package/dist/chunks/{wellknown-r14dd3yz.js → mime-kjt0hna9.js} +32 -32
- package/dist/chunks/{wellknown-1y283654.js → mime-kkp8zx71.js} +4 -4
- package/dist/chunks/{wellknown-ntrvrnas.js → mime-kkq0ewjq.js} +7 -7
- package/dist/chunks/{wellknown-zm8v5jp2.js → mime-kkwefjp4.js} +11 -11
- package/dist/chunks/{wellknown-knevfgda.js → mime-knevfgda.js} +1 -1
- package/dist/chunks/{wellknown-m7va1g8x.js → mime-ky3seynh.js} +2 -2
- package/dist/chunks/{wellknown-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-m58kmhef.js → mime-m58kmhef.js} +2 -2
- package/dist/chunks/{wellknown-07ee7ns1.js → mime-m5sjgbag.js} +13 -13
- package/dist/chunks/{wellknown-qs0bdbv3.js → mime-m8yq9q72.js} +9 -9
- package/dist/chunks/{wellknown-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mpk0rfs5.js → mime-mpk0rfs5.js} +1 -1
- package/dist/chunks/{wellknown-06g81ps0.js → mime-msy2rgsh.js} +11 -11
- package/dist/chunks/{wellknown-r5x6zcsm.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{wellknown-tyh97jf4.js → mime-n1653fzn.js} +21 -21
- package/dist/chunks/{wellknown-0996nyz8.js → mime-n37c4crj.js} +2 -2
- package/dist/chunks/{wellknown-ztt44z0e.js → mime-n5v3de6n.js} +13 -13
- package/dist/chunks/{wellknown-fveg7ytq.js → mime-n7syd17k.js} +20 -20
- package/dist/chunks/{wellknown-vfze4e7p.js → mime-ndmtxqj7.js} +9 -9
- package/dist/chunks/{wellknown-xytp48z3.js → mime-nfvr6b7c.js} +7 -7
- package/dist/chunks/{wellknown-6xgwcjvp.js → mime-ngvtg2hh.js} +10 -10
- package/dist/chunks/{wellknown-9w5dfm5b.js → mime-nh4rgqnt.js} +12 -12
- package/dist/chunks/{wellknown-dn3kcc5f.js → mime-npm9dbmd.js} +19 -19
- package/dist/chunks/{wellknown-kthfrg9e.js → mime-ns9jctd6.js} +28 -28
- package/dist/chunks/{wellknown-vw0mvyd7.js → mime-nv3ykw2b.js} +11 -11
- package/dist/chunks/{wellknown-4wj91pfj.js → mime-nv7vmh1y.js} +27 -27
- package/dist/chunks/{wellknown-yt0fqk68.js → mime-nxhqveyz.js} +5 -5
- package/dist/chunks/{wellknown-cmwkp3r5.js → mime-p42hj8p8.js} +8 -8
- package/dist/chunks/{wellknown-a0vyggs0.js → mime-p6mf65cc.js} +5 -5
- package/dist/chunks/{wellknown-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-bfx7zm8c.js → mime-pmqad4rv.js} +6 -6
- package/dist/chunks/{wellknown-xz5200hw.js → mime-pnqhmayw.js} +2 -2
- package/dist/chunks/{wellknown-6nw0bfx8.js → mime-psg0frg4.js} +14 -14
- package/dist/chunks/{wellknown-s58s3vp7.js → mime-ptvmqjgg.js} +5 -5
- package/dist/chunks/{wellknown-dsds7ba5.js → mime-pwa5kwbs.js} +17 -17
- package/dist/chunks/{wellknown-pjnv1ber.js → mime-q2mwwyxw.js} +43 -43
- package/dist/chunks/{wellknown-1775skzd.js → mime-qatsk4rf.js} +14 -14
- package/dist/chunks/{wellknown-7dqw4kz8.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{wellknown-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-1t7ydh8b.js → mime-qvc4myq7.js} +30 -30
- package/dist/chunks/{wellknown-wrmenjhx.js → mime-qzy1x8zb.js} +6 -6
- package/dist/chunks/{wellknown-f910tnft.js → mime-ra7reznk.js} +43 -43
- package/dist/chunks/{wellknown-1rz5e418.js → mime-rbwnvwzh.js} +19 -19
- package/dist/chunks/{wellknown-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-69dbdgkc.js → mime-rfvg1fny.js} +11 -11
- package/dist/chunks/{wellknown-3556dn8t.js → mime-rk1r2hx8.js} +1 -1
- package/dist/chunks/{wellknown-q17z9dx8.js → mime-rmk2c50f.js} +5 -5
- package/dist/chunks/{wellknown-t550f9t1.js → mime-s8d7rejh.js} +4 -4
- package/dist/chunks/{wellknown-c488s98d.js → mime-sa4vrjjn.js} +5 -5
- package/dist/chunks/{wellknown-gygda7jz.js → mime-sv1gstgh.js} +25 -25
- package/dist/chunks/{wellknown-qfm24y6p.js → mime-t3wpcfc0.js} +23 -23
- package/dist/chunks/{wellknown-r98e92ep.js → mime-t9zs3egg.js} +4 -4
- package/dist/chunks/{wellknown-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-a1krfbkp.js → mime-tct4sm9h.js} +7 -7
- package/dist/chunks/{wellknown-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-heve8mw0.js → mime-tf94wysx.js} +1 -1
- package/dist/chunks/{wellknown-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-05b7g57y.js → mime-txv3w884.js} +20 -20
- package/dist/chunks/{wellknown-b9yb71xa.js → mime-v27fpk8w.js} +24 -24
- package/dist/chunks/{wellknown-ratrq7cm.js → mime-v5dkyp31.js} +4 -4
- package/dist/chunks/{wellknown-jb0cqpw1.js → mime-v5wqe57t.js} +9 -9
- package/dist/chunks/{wellknown-aq3eq1tc.js → mime-v8ftz6x4.js} +20 -20
- package/dist/chunks/{wellknown-5cxcqxf9.js → mime-ve9ezft4.js} +9 -9
- package/dist/chunks/{wellknown-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-2wj8n25z.js → mime-vfnexndp.js} +6 -6
- package/dist/chunks/{wellknown-7v81x33d.js → mime-vps92m75.js} +9 -9
- package/dist/chunks/{wellknown-4zgfhp78.js → mime-vt6zkvw9.js} +6 -6
- package/dist/chunks/{wellknown-wv22srnn.js → mime-vws0mh8y.js} +7 -7
- package/dist/chunks/{wellknown-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{wellknown-84txncab.js → mime-w1eejvng.js} +5 -5
- package/dist/chunks/{wellknown-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-rfdxtmp0.js → mime-w9240f5c.js} +43 -43
- package/dist/chunks/{wellknown-3v51cv89.js → mime-wc84jsc1.js} +66 -66
- package/dist/chunks/{wellknown-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
- package/dist/chunks/mime-wd51j5pa.js +26 -0
- package/dist/chunks/{wellknown-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-xpda3824.js → mime-wdy2r7yw.js} +17 -17
- package/dist/chunks/{wellknown-tzes6s5e.js → mime-wf91zk3h.js} +17 -17
- package/dist/chunks/{wellknown-48x22dq2.js → mime-wgdhnvhw.js} +89 -89
- package/dist/chunks/{wellknown-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-1aw4516n.js → mime-x2py03wj.js} +4 -4
- package/dist/chunks/{wellknown-dbv05mm3.js → mime-xb50yt4b.js} +4 -4
- package/dist/chunks/{wellknown-3hxn65f2.js → mime-xbq57sr8.js} +48 -48
- package/dist/chunks/{wellknown-bd79ktjj.js → mime-xej7w1hz.js} +32 -32
- package/dist/chunks/{wellknown-dmqcgk4z.js → mime-xkntkrq7.js} +5 -5
- package/dist/chunks/{wellknown-7dy0zyqw.js → mime-xm7se6xx.js} +28 -28
- package/dist/chunks/{wellknown-256nx13v.js → mime-xxynqx5z.js} +3 -3
- package/dist/chunks/{wellknown-jddc43nk.js → mime-xyzcznm8.js} +10 -10
- package/dist/chunks/{wellknown-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-z72bn00j.js → mime-y57d52xy.js} +13 -13
- package/dist/chunks/{wellknown-k25s2mcq.js → mime-y9xvf0be.js} +20 -20
- package/dist/chunks/{wellknown-mvwnxxvk.js → mime-ybf8remy.js} +20 -20
- package/dist/chunks/{wellknown-v7bmygth.js → mime-yn9h7jnh.js} +7 -7
- package/dist/chunks/{wellknown-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-s4enseaf.js → mime-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-t44e5ekz.js → mime-ytkgah7c.js} +6 -6
- package/dist/chunks/{wellknown-9ky3zqhs.js → mime-yvwv9m92.js} +26 -26
- package/dist/chunks/{wellknown-z07pqspn.js → mime-z07pqspn.js} +3 -3
- package/dist/chunks/{wellknown-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-s8rn8hj9.js → mime-z5wgdwfs.js} +28 -28
- package/dist/chunks/{wellknown-29x78va6.js → mime-z63w68vq.js} +6 -6
- package/dist/chunks/{wellknown-w3y8zjy8.js → mime-z7at6nk5.js} +11 -11
- package/dist/chunks/{wellknown-jnp901kw.js → mime-z8fpd02g.js} +8 -8
- package/dist/chunks/{wellknown-2hmjzy37.js → mime-za7yn6by.js} +38 -38
- package/dist/chunks/{wellknown-kbqjp078.js → mime-zd30eb5w.js} +5 -5
- package/dist/chunks/{wellknown-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-0q2x6qmg.js → mime-zmg70wsx.js} +12 -12
- package/dist/chunks/{wellknown-raw4myx1.js → mime-zpcwkct1.js} +4 -4
- package/dist/chunks/{wellknown-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-embw8kgh.js → mime-zvt5dnpc.js} +4 -4
- package/dist/chunks/{wellknown-hw212y6x.js → mime-zw419psw.js} +7 -7
- package/dist/chunks/{wellknown-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +94 -94
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +221 -221
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +125 -123
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/plugin/provider/azure.d.ts +7 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/wellknown-f81tjggh.js +0 -18
- package/dist/chunks/wellknown-krpdapnv.js +0 -252
- package/dist/chunks/wellknown-nrhv0bbv.js +0 -26
- package/dist/chunks/wellknown-xnssn5ef.js +0 -223
- /package/dist/chunks/{wellknown-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-nv3ykw2b.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
14
|
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -59,7 +59,7 @@ var Plugin39 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin39 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin39, exports_firecrawl };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-eg7hgdws.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./mime-ra7reznk.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-gk21fmqr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make11(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service55;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make11();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make11, LMStudioPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5wgdwfs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-eg7hgdws.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-gfdgk92a.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./mime-3xqprepe.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-hvnby5xe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node68
|
|
22
|
+
} from "./mime-cm1dq7vh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service32,
|
|
25
|
+
node35
|
|
26
|
+
} from "./mime-gxk89abf.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -59,10 +59,10 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service32;
|
|
65
|
+
const store = yield* Service65;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node86, llmClient2, node35, node68, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-3xqprepe.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-1fw2a5v8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured3,
|
|
25
25
|
layer: () => layer10,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
258
|
var layer10 = makeLayer();
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service22,
|
|
261
261
|
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
-
deps: [
|
|
262
|
+
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node25 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError3, Service22, layer10, configured3, node25, exports_persistent_pty, Handoff2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node60,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node60 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer24, configured9, node60, exports_app };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./mime-3xqprepe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID12,
|
|
19
|
+
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service66,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID12 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID12.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info25 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info25.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID12.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service66.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID12.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID12.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID12, Name3, defaultID2, Color2, Info25, Service66, node69, exports_agent4, Event15 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service9,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node11
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service9 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node11 = makeLocationNode({
|
|
19
|
+
service: Service9,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service9, node11, bound2, exports_instance2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./mime-z5wgdwfs.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|