@opencode/core 0.0.0-dev-469 → 0.0.0-dev-471
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 +240 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-resolver-034tev2y.js → file-mutation-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-kw62cqhv.js → file-mutation-0ae0g9xx.js} +1 -1
- package/dist/chunks/{model-resolver-xrg6m652.js → file-mutation-0e5e90b8.js} +30 -29
- package/dist/chunks/{model-resolver-vq2xvdsz.js → file-mutation-0f5bsa29.js} +3 -3
- package/dist/chunks/{model-resolver-nfc8t9nz.js → file-mutation-0g88509v.js} +12 -12
- package/dist/chunks/{model-resolver-0ma9gw4f.js → file-mutation-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-resolver-963hk181.js → file-mutation-0mtp185z.js} +9 -9
- package/dist/chunks/{model-resolver-b5sqw6cy.js → file-mutation-0td0ztem.js} +5 -5
- package/dist/chunks/{model-resolver-yp7f36nx.js → file-mutation-10exd076.js} +22 -22
- package/dist/chunks/{model-resolver-dnsmp72j.js → file-mutation-1436m8aj.js} +39 -39
- package/dist/chunks/{model-resolver-jqbxw64n.js → file-mutation-14726wrj.js} +8 -8
- package/dist/chunks/{model-resolver-0az8wgxf.js → file-mutation-165snqmq.js} +59 -59
- package/dist/chunks/{model-resolver-1aqsckx4.js → file-mutation-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-resolver-jfy0t39q.js → file-mutation-1c1bc264.js} +12 -12
- package/dist/chunks/{model-resolver-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-c6yxa053.js → file-mutation-1exmzxhg.js} +13 -13
- package/dist/chunks/{model-resolver-0epwk8tj.js → file-mutation-1f6tt8ca.js} +9 -9
- package/dist/chunks/{model-resolver-g7nk7hbh.js → file-mutation-1fv2bgyk.js} +8 -8
- package/dist/chunks/{model-resolver-n06ye39b.js → file-mutation-1k2y84s4.js} +7 -7
- package/dist/chunks/{model-resolver-q4trmxh9.js → file-mutation-1m3wvmpv.js} +6 -6
- package/dist/chunks/{model-resolver-npn4ysng.js → file-mutation-1s424h9e.js} +11 -11
- package/dist/chunks/{model-resolver-xm2ph75e.js → file-mutation-1skhq73y.js} +93 -25
- package/dist/chunks/{model-resolver-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-r4tkvq72.js → file-mutation-1xwhtawf.js} +81 -81
- package/dist/chunks/{model-resolver-p7vhpwh8.js → file-mutation-1yq9hg58.js} +5 -5
- package/dist/chunks/{model-resolver-cxn509bd.js → file-mutation-217mtgw7.js} +29 -29
- package/dist/chunks/{model-resolver-8b3vzgkx.js → file-mutation-25h84942.js} +4 -4
- package/dist/chunks/{model-resolver-jpzse34q.js → file-mutation-267s6g2x.js} +8 -8
- package/dist/chunks/{model-resolver-xf0jd4hy.js → file-mutation-275w4vaz.js} +25 -25
- package/dist/chunks/{model-resolver-0h9atf1j.js → file-mutation-2965y1bb.js} +3 -3
- package/dist/chunks/{model-resolver-z9gxsx9k.js → file-mutation-29g2pqmm.js} +21 -21
- package/dist/chunks/{model-resolver-cqey2x37.js → file-mutation-2afr6zk4.js} +6 -6
- package/dist/chunks/file-mutation-2dkjcnxp.js +18 -0
- package/dist/chunks/{model-resolver-k4ph6pw8.js → file-mutation-2e77p8es.js} +42 -42
- package/dist/chunks/{model-resolver-3e0bs025.js → file-mutation-2hfj4fed.js} +8 -8
- package/dist/chunks/{model-resolver-5stab2tb.js → file-mutation-2hn4npxj.js} +9 -9
- package/dist/chunks/{model-resolver-pmc4955j.js → file-mutation-2n444ktb.js} +3 -3
- package/dist/chunks/{model-resolver-2p60zmnr.js → file-mutation-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-resolver-7z6bwpw7.js → file-mutation-2zef7sn4.js} +15 -15
- package/dist/chunks/{model-resolver-mhnm6es4.js → file-mutation-397bqm3h.js} +29 -29
- package/dist/chunks/{model-resolver-ysh2acjz.js → file-mutation-3b4k3jby.js} +29 -29
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-7d8n715t.js → file-mutation-3mxv6n0q.js} +43 -43
- package/dist/chunks/{model-resolver-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-wfh399np.js → file-mutation-3xd6a55r.js} +22 -22
- package/dist/chunks/{model-resolver-s9daqz46.js → file-mutation-3xgckhbm.js} +46 -46
- package/dist/chunks/file-mutation-3xh7pa94.js +26 -0
- package/dist/chunks/{model-resolver-40y6dtc2.js → file-mutation-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-resolver-44pmzq9c.js → file-mutation-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-resolver-h1yznk3h.js → file-mutation-4an28v1d.js} +5 -5
- package/dist/chunks/{model-resolver-d2mg5nnf.js → file-mutation-4b372jv9.js} +33 -33
- package/dist/chunks/{model-resolver-8n0p4x70.js → file-mutation-4btwnqf8.js} +4 -4
- package/dist/chunks/{model-resolver-4d2dtj2f.js → file-mutation-4d2dtj2f.js} +1 -1
- package/dist/chunks/{model-resolver-4dx1dgte.js → file-mutation-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-resolver-j0gphf6x.js → file-mutation-4e9by5qv.js} +9 -9
- package/dist/chunks/{model-resolver-y6g6mkmy.js → file-mutation-4nv9g8mf.js} +27 -27
- package/dist/chunks/{model-resolver-4pyp9zr9.js → file-mutation-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-tffyr9bm.js → file-mutation-51v19prt.js} +12 -12
- package/dist/chunks/{model-resolver-fc51z0td.js → file-mutation-5akk0drc.js} +29 -29
- package/dist/chunks/{model-resolver-9nqgnjnw.js → file-mutation-5axszfmd.js} +4 -4
- package/dist/chunks/{model-resolver-me7qs73t.js → file-mutation-5btqxd5a.js} +33 -33
- package/dist/chunks/{model-resolver-a8pscnfp.js → file-mutation-5chmme6c.js} +44 -44
- package/dist/chunks/{model-resolver-182ska7e.js → file-mutation-5jy697fd.js} +12 -12
- package/dist/chunks/{model-resolver-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-m2yag40e.js → file-mutation-5srajy56.js} +21 -21
- package/dist/chunks/{model-resolver-cn4rzej7.js → file-mutation-5wtj8atr.js} +15 -15
- package/dist/chunks/{model-resolver-ksyg0e8h.js → file-mutation-6384vqdq.js} +17 -17
- package/dist/chunks/{model-resolver-qava8dj6.js → file-mutation-665ej8j4.js} +11 -11
- package/dist/chunks/{model-resolver-xgxp23qn.js → file-mutation-6d0d1q6g.js} +4 -4
- package/dist/chunks/{model-resolver-m81bzjfe.js → file-mutation-6f6jm3cp.js} +8 -8
- package/dist/chunks/{model-resolver-p6vdr2c0.js → file-mutation-6fyqn791.js} +32 -32
- package/dist/chunks/{model-resolver-0qb8w9j6.js → file-mutation-6hatr4bt.js} +33 -33
- package/dist/chunks/{model-resolver-1fyvjpqh.js → file-mutation-6nks52pp.js} +17 -17
- package/dist/chunks/{model-resolver-29fawesa.js → file-mutation-752st46s.js} +7 -7
- package/dist/chunks/{model-resolver-76cb1hcw.js → file-mutation-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-resolver-9tk371dn.js → file-mutation-7944ygvp.js} +9 -9
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7kr66rt3.js → file-mutation-7kr66rt3.js} +1 -1
- package/dist/chunks/{model-resolver-dy41a2ws.js → file-mutation-7v7mvcha.js} +9 -9
- package/dist/chunks/{model-resolver-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7weczvnd.js → file-mutation-7weczvnd.js} +1 -1
- package/dist/chunks/{model-resolver-bhs42cnn.js → file-mutation-7wm9de43.js} +15 -15
- package/dist/chunks/{model-resolver-775hqbnd.js → file-mutation-80mg3ag8.js} +3 -3
- package/dist/chunks/{model-resolver-4x0dndhs.js → file-mutation-82svtqr8.js} +21 -21
- package/dist/chunks/{model-resolver-waa7fcvf.js → file-mutation-83d825hr.js} +23 -23
- package/dist/chunks/{model-resolver-zx473149.js → file-mutation-88tpm1ry.js} +8 -8
- package/dist/chunks/{model-resolver-89287pr7.js → file-mutation-89287pr7.js} +1 -1
- package/dist/chunks/{model-resolver-3dn2fbwe.js → file-mutation-89vsj6p7.js} +11 -11
- package/dist/chunks/{model-resolver-cpe35zww.js → file-mutation-8bjrjs1n.js} +4 -4
- package/dist/chunks/{model-resolver-ahs9bsfg.js → file-mutation-8f87pa43.js} +9 -9
- package/dist/chunks/{model-resolver-3kfs9ze5.js → file-mutation-8fhvm7ye.js} +10 -10
- package/dist/chunks/{model-resolver-8hfctyyf.js → file-mutation-8hfctyyf.js} +2 -2
- package/dist/chunks/{model-resolver-c5m2a8vb.js → file-mutation-8hvkce8x.js} +8 -8
- package/dist/chunks/{model-resolver-sc7zzbsw.js → file-mutation-8nxhc1kn.js} +5 -5
- package/dist/chunks/{model-resolver-vse5djvv.js → file-mutation-8qcher9v.js} +11 -11
- package/dist/chunks/{model-resolver-q32ndhrq.js → file-mutation-8qr0d1rk.js} +6 -6
- package/dist/chunks/{model-resolver-8sxe6kv8.js → file-mutation-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-resolver-jtjv3tp7.js → file-mutation-8t3ye7bc.js} +4 -4
- package/dist/chunks/{model-resolver-8t99kr38.js → file-mutation-8t99kr38.js} +1 -1
- package/dist/chunks/{model-resolver-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-90zstvax.js → file-mutation-90zstvax.js} +1 -1
- package/dist/chunks/{model-resolver-1q5awywt.js → file-mutation-94s48bjb.js} +5 -5
- package/dist/chunks/{model-resolver-rzdn793z.js → file-mutation-9a4e3c7v.js} +26 -26
- package/dist/chunks/{model-resolver-ma63wyq1.js → file-mutation-9bmcvzkg.js} +3 -3
- package/dist/chunks/{model-resolver-x2q74h36.js → file-mutation-9fad7rg5.js} +20 -20
- package/dist/chunks/{model-resolver-50m2dg6z.js → file-mutation-9mrmhjp8.js} +167 -167
- package/dist/chunks/{model-resolver-a80sjpyq.js → file-mutation-9ps5jw7k.js} +18 -18
- package/dist/chunks/{model-resolver-w9bns6p6.js → file-mutation-9ptxwqxz.js} +6 -6
- package/dist/chunks/{model-resolver-af65rr7r.js → file-mutation-9sqwpj53.js} +47 -47
- package/dist/chunks/{model-resolver-4pw98qd4.js → file-mutation-9tvpxs1q.js} +4 -4
- package/dist/chunks/{model-resolver-vdznht59.js → file-mutation-a3fn0gmm.js} +2 -2
- package/dist/chunks/{model-resolver-5y93r47p.js → file-mutation-a7fam1e2.js} +7 -7
- package/dist/chunks/{model-resolver-22pyxx08.js → file-mutation-aaq09yqv.js} +13 -13
- package/dist/chunks/{model-resolver-kcdyyrgz.js → file-mutation-adq8kyqw.js} +41 -41
- package/dist/chunks/{model-resolver-0p1z0rmb.js → file-mutation-ap07gbg5.js} +18 -18
- package/dist/chunks/{model-resolver-ab5jj5qa.js → file-mutation-ar410d7e.js} +32 -32
- package/dist/chunks/{model-resolver-fk0313z8.js → file-mutation-ats6mqak.js} +11 -11
- package/dist/chunks/{model-resolver-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
- package/dist/chunks/{model-resolver-1ngzjbhg.js → file-mutation-b79gwpcy.js} +44 -44
- package/dist/chunks/{model-resolver-1f1km8qz.js → file-mutation-b9qgb13n.js} +15 -15
- package/dist/chunks/{model-resolver-4txqqb2g.js → file-mutation-be8r2m2w.js} +53 -53
- package/dist/chunks/{model-resolver-hsnq1va6.js → file-mutation-bnzx9dwt.js} +5 -5
- package/dist/chunks/{model-resolver-fyqdbn2r.js → file-mutation-bqh2wk7g.js} +10 -10
- package/dist/chunks/{model-resolver-gp8f6cew.js → file-mutation-brrkn0s9.js} +30 -30
- package/dist/chunks/{model-resolver-bstexjd6.js → file-mutation-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-kkdw9wsp.js → file-mutation-btg3qkmc.js} +19 -19
- package/dist/chunks/{model-resolver-n6m7awbf.js → file-mutation-byd22xgp.js} +21 -21
- package/dist/chunks/{model-resolver-qdrsy5dg.js → file-mutation-c06xg1nc.js} +17 -17
- package/dist/chunks/{model-resolver-bdh02rzh.js → file-mutation-c674femj.js} +15 -15
- package/dist/chunks/{model-resolver-k5awac3x.js → file-mutation-chx6qssn.js} +6 -6
- package/dist/chunks/{model-resolver-h56wgemc.js → file-mutation-ctgpy2ym.js} +19 -19
- package/dist/chunks/{model-resolver-gre6gd8a.js → file-mutation-cvvjr8ek.js} +12 -12
- package/dist/chunks/{model-resolver-cwrgdav8.js → file-mutation-cwrgdav8.js} +2 -2
- package/dist/chunks/file-mutation-cz50n3np.js +261 -0
- package/dist/chunks/{model-resolver-wvr8xscb.js → file-mutation-czwy3yzx.js} +7 -7
- package/dist/chunks/{model-resolver-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-gpb60yma.js → file-mutation-df9cehde.js} +21 -21
- package/dist/chunks/{model-resolver-vt2d6wap.js → file-mutation-dg5naf6e.js} +4 -4
- package/dist/chunks/{model-resolver-pey65b4q.js → file-mutation-dp9b76dy.js} +9 -9
- package/dist/chunks/{model-resolver-dt77769w.js → file-mutation-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-z0hqw6m5.js → file-mutation-dxsywhez.js} +4 -4
- package/dist/chunks/{model-resolver-efk67p8n.js → file-mutation-dzpzjmwe.js} +18 -18
- package/dist/chunks/{model-resolver-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/file-mutation-e9r9mnye.js +16 -0
- package/dist/chunks/{model-resolver-yymyzq5v.js → file-mutation-ebhcnw2h.js} +23 -23
- package/dist/chunks/{model-resolver-ax6m984e.js → file-mutation-ecy6knwg.js} +28 -28
- package/dist/chunks/{model-resolver-n13shhyk.js → file-mutation-ee5vh54n.js} +3 -3
- package/dist/chunks/{model-resolver-mxsk6pa0.js → file-mutation-ek4ffqtr.js} +89 -89
- package/dist/chunks/{model-resolver-ra6js1h8.js → file-mutation-enkpkfwx.js} +8 -8
- package/dist/chunks/{model-resolver-6yeva67d.js → file-mutation-epfxtgmh.js} +8 -8
- package/dist/chunks/{model-resolver-eqw4pqj1.js → file-mutation-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-resolver-es50cp2m.js → file-mutation-f12z7g8t.js} +11 -11
- package/dist/chunks/{model-resolver-89wy4bbp.js → file-mutation-f1xzkck5.js} +16 -16
- package/dist/chunks/{model-resolver-m1pbybmj.js → file-mutation-f2waefqe.js} +19 -19
- package/dist/chunks/{model-resolver-yhrxqrdx.js → file-mutation-f4v4cejd.js} +3 -3
- package/dist/chunks/{model-resolver-zz024c9m.js → file-mutation-f4y3d2yt.js} +18 -18
- package/dist/chunks/{model-resolver-cyz81z3t.js → file-mutation-fcfaw96t.js} +25 -25
- package/dist/chunks/{model-resolver-851294av.js → file-mutation-fes9vv4m.js} +43 -43
- package/dist/chunks/{model-resolver-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → file-mutation-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-rf68tzrn.js → file-mutation-fh0kbfb9.js} +22 -22
- package/dist/chunks/{model-resolver-m4fymh02.js → file-mutation-g9kt3m09.js} +48 -48
- package/dist/chunks/{model-resolver-hvg1w6vh.js → file-mutation-gaxs3hw6.js} +14 -14
- package/dist/chunks/{model-resolver-gbjdnr5j.js → file-mutation-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-resolver-am13rhg9.js → file-mutation-gfgzeqgs.js} +4 -4
- package/dist/chunks/{model-resolver-67w3682v.js → file-mutation-ggzmq0vf.js} +28 -28
- package/dist/chunks/{model-resolver-qf1bg1jh.js → file-mutation-h5vrwpv8.js} +43 -43
- package/dist/chunks/{model-resolver-1taw7nar.js → file-mutation-h7bmw023.js} +31 -31
- package/dist/chunks/{model-resolver-3cr2zy8y.js → file-mutation-h9vqyj7m.js} +23 -23
- package/dist/chunks/{model-resolver-e4s05e3d.js → file-mutation-ha976ej8.js} +8 -8
- package/dist/chunks/{model-resolver-f32mv8p5.js → file-mutation-hcsxh3jd.js} +11 -11
- package/dist/chunks/{model-resolver-v8yys6fr.js → file-mutation-hm2xmxb4.js} +4 -4
- package/dist/chunks/{model-resolver-hpg1pkwy.js → file-mutation-hpg1pkwy.js} +1 -1
- package/dist/chunks/{model-resolver-qmzwzx1g.js → file-mutation-hq7eh954.js} +23 -23
- package/dist/chunks/{model-resolver-0pardsss.js → file-mutation-hrj4px7w.js} +22 -22
- package/dist/chunks/{model-resolver-h6363wym.js → file-mutation-hybp1pkg.js} +28 -28
- package/dist/chunks/file-mutation-j1c24yhh.js +555 -0
- package/dist/chunks/{model-resolver-mhhq4yht.js → file-mutation-j4jnd719.js} +3 -3
- package/dist/chunks/{model-resolver-r78q8b72.js → file-mutation-j5bw9awp.js} +36 -36
- package/dist/chunks/{model-resolver-v2cm4q9p.js → file-mutation-jbxmwasx.js} +8 -8
- package/dist/chunks/{model-resolver-nt1dhx87.js → file-mutation-jcta2ebw.js} +4 -4
- package/dist/chunks/{model-resolver-6y6zd26z.js → file-mutation-jg0mtrqr.js} +38 -38
- package/dist/chunks/{model-resolver-0370sccw.js → file-mutation-jn1vybs0.js} +11 -11
- package/dist/chunks/{model-resolver-jtnps1zs.js → file-mutation-jtnps1zs.js} +2 -2
- package/dist/chunks/{model-resolver-78p2h4ex.js → file-mutation-jv5ccajn.js} +5 -5
- package/dist/chunks/{model-resolver-dhsfefq0.js → file-mutation-jv89q0zq.js} +19 -19
- package/dist/chunks/{model-resolver-5exrzkkm.js → file-mutation-jvcrhjj5.js} +8 -8
- package/dist/chunks/{model-resolver-8d99v3tm.js → file-mutation-jzwp2h9y.js} +18 -18
- package/dist/chunks/{model-resolver-4px3w2r4.js → file-mutation-k2b03dx2.js} +15 -15
- package/dist/chunks/{model-resolver-brv6mkyx.js → file-mutation-kbgs7tyr.js} +4 -4
- package/dist/chunks/{model-resolver-axkdp7x4.js → file-mutation-kbt8ptmv.js} +5 -5
- package/dist/chunks/{model-resolver-ryp335c1.js → file-mutation-kczyz4a0.js} +13 -13
- package/dist/chunks/{model-resolver-fnpaaf69.js → file-mutation-ke5c8wdk.js} +20 -20
- package/dist/chunks/{model-resolver-jf1j4n4c.js → file-mutation-km8d638x.js} +53 -53
- package/dist/chunks/{model-resolver-42hr4xkg.js → file-mutation-kr47gt2d.js} +5 -5
- package/dist/chunks/{model-resolver-kt3bjfbg.js → file-mutation-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-q44571fy.js → file-mutation-kvmga4gg.js} +6 -6
- package/dist/chunks/{model-resolver-xgxthdkr.js → file-mutation-kw847yxt.js} +14 -14
- package/dist/chunks/{model-resolver-g395jp3s.js → file-mutation-kz9qwyvp.js} +22 -22
- package/dist/chunks/{model-resolver-kzczzf4v.js → file-mutation-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-resolver-694dpcrp.js → file-mutation-kze6nzna.js} +4 -4
- package/dist/chunks/{model-resolver-aas7wgq1.js → file-mutation-kzsyc22z.js} +17 -17
- package/dist/chunks/{model-resolver-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-9tfvqh0e.js → file-mutation-m1rtyjr2.js} +3 -3
- package/dist/chunks/{model-resolver-jztyjr8z.js → file-mutation-m2mh4gzs.js} +21 -21
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mb7mbhnz.js → file-mutation-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-resolver-d07w83tx.js → file-mutation-mmcj7ka8.js} +33 -33
- package/dist/chunks/{model-resolver-aa17nxpc.js → file-mutation-mpz6zxmf.js} +11 -11
- package/dist/chunks/{model-resolver-1gc6basf.js → file-mutation-mqz8gh7e.js} +8 -8
- package/dist/chunks/{model-resolver-msd2a3qm.js → file-mutation-msd2a3qm.js} +4 -4
- package/dist/chunks/{model-resolver-2hxcfhtt.js → file-mutation-my5z10m3.js} +13 -13
- package/dist/chunks/{model-resolver-ng3swpbb.js → file-mutation-n0sx90wr.js} +12 -12
- package/dist/chunks/{model-resolver-4v06x8nx.js → file-mutation-nb33czjd.js} +40 -40
- package/dist/chunks/{model-resolver-g716dgfm.js → file-mutation-ndyke0kx.js} +11 -11
- package/dist/chunks/{model-resolver-bph35tmk.js → file-mutation-njb7b8r9.js} +12 -12
- package/dist/chunks/{model-resolver-cenq082y.js → file-mutation-nnmrexdw.js} +11 -11
- package/dist/chunks/{model-resolver-nt907s04.js → file-mutation-nt907s04.js} +3 -3
- package/dist/chunks/{model-resolver-bvf4v70n.js → file-mutation-ntvd04ys.js} +33 -33
- package/dist/chunks/{model-resolver-4jansr10.js → file-mutation-nwvy640x.js} +21 -21
- package/dist/chunks/{model-resolver-7ph3bk86.js → file-mutation-p9nww0da.js} +6 -6
- package/dist/chunks/{model-resolver-tsgday2n.js → file-mutation-pkas5f3h.js} +3 -3
- package/dist/chunks/{model-resolver-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-qjbfxdfa.js → file-mutation-pz88djcj.js} +4 -4
- package/dist/chunks/{model-resolver-8f4evzty.js → file-mutation-qdbh2539.js} +17 -17
- package/dist/chunks/{model-resolver-qp7r0hxv.js → file-mutation-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-cdgdbmcg.js → file-mutation-qpsz6rwd.js} +2 -2
- package/dist/chunks/{model-resolver-qqvy8y24.js → file-mutation-qqvy8y24.js} +1 -1
- package/dist/chunks/{model-resolver-wfdx5ztx.js → file-mutation-qtyhj1r4.js} +4 -4
- package/dist/chunks/{model-resolver-2bsm227b.js → file-mutation-qvtnw8rj.js} +9 -9
- package/dist/chunks/{model-resolver-jnjcwgvx.js → file-mutation-qw9s6khe.js} +9 -9
- package/dist/chunks/{model-resolver-zf095gds.js → file-mutation-qys2tkj6.js} +33 -33
- package/dist/chunks/{model-resolver-5vghsxv4.js → file-mutation-r3q0x7xz.js} +21 -21
- package/dist/chunks/{model-resolver-r542h3bh.js → file-mutation-r542h3bh.js} +1 -1
- package/dist/chunks/{model-resolver-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-rmhmvrhj.js → file-mutation-rc8a5dgp.js} +11 -11
- package/dist/chunks/{model-resolver-f2pd81na.js → file-mutation-rcerbb12.js} +4 -4
- package/dist/chunks/{model-resolver-jevpcnmw.js → file-mutation-rd795hfg.js} +4 -4
- package/dist/chunks/{model-resolver-vrcsa8qx.js → file-mutation-rhhzkp1n.js} +16 -14
- package/dist/chunks/{model-resolver-jj88aj2c.js → file-mutation-rjn61k3a.js} +34 -34
- package/dist/chunks/{model-resolver-yr8jqty0.js → file-mutation-rmqeepmb.js} +29 -28
- package/dist/chunks/{model-resolver-8vaf1952.js → file-mutation-rp71bqw1.js} +3 -3
- package/dist/chunks/{model-resolver-ymxt73em.js → file-mutation-rpethv5m.js} +29 -29
- package/dist/chunks/{model-resolver-vj111ezq.js → file-mutation-rr3gbfm5.js} +7 -7
- package/dist/chunks/{model-resolver-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-s26c8eb5.js → file-mutation-s26c8eb5.js} +1 -1
- package/dist/chunks/{model-resolver-3bhph5r0.js → file-mutation-s2j0v5dm.js} +22 -22
- package/dist/chunks/{model-resolver-k4sj36yp.js → file-mutation-s4yxycd6.js} +42 -42
- package/dist/chunks/{model-resolver-sa3fpqfw.js → file-mutation-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-resolver-sbya78hr.js → file-mutation-sbya78hr.js} +1 -1
- package/dist/chunks/{model-resolver-mqe7nf5n.js → file-mutation-sbz71ybr.js} +3 -3
- package/dist/chunks/{model-resolver-rzg6y5rp.js → file-mutation-sf9y72b7.js} +4 -4
- package/dist/chunks/{model-resolver-b8s6tzjg.js → file-mutation-sfgpzxqf.js} +3 -3
- package/dist/chunks/{model-resolver-0j7gp832.js → file-mutation-sqjzf8x2.js} +4 -4
- package/dist/chunks/{model-resolver-1k0f7s8p.js → file-mutation-srag9es4.js} +5 -5
- package/dist/chunks/{model-resolver-rx9jfzmp.js → file-mutation-srybd3a2.js} +14 -14
- package/dist/chunks/{model-resolver-n5kbrn51.js → file-mutation-stp14cc4.js} +2 -2
- package/dist/chunks/{model-resolver-svcy3p9a.js → file-mutation-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-szwm4crx.js → file-mutation-szwm4crx.js} +4 -4
- package/dist/chunks/{model-resolver-fwxfj095.js → file-mutation-t58rqcvk.js} +6 -6
- package/dist/chunks/{model-resolver-7xqnbaqv.js → file-mutation-t8yp7kys.js} +12 -12
- package/dist/chunks/{model-resolver-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-tg7s7b5t.js → file-mutation-tg7s7b5t.js} +1 -1
- package/dist/chunks/{model-resolver-zf7nvp2n.js → file-mutation-th2hp9ev.js} +12 -12
- package/dist/chunks/{model-resolver-g63hs2my.js → file-mutation-tq42zh37.js} +20 -20
- package/dist/chunks/{model-resolver-tr8x705m.js → file-mutation-tr8x705m.js} +1 -1
- package/dist/chunks/{model-resolver-30pmv3w6.js → file-mutation-trp6s7qz.js} +58 -31
- package/dist/chunks/{model-resolver-twssxy5n.js → file-mutation-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-15e5619z.js → file-mutation-tz1cy0v3.js} +20 -20
- package/dist/chunks/{model-resolver-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-kn5zyqmn.js → file-mutation-v5rn8sre.js} +9 -9
- package/dist/chunks/{model-resolver-wsyfkkd7.js → file-mutation-v6ssv7wp.js} +8 -8
- package/dist/chunks/{model-resolver-wfgqc08d.js → file-mutation-vas4fw4m.js} +48 -48
- package/dist/chunks/{model-resolver-w2fyrv1b.js → file-mutation-vbzdt99y.js} +14 -14
- package/dist/chunks/{model-resolver-2kedh6bd.js → file-mutation-vj50rhab.js} +8 -8
- package/dist/chunks/{model-resolver-vjf35v1f.js → file-mutation-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-resolver-s4tvz5ga.js → file-mutation-vk3c6w2m.js} +8 -8
- package/dist/chunks/{model-resolver-vmqe41cb.js → file-mutation-vmqe41cb.js} +1 -1
- package/dist/chunks/{model-resolver-68np8sxq.js → file-mutation-vn3h37jh.js} +18 -18
- package/dist/chunks/{model-resolver-0yxd2ced.js → file-mutation-vqacxht7.js} +2 -2
- package/dist/chunks/{model-resolver-152g3aba.js → file-mutation-vst3nj2h.js} +17 -17
- package/dist/chunks/{model-resolver-6h8vcvjm.js → file-mutation-vt4r9rmy.js} +9 -9
- package/dist/chunks/{model-resolver-ypa5ejx7.js → file-mutation-vtpazhgh.js} +6 -6
- package/dist/chunks/{model-resolver-4kat3ey4.js → file-mutation-vw9b2h8a.js} +20 -20
- package/dist/chunks/{model-resolver-vzppetdn.js → file-mutation-vzppetdn.js} +3 -3
- package/dist/chunks/{model-resolver-31r3scjv.js → file-mutation-w1ckp3ft.js} +30 -30
- package/dist/chunks/{model-resolver-w2eysc6j.js → file-mutation-w2eysc6j.js} +2 -2
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-9q8g9sv8.js → file-mutation-w79nt68w.js} +4 -4
- package/dist/chunks/{model-resolver-dymwbk71.js → file-mutation-w7zzwa2v.js} +80 -80
- package/dist/chunks/{model-resolver-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-wegkxhrn.js → file-mutation-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-resolver-wnhgecwx.js → file-mutation-wnhgecwx.js} +1 -1
- package/dist/chunks/{model-resolver-wr3re1en.js → file-mutation-wr3re1en.js} +1 -1
- package/dist/chunks/{model-resolver-vymfbcsh.js → file-mutation-wt59pqqy.js} +24 -24
- package/dist/chunks/{model-resolver-jv8c3tcc.js → file-mutation-wv6rmryy.js} +11 -11
- package/dist/chunks/{model-resolver-95sp4hdf.js → file-mutation-wws03c5r.js} +4 -4
- package/dist/chunks/{model-resolver-6r3yknj0.js → file-mutation-wyrr125q.js} +6 -6
- package/dist/chunks/{model-resolver-z2nkrd0g.js → file-mutation-x0fch2k3.js} +18 -17
- package/dist/chunks/{model-resolver-jhze7gkz.js → file-mutation-x1jsn3rh.js} +6 -6
- package/dist/chunks/{model-resolver-ravmv6q5.js → file-mutation-x3g8ptq1.js} +21 -21
- package/dist/chunks/{model-resolver-der0yv3e.js → file-mutation-x43js2na.js} +19 -19
- package/dist/chunks/{model-resolver-xsepj37n.js → file-mutation-x9aec1kz.js} +40 -40
- package/dist/chunks/{model-resolver-z3tjfd76.js → file-mutation-xdqjmn5k.js} +18 -18
- package/dist/chunks/{model-resolver-h89ygv0k.js → file-mutation-xgzvab4w.js} +16 -16
- package/dist/chunks/{model-resolver-kdp6d62z.js → file-mutation-xkehk1qd.js} +12 -12
- package/dist/chunks/{model-resolver-xmx7xj34.js → file-mutation-xmx7xj34.js} +1 -1
- package/dist/chunks/{model-resolver-xgk2m648.js → file-mutation-xrqappe0.js} +21 -21
- package/dist/chunks/{model-resolver-w21gk1fw.js → file-mutation-y1qhkr64.js} +17 -17
- package/dist/chunks/{model-resolver-561npztg.js → file-mutation-y6d5c44g.js} +13 -13
- package/dist/chunks/{model-resolver-w2fb3nbt.js → file-mutation-ya88wpv1.js} +4 -4
- package/dist/chunks/{model-resolver-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-yb9wrz09.js → file-mutation-yb9wrz09.js} +3 -3
- package/dist/chunks/{model-resolver-ss0e109d.js → file-mutation-ybgrrd7b.js} +11 -11
- package/dist/chunks/{model-resolver-54z5ngxs.js → file-mutation-yg4z3tvf.js} +11 -11
- package/dist/chunks/{model-resolver-mj8mzc1w.js → file-mutation-yhtv514x.js} +5 -5
- package/dist/chunks/{model-resolver-yr705xyq.js → file-mutation-yr705xyq.js} +1 -1
- package/dist/chunks/{model-resolver-z7bkq52n.js → file-mutation-ytc0rts3.js} +16 -16
- package/dist/chunks/{model-resolver-yvtc2x31.js → file-mutation-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-resolver-hm9mg9rm.js → file-mutation-z01nngww.js} +12 -12
- package/dist/chunks/{model-resolver-az7gj1se.js → file-mutation-z0mgs8z4.js} +25 -25
- package/dist/chunks/{model-resolver-j9nxzz3g.js → file-mutation-ze75qvmd.js} +3 -3
- package/dist/chunks/{model-resolver-fhvz29tr.js → file-mutation-zeqa3mtr.js} +22 -22
- package/dist/chunks/{model-resolver-j0k0j8wt.js → file-mutation-zf2gb031.js} +47 -47
- package/dist/chunks/{model-resolver-7nqkf5r1.js → file-mutation-znjfpv5m.js} +8 -8
- package/dist/chunks/{model-resolver-0vj7wt69.js → file-mutation-zrswxs5c.js} +15 -15
- package/dist/chunks/{model-resolver-rbg54dp1.js → file-mutation-ztf6n3de.js} +4 -4
- package/dist/chunks/{model-resolver-rmjwhjmv.js → file-mutation-zybyjyfk.js} +13 -13
- package/dist/chunks/{model-resolver-bpyg2h1d.js → file-mutation-zzbgp84k.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +132 -132
- package/dist/config/plugin/mcp.js +137 -137
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +131 -131
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- 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 +62 -62
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- 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/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 +112 -112
- 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/notice.js +3 -3
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- 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 +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- 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 +107 -107
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- 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 +85 -85
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- 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 +4 -4
- package/dist/plugin/plan.js +144 -144
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +245 -245
- 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 +99 -99
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- 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 +246 -246
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +200 -200
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +15 -15
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +10 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +159 -155
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +171 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/skill/discovery.d.ts +2 -0
- package/dist/types/skill.d.ts +6 -2
- package/dist/types/tool/plugin/read.d.ts +3 -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 +1 -1
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +91 -91
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/model-resolver-6bshxcsx.js +0 -18
- package/dist/chunks/model-resolver-g47embym.js +0 -26
- package/dist/chunks/model-resolver-hsmv58he.js +0 -555
- package/dist/chunks/model-resolver-sm9ermjb.js +0 -261
- package/dist/chunks/model-resolver-tt9rk80g.js +0 -16
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → file-mutation-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-1pevy3nx.js → file-mutation-1pevy3nx.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4qk9sjk2.js → file-mutation-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → file-mutation-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6agm2x70.js → file-mutation-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → file-mutation-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → file-mutation-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-dbht28n9.js → file-mutation-dbht28n9.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ean2d8b5.js → file-mutation-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → file-mutation-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → file-mutation-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → file-mutation-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → file-mutation-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-syrav9an.js → file-mutation-syrav9an.js} +0 -0
- /package/dist/chunks/{model-resolver-t03h4f5z.js → file-mutation-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → file-mutation-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-vtarvj67.js → file-mutation-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-1s424h9e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./file-mutation-z01nngww.js";
|
|
7
7
|
import {
|
|
8
8
|
ID19,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service83
|
|
11
|
+
} from "./file-mutation-jv89q0zq.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
16
|
ID18,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-wt59pqqy.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID16,
|
|
24
24
|
Service79
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-6nks52pp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID15
|
|
28
|
+
} from "./file-mutation-f2waefqe.js";
|
|
29
29
|
import {
|
|
30
30
|
interval2,
|
|
31
|
-
|
|
31
|
+
Service51,
|
|
32
32
|
fingerprint2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-267s6g2x.js";
|
|
34
34
|
import {
|
|
35
35
|
configuredSettings2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-mutation-4btwnqf8.js";
|
|
37
37
|
import {
|
|
38
38
|
switched2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-mutation-zzbgp84k.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/provider/azure.ts
|
|
42
42
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -71,19 +71,19 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
71
71
|
}));
|
|
72
72
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
73
73
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
74
|
-
function
|
|
74
|
+
function make10(endpoints = {
|
|
75
75
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
76
76
|
management: "https://management.azure.com"
|
|
77
77
|
}) {
|
|
78
78
|
return define({
|
|
79
79
|
id: "opencode.provider.azure",
|
|
80
80
|
effect: Effect.fn(function* (ctx) {
|
|
81
|
-
const configured = yield* configuredSettings2(
|
|
81
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
82
82
|
const processes = yield* AppProcess.Service;
|
|
83
|
-
const bus = yield*
|
|
84
|
-
const credentials = yield*
|
|
83
|
+
const bus = yield* Service89;
|
|
84
|
+
const credentials = yield* Service83;
|
|
85
85
|
const providers = yield* Service79;
|
|
86
|
-
const cache = yield*
|
|
86
|
+
const cache = yield* Service51;
|
|
87
87
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
88
88
|
const tokens = new Map;
|
|
89
89
|
const resourceIDs = new Map;
|
|
@@ -109,11 +109,11 @@ function make18(endpoints = {
|
|
|
109
109
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
110
110
|
yield* ctx.integration.transform((editor) => {
|
|
111
111
|
editor.method.update({
|
|
112
|
-
integrationID:
|
|
112
|
+
integrationID: ID16.azure,
|
|
113
113
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
114
114
|
});
|
|
115
115
|
editor.method.update({
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID16.azure,
|
|
117
117
|
method: {
|
|
118
118
|
type: "key",
|
|
119
119
|
label: "API key",
|
|
@@ -131,7 +131,7 @@ function make18(endpoints = {
|
|
|
131
131
|
if (!available)
|
|
132
132
|
return;
|
|
133
133
|
editor.method.update({
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID16.azure,
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "external",
|
|
@@ -151,7 +151,7 @@ function make18(endpoints = {
|
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
154
|
-
const connection = yield* ctx.integration.connection.active(
|
|
154
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
155
155
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
156
156
|
return { connection, resource: credentialResource(stored?.value) };
|
|
157
157
|
});
|
|
@@ -191,7 +191,7 @@ function make18(endpoints = {
|
|
|
191
191
|
}));
|
|
192
192
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
193
193
|
const connection = loaded.connection;
|
|
194
|
-
const settings = (yield* providers.get(
|
|
194
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
195
195
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
196
196
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
197
197
|
if (loaded.connection !== connection)
|
|
@@ -221,11 +221,11 @@ function make18(endpoints = {
|
|
|
221
221
|
});
|
|
222
222
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
223
223
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
224
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
224
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
|
|
225
225
|
return;
|
|
226
226
|
if (Equal.equals(found, loaded.deployments))
|
|
227
227
|
return;
|
|
228
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
228
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
229
229
|
id.toLowerCase(),
|
|
230
230
|
id
|
|
231
231
|
]));
|
|
@@ -238,11 +238,11 @@ function make18(endpoints = {
|
|
|
238
238
|
yield* ctx.model.reload();
|
|
239
239
|
});
|
|
240
240
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
241
|
-
const resourceFor = (provider) => provider.id ===
|
|
241
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
242
242
|
Object.assign(loaded, yield* load());
|
|
243
243
|
yield* ctx.provider.transform((evt) => {
|
|
244
244
|
for (const item of evt.list()) {
|
|
245
|
-
if (item.provider.id !==
|
|
245
|
+
if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
246
246
|
continue;
|
|
247
247
|
const resourceName = resourceFor(item.provider);
|
|
248
248
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -257,7 +257,7 @@ function make18(endpoints = {
|
|
|
257
257
|
};
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
|
-
const item = evt.get(
|
|
260
|
+
const item = evt.get(ID16.azure);
|
|
261
261
|
if (!item)
|
|
262
262
|
return;
|
|
263
263
|
evt.add({
|
|
@@ -268,7 +268,7 @@ function make18(endpoints = {
|
|
|
268
268
|
});
|
|
269
269
|
yield* ctx.model.transform((models) => {
|
|
270
270
|
for (const item of models.provider.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
if (!resourceName)
|
|
@@ -287,21 +287,21 @@ function make18(endpoints = {
|
|
|
287
287
|
}
|
|
288
288
|
if (!loaded.deployments)
|
|
289
289
|
return;
|
|
290
|
-
const catalog = models.list(
|
|
290
|
+
const catalog = models.list(ID16.azure);
|
|
291
291
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
292
292
|
for (const model of catalog) {
|
|
293
293
|
if (!deployed.has(model.id))
|
|
294
|
-
models.remove(
|
|
294
|
+
models.remove(ID16.azure, model.id);
|
|
295
295
|
}
|
|
296
296
|
for (const [id, model] of deployed) {
|
|
297
|
-
models.update(
|
|
297
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
|
|
301
301
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
302
302
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
303
303
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
304
|
-
const connection = yield* ctx.integration.connection.active(
|
|
304
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
305
305
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
306
306
|
return;
|
|
307
307
|
})) : undefined;
|
|
@@ -313,7 +313,7 @@ function make18(endpoints = {
|
|
|
313
313
|
return `Bearer ${current.access}`;
|
|
314
314
|
});
|
|
315
315
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
316
|
-
if (evt.model.providerID !==
|
|
316
|
+
if (evt.model.providerID !== ID16.azure)
|
|
317
317
|
return;
|
|
318
318
|
const authorization = yield* bearer(evt.request.url);
|
|
319
319
|
if (!authorization)
|
|
@@ -322,9 +322,9 @@ function make18(endpoints = {
|
|
|
322
322
|
evt.request.headers.delete("x-api-key");
|
|
323
323
|
evt.request.headers.set("authorization", authorization);
|
|
324
324
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
325
|
-
}), { providerID:
|
|
325
|
+
}), { providerID: ID16.azure });
|
|
326
326
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
327
|
-
if (evt.model.providerID !==
|
|
327
|
+
if (evt.model.providerID !== ID16.azure)
|
|
328
328
|
return;
|
|
329
329
|
const authorization = yield* bearer(evt.url);
|
|
330
330
|
if (!authorization)
|
|
@@ -333,11 +333,11 @@ function make18(endpoints = {
|
|
|
333
333
|
delete evt.headers["x-api-key"];
|
|
334
334
|
evt.headers.authorization = authorization;
|
|
335
335
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
336
|
-
}), { providerID:
|
|
336
|
+
}), { providerID: ID16.azure });
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
var AzurePlugin2 =
|
|
340
|
+
var AzurePlugin2 = make10();
|
|
341
341
|
function deploymentsKey(connection, credential, url) {
|
|
342
342
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
343
343
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -371,11 +371,11 @@ function deployedModels(deployments, catalog) {
|
|
|
371
371
|
const model = catalogModel(models, deployment);
|
|
372
372
|
if (!model)
|
|
373
373
|
return [];
|
|
374
|
-
const id =
|
|
374
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
375
375
|
const info = {
|
|
376
376
|
...structuredClone(model),
|
|
377
377
|
id,
|
|
378
|
-
modelID:
|
|
378
|
+
modelID: ID15.make(deployment.name),
|
|
379
379
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
380
380
|
};
|
|
381
381
|
return [[id, info]];
|
|
@@ -397,4 +397,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
397
397
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
export {
|
|
400
|
+
export { make10, AzurePlugin2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-mutation-f4y3d2yt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./file-mutation-zf2gb031.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9ptxwqxz.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-yvtc2x31.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin4
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin4 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service75;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service76;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin4, exports_compatibility };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-1s424h9e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./file-mutation-z01nngww.js";
|
|
7
7
|
import {
|
|
8
8
|
ID19,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-jv89q0zq.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
16
|
ID18,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-wt59pqqy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID16
|
|
22
|
+
} from "./file-mutation-6nks52pp.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
26
|
make31
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-8t99kr38.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service75
|
|
30
|
+
} from "./file-mutation-zf2gb031.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-ap07gbg5.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID6,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-mutation-ebhcnw2h.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -156,10 +156,10 @@ var OpencodePlugin2 = define({
|
|
|
156
156
|
id: "opencode.provider.opencode",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
158
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service89;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service75;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID16.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID16.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID6.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID16.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-mutation-f4y3d2yt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-srag9es4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./file-mutation-zf2gb031.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-dxsywhez.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service39
|
|
16
|
+
} from "./file-mutation-z0mgs8z4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin10 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service39;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service75;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service84;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service76;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin10, exports_instruction };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./file-mutation-zf2gb031.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info7,
|
|
9
|
+
ID8,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-trp6s7qz.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin43,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -430,23 +430,23 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin43 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info7.make({
|
|
439
|
+
id: ID8.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
|
-
path: AbsolutePath2.make("/
|
|
442
|
+
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info7.make({
|
|
446
|
+
id: ID8.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
|
-
path: AbsolutePath2.make("/
|
|
449
|
+
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
450
450
|
content: reportContent
|
|
451
451
|
}));
|
|
452
452
|
});
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service75;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node32
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node32 = makeGlobalNode({ service: Service28, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer14, node32, exports_model_transport };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-dxsywhez.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-mb7mbhnz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|