@opencode/core 0.0.0-dev-20681 → 0.0.0-dev-20682
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-retention-j7ektg2c.js → model-resolver-0364ndsb.js} +44 -44
- package/dist/chunks/{file-retention-kd48n5vs.js → model-resolver-08d6azjt.js} +9 -9
- package/dist/chunks/{file-retention-tg7bkhef.js → model-resolver-0bg0bx69.js} +5 -5
- package/dist/chunks/{file-retention-q0xm7vwc.js → model-resolver-0j77ygfz.js} +6 -6
- package/dist/chunks/{file-retention-8rg5szvb.js → model-resolver-0me0fk48.js} +4 -4
- package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-kjwsf0xt.js → model-resolver-0q2fecvk.js} +11 -11
- package/dist/chunks/{file-retention-cpqeyayh.js → model-resolver-0tpcnmcw.js} +6 -6
- package/dist/chunks/{file-retention-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-4y79czg2.js → model-resolver-0ybx6e4j.js} +16 -16
- package/dist/chunks/{file-retention-acw72k0x.js → model-resolver-10c97xc6.js} +9 -9
- package/dist/chunks/{file-retention-9fyy27dk.js → model-resolver-110b8ek2.js} +27 -27
- package/dist/chunks/{file-retention-a2x2qtap.js → model-resolver-11hct9f4.js} +27 -27
- package/dist/chunks/{file-retention-x0r517r6.js → model-resolver-11nrpngx.js} +14 -14
- package/dist/chunks/{file-retention-xe9nhgdy.js → model-resolver-14p1364x.js} +30 -30
- package/dist/chunks/{file-retention-sbc7xwzx.js → model-resolver-16zkvp84.js} +37 -37
- package/dist/chunks/{file-retention-23kkzav6.js → model-resolver-19y7fb49.js} +13 -13
- package/dist/chunks/{file-retention-rhraev7y.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-r6pqrcmr.js → model-resolver-1p1pjvaa.js} +21 -21
- package/dist/chunks/{file-retention-h41w6thw.js → model-resolver-1y9c9szs.js} +23 -23
- package/dist/chunks/{file-retention-34x5nqhx.js → model-resolver-211z80cq.js} +7 -7
- package/dist/chunks/{file-retention-j1akhw48.js → model-resolver-24kyvzj3.js} +49 -49
- package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-a1dq5efv.js → model-resolver-2becn8wt.js} +7 -7
- package/dist/chunks/{file-retention-4ts7tf6z.js → model-resolver-2ccvkpx1.js} +2 -2
- package/dist/chunks/{file-retention-ygrct2xs.js → model-resolver-2ex9v4dz.js} +27 -27
- package/dist/chunks/{file-retention-dagpcw60.js → model-resolver-2f659e5x.js} +11 -11
- package/dist/chunks/{file-retention-hh66qvd1.js → model-resolver-2mn1ra9m.js} +32 -32
- package/dist/chunks/{file-retention-rzwhqm3a.js → model-resolver-2txn9rvg.js} +1 -1
- package/dist/chunks/{file-retention-r6qhg5cx.js → model-resolver-2vecpzew.js} +18 -18
- package/dist/chunks/{file-retention-g0wmaxy9.js → model-resolver-2weqyc98.js} +25 -25
- package/dist/chunks/{file-retention-hm31tfx1.js → model-resolver-31xw4se4.js} +1 -1
- package/dist/chunks/{file-retention-q65awyea.js → model-resolver-33dajdt0.js} +84 -84
- package/dist/chunks/{file-retention-0f5x9ggt.js → model-resolver-38g0pyy9.js} +1 -1
- package/dist/chunks/{file-retention-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
- package/dist/chunks/{file-retention-jvm6vmtm.js → model-resolver-3dygqxay.js} +14 -14
- package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-zm4ck3vc.js → model-resolver-3jbr2x8z.js} +8 -8
- package/dist/chunks/{file-retention-mbf8d5kt.js → model-resolver-3qnt817w.js} +12 -12
- package/dist/chunks/{file-retention-03xyy9gs.js → model-resolver-3rd28rcz.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-g2arkee0.js → model-resolver-40fy2d9q.js} +1 -1
- package/dist/chunks/{file-retention-820kspmq.js → model-resolver-4dfbsgcw.js} +20 -20
- package/dist/chunks/{file-retention-d3r92nc5.js → model-resolver-4twwj3gr.js} +8 -8
- package/dist/chunks/{file-retention-938z0aze.js → model-resolver-4warvet6.js} +22 -22
- package/dist/chunks/{file-retention-x9qn77dj.js → model-resolver-4x518902.js} +31 -31
- package/dist/chunks/{file-retention-dhxjrn4z.js → model-resolver-4yxeygct.js} +7 -7
- package/dist/chunks/{file-retention-n1n192bv.js → model-resolver-4z58m4b4.js} +4 -4
- package/dist/chunks/{file-retention-hwgkyev7.js → model-resolver-5120j63r.js} +10 -10
- package/dist/chunks/{file-retention-9ye852qw.js → model-resolver-55vcwskv.js} +8 -8
- package/dist/chunks/{file-retention-33w4ejhs.js → model-resolver-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-wtqemd4y.js → model-resolver-5kp4xrh9.js} +7 -7
- package/dist/chunks/{file-retention-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-5cyysqwj.js → model-resolver-5vs2d7gx.js} +16 -16
- package/dist/chunks/{file-retention-nqxj0yn4.js → model-resolver-63db42yp.js} +2 -2
- package/dist/chunks/{file-retention-dktpvhqt.js → model-resolver-66hc15ng.js} +32 -32
- package/dist/chunks/{file-retention-70he5k1a.js → model-resolver-69fj14ep.js} +24 -24
- package/dist/chunks/{file-retention-zz29563v.js → model-resolver-6c6jf3me.js} +21 -21
- package/dist/chunks/{file-retention-mjymc32g.js → model-resolver-6m42r3np.js} +21 -21
- package/dist/chunks/{file-retention-vbpjx0bg.js → model-resolver-6qcr098f.js} +3 -3
- package/dist/chunks/{file-retention-a8skskqr.js → model-resolver-6x448rs9.js} +23 -23
- package/dist/chunks/{file-retention-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-09fyqd88.js → model-resolver-77jv0j1h.js} +9 -9
- package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-g8pw0xsb.js → model-resolver-7ecay89j.js} +11 -11
- package/dist/chunks/model-resolver-7mcy0e9k.js +26 -0
- package/dist/chunks/{file-retention-w49382pb.js → model-resolver-7s2tn799.js} +8 -8
- package/dist/chunks/{file-retention-gpdrbh7c.js → model-resolver-7y628me3.js} +23 -23
- package/dist/chunks/{file-retention-rjk8fnxb.js → model-resolver-83009cjb.js} +27 -27
- package/dist/chunks/{file-retention-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
- package/dist/chunks/{file-retention-w1eejvng.js → model-resolver-84txncab.js} +5 -5
- package/dist/chunks/{file-retention-ae3ekk0y.js → model-resolver-8bgdgvzg.js} +16 -16
- package/dist/chunks/{file-retention-edexehs9.js → model-resolver-8cv9sccg.js} +25 -25
- package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-t83dx74p.js → model-resolver-8htghz5d.js} +18 -18
- package/dist/chunks/{file-retention-mbt5cw93.js → model-resolver-8kddseeh.js} +13 -13
- package/dist/chunks/{file-retention-bcfhhyy3.js → model-resolver-8nn1yj6z.js} +11 -11
- package/dist/chunks/{file-retention-s6d08xqn.js → model-resolver-8nwvde6v.js} +8 -8
- package/dist/chunks/{file-retention-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
- package/dist/chunks/{file-retention-phm79hns.js → model-resolver-8wf1bn9q.js} +9 -9
- package/dist/chunks/{file-retention-d9wzmzc3.js → model-resolver-8y31xnqm.js} +5 -5
- package/dist/chunks/{file-retention-myekv2e1.js → model-resolver-8z06avg2.js} +11 -11
- package/dist/chunks/{file-retention-ve6nm2s5.js → model-resolver-909p1r3q.js} +6 -6
- package/dist/chunks/{file-retention-vczt2j2e.js → model-resolver-94mn3p3s.js} +11 -11
- package/dist/chunks/{file-retention-37p191wt.js → model-resolver-9g5xkymg.js} +2 -2
- package/dist/chunks/{file-retention-mxt3wcgd.js → model-resolver-9n8a201b.js} +71 -71
- package/dist/chunks/{file-retention-fda9q8n1.js → model-resolver-a4jzv6pb.js} +23 -23
- package/dist/chunks/{file-retention-hes1j7ga.js → model-resolver-a7bcxdzj.js} +9 -9
- package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-tx92n959.js → model-resolver-afjydgk3.js} +4 -4
- package/dist/chunks/{file-retention-5dxg2j8v.js → model-resolver-amehwh5s.js} +6 -6
- package/dist/chunks/{file-retention-6r09hpxq.js → model-resolver-av7v7zb0.js} +19 -19
- package/dist/chunks/{file-retention-473qxj02.js → model-resolver-azd5zvnq.js} +20 -20
- package/dist/chunks/{file-retention-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
- package/dist/chunks/{file-retention-mdyte87w.js → model-resolver-b3pet2zg.js} +4 -4
- package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-8h3wwz5z.js → model-resolver-bd819fhp.js} +8 -8
- package/dist/chunks/{file-retention-ey888tbp.js → model-resolver-bmd39q5q.js} +13 -13
- package/dist/chunks/{file-retention-wtdswasp.js → model-resolver-btak5zqv.js} +8 -8
- package/dist/chunks/{file-retention-vr81r1wp.js → model-resolver-bth1fran.js} +11 -11
- package/dist/chunks/{file-retention-x9hm1kyg.js → model-resolver-c9kv66wf.js} +25 -25
- package/dist/chunks/model-resolver-ctefx7dc.js +18 -0
- package/dist/chunks/{file-retention-5kw0n2ma.js → model-resolver-ctzssw83.js} +8 -8
- package/dist/chunks/{file-retention-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-retention-m7g7tjth.js → model-resolver-cxsfdq8a.js} +24 -24
- package/dist/chunks/{file-retention-6dnjeqe6.js → model-resolver-d355hkrp.js} +39 -43
- package/dist/chunks/{file-retention-2x9pw9ke.js → model-resolver-d8tgnve2.js} +5 -5
- package/dist/chunks/{file-retention-64cxtqk4.js → model-resolver-dafg2r43.js} +34 -34
- package/dist/chunks/{file-retention-1n632r5x.js → model-resolver-dm21k72n.js} +9 -9
- package/dist/chunks/{file-retention-5xrkpdm9.js → model-resolver-dmghp31x.js} +24 -24
- package/dist/chunks/{file-retention-64dv7wa4.js → model-resolver-dmkm46ch.js} +13 -13
- package/dist/chunks/{file-retention-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-srq67sk8.js → model-resolver-ds811dtb.js} +2 -2
- package/dist/chunks/{file-retention-mv92nc0c.js → model-resolver-dwyev0pn.js} +30 -30
- package/dist/chunks/{file-retention-ybqw3e3v.js → model-resolver-dxqyj49f.js} +3 -3
- package/dist/chunks/{file-retention-dzbjpkzp.js → model-resolver-dy92ps29.js} +6 -6
- package/dist/chunks/{file-retention-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-retention-0pgs73yf.js → model-resolver-e53gjx43.js} +41 -41
- package/dist/chunks/{file-retention-yb1jef8c.js → model-resolver-e5s5dhnn.js} +11 -11
- package/dist/chunks/{file-retention-750g53k3.js → model-resolver-e6vcv3sh.js} +19 -19
- package/dist/chunks/{file-retention-09hj56x9.js → model-resolver-e8sy2har.js} +31 -31
- package/dist/chunks/{file-retention-cstv7mkv.js → model-resolver-eatejewc.js} +5 -5
- package/dist/chunks/{file-retention-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-jrpn6x2x.js → model-resolver-ep06henm.js} +18 -18
- package/dist/chunks/{file-retention-fa14k2vq.js → model-resolver-es92z2hg.js} +6 -6
- package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-q01e5agj.js → model-resolver-evbj9t57.js} +45 -45
- package/dist/chunks/{file-retention-d1wgwwpz.js → model-resolver-eyxk1qnq.js} +33 -33
- package/dist/chunks/{file-retention-wsb67xeh.js → model-resolver-f00eh3k7.js} +11 -11
- package/dist/chunks/{file-retention-1f0b6d85.js → model-resolver-f53vpfqg.js} +12 -12
- package/dist/chunks/{file-retention-dpw5yek7.js → model-resolver-f5en7f74.js} +5 -5
- package/dist/chunks/{file-retention-71az546q.js → model-resolver-f75zav2x.js} +2 -2
- package/dist/chunks/{file-retention-8qyxgmca.js → model-resolver-fd65jbzw.js} +11 -11
- package/dist/chunks/{file-retention-s609sw4r.js → model-resolver-fd7cqx9x.js} +11 -11
- package/dist/chunks/{file-retention-sxz6gkc3.js → model-resolver-fm2qvscf.js} +7 -7
- package/dist/chunks/{file-retention-gpk0vexy.js → model-resolver-fvp47qe4.js} +20 -20
- package/dist/chunks/{file-retention-f76zd4y3.js → model-resolver-fzz3hcr3.js} +24 -24
- package/dist/chunks/{file-retention-1ajx6rf5.js → model-resolver-g0445xdp.js} +8 -8
- package/dist/chunks/{file-retention-nncbtphf.js → model-resolver-g2qj6ddr.js} +24 -24
- package/dist/chunks/{file-retention-0aneshm7.js → model-resolver-g3g4kd0v.js} +20 -20
- package/dist/chunks/{file-retention-wmns5nf0.js → model-resolver-g7rd8z26.js} +4 -4
- package/dist/chunks/{file-retention-gdgxkkph.js → model-resolver-gaav3xfc.js} +12 -12
- package/dist/chunks/{file-retention-3g8j9he4.js → model-resolver-gd0tnyjc.js} +1 -1
- package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-ycw2jfrh.js → model-resolver-ge7bq23y.js} +29 -29
- package/dist/chunks/{file-retention-7c5mdn1c.js → model-resolver-gpnd5mkj.js} +9 -9
- package/dist/chunks/{file-retention-17sdckqj.js → model-resolver-grwyepjm.js} +17 -17
- package/dist/chunks/{file-retention-6cj95z3h.js → model-resolver-gz16832s.js} +26 -26
- package/dist/chunks/{file-retention-2e6ycnq2.js → model-resolver-h0wm3sd5.js} +4 -4
- package/dist/chunks/{file-retention-be4ddzaj.js → model-resolver-h14zrqyq.js} +20 -20
- package/dist/chunks/{file-retention-vnn4j5gh.js → model-resolver-h182e1ya.js} +12 -12
- package/dist/chunks/{file-retention-b929sp55.js → model-resolver-h4a7s26t.js} +6 -6
- package/dist/chunks/{file-retention-1m3hxyx8.js → model-resolver-h5eb1stf.js} +42 -42
- package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-jbtmhr82.js → model-resolver-h76ep6gq.js} +11 -11
- package/dist/chunks/{file-retention-na6tqg4t.js → model-resolver-hh65bbrn.js} +9 -9
- package/dist/chunks/{file-retention-zafm009k.js → model-resolver-hhxvcfmq.js} +2 -2
- package/dist/chunks/{file-retention-y072d9hw.js → model-resolver-hnyhndd0.js} +3 -3
- package/dist/chunks/{file-retention-f9nevmwk.js → model-resolver-ht2a8fky.js} +9 -9
- package/dist/chunks/{file-retention-jahc66mj.js → model-resolver-hv8xeme1.js} +10 -10
- package/dist/chunks/{file-retention-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-hdgxcmab.js → model-resolver-je7fg4hd.js} +25 -25
- package/dist/chunks/{file-retention-v71jy9y0.js → model-resolver-jjwtv0ah.js} +6 -6
- package/dist/chunks/{file-retention-he1kwnjy.js → model-resolver-jmskrp9g.js} +24 -24
- package/dist/chunks/{file-retention-y5nh7e22.js → model-resolver-jrqb24zm.js} +11 -11
- package/dist/chunks/{file-retention-fa9q739j.js → model-resolver-k4asghnp.js} +5 -5
- package/dist/chunks/{file-retention-xnj07x5h.js → model-resolver-kax3gvj5.js} +11 -11
- package/dist/chunks/{file-retention-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
- package/dist/chunks/{file-retention-k0v1pxzb.js → model-resolver-km7an3ep.js} +17 -17
- package/dist/chunks/{file-retention-jvf3yq6v.js → model-resolver-kne8f3cn.js} +4 -4
- package/dist/chunks/{file-retention-kqx66hb9.js → model-resolver-kx9rc79n.js} +29 -29
- package/dist/chunks/{file-retention-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-f5gy8qwh.js → model-resolver-m6f3t844.js} +8 -8
- package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-ey8ksrh3.js → model-resolver-m9wbq610.js} +19 -19
- package/dist/chunks/{file-retention-njby6g43.js → model-resolver-meahagrb.js} +42 -42
- package/dist/chunks/{file-retention-pasrzgnm.js → model-resolver-mtf9y83c.js} +11 -11
- package/dist/chunks/{file-retention-n7m69k8w.js → model-resolver-mw9atry4.js} +10 -10
- package/dist/chunks/model-resolver-n66nyqav.js +253 -0
- package/dist/chunks/{file-retention-b674v2dg.js → model-resolver-n8vdnqrc.js} +5 -5
- package/dist/chunks/{file-retention-yvgnd6da.js → model-resolver-ngghfn62.js} +3 -3
- package/dist/chunks/{file-retention-gh5z95q3.js → model-resolver-nqc2a42y.js} +9 -9
- package/dist/chunks/{file-retention-2pbjjxkv.js → model-resolver-nv85q5yc.js} +13 -13
- package/dist/chunks/{file-retention-904an80t.js → model-resolver-nvkjfv9x.js} +18 -18
- package/dist/chunks/{file-retention-pgp1nwjn.js → model-resolver-nw91k3fh.js} +4 -4
- package/dist/chunks/{file-retention-crgh4fce.js → model-resolver-p5qcrc4c.js} +3 -3
- package/dist/chunks/{file-retention-x03f1vzf.js → model-resolver-pbwe4c5d.js} +86 -86
- package/dist/chunks/{file-retention-zcs7pzqw.js → model-resolver-pj9tg3xc.js} +29 -29
- package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-30846h32.js → model-resolver-pnaxc6j9.js} +8 -8
- package/dist/chunks/{file-retention-2c25w9p0.js → model-resolver-q8nwznbs.js} +4 -4
- package/dist/chunks/{file-retention-qgn6gcr1.js → model-resolver-qgn6gcr1.js} +1 -1
- package/dist/chunks/{file-retention-bcb25nnb.js → model-resolver-qhf50je4.js} +19 -19
- package/dist/chunks/{file-retention-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-6ny0zgt8.js → model-resolver-qqbg84xg.js} +17 -17
- package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-retention-xsgjgyxe.js → model-resolver-r01t9b5y.js} +6 -6
- package/dist/chunks/{file-retention-nxb06eb5.js → model-resolver-r54yw92w.js} +11 -11
- package/dist/chunks/{file-retention-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
- package/dist/chunks/{file-retention-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-1ffbm2jk.js → model-resolver-rp6bd9wq.js} +11 -11
- package/dist/chunks/{file-retention-w14eggg5.js → model-resolver-rs7zj18r.js} +9 -9
- package/dist/chunks/{file-retention-094k6nq6.js → model-resolver-rwegcfpf.js} +16 -16
- package/dist/chunks/{file-retention-2ymj8j9z.js → model-resolver-s6v33hhs.js} +5 -5
- package/dist/chunks/{file-retention-gq1kxapj.js → model-resolver-sgg17eyk.js} +16 -16
- package/dist/chunks/{file-retention-zzmbjfh5.js → model-resolver-sgksxw7g.js} +3 -3
- package/dist/chunks/{file-retention-arz7hw7x.js → model-resolver-ss358qx3.js} +3 -3
- package/dist/chunks/{file-retention-7jc2cdj1.js → model-resolver-ssrgjt3e.js} +8 -8
- package/dist/chunks/{file-retention-6j7shb91.js → model-resolver-t29swve2.js} +3 -3
- package/dist/chunks/{file-retention-fqy13z6k.js → model-resolver-t32zyhfe.js} +7 -7
- package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-y5chagx8.js → model-resolver-tg3ranp2.js} +26 -26
- package/dist/chunks/{file-retention-3cw3w3a5.js → model-resolver-tjscfx4m.js} +30 -30
- package/dist/chunks/{file-retention-57myy5jh.js → model-resolver-tk14y25j.js} +5 -5
- package/dist/chunks/{file-retention-bfzhmb2g.js → model-resolver-tptdvtpk.js} +20 -20
- package/dist/chunks/{file-retention-0mb4avxv.js → model-resolver-tttwfjc6.js} +5 -5
- package/dist/chunks/{file-retention-kpnjtwkv.js → model-resolver-txqvqyew.js} +41 -41
- package/dist/chunks/{file-retention-33kqnb84.js → model-resolver-v3n49zdf.js} +15 -15
- package/dist/chunks/{file-retention-4j03jpg8.js → model-resolver-vb454w7p.js} +3 -3
- package/dist/chunks/{file-retention-pvr6cp49.js → model-resolver-vbdkyqz4.js} +1 -1
- package/dist/chunks/{file-retention-ytkq3k3g.js → model-resolver-vbwbd6d7.js} +9 -9
- package/dist/chunks/{file-retention-cd4hwype.js → model-resolver-vepq4dqg.js} +52 -52
- package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-64yxt7jn.js → model-resolver-vsn506cm.js} +20 -20
- package/dist/chunks/{file-retention-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-dzyv9zyr.js → model-resolver-w7zyscj3.js} +6 -6
- package/dist/chunks/{file-retention-xdexf0f6.js → model-resolver-wbprqre7.js} +13 -13
- package/dist/chunks/{file-retention-94bax37x.js → model-resolver-wbtjy708.js} +23 -23
- package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-9jwk2z16.js → model-resolver-wdr7g53b.js} +26 -26
- package/dist/chunks/{file-retention-2ma8f05f.js → model-resolver-wgrcm666.js} +24 -24
- package/dist/chunks/{file-retention-n2srvep7.js → model-resolver-wj76ss2k.js} +4 -4
- package/dist/chunks/{file-retention-s8d7rejh.js → model-resolver-wv396vej.js} +8 -8
- package/dist/chunks/{file-retention-7qnnmmsd.js → model-resolver-wyy60m0y.js} +1 -1
- package/dist/chunks/{file-retention-50fv3yjs.js → model-resolver-wzmhb02r.js} +13 -13
- package/dist/chunks/{file-retention-3bc8czyk.js → model-resolver-x2d9qy7d.js} +5 -5
- package/dist/chunks/{file-retention-205pr9zd.js → model-resolver-x38qdzk1.js} +48 -48
- package/dist/chunks/{file-retention-5bvv5wt0.js → model-resolver-x623mxjj.js} +17 -17
- package/dist/chunks/{file-retention-mxvxcxwy.js → model-resolver-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-4ffr5ypj.js → model-resolver-xbmhsw7f.js} +29 -29
- package/dist/chunks/{file-retention-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-4jvpaqy4.js → model-resolver-xjd9n2sp.js} +25 -25
- package/dist/chunks/{file-retention-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-9qrc8kph.js → model-resolver-y0qr5jf7.js} +1 -1
- package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-a1ekkk6g.js → model-resolver-y6v1v83p.js} +11 -11
- package/dist/chunks/{file-retention-ptx056q3.js → model-resolver-yc5k47t6.js} +18 -18
- package/dist/chunks/{file-retention-z9nc9d7h.js → model-resolver-yfa68f7n.js} +33 -33
- package/dist/chunks/{file-retention-rf6cmkn1.js → model-resolver-yg62bcth.js} +11 -11
- package/dist/chunks/{file-retention-zwrdb9pw.js → model-resolver-ymr5aw12.js} +9 -9
- package/dist/chunks/{file-retention-mna3rst0.js → model-resolver-ynx1sbyb.js} +11 -11
- package/dist/chunks/{file-retention-5ryzkr0h.js → model-resolver-yp8tn9p0.js} +17 -17
- package/dist/chunks/{file-retention-9faykjcc.js → model-resolver-ypjnx83w.js} +148 -148
- package/dist/chunks/{file-retention-gejtnehc.js → model-resolver-ypnjcb15.js} +33 -33
- package/dist/chunks/{file-retention-j57qcdj3.js → model-resolver-yvehv8j4.js} +21 -21
- package/dist/chunks/model-resolver-yvv17s0z.js +507 -0
- package/dist/chunks/{file-retention-wknvrshc.js → model-resolver-yyk24bey.js} +17 -17
- package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-srm8s2qm.js → model-resolver-z0r25cb3.js} +12 -12
- package/dist/chunks/{file-retention-n37c4crj.js → model-resolver-z4ztj7g0.js} +9 -9
- package/dist/chunks/{file-retention-hwm35mvz.js → model-resolver-zf19209g.js} +3 -3
- package/dist/chunks/{file-retention-3qhw393j.js → model-resolver-zf4p7bms.js} +15 -15
- package/dist/chunks/{file-retention-3yef2cta.js → model-resolver-zny3dpd0.js} +8 -8
- package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-g7bg1e3j.js → model-resolver-zwcyw4cb.js} +4 -4
- package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +210 -210
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-retention-08vhykfc.js +0 -253
- package/dist/chunks/file-retention-4hv31q0j.js +0 -507
- package/dist/chunks/file-retention-q509s3k3.js +0 -18
- package/dist/chunks/file-retention-qssvdjk7.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service60
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-4twwj3gr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./model-resolver-33dajdt0.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-6xb47vfp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make11 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
23
|
+
const sessions = yield* Service29;
|
|
24
24
|
const jobs = yield* Service60;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service77,
|
|
3
|
+
node81,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-08d6azjt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node48
|
|
9
|
+
} from "./model-resolver-909p1r3q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./model-resolver-11hct9f4.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-n66nyqav.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service77, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service14);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node48.replace(Layer.succeed(Service46, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node81.replace(Layer.succeed(Service77, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y6v1v83p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event18,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./model-resolver-1p1pjvaa.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-2ex9v4dz.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
24
|
ID12,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./model-resolver-6x448rs9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID11
|
|
29
|
+
} from "./model-resolver-83009cjb.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-resolver-dy92ps29.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make7(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
@@ -77,8 +77,8 @@ function make6(endpoints = {
|
|
|
77
77
|
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service82;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service74;
|
|
81
|
+
const providers = yield* Service72;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -153,7 +153,7 @@ function make6(endpoints = {
|
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
155
|
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -322,7 +322,7 @@ function make6(endpoints = {
|
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make7();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -333,7 +333,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
333
333
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
334
334
|
}
|
|
335
335
|
function credentialResource(credential) {
|
|
336
|
-
const resource = credential?.type === "key" ? credential.configuration?.resourceName : credential?.methodID === methodID ? credential.metadata?.resourceName : undefined;
|
|
336
|
+
const resource = credential?.type === "key" ? credential.configuration?.resourceName ?? credential.metadata?.resourceName : credential?.methodID === methodID ? credential.metadata?.resourceName : undefined;
|
|
337
337
|
return typeof resource === "string" && resource.trim() !== "" ? resource : undefined;
|
|
338
338
|
}
|
|
339
339
|
function resourceQuery(resource) {
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID11.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-wv396vej.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event21,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service81,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node85
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event21 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service81 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event21.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make22({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service81.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service81,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node85 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event21, Options10, Service81, layer25, configured11, node85, exports_instruction_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service75.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node79 = makeLocationNode({ service: Service75, layer: layer24, deps: [node86] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node79, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin43,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin43 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin43, exports_identity };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make22,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make22(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y6v1v83p.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-1p1pjvaa.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
15
|
ID13,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-2ex9v4dz.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./model-resolver-6x448rs9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Info20
|
|
26
|
+
} from "./model-resolver-83009cjb.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service72;
|
|
61
61
|
const bus = yield* Service82;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info20.default(providerID, ID11.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin40 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin40, exports_tool_input_repair };
|