@opencode/core 0.0.0-dev-20526 → 0.0.0-dev-20528
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-vdn23gb8.js → bus-062bw71t.js} +8 -8
- package/dist/chunks/{mime-pyq30meh.js → bus-0avwb0pz.js} +5 -5
- package/dist/chunks/{mime-y6w2b009.js → bus-0dp46qqw.js} +8 -8
- package/dist/chunks/{mime-108bw82g.js → bus-0ew4w6t8.js} +41 -41
- package/dist/chunks/{mime-zbfa0p50.js → bus-0h47pg7m.js} +11 -11
- package/dist/chunks/{mime-q0xm7vwc.js → bus-0j77ygfz.js} +6 -6
- package/dist/chunks/{mime-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-m6d4j3h9.js → bus-0q1hsqvw.js} +4 -4
- package/dist/chunks/{mime-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-9y0w708y.js → bus-14cna52h.js} +8 -8
- package/dist/chunks/{mime-hpfvhvya.js → bus-15nepkqg.js} +8 -8
- package/dist/chunks/{mime-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-aj015p4r.js → bus-1n5v9331.js} +11 -11
- package/dist/chunks/{mime-90b8eqf4.js → bus-1npcx4x5.js} +11 -11
- package/dist/chunks/{mime-e76pw870.js → bus-21rk0v2x.js} +34 -34
- package/dist/chunks/{mime-p558d1j2.js → bus-26ye3vwj.js} +3 -3
- package/dist/chunks/{mime-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-4ts7tf6z.js → bus-2ccvkpx1.js} +2 -2
- package/dist/chunks/{mime-4vc0ehpv.js → bus-2k2k1e4d.js} +25 -25
- package/dist/chunks/{mime-vj8yzvgx.js → bus-2mb2wnf1.js} +30 -30
- package/dist/chunks/{mime-magykp64.js → bus-2pnhn36q.js} +21 -21
- package/dist/chunks/{mime-65rtbs6q.js → bus-2qx1vwxr.js} +31 -31
- package/dist/chunks/{mime-sesb8crn.js → bus-2zttkrbk.js} +24 -24
- package/dist/chunks/{mime-8z6q4zg3.js → bus-32hqb9rg.js} +1 -1
- package/dist/chunks/{mime-s3d46ba8.js → bus-33fymb46.js} +22 -22
- package/dist/chunks/{mime-0zgyafam.js → bus-3a151g65.js} +5 -5
- package/dist/chunks/{mime-n9hpjtfs.js → bus-3abbgv3w.js} +37 -37
- package/dist/chunks/{mime-h2b79v29.js → bus-3cegwx68.js} +2 -2
- package/dist/chunks/{mime-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-fy5c28xk.js → bus-3q3tbh2k.js} +34 -34
- package/dist/chunks/{mime-ec5havvq.js → bus-3q8rvzgr.js} +2 -2
- package/dist/chunks/{mime-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-2g40h5tz.js → bus-3tcgjz9c.js} +14 -14
- package/dist/chunks/{mime-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-rnp3p4gd.js → bus-3x5m0wp2.js} +25 -25
- package/dist/chunks/{mime-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-sfgte76k.js → bus-44nxam66.js} +11 -11
- package/dist/chunks/{mime-mgz7mky6.js → bus-4ax44qck.js} +32 -32
- package/dist/chunks/{mime-523e74da.js → bus-4kyzs2qw.js} +17 -17
- package/dist/chunks/{mime-d4ttvd2m.js → bus-4mgcp0pb.js} +32 -32
- package/dist/chunks/{mime-bwkkkbxh.js → bus-4mk0yh5v.js} +19 -19
- package/dist/chunks/{mime-16p8624c.js → bus-4yg5qhvj.js} +8 -8
- package/dist/chunks/{mime-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-56gdpj1q.js → bus-56gdpj1q.js} +2 -2
- package/dist/chunks/{mime-57myy5jh.js → bus-57myy5jh.js} +2 -2
- package/dist/chunks/{mime-15t5vs8z.js → bus-59djkhay.js} +9 -9
- package/dist/chunks/{mime-kdq8v965.js → bus-5aps1zy9.js} +9 -9
- package/dist/chunks/{mime-cegsa1ts.js → bus-5cbjwyn2.js} +44 -44
- package/dist/chunks/{mime-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-92dck0g3.js → bus-5m8z81sk.js} +15 -15
- package/dist/chunks/{mime-qztw7pyw.js → bus-5rp0d938.js} +13 -13
- package/dist/chunks/{mime-qeayp8bq.js → bus-5s4d2rwe.js} +5 -5
- package/dist/chunks/{mime-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-5rgss48q.js → bus-5zymz6xz.js} +11 -11
- package/dist/chunks/bus-60msy0h1.js +26 -0
- package/dist/chunks/{mime-5rnnm2b5.js → bus-63kpjth9.js} +9 -9
- package/dist/chunks/{mime-8654st4n.js → bus-63rqqvz6.js} +7 -7
- package/dist/chunks/{mime-jt46dgte.js → bus-6508c6yq.js} +14 -14
- package/dist/chunks/{mime-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{mime-4rskew4a.js → bus-68v5rke7.js} +17 -17
- package/dist/chunks/{mime-2xdd25f7.js → bus-69r9gc94.js} +23 -23
- package/dist/chunks/{mime-6pm4tc4k.js → bus-6g7tcwcb.js} +3 -3
- package/dist/chunks/{mime-sd7az2cx.js → bus-6mvsw307.js} +6 -6
- package/dist/chunks/{mime-0c6yq8cp.js → bus-6nv0705h.js} +11 -11
- package/dist/chunks/{mime-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{mime-rjt2bsyt.js → bus-7mw37t8g.js} +22 -22
- package/dist/chunks/{mime-6azy7pm5.js → bus-7nk92rs9.js} +24 -24
- package/dist/chunks/{mime-dhda0sfg.js → bus-7pb5msvq.js} +13 -13
- package/dist/chunks/{mime-xztw10wv.js → bus-7q4asrqv.js} +10 -10
- package/dist/chunks/{mime-m7ydhh7t.js → bus-7s3an50r.js} +7 -7
- package/dist/chunks/{mime-e4t8r070.js → bus-7v9pb5aa.js} +13 -13
- package/dist/chunks/{mime-3eb0edj5.js → bus-7ya4bwdq.js} +39 -39
- package/dist/chunks/{mime-eq1pz5kg.js → bus-7yh4e7ss.js} +3 -3
- package/dist/chunks/{mime-9t111gh9.js → bus-7zavcbms.js} +6 -6
- package/dist/chunks/{mime-1dvck2a7.js → bus-84h8c373.js} +2 -2
- package/dist/chunks/{mime-84txncab.js → bus-84txncab.js} +1 -1
- package/dist/chunks/{mime-98rkmnx4.js → bus-88r1cn22.js} +3 -3
- package/dist/chunks/{mime-mz8gnksm.js → bus-8btdadkw.js} +5 -5
- package/dist/chunks/{mime-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-vd4e7scs.js → bus-8hpx4v08.js} +26 -26
- package/dist/chunks/{mime-ns3eape4.js → bus-8whseyrk.js} +1 -1
- package/dist/chunks/{mime-n1n192bv.js → bus-8zp79j7j.js} +4 -4
- package/dist/chunks/{mime-7v89zxnz.js → bus-97xtdwm1.js} +17 -17
- package/dist/chunks/{mime-apmtag91.js → bus-98q6njb0.js} +27 -27
- package/dist/chunks/{mime-nz3b0w12.js → bus-9ftsnmnn.js} +11 -11
- package/dist/chunks/{mime-kphdywnf.js → bus-9h82ctm8.js} +13 -13
- package/dist/chunks/{mime-3eg14x28.js → bus-9qcmtpsj.js} +19 -19
- package/dist/chunks/{mime-96ctqc5x.js → bus-9x77fmbz.js} +4 -4
- package/dist/chunks/{mime-2g8e9x92.js → bus-a0d5603r.js} +6 -6
- package/dist/chunks/{mime-2h7ysm63.js → bus-a2tncpxa.js} +3 -3
- package/dist/chunks/{mime-w16xktph.js → bus-a53cn5ne.js} +172 -172
- package/dist/chunks/{mime-s0xt187s.js → bus-a92xy198.js} +311 -311
- package/dist/chunks/{mime-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-3a1zngsq.js → bus-agam93qz.js} +5 -5
- package/dist/chunks/{mime-9y5n1c4v.js → bus-attbt6m1.js} +16 -16
- package/dist/chunks/{mime-z1p8jhdj.js → bus-av1badb0.js} +23 -23
- package/dist/chunks/{mime-b5nk4gnq.js → bus-avrevnxw.js} +11 -11
- package/dist/chunks/{mime-hsnr0pdx.js → bus-b00fjsj8.js} +21 -21
- package/dist/chunks/{mime-0th6fty1.js → bus-b12m1t8w.js} +11 -11
- package/dist/chunks/{mime-rjm2fn4k.js → bus-b1t7hkt2.js} +9 -9
- package/dist/chunks/{mime-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-zz8ge4b6.js → bus-b7hk97w1.js} +6 -6
- package/dist/chunks/{mime-grrv6e2y.js → bus-b9beb9jd.js} +11 -11
- package/dist/chunks/{mime-xdb2at9q.js → bus-bhb1nrwe.js} +15 -15
- package/dist/chunks/{mime-eys57y9b.js → bus-br0tr5aq.js} +8 -8
- package/dist/chunks/{mime-jgdpgqgj.js → bus-bww70sgj.js} +4 -4
- package/dist/chunks/bus-by5v678g.js +18 -0
- package/dist/chunks/{mime-gc6269q7.js → bus-c8sdstdm.js} +17 -17
- package/dist/chunks/{mime-cfsekr6v.js → bus-cfsekr6v.js} +2 -2
- package/dist/chunks/{mime-tt3ha5ks.js → bus-ckjey40x.js} +21 -21
- package/dist/chunks/{mime-3v3z8g8b.js → bus-cqk9t7df.js} +43 -43
- package/dist/chunks/{mime-c83dc2pg.js → bus-cxg1v9xt.js} +13 -13
- package/dist/chunks/{mime-86vxxqtm.js → bus-cytj1s2b.js} +6 -6
- package/dist/chunks/{mime-sy2k7xk8.js → bus-d0xt6pb0.js} +56 -56
- package/dist/chunks/{mime-5d607bsg.js → bus-d4he2qe1.js} +9 -9
- package/dist/chunks/{mime-awmqyyvb.js → bus-d8nj9df2.js} +41 -41
- package/dist/chunks/{mime-g2b71yqp.js → bus-d9h8yfv6.js} +16 -16
- package/dist/chunks/{mime-dk6462jd.js → bus-dfya69s0.js} +16 -16
- package/dist/chunks/{mime-fjq9394b.js → bus-dg7vv6km.js} +29 -29
- package/dist/chunks/{mime-1d9m2a5b.js → bus-dmg6kksp.js} +14 -14
- package/dist/chunks/{mime-9shrky9m.js → bus-dzmh4f25.js} +27 -27
- package/dist/chunks/{mime-613axv8y.js → bus-dzyereph.js} +22 -22
- package/dist/chunks/{mime-5qd3pb7m.js → bus-e3qxr5gk.js} +2 -2
- package/dist/chunks/{mime-jvnht3j4.js → bus-ebvq7s73.js} +76 -76
- package/dist/chunks/{mime-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-n1hw437h.js → bus-ejcp9k6a.js} +11 -11
- package/dist/chunks/{mime-zcrspsvn.js → bus-embw8kgh.js} +4 -4
- package/dist/chunks/{mime-eyasq7v2.js → bus-epppjn0x.js} +14 -14
- package/dist/chunks/{mime-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-a9qg49ta.js → bus-evxzag28.js} +16 -16
- package/dist/chunks/{mime-jpr19x4b.js → bus-f1k63k1a.js} +5 -5
- package/dist/chunks/{mime-71az546q.js → bus-f75zav2x.js} +2 -2
- package/dist/chunks/{mime-8ccws1rf.js → bus-ff5sg8nr.js} +19 -19
- package/dist/chunks/{mime-ryr25ayn.js → bus-fm2qvscf.js} +4 -4
- package/dist/chunks/{mime-v0es1rhs.js → bus-fpecnkgp.js} +9 -9
- package/dist/chunks/{mime-m54tfmvb.js → bus-fw7xxda2.js} +10 -10
- package/dist/chunks/{mime-qdhzfkrq.js → bus-fz37x9gn.js} +30 -30
- package/dist/chunks/{mime-g5w8qwbj.js → bus-g5w8qwbj.js} +1 -1
- package/dist/chunks/{mime-944pe8w2.js → bus-g97m3cx8.js} +8 -8
- package/dist/chunks/{mime-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-axs6pdy0.js → bus-gg4dpy88.js} +5 -5
- package/dist/chunks/{mime-ag0cyztb.js → bus-gh4cdc92.js} +13 -13
- package/dist/chunks/{mime-vks5txr6.js → bus-gpffk3sd.js} +2 -2
- package/dist/chunks/{mime-68t36xwj.js → bus-gwa2mc6d.js} +19 -19
- package/dist/chunks/{mime-t74a4f50.js → bus-h575n3kc.js} +4 -4
- package/dist/chunks/{mime-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-r44petzp.js → bus-hafepx0m.js} +5 -5
- package/dist/chunks/{mime-xnyz6zyr.js → bus-hcwc3h8h.js} +16 -16
- package/dist/chunks/{mime-5g1wsd0f.js → bus-hgmvgqm7.js} +9 -9
- package/dist/chunks/{mime-xxkch54m.js → bus-hh9zdb1h.js} +48 -48
- package/dist/chunks/{mime-me85bt6d.js → bus-hmhp1yt2.js} +2 -2
- package/dist/chunks/{mime-51f5btjf.js → bus-hq8zt1th.js} +6 -6
- package/dist/chunks/{mime-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-89p27cv2.js → bus-j6pqrj3v.js} +24 -24
- package/dist/chunks/{mime-wnm2730d.js → bus-j7a3k319.js} +7 -7
- package/dist/chunks/{mime-y5rf7nzv.js → bus-j8m1p4p1.js} +4 -4
- package/dist/chunks/{mime-wyja02d2.js → bus-jaah0z8w.js} +30 -30
- package/dist/chunks/{mime-dk90hdkx.js → bus-jqxjpj4d.js} +8 -8
- package/dist/chunks/{mime-618j7cty.js → bus-jxbgt45t.js} +34 -34
- package/dist/chunks/{mime-qm7jrdpz.js → bus-jygqzb3h.js} +8 -8
- package/dist/chunks/{mime-5z44n1zm.js → bus-jzjcb49d.js} +29 -29
- package/dist/chunks/{mime-6ysrkrkr.js → bus-k1qrnqst.js} +8 -8
- package/dist/chunks/{mime-9e5bzkjp.js → bus-kb9j3d72.js} +3 -3
- package/dist/chunks/{mime-2q2r0hje.js → bus-kbgwbpaq.js} +33 -33
- package/dist/chunks/{mime-q4fmv0xv.js → bus-kbj2dgab.js} +5 -5
- package/dist/chunks/{mime-mbmw6p79.js → bus-kn1wn28d.js} +28 -28
- package/dist/chunks/{mime-njq320dc.js → bus-kswjze58.js} +10 -10
- package/dist/chunks/{mime-y968wptn.js → bus-kxy7nzzk.js} +17 -17
- package/dist/chunks/{mime-69ejy697.js → bus-ky8sey70.js} +20 -20
- package/dist/chunks/{mime-p0jxbjmq.js → bus-kyccdhtf.js} +9 -9
- package/dist/chunks/{mime-4wv1d4kf.js → bus-m1ebtf8y.js} +33 -33
- package/dist/chunks/{mime-k8v4d5hq.js → bus-m2dm6aaw.js} +24 -24
- package/dist/chunks/{mime-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-9n437wmn.js → bus-m4me3t1z.js} +47 -47
- package/dist/chunks/{mime-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-a7v9wceq.js → bus-mbca2hxa.js} +12 -12
- package/dist/chunks/{mime-8t32jfb4.js → bus-mcqt9qjk.js} +16 -16
- package/dist/chunks/{mime-ef0w8kcj.js → bus-mp5qahyg.js} +34 -34
- package/dist/chunks/{mime-a2wvdp5g.js → bus-mpmd08n4.js} +9 -9
- package/dist/chunks/{mime-x339f5qa.js → bus-mqwmb34d.js} +12 -12
- package/dist/chunks/{mime-787mccs8.js → bus-mw4m8fya.js} +24 -24
- package/dist/chunks/{mime-4a0vena2.js → bus-mx1qtak0.js} +12 -12
- package/dist/chunks/{mime-addxnjmp.js → bus-mxvxcxwy.js} +4 -4
- package/dist/chunks/{mime-g8gztt5b.js → bus-n04q887z.js} +44 -44
- package/dist/chunks/{mime-ygz1yfbt.js → bus-n4d3d4w3.js} +11 -11
- package/dist/chunks/{mime-zr0r55n7.js → bus-n88t58eh.js} +14 -14
- package/dist/chunks/{mime-6pbfkrn8.js → bus-ndkksb5f.js} +7 -7
- package/dist/chunks/{mime-qfxvgh06.js → bus-nx817z3s.js} +10 -10
- package/dist/chunks/{mime-dpkg50ah.js → bus-nxm207yx.js} +4 -4
- package/dist/chunks/{mime-4wdayzmh.js → bus-p23dhdth.js} +9 -9
- package/dist/chunks/{mime-16nrxpzh.js → bus-p4pkk9xt.js} +13 -13
- package/dist/chunks/{mime-nq3cpa63.js → bus-p5m43jmh.js} +24 -24
- package/dist/chunks/{mime-ffhkx1j7.js → bus-p675gkya.js} +3 -3
- package/dist/chunks/{mime-d47gva27.js → bus-pc4a07xm.js} +8 -8
- package/dist/chunks/{mime-ww52myg8.js → bus-pgdf7f6z.js} +15 -15
- package/dist/chunks/{mime-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{mime-h2ckq0fq.js → bus-pmem3b8z.js} +151 -151
- package/dist/chunks/{mime-s4kq9h0g.js → bus-prnf2p7v.js} +30 -30
- package/dist/chunks/{mime-abg70evd.js → bus-psevvpfg.js} +7 -7
- package/dist/chunks/{mime-ab66fk0a.js → bus-pw950zh1.js} +5 -5
- package/dist/chunks/{mime-c5tpfa0r.js → bus-q8xdd368.js} +15 -15
- package/dist/chunks/{mime-wnw44jfj.js → bus-qcz3a2pj.js} +3 -3
- package/dist/chunks/{mime-e3yr13n7.js → bus-qdbrb2ae.js} +22 -22
- package/dist/chunks/{mime-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-7x3zazyt.js → bus-qqx9qqxa.js} +20 -20
- package/dist/chunks/{mime-shh3msea.js → bus-qsare228.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-qxjc9qry.js → bus-qxjc9qry.js} +3 -3
- package/dist/chunks/{mime-3ewed21c.js → bus-r66xghd9.js} +4 -4
- package/dist/chunks/{mime-ac8xbrkv.js → bus-r89hfgxs.js} +42 -42
- package/dist/chunks/{mime-1acjjqhc.js → bus-r8xr0va3.js} +4 -4
- package/dist/chunks/{mime-q7q1dj79.js → bus-rar8z9yk.js} +15 -15
- package/dist/chunks/{mime-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-ktzfshgy.js → bus-rf7wnnvv.js} +11 -11
- package/dist/chunks/{mime-kwy4nt5m.js → bus-rhtnc6e7.js} +25 -25
- package/dist/chunks/{mime-86zp6h1p.js → bus-rjaxefsm.js} +13 -13
- package/dist/chunks/{mime-q3e7ejxm.js → bus-rtpbxsk2.js} +28 -28
- package/dist/chunks/{mime-s0b7t9fd.js → bus-rx9ava5n.js} +4 -4
- package/dist/chunks/{mime-y5pysmm8.js → bus-rz03v147.js} +5 -5
- package/dist/chunks/{mime-2hy5grvm.js → bus-s0rpadc8.js} +31 -31
- package/dist/chunks/{mime-qrdpeksr.js → bus-s4eg4czg.js} +30 -30
- package/dist/chunks/{mime-8qh6anns.js → bus-s5h4p73x.js} +4 -4
- package/dist/chunks/{mime-rhjbct0v.js → bus-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-bsprd9wx.js → bus-sesvvx24.js} +9 -9
- package/dist/chunks/{mime-9mpafgh5.js → bus-sft7r91c.js} +57 -57
- package/dist/chunks/{mime-vx3jgdek.js → bus-sk6yq7gh.js} +3 -3
- package/dist/chunks/{mime-71t26km0.js → bus-sksw2c3r.js} +11 -11
- package/dist/chunks/{mime-hc47jsp6.js → bus-spzjt392.js} +92 -92
- package/dist/chunks/{mime-n8sna2wb.js → bus-srq8z0b0.js} +9 -9
- package/dist/chunks/{mime-3n1988wa.js → bus-sw9ya77t.js} +9 -9
- package/dist/chunks/{mime-yxj72d5f.js → bus-t4vhf3zd.js} +44 -44
- package/dist/chunks/{mime-e0vtkr8g.js → bus-t6msp11s.js} +6 -6
- package/dist/chunks/{mime-ckbnwpw7.js → bus-tag6x3x4.js} +9 -9
- package/dist/chunks/{mime-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-jfgsppse.js → bus-tbgq5war.js} +16 -16
- package/dist/chunks/{mime-s08q7c06.js → bus-tcawe1f3.js} +22 -22
- package/dist/chunks/{mime-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{mime-m4k0yg9x.js → bus-thagpx6h.js} +4 -4
- package/dist/chunks/{mime-0pdhpgys.js → bus-ths52tqb.js} +9 -9
- package/dist/chunks/{mime-bhg4bmfs.js → bus-tp2cn5ae.js} +8 -8
- package/dist/chunks/{mime-fm03cyjv.js → bus-tvc1vb6k.js} +12 -12
- package/dist/chunks/{mime-xgp0qdrr.js → bus-v2zxy9vy.js} +1 -1
- package/dist/chunks/{mime-3g92af4t.js → bus-vefmky7z.js} +26 -26
- package/dist/chunks/{mime-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-898dwsbb.js → bus-vnnb4fd2.js} +9 -9
- package/dist/chunks/{mime-s5666wwp.js → bus-vrx5s5q9.js} +25 -25
- package/dist/chunks/{mime-spvja0zg.js → bus-vts12sgn.js} +19 -19
- package/dist/chunks/{mime-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{mime-b3f8fkhc.js → bus-wecqtg5s.js} +5 -5
- package/dist/chunks/{mime-20cs2f2v.js → bus-wmk7jyr0.js} +11 -11
- package/dist/chunks/{mime-zgyaz76r.js → bus-wq5ry9pe.js} +32 -32
- package/dist/chunks/{mime-5x7bbgzr.js → bus-wvn6r189.js} +11 -11
- package/dist/chunks/{mime-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-63jk1vmm.js → bus-x94qb275.js} +22 -22
- package/dist/chunks/{mime-eqn2j9ra.js → bus-xa8b9tvy.js} +14 -14
- package/dist/chunks/{mime-eeg0gr3a.js → bus-xaehw3v9.js} +19 -19
- package/dist/chunks/{mime-4dkxmh69.js → bus-xcf5a4h9.js} +3 -3
- package/dist/chunks/{mime-71c2tdcf.js → bus-xj1ny1rv.js} +11 -11
- package/dist/chunks/{mime-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-sq5xvr65.js → bus-xmgnb5pn.js} +76 -76
- package/dist/chunks/{mime-43aqaj6z.js → bus-xzhjfv9h.js} +15 -15
- package/dist/chunks/{mime-5pyjqqve.js → bus-y0s875v8.js} +2 -2
- package/dist/chunks/{mime-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-8ybym829.js → bus-ycgg54q6.js} +10 -10
- package/dist/chunks/{mime-vapg3z9n.js → bus-yh0kz87z.js} +3 -3
- package/dist/chunks/{mime-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-0r3c1bmw.js → bus-z6c3x22d.js} +5 -5
- package/dist/chunks/{mime-3y2j8cb3.js → bus-z7vdbf44.js} +20 -20
- package/dist/chunks/{mime-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-0t3vddyb.js → bus-zt3khfp6.js} +31 -31
- package/dist/chunks/{mime-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- 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 +125 -125
- 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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- 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 +83 -83
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-g7w798jn.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID7,
|
|
3
|
+
Info10,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-sk6yq7gh.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./bus-9ftsnmnn.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./bus-tbgq5war.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-3q3tbh2k.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service50,
|
|
24
|
+
node53
|
|
25
|
+
} from "./bus-hq8zt1th.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-kb9j3d72.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node51
|
|
34
|
+
} from "./bus-vefmky7z.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./bus-rx9ava5n.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-mcqt9qjk.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node29
|
|
47
|
+
} from "./bus-33fymb46.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node43
|
|
51
|
+
} from "./bus-7q4asrqv.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./bus-sesvvx24.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service54,
|
|
68
|
+
node57
|
|
69
|
+
} from "./bus-vts12sgn.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service51,
|
|
72
|
+
node54
|
|
73
|
+
} from "./bus-evxzag28.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service46,
|
|
76
|
+
node50
|
|
77
|
+
} from "./bus-0ew4w6t8.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./bus-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service30,
|
|
83
|
+
node34
|
|
84
|
+
} from "./bus-0h47pg7m.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./bus-epppjn0x.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./bus-pc4a07xm.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service52,
|
|
93
|
+
node55
|
|
94
|
+
} from "./bus-sw9ya77t.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service25,
|
|
100
|
+
node28
|
|
101
|
+
} from "./bus-d0xt6pb0.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service39,
|
|
104
|
+
node42
|
|
105
|
+
} from "./bus-15nepkqg.js";
|
|
106
106
|
import {
|
|
107
107
|
make14
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./bus-21rk0v2x.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./bus-vnnb4fd2.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./bus-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID7,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info10,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError7,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service24,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node27
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service24 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service80;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service46;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service30;
|
|
163
|
+
const store = yield* Service54;
|
|
164
|
+
const instances = yield* Service50;
|
|
165
|
+
const moves = yield* Service25;
|
|
166
|
+
const jobs = yield* Service51;
|
|
167
|
+
const environments = yield* Service39;
|
|
168
|
+
const locations = yield* Service52;
|
|
169
169
|
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service24.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node27 = Node.makeGlobalNode({
|
|
331
|
+
service: Service24,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node54,
|
|
335
|
+
node42,
|
|
336
|
+
node88,
|
|
336
337
|
node87,
|
|
337
|
-
node86,
|
|
338
338
|
node84,
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
node50,
|
|
340
|
+
node34,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node57,
|
|
343
|
+
node53,
|
|
344
|
+
node51,
|
|
345
|
+
node28,
|
|
346
|
+
node29,
|
|
347
|
+
node55,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node43
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service24, node27, exports_session };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node11, exports_discovery };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-f1k63k1a.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service52,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node55,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node55 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service52;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service52, node55, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service73,
|
|
4
|
+
node77
|
|
5
|
+
} from "./bus-jzjcb49d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,23 +14,23 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./bus-prnf2p7v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service59,
|
|
22
|
+
node62
|
|
23
|
+
} from "./bus-ejcp9k6a.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID10,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./bus-jaah0z8w.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError2,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service58,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node61,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID11,
|
|
61
|
+
modelID: ID10,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID11,
|
|
71
|
+
modelID: ID10,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID11,
|
|
82
|
+
modelID: ID10,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID11,
|
|
93
|
+
modelID: ID10,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID11,
|
|
105
|
+
modelID: ID10,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID11,
|
|
115
|
+
modelID: ID10,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
|
|
|
264
264
|
};
|
|
265
265
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
266
266
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
267
|
-
var
|
|
268
|
-
const providers = yield*
|
|
269
|
-
const models = yield*
|
|
270
|
-
const integrations = yield*
|
|
267
|
+
var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
268
|
+
const providers = yield* Service72;
|
|
269
|
+
const models = yield* Service71;
|
|
270
|
+
const integrations = yield* Service73;
|
|
271
271
|
const npm = yield* Npm.Service;
|
|
272
|
-
const aisdk = yield*
|
|
272
|
+
const aisdk = yield* Service59;
|
|
273
273
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
274
274
|
const provider = yield* providers.get(selected.providerID);
|
|
275
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
275
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
|
|
276
276
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
277
277
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
278
278
|
const runtimeInfo = {
|
|
@@ -299,7 +299,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
299
299
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
300
300
|
};
|
|
301
301
|
});
|
|
302
|
-
return
|
|
302
|
+
return Service58.of({
|
|
303
303
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
304
304
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
305
305
|
if (!selected)
|
|
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
316
316
|
const name = packageName2(packageName);
|
|
317
317
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
321
|
-
layer:
|
|
322
|
-
deps: [
|
|
319
|
+
var node61 = makeLocationNode({
|
|
320
|
+
service: Service58,
|
|
321
|
+
layer: layer20,
|
|
322
|
+
deps: [node76, node75, node77, Npm.node, node62]
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
325
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node61, exports_model_resolver };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
20
|
make: () => make15,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -113,7 +113,7 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -125,4 +125,4 @@ var make15 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2, update3, make15,
|
|
128
|
+
export { render2, update3, make15, exports_instructions4 };
|