@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./session-cw35tvbj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-33jayjx7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service75
|
|
10
|
+
} from "./session-07xjpvws.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service86
|
|
13
|
+
} from "./session-fs8bmpa7.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-ka0gdbz1.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service75;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service86);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service88);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID14.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service73,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service73 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service73.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node74 = makeLocationNode({
|
|
143
|
+
service: Service73,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service73, node74, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-evyxtfj4.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./session-s968vkjm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-gag8qd9r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-hknxt8c4.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID15.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID16.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service83;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service93,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-ywthjcrc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service83,
|
|
11
|
+
node84
|
|
12
|
+
} from "./session-s968vkjm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service88,
|
|
15
|
+
node90
|
|
16
|
+
} from "./session-cw35tvbj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service86,
|
|
19
|
+
node87
|
|
20
|
+
} from "./session-fs8bmpa7.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service84,
|
|
24
|
+
node85
|
|
25
|
+
} from "./session-214mfmz3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service82,
|
|
34
|
+
node83
|
|
35
|
+
} from "./session-gag8qd9r.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make27
|
|
38
|
+
} from "./session-10kj9emf.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service42,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node45
|
|
43
|
+
} from "./session-mm4ngpvd.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./session-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
52
|
NotFoundError: () => NotFoundError6,
|
|
53
|
-
Options: () =>
|
|
53
|
+
Options: () => Options3,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
56
56
|
ResourceCatalog: () => ResourceCatalog2,
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service41,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
|
-
configured: () =>
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
63
|
+
configured: () => configured3,
|
|
64
|
+
layer: () => layer17,
|
|
65
|
+
node: () => node44
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
|
-
var
|
|
133
|
+
var Options3 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
135
135
|
name: Schema.String,
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
139
|
+
var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
140
|
+
const location = yield* Service88;
|
|
141
|
+
const environment = yield* Service86;
|
|
142
142
|
const bus = yield* Service93;
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
143
|
+
const forms = yield* Service84;
|
|
144
|
+
const integration = yield* Service82;
|
|
145
|
+
const credentials = yield* Service83;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service42;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -160,7 +160,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
160
160
|
return;
|
|
161
161
|
const remote = entry.config;
|
|
162
162
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
163
|
-
const integrationID =
|
|
163
|
+
const integrationID = ID16.make(suffix);
|
|
164
164
|
entry.integrationID = integrationID;
|
|
165
165
|
const methodID = MethodID2.make(suffix);
|
|
166
166
|
const scope = yield* Scope.fork(root);
|
|
@@ -175,7 +175,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -196,12 +196,12 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service83, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID18.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -238,7 +238,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
238
238
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
239
|
};
|
|
240
240
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
241
|
+
}).pipe(Effect.provideService(Service88, location)),
|
|
242
242
|
complete: (input) => Effect.gen(function* () {
|
|
243
243
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
244
|
if (!formID)
|
|
@@ -270,7 +270,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
270
270
|
status: { status: "pending" },
|
|
271
271
|
startup: Latch.makeUnsafe(),
|
|
272
272
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
273
|
-
connection: (pooled ? share :
|
|
273
|
+
connection: (pooled ? share : make27)({
|
|
274
274
|
name,
|
|
275
275
|
config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
|
|
276
276
|
directory: location.directory,
|
|
@@ -412,7 +412,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service86, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +485,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
485
485
|
yield* entry.connection.start;
|
|
486
486
|
}).pipe(locks.withLock(name));
|
|
487
487
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
488
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
489
|
const state = create4({
|
|
490
490
|
name: "mcp",
|
|
491
491
|
initial: () => ({
|
|
@@ -511,7 +511,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service41.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
|
|
|
643
643
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function configured3(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service41,
|
|
649
|
+
layer: layer17(options),
|
|
650
650
|
deps: [
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
node90,
|
|
652
|
+
node87,
|
|
653
653
|
node95,
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
node85,
|
|
655
|
+
node83,
|
|
656
|
+
node84,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node45
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node44 = configured3();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service41, Options3, layer17, configured3, node44, exports_mcp4 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service88
|
|
11
|
+
} from "./session-cw35tvbj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service86
|
|
14
|
+
} from "./session-fs8bmpa7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./session-vd24h3x2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-7qyc9z36.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service60
|
|
26
|
+
} from "./session-gpnjexd0.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service21,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-4cza9xhs.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./session-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./session-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input13,
|
|
43
|
+
Output: () => Output9,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () =>
|
|
45
|
+
Plugin: () => Plugin52,
|
|
46
|
+
name: () => name13,
|
|
47
|
+
toModelContent: () => toModelContent6
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
50
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -89,8 +89,8 @@ It is important to remember:
|
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
// src/tool/plugin/patch.ts
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var name13 = "patch";
|
|
93
|
+
var Input13 = Schema.Struct({
|
|
94
94
|
patchText: Schema.String.annotate({
|
|
95
95
|
description: "The full patch text describing add, update, and delete operations"
|
|
96
96
|
})
|
|
@@ -100,30 +100,30 @@ var Applied2 = Schema.Struct({
|
|
|
100
100
|
resource: Schema.String,
|
|
101
101
|
target: Schema.String
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var Output9 = Schema.Struct({
|
|
104
104
|
applied: Schema.Array(Applied2),
|
|
105
105
|
files: Schema.Array(FileDiff.Info)
|
|
106
106
|
});
|
|
107
|
-
var
|
|
107
|
+
var toModelContent6 = (output) => [
|
|
108
108
|
"Success. Updated the following files:",
|
|
109
109
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
110
110
|
].join(`
|
|
111
111
|
`);
|
|
112
|
-
var
|
|
112
|
+
var Plugin52 = {
|
|
113
113
|
id: "opencode.tool.patch",
|
|
114
114
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
115
|
-
const environment = yield*
|
|
116
|
-
const access = yield*
|
|
117
|
-
const fileMutation = yield*
|
|
118
|
-
const formatter = yield*
|
|
119
|
-
const location = yield*
|
|
120
|
-
const permission = yield*
|
|
115
|
+
const environment = yield* Service86;
|
|
116
|
+
const access = yield* Service21;
|
|
117
|
+
const fileMutation = yield* Service17;
|
|
118
|
+
const formatter = yield* Service16;
|
|
119
|
+
const location = yield* Service88;
|
|
120
|
+
const permission = yield* Service60;
|
|
121
121
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
122
|
-
name:
|
|
122
|
+
name: name13,
|
|
123
123
|
options: { codemode: false, permission: "edit" },
|
|
124
124
|
description: patch_default,
|
|
125
|
-
input:
|
|
126
|
-
output:
|
|
125
|
+
input: Input13,
|
|
126
|
+
output: Output9,
|
|
127
127
|
execute: (input, context) => {
|
|
128
128
|
const applied = [];
|
|
129
129
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -265,7 +265,7 @@ var Plugin5 = {
|
|
|
265
265
|
return { applied, files };
|
|
266
266
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
267
267
|
output,
|
|
268
|
-
content:
|
|
268
|
+
content: toModelContent6(output),
|
|
269
269
|
metadata: { files: output.files }
|
|
270
270
|
})), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
271
271
|
}
|
|
@@ -325,4 +325,4 @@ function trimDiff(diff) {
|
|
|
325
325
|
`);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export {
|
|
328
|
+
export { name13, Input13, Applied2, Output9, toModelContent6, Plugin52, exports_patch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ywthjcrc.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-6act4pnq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service88,
|
|
15
|
+
node90
|
|
16
|
+
} from "./session-cw35tvbj.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -32,10 +32,10 @@ __export(exports_vcs, {
|
|
|
32
32
|
Info: () => Info8,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service25,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node28
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service25 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service88;
|
|
63
63
|
const bus = yield* Service93;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service25.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node28 = makeLocationNode({
|
|
193
|
+
service: Service25,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node90, node95]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2, Info8, Mode2, Untracked2, DiffError2, InitializeError2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info8, Mode2, Untracked2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
|