@opencode/core 0.0.0-dev-1031 → 0.0.0-dev-1035
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +80 -80
- package/dist/chunks/{formatter-089ychqj.js → session-004vsan7.js} +88 -88
- package/dist/chunks/{formatter-034tev2y.js → session-034tev2y.js} +2 -2
- package/dist/chunks/{formatter-vskvzh30.js → session-06ans4sc.js} +45 -45
- package/dist/chunks/{formatter-3eppzrq9.js → session-07rjnbsc.js} +4 -4
- package/dist/chunks/{formatter-64h3j8c3.js → session-07xjpvws.js} +47 -47
- package/dist/chunks/{formatter-tdt6yfq7.js → session-09e9vt85.js} +13 -13
- package/dist/chunks/{formatter-0j7gp832.js → session-0j7gp832.js} +1 -1
- package/dist/chunks/{formatter-zd2qfn8h.js → session-0k8n1jvn.js} +190 -190
- package/dist/chunks/{formatter-0ma9gw4f.js → session-0ma9gw4f.js} +2 -2
- package/dist/chunks/{formatter-zyfhsknv.js → session-0mtp185z.js} +9 -9
- package/dist/chunks/{formatter-0php2d2a.js → session-0php2d2a.js} +4 -4
- package/dist/chunks/{formatter-2mg8bjdy.js → session-0xqb3yf3.js} +9 -9
- package/dist/chunks/{formatter-4ppw7d8f.js → session-10kj9emf.js} +8 -8
- package/dist/chunks/{formatter-0s9yz038.js → session-11praj1z.js} +12 -12
- package/dist/chunks/{formatter-cyn995ws.js → session-129wp8fc.js} +11 -11
- package/dist/chunks/{formatter-19gkfjnk.js → session-19gkfjnk.js} +2 -2
- package/dist/chunks/{formatter-1aqsckx4.js → session-1aqsckx4.js} +1 -1
- package/dist/chunks/{formatter-1ep2p91f.js → session-1ep2p91f.js} +2 -2
- package/dist/chunks/{formatter-ktxas4w4.js → session-1mtmz2ev.js} +9 -9
- package/dist/chunks/{formatter-z0h6cps0.js → session-1r7pcxhb.js} +14 -14
- package/dist/chunks/{formatter-msd2a3qm.js → session-1v2g13eq.js} +4 -4
- package/dist/chunks/{formatter-1x2knyw4.js → session-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-e27qwqja.js → session-214mfmz3.js} +23 -23
- package/dist/chunks/{formatter-c5zvymhv.js → session-229tvxdn.js} +4 -4
- package/dist/chunks/{formatter-g3wj12x4.js → session-266325jp.js} +8 -8
- package/dist/chunks/{formatter-5j85k3et.js → session-2b0ppgdm.js} +23 -23
- package/dist/chunks/{formatter-2fc7eemy.js → session-2fc7eemy.js} +1 -1
- package/dist/chunks/{formatter-54w0kz98.js → session-2hstjc24.js} +26 -26
- package/dist/chunks/{formatter-4fnqvqne.js → session-2nfgxt3t.js} +32 -32
- package/dist/chunks/{formatter-2p60zmnr.js → session-2p60zmnr.js} +2 -2
- package/dist/chunks/{formatter-ffvvmdd5.js → session-2y650p2w.js} +7 -7
- package/dist/chunks/{formatter-8ahaz9zm.js → session-30xjqf5d.js} +3 -3
- package/dist/chunks/{formatter-8yseh9qv.js → session-33jayjx7.js} +32 -32
- package/dist/chunks/{formatter-2ftm8cxz.js → session-39xny0z1.js} +20 -20
- package/dist/chunks/{formatter-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-zz88hnjw.js → session-3hhxy6qe.js} +11 -11
- package/dist/chunks/{formatter-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-r17fbvme.js → session-3qgwywyc.js} +4 -4
- package/dist/chunks/{formatter-qqg9c0kv.js → session-3ryz99p0.js} +4 -4
- package/dist/chunks/{formatter-40y6dtc2.js → session-40y6dtc2.js} +1 -1
- package/dist/chunks/{formatter-rkgkpnxn.js → session-411pd3fp.js} +6 -6
- package/dist/chunks/{formatter-44pmzq9c.js → session-44pmzq9c.js} +2 -2
- package/dist/chunks/{formatter-qb3bfbrc.js → session-4585399y.js} +11 -11
- package/dist/chunks/{formatter-8yqshvxy.js → session-48yjr85p.js} +26 -26
- package/dist/chunks/{formatter-zxpa49gx.js → session-4ab527s9.js} +33 -33
- package/dist/chunks/{formatter-1y6qrzh7.js → session-4cza9xhs.js} +25 -25
- package/dist/chunks/{formatter-4dx1dgte.js → session-4dx1dgte.js} +1 -1
- package/dist/chunks/{formatter-a4jzhknj.js → session-4jk35adj.js} +2 -2
- package/dist/chunks/{formatter-bfkzj9r6.js → session-4jqbg0vq.js} +13 -13
- package/dist/chunks/{formatter-vchespqv.js → session-4pk3sz26.js} +11 -11
- package/dist/chunks/{formatter-4pyp9zr9.js → session-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-4v008n1t.js → session-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-gs9y78q6.js → session-4wtmbywt.js} +12 -12
- package/dist/chunks/{formatter-htntv93q.js → session-4yk136rf.js} +86 -86
- package/dist/chunks/{formatter-he4kky7q.js → session-5404s7cw.js} +6 -6
- package/dist/chunks/{formatter-xh8dakkv.js → session-553wvx7h.js} +10 -10
- package/dist/chunks/{formatter-wsyvzwqg.js → session-58tb78vh.js} +9 -9
- package/dist/chunks/{formatter-nbrc8887.js → session-5azktag2.js} +8 -8
- package/dist/chunks/{formatter-7x2qvv57.js → session-5bpk227z.js} +5 -5
- package/dist/chunks/{formatter-rxmn9bey.js → session-5bqctfzp.js} +12 -12
- package/dist/chunks/{formatter-yhrykne9.js → session-5eaa87dd.js} +5 -5
- package/dist/chunks/{formatter-r41sfy63.js → session-5enarcya.js} +9 -9
- package/dist/chunks/{formatter-ezfrwfnx.js → session-5k9nsk0k.js} +15 -15
- package/dist/chunks/{formatter-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-bhfd478d.js → session-5n0rnk8e.js} +4 -4
- package/dist/chunks/{formatter-e2v6sa3k.js → session-5vgzxpp6.js} +3 -3
- package/dist/chunks/{formatter-5whx36p1.js → session-5whx36p1.js} +1 -1
- package/dist/chunks/{formatter-8n7z29xy.js → session-5xdsncsq.js} +3 -3
- package/dist/chunks/{formatter-4tn3d13d.js → session-648tqgk9.js} +17 -17
- package/dist/chunks/{formatter-z3zgh8c2.js → session-66rjgp0a.js} +9 -9
- package/dist/chunks/{formatter-h9gzweg8.js → session-6acj9vyv.js} +3 -3
- package/dist/chunks/{formatter-0vf60ac0.js → session-6act4pnq.js} +48 -48
- package/dist/chunks/{formatter-fb6tnbrg.js → session-6b8e9njp.js} +5 -5
- package/dist/chunks/{formatter-fcmwsafa.js → session-6bmana56.js} +37 -37
- package/dist/chunks/{formatter-kxwhfc4h.js → session-6c6y3bjk.js} +42 -42
- package/dist/chunks/{formatter-qmnhv3v7.js → session-6d7aqqgb.js} +11 -11
- package/dist/chunks/{formatter-kbbajj7z.js → session-6jbkmm31.js} +26 -26
- package/dist/chunks/{formatter-agje4kmn.js → session-6y2b864j.js} +4 -4
- package/dist/chunks/{formatter-gxnmsq1q.js → session-73yy6ya2.js} +18 -18
- package/dist/chunks/{formatter-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-jrf7s79w.js → session-7hrrxk50.js} +13 -13
- package/dist/chunks/{formatter-4khh4kfj.js → session-7qyc9z36.js} +13 -13
- package/dist/chunks/{formatter-tg1vr1qt.js → session-7tpyp9vw.js} +4 -4
- package/dist/chunks/{formatter-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-7weczvnd.js → session-7weczvnd.js} +1 -1
- package/dist/chunks/{formatter-c0tz6aqz.js → session-80m5xgxj.js} +8 -8
- package/dist/chunks/{formatter-80mg3ag8.js → session-80mg3ag8.js} +3 -3
- package/dist/chunks/{formatter-80pdk984.js → session-80pdk984.js} +1 -1
- package/dist/chunks/{formatter-85jq8dht.js → session-85jq8dht.js} +1 -1
- package/dist/chunks/{formatter-kbp3dwff.js → session-88rn1gh2.js} +2 -2
- package/dist/chunks/{formatter-htfy5zbs.js → session-898atfjq.js} +17 -17
- package/dist/chunks/{formatter-8b3vzgkx.js → session-8b3vzgkx.js} +1 -1
- package/dist/chunks/{formatter-9cjk3842.js → session-8g9x758g.js} +9 -9
- package/dist/chunks/{formatter-qk5sk9d1.js → session-8jev9a8r.js} +7 -7
- package/dist/chunks/{formatter-xdtrv718.js → session-8k8vqbkb.js} +11 -11
- package/dist/chunks/{formatter-gn3wczxr.js → session-8njyd3dh.js} +39 -39
- package/dist/chunks/{formatter-8sxe6kv8.js → session-8sxe6kv8.js} +2 -2
- package/dist/chunks/{formatter-1yrxe5t3.js → session-8t0y8k1v.js} +28 -28
- package/dist/chunks/{formatter-nva5nq6p.js → session-8wjggt8d.js} +14 -14
- package/dist/chunks/{formatter-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
- package/dist/chunks/session-8x060fmy.js +18 -0
- package/dist/chunks/{formatter-8zv0xmg5.js → session-8zv0xmg5.js} +1 -1
- package/dist/chunks/{formatter-0xz9mrse.js → session-939bh8jf.js} +5 -5
- package/dist/chunks/{formatter-bth1a64v.js → session-9nrp62ew.js} +36 -36
- package/dist/chunks/{formatter-v0t96s7a.js → session-9q8g9sv8.js} +4 -4
- package/dist/chunks/{formatter-dbatw319.js → session-9rqfe4ad.js} +3 -3
- package/dist/chunks/{formatter-a0f8fvmt.js → session-9sk33afj.js} +2 -2
- package/dist/chunks/{formatter-b0ah0v4z.js → session-a3cxkf77.js} +16 -16
- package/dist/chunks/{formatter-g2pf9fpq.js → session-ad2epmmf.js} +14 -14
- package/dist/chunks/{formatter-x656a9h0.js → session-ad4d2wh0.js} +8 -8
- package/dist/chunks/{formatter-25ek5axs.js → session-af23tvmx.js} +25 -25
- package/dist/chunks/{formatter-9bhxqsgq.js → session-afpmxkn4.js} +18 -18
- package/dist/chunks/{formatter-tx1nbh2n.js → session-ags90a5x.js} +4 -4
- package/dist/chunks/{formatter-ydyg5jyf.js → session-akz1y9sa.js} +5 -5
- package/dist/chunks/{formatter-nk2t5jpy.js → session-asdf7mj1.js} +4 -4
- package/dist/chunks/{formatter-23arw30t.js → session-at0h8jc3.js} +4 -4
- package/dist/chunks/{formatter-ayjs7tqn.js → session-ayjs7tqn.js} +2 -2
- package/dist/chunks/{formatter-b26ddj6h.js → session-b26ddj6h.js} +4 -4
- package/dist/chunks/{formatter-k3qhjn84.js → session-b2vy73zm.js} +22 -22
- package/dist/chunks/{formatter-6wpv6edb.js → session-b6p6zzas.js} +3 -3
- package/dist/chunks/{formatter-3vyp4h3j.js → session-bc1z3e6j.js} +12 -12
- package/dist/chunks/{formatter-7zjv642j.js → session-bc66kjyb.js} +16 -16
- package/dist/chunks/{formatter-bstexjd6.js → session-bstexjd6.js} +1 -1
- package/dist/chunks/{formatter-zpdbqgja.js → session-by8ty0bx.js} +4 -4
- package/dist/chunks/{formatter-xn7xenkq.js → session-c043ce66.js} +7 -7
- package/dist/chunks/{formatter-h2wx27k7.js → session-c414qtde.js} +10 -10
- package/dist/chunks/{formatter-y7j9fz73.js → session-c6zpv22c.js} +18 -18
- package/dist/chunks/{formatter-wt99tj4q.js → session-c7cw818c.js} +5 -5
- package/dist/chunks/{formatter-xemr4hjv.js → session-cknfthjh.js} +29 -29
- package/dist/chunks/{formatter-cydss4t7.js → session-cqshfmb3.js} +5 -5
- package/dist/chunks/{formatter-m16ftr7s.js → session-crwcsahh.js} +12 -12
- package/dist/chunks/{formatter-9f3jsh1d.js → session-ctmpqb7w.js} +9 -9
- package/dist/chunks/{formatter-44y5pezd.js → session-ctst738n.js} +6 -6
- package/dist/chunks/{formatter-pqgdhvet.js → session-cw35tvbj.js} +17 -17
- package/dist/chunks/{formatter-cwrgdav8.js → session-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-rckb00sc.js → session-cymgxjg5.js} +11 -11
- package/dist/chunks/{formatter-bmvvtns5.js → session-d0kwmjpa.js} +10 -10
- package/dist/chunks/{formatter-t0jjn6ax.js → session-d0sv50r0.js} +43 -43
- package/dist/chunks/{formatter-4s73n2vd.js → session-d300fm4a.js} +24 -24
- package/dist/chunks/{formatter-d4v9tmah.js → session-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-bvqmy171.js → session-d51s47ph.js} +12 -12
- package/dist/chunks/{formatter-0e6venv3.js → session-d5wtkh1g.js} +19 -19
- package/dist/chunks/{formatter-p2krc7sn.js → session-d6htae0v.js} +16 -16
- package/dist/chunks/{formatter-4btpy1cq.js → session-d6kh3mdg.js} +7 -7
- package/dist/chunks/{formatter-ev440vcp.js → session-d7h608er.js} +32 -32
- package/dist/chunks/{formatter-dzq3aq2p.js → session-d8ayht3b.js} +24 -24
- package/dist/chunks/{formatter-k7nrjv1e.js → session-db0t5ekk.js} +1 -1
- package/dist/chunks/{formatter-xstwqhrk.js → session-dbfahj80.js} +8 -8
- package/dist/chunks/{formatter-mj8yevpa.js → session-dcfy4m7g.js} +18 -18
- package/dist/chunks/{formatter-68rfd0qt.js → session-dd247a9c.js} +59 -59
- package/dist/chunks/{formatter-dcmkhtm3.js → session-decz40d6.js} +29 -29
- package/dist/chunks/{formatter-kzfme09m.js → session-dh1dqcs1.js} +8 -8
- package/dist/chunks/{formatter-mwfxtk8q.js → session-drts1hv6.js} +21 -21
- package/dist/chunks/{formatter-6nk9ma33.js → session-dsk6wzvc.js} +10 -10
- package/dist/chunks/{formatter-dt77769w.js → session-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-kgxq34jd.js → session-dx2d513j.js} +16 -16
- package/dist/chunks/{formatter-m06qa9cv.js → session-e174pryb.js} +8 -8
- package/dist/chunks/{formatter-my0ryxyz.js → session-e2jgqnb2.js} +14 -14
- package/dist/chunks/{formatter-fwp9mfc9.js → session-e45fk36t.js} +4 -4
- package/dist/chunks/{formatter-j594pepr.js → session-e50bnvt6.js} +23 -23
- package/dist/chunks/{formatter-e0nd6rg0.js → session-eh1xkk5s.js} +11 -11
- package/dist/chunks/{formatter-qa8wq1bx.js → session-ekhvmsd2.js} +9 -9
- package/dist/chunks/{formatter-x6wvnb2x.js → session-ekpkdr4c.js} +8 -8
- package/dist/chunks/{formatter-eqw4pqj1.js → session-eqw4pqj1.js} +2 -2
- package/dist/chunks/session-evyxtfj4.js +35 -0
- package/dist/chunks/{formatter-c8vztqjj.js → session-ez50bbzc.js} +19 -19
- package/dist/chunks/{formatter-jpkaw8rk.js → session-f1xd2d74.js} +26 -26
- package/dist/chunks/{formatter-w5j8ztpz.js → session-f20pwbmj.js} +29 -29
- package/dist/chunks/{formatter-f2nzj6et.js → session-f2nzj6et.js} +2 -2
- package/dist/chunks/{formatter-8pyfbf64.js → session-f4cstaaw.js} +49 -49
- package/dist/chunks/{formatter-ymfd7mce.js → session-f4ymwd89.js} +5 -5
- package/dist/chunks/{formatter-2s9mae96.js → session-f80thpwy.js} +6 -6
- package/dist/chunks/{formatter-adtp61g2.js → session-fa8cqrb6.js} +20 -20
- package/dist/chunks/{formatter-azqdag7d.js → session-fcrd7kek.js} +4 -4
- package/dist/chunks/{formatter-qafq71hg.js → session-fdm9rnd4.js} +23 -23
- package/dist/chunks/{formatter-065t7ewe.js → session-fjzjq6pd.js} +9 -9
- package/dist/chunks/{formatter-qkz9x2vr.js → session-fptm8sga.js} +21 -21
- package/dist/chunks/{formatter-dh6f7k67.js → session-fr2zrk6t.js} +16 -16
- package/dist/chunks/{formatter-kdw5x83m.js → session-fs8bmpa7.js} +20 -20
- package/dist/chunks/{formatter-n8vrw8we.js → session-fv1ywcqh.js} +6 -6
- package/dist/chunks/{formatter-x941z0nt.js → session-fyydvtbx.js} +17 -17
- package/dist/chunks/{formatter-84gg30s4.js → session-g8skt20n.js} +43 -43
- package/dist/chunks/{formatter-2997jpjr.js → session-gag8qd9r.js} +28 -28
- package/dist/chunks/{formatter-gbjdnr5j.js → session-gbjdnr5j.js} +2 -2
- package/dist/chunks/session-gdxrvgq0.js +273 -0
- package/dist/chunks/{formatter-rssytve0.js → session-gfssdxk4.js} +12 -12
- package/dist/chunks/{formatter-ghrv1g9c.js → session-ghrv1g9c.js} +1 -1
- package/dist/chunks/{formatter-hzpw1dn8.js → session-gmqpgk4x.js} +7 -7
- package/dist/chunks/{formatter-gt3fd4t1.js → session-gpnjexd0.js} +40 -40
- package/dist/chunks/{formatter-x4pw0kh4.js → session-gr4xz3hj.js} +11 -11
- package/dist/chunks/{formatter-tg7s7b5t.js → session-gxs71cxp.js} +4 -4
- package/dist/chunks/{formatter-dv0y9qgh.js → session-h0h32d3b.js} +3 -3
- package/dist/chunks/{formatter-pyzx7pr8.js → session-h28kg6rh.js} +20 -20
- package/dist/chunks/{formatter-5mgr22v3.js → session-h2cvrfbc.js} +14 -14
- package/dist/chunks/{formatter-h985bphy.js → session-hcb80m79.js} +8 -8
- package/dist/chunks/{formatter-hgzwgvze.js → session-hgzwgvze.js} +2 -2
- package/dist/chunks/{formatter-q6jghnyz.js → session-hknxt8c4.js} +30 -30
- package/dist/chunks/{formatter-6tn70seb.js → session-hq0c1rnk.js} +14 -14
- package/dist/chunks/{formatter-fdtp6zbm.js → session-hwkyjen6.js} +11 -11
- package/dist/chunks/{formatter-9v24zc9y.js → session-hxq9gabx.js} +11 -11
- package/dist/chunks/{formatter-fh8q6azd.js → session-j2trdzaz.js} +61 -61
- package/dist/chunks/{formatter-34g3tmqr.js → session-j64r1s95.js} +37 -37
- package/dist/chunks/{formatter-7afd39rf.js → session-j7j34wb0.js} +18 -18
- package/dist/chunks/{formatter-xqy02ay2.js → session-j7mncw5t.js} +33 -33
- package/dist/chunks/{formatter-dchb4z2j.js → session-j99pe2cq.js} +39 -39
- package/dist/chunks/{formatter-hqbn688m.js → session-jk83d3q9.js} +11 -11
- package/dist/chunks/{formatter-w7jfwa7t.js → session-jkyac8e3.js} +5 -5
- package/dist/chunks/{formatter-jm70asfg.js → session-jm70asfg.js} +1 -1
- package/dist/chunks/{formatter-wrj6efy5.js → session-jtebxeh8.js} +25 -25
- package/dist/chunks/{formatter-78p2h4ex.js → session-jv5ccajn.js} +5 -5
- package/dist/chunks/{formatter-jdqgttkk.js → session-k0zef275.js} +36 -36
- package/dist/chunks/{formatter-fer3526p.js → session-k3w9j0e6.js} +12 -12
- package/dist/chunks/{formatter-2whqw02m.js → session-k40n0ez3.js} +30 -30
- package/dist/chunks/{formatter-gw7zny7t.js → session-k9s2myw9.js} +12 -12
- package/dist/chunks/{formatter-7n0s5017.js → session-ka0gdbz1.js} +6 -6
- package/dist/chunks/{formatter-7p6h9s3m.js → session-kfn62fte.js} +16 -16
- package/dist/chunks/{formatter-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-r18hx3yy.js → session-kwc19p6y.js} +20 -20
- package/dist/chunks/{formatter-kzczzf4v.js → session-kzczzf4v.js} +1 -1
- package/dist/chunks/{formatter-26wfx3k0.js → session-kze6nzna.js} +7 -7
- package/dist/chunks/{formatter-m1714858.js → session-m1714858.js} +1 -1
- package/dist/chunks/{formatter-btv73634.js → session-m4wkk3mm.js} +12 -12
- package/dist/chunks/{formatter-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-mb7mbhnz.js → session-mb7mbhnz.js} +3 -3
- package/dist/chunks/{formatter-22tpp30t.js → session-mm4ngpvd.js} +19 -19
- package/dist/chunks/{formatter-ra5q7n0q.js → session-mr3tbpza.js} +16 -16
- package/dist/chunks/{formatter-44vh4yvp.js → session-mt573a97.js} +43 -43
- package/dist/chunks/{formatter-m0mcb9rq.js → session-mx33avyk.js} +15 -15
- package/dist/chunks/{formatter-xnsbcc1j.js → session-mxzn1egb.js} +31 -31
- package/dist/chunks/{formatter-sv77p967.js → session-mz9snk5v.js} +4 -4
- package/dist/chunks/{formatter-193f6bxt.js → session-n0j2tacc.js} +9 -9
- package/dist/chunks/{formatter-ydwqg7pv.js → session-n1t648g8.js} +28 -28
- package/dist/chunks/{formatter-n3j33rb6.js → session-n3j33rb6.js} +1 -1
- package/dist/chunks/{formatter-0dhcrzts.js → session-nc0zb0vg.js} +41 -41
- package/dist/chunks/{formatter-ah6swppq.js → session-nqzd7fjx.js} +19 -19
- package/dist/chunks/{formatter-qkemqmdw.js → session-nt4h2hq7.js} +6 -6
- package/dist/chunks/{formatter-qfwweb6d.js → session-ntwg0xza.js} +5 -5
- package/dist/chunks/{formatter-gzgvz7q2.js → session-p03e3ka6.js} +4 -4
- package/dist/chunks/{formatter-1yq9hg58.js → session-p7vhpwh8.js} +5 -5
- package/dist/chunks/{formatter-4e2gfdsn.js → session-pewt5hyp.js} +36 -36
- package/dist/chunks/{formatter-qmna52rz.js → session-pfkqc1qn.js} +15 -15
- package/dist/chunks/{formatter-5kcab62a.js → session-pj4vbncy.js} +17 -17
- package/dist/chunks/{formatter-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-fg9p65nk.js → session-prq7xxp2.js} +6 -6
- package/dist/chunks/{formatter-2d746526.js → session-pz47eqtp.js} +32 -32
- package/dist/chunks/{formatter-8q8a0map.js → session-pz8cf33p.js} +27 -27
- package/dist/chunks/{formatter-536xpmcn.js → session-pzjm16t0.js} +5 -5
- package/dist/chunks/{formatter-qtj5sjwf.js → session-q2ppftd2.js} +18 -18
- package/dist/chunks/{formatter-q42tzrxa.js → session-q42tzrxa.js} +1 -1
- package/dist/chunks/{formatter-fy8wzmxg.js → session-q7r4dzd0.js} +367 -367
- package/dist/chunks/{formatter-gyp7vtv8.js → session-qawts5ky.js} +4 -4
- package/dist/chunks/{formatter-k1kv1s4p.js → session-qb5hzfck.js} +30 -30
- package/dist/chunks/{formatter-bdsca43p.js → session-qg74nxhh.js} +31 -31
- package/dist/chunks/{formatter-jh287szh.js → session-qjfqcjef.js} +15 -15
- package/dist/chunks/{formatter-qp7r0hxv.js → session-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-3qwxmnxm.js → session-qqxn877c.js} +13 -13
- package/dist/chunks/{formatter-6tnb18a1.js → session-qrhraqvg.js} +4 -4
- package/dist/chunks/{formatter-4f25tdd0.js → session-r542h3bh.js} +5 -5
- package/dist/chunks/{formatter-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-1pvedp21.js → session-rc5gsvhr.js} +19 -19
- package/dist/chunks/{formatter-ky2dqq29.js → session-rceqhxez.js} +8 -8
- package/dist/chunks/{formatter-rgc9cx3e.js → session-rgc9cx3e.js} +2 -2
- package/dist/chunks/{formatter-h5chy42v.js → session-rj7jtxy8.js} +3 -3
- package/dist/chunks/{formatter-3we77h6d.js → session-rnbfpsbe.js} +27 -27
- package/dist/chunks/{formatter-k1bbw1a7.js → session-s8bpvz2e.js} +15 -15
- package/dist/chunks/{formatter-0aacennw.js → session-s8rmvscc.js} +25 -25
- package/dist/chunks/{formatter-jpxxp39p.js → session-s968vkjm.js} +28 -28
- package/dist/chunks/{formatter-sbya78hr.js → session-sbya78hr.js} +1 -1
- package/dist/chunks/{formatter-38aws4xb.js → session-sf9y72b7.js} +4 -4
- package/dist/chunks/{formatter-p9jvgf3w.js → session-sq4s6wq1.js} +6 -6
- package/dist/chunks/{formatter-svcy3p9a.js → session-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-45e3qj9k.js → session-t58ysrjg.js} +18 -18
- package/dist/chunks/{formatter-j7frev63.js → session-t78nftqh.js} +5 -5
- package/dist/chunks/{formatter-69tqwgyd.js → session-tbd4er4q.js} +6 -6
- package/dist/chunks/{formatter-tbpn7jtk.js → session-tbpn7jtk.js} +1 -1
- package/dist/chunks/{formatter-tczq8hjw.js → session-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-tr8x705m.js → session-tr8x705m.js} +1 -1
- package/dist/chunks/{formatter-bpfc3t9v.js → session-tsbe1gfb.js} +6 -6
- package/dist/chunks/{formatter-v7knp929.js → session-ttcdv07e.js} +7 -7
- package/dist/chunks/{formatter-tvtps2q9.js → session-tvtps2q9.js} +1 -1
- package/dist/chunks/{formatter-bx70nhrz.js → session-tvzcr0s1.js} +14 -14
- package/dist/chunks/{formatter-twssxy5n.js → session-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-1ysh6hsz.js → session-v75htaq3.js} +6 -6
- package/dist/chunks/{formatter-m8sdy3w5.js → session-vahc30mb.js} +17 -17
- package/dist/chunks/{formatter-15kx30sr.js → session-vd24h3x2.js} +15 -15
- package/dist/chunks/{formatter-fd3q7j53.js → session-ve14sg7r.js} +27 -27
- package/dist/chunks/{formatter-3gmwvcf5.js → session-vg8592v2.js} +10 -10
- package/dist/chunks/{formatter-vjf35v1f.js → session-vjf35v1f.js} +1 -1
- package/dist/chunks/{formatter-7trt7kgg.js → session-vjhrddsw.js} +5 -5
- package/dist/chunks/{formatter-kj9n5bvh.js → session-vmqe41cb.js} +4 -4
- package/dist/chunks/{formatter-xxvkshwn.js → session-vpb4v2jf.js} +7 -7
- package/dist/chunks/{formatter-kw9a7wpq.js → session-vqqj8dcy.js} +14 -14
- package/dist/chunks/{formatter-qttwr2a1.js → session-vt5ka884.js} +19 -19
- package/dist/chunks/{formatter-32d8keng.js → session-vx2sy5jh.js} +23 -23
- package/dist/chunks/{formatter-86az5728.js → session-vxwy7evn.js} +7 -7
- package/dist/chunks/{formatter-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-wakvkjy4.js → session-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-s58991ss.js → session-wanqqa17.js} +14 -14
- package/dist/chunks/{formatter-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-xhyqsbxm.js → session-wdt6k690.js} +46 -46
- package/dist/chunks/{formatter-wegkxhrn.js → session-wegkxhrn.js} +2 -2
- package/dist/chunks/{formatter-m2qxxst9.js → session-weh8csvj.js} +3 -3
- package/dist/chunks/{formatter-wfdx5ztx.js → session-wfdx5ztx.js} +1 -1
- package/dist/chunks/{formatter-a1aaf2dh.js → session-wjcvrq0c.js} +40 -40
- package/dist/chunks/{formatter-d9vcbz3r.js → session-wn79rs8n.js} +22 -22
- package/dist/chunks/{formatter-cjq358ck.js → session-wq13t35g.js} +15 -15
- package/dist/chunks/{formatter-fznmdakp.js → session-wr3re1en.js} +4 -4
- package/dist/chunks/{formatter-9n2g2284.js → session-x1rw5a29.js} +13 -13
- package/dist/chunks/{formatter-hkm9ftdh.js → session-x6g1tf2c.js} +12 -12
- package/dist/chunks/{formatter-7e8qs3v0.js → session-xaej0n6x.js} +21 -21
- package/dist/chunks/{formatter-g100t6c2.js → session-xd14w7b3.js} +2 -2
- package/dist/chunks/{formatter-dzxny3rz.js → session-xgdc9yd3.js} +5 -5
- package/dist/chunks/{formatter-859w1rtj.js → session-xjbsd7zy.js} +9 -9
- package/dist/chunks/{formatter-ck0z3kmn.js → session-xkkxtad0.js} +7 -7
- package/dist/chunks/{formatter-3vahy3b1.js → session-xpaagfnw.js} +8 -8
- package/dist/chunks/{formatter-ptgxdyg0.js → session-xqf2pqdp.js} +56 -56
- package/dist/chunks/{formatter-wc642pbg.js → session-xr1yr3wg.js} +11 -11
- package/dist/chunks/{formatter-2bcxb7aa.js → session-xsq9ft9s.js} +7 -7
- package/dist/chunks/{formatter-x26wqd07.js → session-xsvq7cjt.js} +4 -4
- package/dist/chunks/{formatter-mzffn9bc.js → session-xtyr0vxr.js} +4 -4
- package/dist/chunks/{formatter-5a1x9gsa.js → session-xvb81xa7.js} +19 -19
- package/dist/chunks/{formatter-81zvk8rn.js → session-xwvxhq05.js} +18 -18
- package/dist/chunks/{formatter-xjr6c8m4.js → session-xxschbft.js} +4 -4
- package/dist/chunks/{formatter-yq3kg6s7.js → session-y7zm3j6b.js} +37 -37
- package/dist/chunks/{formatter-yb20nhc3.js → session-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-8dfptpqb.js → session-yh1frphp.js} +4 -4
- package/dist/chunks/{formatter-yr705xyq.js → session-yr705xyq.js} +1 -1
- package/dist/chunks/{formatter-8xz27cp9.js → session-yts2a8qm.js} +4 -4
- package/dist/chunks/{formatter-yvtc2x31.js → session-yvtc2x31.js} +1 -1
- package/dist/chunks/{formatter-0tpy91ck.js → session-ywthjcrc.js} +4 -4
- package/dist/chunks/{formatter-7exvse1f.js → session-yx92g8n9.js} +11 -11
- package/dist/chunks/{formatter-rkta95x7.js → session-yy75hewy.js} +43 -43
- package/dist/chunks/{formatter-7zjp33zg.js → session-z58kxkzk.js} +79 -79
- package/dist/chunks/{formatter-ze75qvmd.js → session-ze75qvmd.js} +3 -3
- package/dist/chunks/{formatter-d6gsefxn.js → session-zpemznmz.js} +13 -13
- package/dist/chunks/{formatter-9h54smkt.js → session-zpmv3r1q.js} +22 -22
- package/dist/chunks/{formatter-zzxsfh0g.js → session-zzxsfh0g.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +116 -108
- package/dist/database/v1-migration.js +5 -4
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +135 -135
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +112 -112
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +185 -185
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +96 -96
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +169 -169
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/database/v1-migration.bun.d.ts +1 -1
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/formatter-4wc608fg.js +0 -273
- package/dist/chunks/formatter-6ktzjf03.js +0 -35
- package/dist/chunks/formatter-d77dj7jw.js +0 -18
- package/dist/chunks/formatter-rt5dr6hb.js +0 -14
- /package/dist/chunks/{formatter-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kah00gy.js → session-1kah00gy.js} +0 -0
- /package/dist/chunks/{formatter-1njtx4es.js → session-1njtx4es.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4qk9sjk2.js → session-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → session-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6agm2x70.js → session-6agm2x70.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → session-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bhmrqjy3.js → session-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → session-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-ean2d8b5.js → session-ean2d8b5.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → session-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → session-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-nh4v3znn.js → session-nh4v3znn.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → session-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-syrav9an.js → session-syrav9an.js} +0 -0
- /package/dist/chunks/{formatter-t03h4f5z.js → session-t03h4f5z.js} +0 -0
- /package/dist/chunks/{formatter-ty7weeps.js → session-ty7weeps.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-vtarvj67.js → session-vtarvj67.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x4th4bpe.js → session-x4th4bpe.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z0h12gs8.js → session-z0h12gs8.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → session-z9919s4g.js} +0 -0
- /package/dist/chunks/{formatter-zxpyjp51.js → session-zxpyjp51.js} +0 -0
- /package/dist/chunks/{formatter-zz5vv3aq.js → session-zz5vv3aq.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service86
|
|
9
|
+
} from "./session-fs8bmpa7.js";
|
|
10
10
|
import {
|
|
11
11
|
fingerprint2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-dbfahj80.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
make27
|
|
15
|
+
} from "./session-10kj9emf.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/mcp/pool.ts
|
|
21
21
|
var exports_pool = {};
|
|
22
22
|
__export(exports_pool, {
|
|
23
23
|
McpPool: () => exports_pool,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service42,
|
|
25
25
|
key: () => key2,
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
26
|
+
layer: () => layer18,
|
|
27
|
+
node: () => node45
|
|
28
28
|
});
|
|
29
29
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
|
|
|
32
32
|
import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
|
|
33
33
|
import { FetchHttpClient } from "effect/http";
|
|
34
34
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
35
|
-
class
|
|
35
|
+
class Service42 extends Context.Service()("@opencode/McpPool") {
|
|
36
36
|
}
|
|
37
37
|
var key2 = (input) => {
|
|
38
38
|
const config = input.config;
|
|
@@ -61,11 +61,11 @@ function fingerprint(secret) {
|
|
|
61
61
|
return null;
|
|
62
62
|
return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
65
65
|
const scope = yield* Effect.scope;
|
|
66
66
|
const run = yield* FiberSet.makeRuntime();
|
|
67
67
|
const driver = makeLocalDriver2(yield* ChildProcessSpawner);
|
|
68
|
-
const host =
|
|
68
|
+
const host = Service86.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
70
70
|
const slots = new Map;
|
|
71
71
|
const unpoolable = new Set;
|
|
@@ -77,7 +77,7 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
77
77
|
lock: Semaphore.makeUnsafe(1),
|
|
78
78
|
outcome: Deferred.makeUnsafe(),
|
|
79
79
|
connected: false,
|
|
80
|
-
connection:
|
|
80
|
+
connection: make27({
|
|
81
81
|
name: input.name,
|
|
82
82
|
config: input.config,
|
|
83
83
|
directory: input.directory,
|
|
@@ -179,7 +179,7 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
179
179
|
});
|
|
180
180
|
const connection = (input) => {
|
|
181
181
|
const state = {};
|
|
182
|
-
const privately = (config) =>
|
|
182
|
+
const privately = (config) => make27({
|
|
183
183
|
...input,
|
|
184
184
|
config,
|
|
185
185
|
authProvider: Effect.suspend(() => state.selected?.authProvider ?? input.authProvider)
|
|
@@ -263,8 +263,8 @@ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
263
263
|
catalog: (client) => live().catalog(client)
|
|
264
264
|
};
|
|
265
265
|
};
|
|
266
|
-
return
|
|
266
|
+
return Service42.of({ connection });
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
268
|
+
var node45 = makeGlobalNode({ service: Service42, layer: layer18, deps: [CrossSpawnSpawner.node, httpFetch] });
|
|
269
269
|
|
|
270
|
-
export {
|
|
270
|
+
export { Service42, key2, layer18, node45, exports_pool };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service15
|
|
3
|
+
} from "./session-qg74nxhh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
11
|
+
Input: () => Input9,
|
|
12
12
|
Output: () => Output6,
|
|
13
|
-
Plugin: () =>
|
|
13
|
+
Plugin: () => Plugin48,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
16
|
-
toModelContent: () =>
|
|
15
|
+
name: () => name9,
|
|
16
|
+
toModelContent: () => toModelContent4
|
|
17
17
|
});
|
|
18
18
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
|
-
var
|
|
21
|
-
var
|
|
20
|
+
var name9 = "write";
|
|
21
|
+
var Input9 = Schema.Struct({
|
|
22
22
|
path: Schema.String.annotate({
|
|
23
23
|
description: "Path to the file to write to"
|
|
24
24
|
}),
|
|
@@ -30,20 +30,20 @@ var Output6 = Schema.Struct({
|
|
|
30
30
|
resource: Schema.String,
|
|
31
31
|
existed: Schema.Boolean
|
|
32
32
|
});
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
34
|
+
var Plugin48 = {
|
|
35
35
|
id: "opencode.tool.write",
|
|
36
36
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
37
|
-
const fileWrite = yield*
|
|
37
|
+
const fileWrite = yield* Service15;
|
|
38
38
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
39
|
-
name:
|
|
39
|
+
name: name9,
|
|
40
40
|
options: { codemode: false, permission: "edit" },
|
|
41
41
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
42
42
|
|
|
43
43
|
Missing parent directories are created automatically.
|
|
44
44
|
|
|
45
45
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
46
|
-
input:
|
|
46
|
+
input: Input9,
|
|
47
47
|
output: Output6,
|
|
48
48
|
execute: (input, context) => Effect.gen(function* () {
|
|
49
49
|
const written = yield* fileWrite.write(input, context);
|
|
@@ -53,9 +53,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
53
53
|
resource: written.resource,
|
|
54
54
|
existed: written.existed
|
|
55
55
|
};
|
|
56
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
56
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
57
57
|
})).pipe(Effect.orDie);
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { name9, Input9, Output6, toModelContent4, Plugin48, exports_write };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-evyxtfj4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID17,
|
|
6
|
+
Service83
|
|
7
|
+
} from "./session-s968vkjm.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-fcrd7kek.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-gag8qd9r.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID15,
|
|
19
|
+
Service81
|
|
20
|
+
} from "./session-hknxt8c4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./session-33jayjx7.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service91,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-dbfahj80.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./session-ka0gdbz1.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./session-xkkxtad0.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./session-fv1ywcqh.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make17(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service83;
|
|
83
|
+
const providers = yield* Service81;
|
|
84
|
+
const cache = yield* Service91;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make16(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID15.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID15.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make16(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID15.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make16(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make16(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID15.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make16(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID15.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make16(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make16(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID15.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make16(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID15.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID15.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID15.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make16(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID15.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make16(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID15.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID15.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID14.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./session-cw35tvbj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./session-07xjpvws.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service27
|
|
12
|
+
} from "./session-vt5ka884.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-tvtps2q9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin18
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin18 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service75;
|
|
34
|
+
const location = yield* Service88;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service27;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin46 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin18, exports_worktree };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node80
|
|
8
|
+
} from "./session-33jayjx7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node66
|
|
12
|
+
} from "./session-06ans4sc.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
22
22
|
__export(exports_generate, {
|
|
23
23
|
Generate: () => exports_generate,
|
|
24
|
-
InvalidRequestError: () =>
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service29,
|
|
29
|
+
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
31
|
layer: () => layer12,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node32
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service29 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var layer12 = Layer.effect(
|
|
86
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service65;
|
|
89
|
+
const models = yield* Service79;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service29.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError3({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError3({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
218
|
+
var node32 = makeLocationNode({
|
|
219
|
+
service: Service29,
|
|
220
220
|
layer: layer12,
|
|
221
|
-
deps: [
|
|
221
|
+
deps: [node66, node80, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service29, layer12, node32, exports_generate };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-8zv0xmg5.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-nqzd7fjx.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|