@opencode/core 0.0.0-dev-20439 → 0.0.0-dev-20441
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/{variant-14v92p14.js → managed-policy-04w7gczn.js} +16 -16
- package/dist/chunks/{variant-kqsbn90b.js → managed-policy-09tgsdtt.js} +48 -48
- package/dist/chunks/{variant-zc3c5803.js → managed-policy-0gxkv187.js} +41 -41
- package/dist/chunks/{variant-q0xm7vwc.js → managed-policy-0j77ygfz.js} +6 -6
- package/dist/chunks/{variant-srjtz9mv.js → managed-policy-0mgww3tz.js} +32 -32
- package/dist/chunks/{variant-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0vbcp93d.js → managed-policy-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-qy1zqqd8.js → managed-policy-0x1ym7gt.js} +3 -3
- package/dist/chunks/{variant-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-1dvck2a7.js → managed-policy-1dvck2a7.js} +2 -2
- package/dist/chunks/{variant-vd86y6dk.js → managed-policy-1e489b4a.js} +17 -17
- package/dist/chunks/{variant-p6wxjpka.js → managed-policy-1rn5pcm9.js} +4 -4
- package/dist/chunks/{variant-yf6pnrx7.js → managed-policy-1x3b90mb.js} +32 -32
- package/dist/chunks/managed-policy-1zpth0xw.js +507 -0
- package/dist/chunks/{variant-21r38tys.js → managed-policy-21r38tys.js} +1 -1
- package/dist/chunks/{variant-4k5wkrh9.js → managed-policy-25gwbbvm.js} +30 -30
- package/dist/chunks/{variant-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-atg4dcqk.js → managed-policy-2b5dj6ta.js} +4 -4
- package/dist/chunks/{variant-4ts7tf6z.js → managed-policy-2ccvkpx1.js} +2 -2
- package/dist/chunks/{variant-b9dr4ekr.js → managed-policy-2e4k7ra5.js} +19 -19
- package/dist/chunks/{variant-fhw597r0.js → managed-policy-2kxr3st0.js} +11 -11
- package/dist/chunks/{variant-atm978tp.js → managed-policy-2w735aa9.js} +17 -17
- package/dist/chunks/managed-policy-302444qx.js +26 -0
- package/dist/chunks/{variant-mfqp6xfm.js → managed-policy-33w4ejhs.js} +9 -9
- package/dist/chunks/{variant-z4ym9awj.js → managed-policy-351zg8wc.js} +43 -43
- package/dist/chunks/{variant-cjg42c8t.js → managed-policy-37g8b03t.js} +24 -24
- package/dist/chunks/{variant-9tcgwzn8.js → managed-policy-3e0vapc4.js} +17 -17
- package/dist/chunks/{variant-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-xeav5w26.js → managed-policy-3nngm4ht.js} +11 -11
- package/dist/chunks/{variant-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-m359rxbq.js → managed-policy-3y7my2db.js} +21 -21
- package/dist/chunks/{variant-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-mkfpjzad.js → managed-policy-43x1d0qx.js} +15 -15
- package/dist/chunks/{variant-x7kbtnka.js → managed-policy-4eewzd5c.js} +4 -4
- package/dist/chunks/{variant-qr0tztqq.js → managed-policy-4vk76tpg.js} +30 -30
- package/dist/chunks/{variant-67h7xkhv.js → managed-policy-4vnfhphg.js} +25 -25
- package/dist/chunks/{variant-54ma36ye.js → managed-policy-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-3v5tjer0.js → managed-policy-54r1wzpb.js} +7 -7
- package/dist/chunks/{variant-8vtqv0ab.js → managed-policy-54s6fkez.js} +30 -30
- package/dist/chunks/{variant-jh4mddbt.js → managed-policy-5btfe6ae.js} +18 -18
- package/dist/chunks/{variant-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-qkn9jtjt.js → managed-policy-5hm956bs.js} +11 -11
- package/dist/chunks/{variant-7wdw4sn7.js → managed-policy-5sc7htc6.js} +19 -19
- package/dist/chunks/{variant-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-eymke9sh.js → managed-policy-5t5wrhde.js} +2 -2
- package/dist/chunks/{variant-d5fw341f.js → managed-policy-607px8n0.js} +14 -14
- package/dist/chunks/{variant-886x1de6.js → managed-policy-60awvy76.js} +29 -29
- package/dist/chunks/{variant-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/{variant-84gad1zv.js → managed-policy-685b7gp0.js} +9 -9
- package/dist/chunks/{variant-fw852r6x.js → managed-policy-6wzfh0zm.js} +10 -10
- package/dist/chunks/{variant-wh6zw745.js → managed-policy-6yz0wx8n.js} +5 -5
- package/dist/chunks/{variant-71az546q.js → managed-policy-71az546q.js} +2 -2
- package/dist/chunks/{variant-y6kgs8hj.js → managed-policy-78kd6mqd.js} +8 -8
- package/dist/chunks/{variant-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-e30mydyk.js → managed-policy-7jzb6arw.js} +12 -12
- package/dist/chunks/{variant-28m0ec4d.js → managed-policy-7q5bqpa7.js} +43 -43
- package/dist/chunks/{variant-x9m4a9xf.js → managed-policy-806nc8gd.js} +40 -40
- package/dist/chunks/{variant-84txncab.js → managed-policy-84txncab.js} +1 -1
- package/dist/chunks/{variant-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-px5nxgea.js → managed-policy-8pvr3va3.js} +7 -7
- package/dist/chunks/{variant-c0yg3yaa.js → managed-policy-8r8kqds0.js} +24 -24
- package/dist/chunks/{variant-1brx5qyk.js → managed-policy-8rq91117.js} +35 -35
- package/dist/chunks/{variant-10cxjgch.js → managed-policy-99aremag.js} +5 -5
- package/dist/chunks/{variant-t62k6cwy.js → managed-policy-9a2xe43y.js} +17 -17
- package/dist/chunks/{variant-9e5bzkjp.js → managed-policy-9e5bzkjp.js} +3 -3
- package/dist/chunks/{variant-wtas89nq.js → managed-policy-9wtfrnq6.js} +10 -10
- package/dist/chunks/{variant-10zwexjt.js → managed-policy-a9z5bk96.js} +15 -15
- package/dist/chunks/{variant-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-bcrgek8j.js → managed-policy-aag3ds7p.js} +11 -11
- package/dist/chunks/{variant-qxz90s08.js → managed-policy-aep6d7pf.js} +33 -33
- package/dist/chunks/{variant-ctmr8zqa.js → managed-policy-ag4rn41e.js} +4 -4
- package/dist/chunks/{variant-aacyrw2e.js → managed-policy-aj0rpvpk.js} +30 -30
- package/dist/chunks/{variant-vj7qk97t.js → managed-policy-aq6aw40w.js} +13 -13
- package/dist/chunks/{variant-pgsrtt9v.js → managed-policy-as7cf5zz.js} +4 -4
- package/dist/chunks/{variant-01n0fn3n.js → managed-policy-axqn7bsr.js} +5 -5
- package/dist/chunks/{variant-5gd79jxb.js → managed-policy-b0g9mcy2.js} +8 -8
- package/dist/chunks/{variant-18126dgn.js → managed-policy-b4cmytvd.js} +26 -26
- package/dist/chunks/{variant-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-pp48bh1f.js → managed-policy-b7qf1jfc.js} +181 -181
- package/dist/chunks/{variant-17bspyb1.js → managed-policy-bb33hrzj.js} +47 -47
- package/dist/chunks/{variant-1qfm3kg7.js → managed-policy-bc8apsv6.js} +77 -77
- package/dist/chunks/{variant-xs9h3ep0.js → managed-policy-bc9wjsbt.js} +30 -30
- package/dist/chunks/{variant-g0cknp2d.js → managed-policy-bm71xk2t.js} +9 -9
- package/dist/chunks/{variant-8j08zm4r.js → managed-policy-bs15bkva.js} +16 -16
- package/dist/chunks/{variant-41czef58.js → managed-policy-btbmdjwj.js} +4 -4
- package/dist/chunks/{variant-7ph72h93.js → managed-policy-bv98qs9q.js} +16 -16
- package/dist/chunks/{variant-k844m94c.js → managed-policy-c1m7pk41.js} +69 -69
- package/dist/chunks/{variant-xzfnxand.js → managed-policy-ced978hc.js} +25 -25
- package/dist/chunks/{variant-6d98qxkn.js → managed-policy-cmtfrzch.js} +19 -19
- package/dist/chunks/{variant-aj7xgpkt.js → managed-policy-cqn0vqgm.js} +9 -9
- package/dist/chunks/{variant-predqs4e.js → managed-policy-cr2axj5k.js} +20 -20
- package/dist/chunks/{variant-gr8khd20.js → managed-policy-d9jqg3n6.js} +17 -17
- package/dist/chunks/{variant-tjx3ap9d.js → managed-policy-dd3asrma.js} +37 -37
- package/dist/chunks/{variant-cwa6csj7.js → managed-policy-djszqvmq.js} +9 -9
- package/dist/chunks/{variant-hfa8a3rd.js → managed-policy-dpkd38cp.js} +20 -20
- package/dist/chunks/{variant-nxm207yx.js → managed-policy-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-tkx9gh3c.js → managed-policy-dq1mqche.js} +14 -14
- package/dist/chunks/{variant-bq6v1dby.js → managed-policy-drk2psf4.js} +80 -80
- package/dist/chunks/{variant-c5xf5z0j.js → managed-policy-dyvwp316.js} +8 -8
- package/dist/chunks/{variant-ag3xtcd7.js → managed-policy-e0ydadek.js} +35 -35
- package/dist/chunks/{variant-16w9ecqz.js → managed-policy-e1xfjk9r.js} +11 -11
- package/dist/chunks/{variant-c73eachg.js → managed-policy-e25ft575.js} +6 -6
- package/dist/chunks/{variant-kyd65svd.js → managed-policy-e3q501tr.js} +23 -23
- package/dist/chunks/{variant-5qd3pb7m.js → managed-policy-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-ydr4sfaa.js → managed-policy-e4f82xnm.js} +11 -11
- package/dist/chunks/{variant-vcgjavzm.js → managed-policy-e9j3xjpe.js} +15 -15
- package/dist/chunks/{variant-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-qd6m6a6s.js → managed-policy-eh7wch50.js} +20 -20
- package/dist/chunks/{variant-x1fg9w2t.js → managed-policy-ep2s8925.js} +23 -23
- package/dist/chunks/{variant-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-1d10jwk2.js → managed-policy-etsdryc9.js} +13 -13
- package/dist/chunks/{variant-c2cehf6b.js → managed-policy-evghyp61.js} +7 -7
- package/dist/chunks/{variant-2k8khapm.js → managed-policy-fcrkznn8.js} +5 -5
- package/dist/chunks/{variant-mads3xza.js → managed-policy-fcx3gh1b.js} +10 -10
- package/dist/chunks/{variant-ajwerf3h.js → managed-policy-fdqsz5aw.js} +5 -5
- package/dist/chunks/{variant-yqwyk71w.js → managed-policy-ffxkc1dx.js} +11 -11
- package/dist/chunks/{variant-94svnpff.js → managed-policy-fgy1zn9b.js} +5 -5
- package/dist/chunks/{variant-0z8vjex2.js → managed-policy-fjvydvzm.js} +7 -7
- package/dist/chunks/{variant-qkcvdzb0.js → managed-policy-fjx88e6t.js} +17 -17
- package/dist/chunks/{variant-zw6qz0tx.js → managed-policy-frxdqaz8.js} +22 -22
- package/dist/chunks/{variant-396xe5we.js → managed-policy-ftwxvkt4.js} +3 -3
- package/dist/chunks/{variant-75dbh3sm.js → managed-policy-fv818a4f.js} +24 -24
- package/dist/chunks/{variant-tfwvc9sw.js → managed-policy-fwa0c9w1.js} +5 -5
- package/dist/chunks/{variant-8arhm12g.js → managed-policy-g0q01dbx.js} +24 -24
- package/dist/chunks/{variant-8kq48qmj.js → managed-policy-g58bdygq.js} +8 -8
- package/dist/chunks/{variant-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-0sep86pb.js → managed-policy-gfr7d11b.js} +53 -53
- package/dist/chunks/{variant-4erxxbbf.js → managed-policy-gm60pqc8.js} +35 -35
- package/dist/chunks/{variant-367xe4pb.js → managed-policy-gxg0hsmq.js} +21 -21
- package/dist/chunks/{variant-h2b79v29.js → managed-policy-h2b79v29.js} +2 -2
- package/dist/chunks/{variant-5bgh4dzz.js → managed-policy-h4s95ce9.js} +6 -6
- package/dist/chunks/{variant-mzseknbn.js → managed-policy-h6m8mpqk.js} +9 -9
- package/dist/chunks/{variant-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-ypqp8gqh.js → managed-policy-hazm37c2.js} +26 -26
- package/dist/chunks/{variant-g8pm3x4z.js → managed-policy-he2ntggs.js} +18 -18
- package/dist/chunks/{variant-pcxghkgz.js → managed-policy-hehaxqkv.js} +4 -4
- package/dist/chunks/{variant-zkr7fetz.js → managed-policy-hke7pqdv.js} +20 -20
- package/dist/chunks/{variant-y0z8gwh2.js → managed-policy-hryzqtvd.js} +7 -7
- package/dist/chunks/{variant-pmtnnnej.js → managed-policy-hv5jbe8m.js} +6 -6
- package/dist/chunks/{variant-p226k876.js → managed-policy-j0a0nmhk.js} +6 -6
- package/dist/chunks/{variant-a72r2k07.js → managed-policy-j2wvmznt.js} +15 -15
- package/dist/chunks/{variant-dmsv4044.js → managed-policy-j3wqczvx.js} +20 -20
- package/dist/chunks/{variant-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-tdjsa322.js → managed-policy-jc0bt329.js} +27 -27
- package/dist/chunks/{variant-qvf13fnr.js → managed-policy-jfx0dmmb.js} +11 -11
- package/dist/chunks/{variant-nz6s4zm9.js → managed-policy-jjftm8c8.js} +17 -17
- package/dist/chunks/{variant-vtfaj6fm.js → managed-policy-jn3csxh6.js} +5 -5
- package/dist/chunks/{variant-k86ryq5x.js → managed-policy-jvjvhaay.js} +16 -16
- package/dist/chunks/{variant-vxby77fw.js → managed-policy-jvnghvnw.js} +8 -8
- package/dist/chunks/{variant-pgbadr74.js → managed-policy-jzfx556m.js} +6 -6
- package/dist/chunks/{variant-svb96c7g.js → managed-policy-k79tzb9n.js} +9 -9
- package/dist/chunks/{variant-6hh8tjw2.js → managed-policy-k8962brh.js} +7 -7
- package/dist/chunks/{variant-pzw80991.js → managed-policy-kdc1bwjr.js} +5 -5
- package/dist/chunks/{variant-97ch1fd3.js → managed-policy-kdwgn1zz.js} +24 -24
- package/dist/chunks/{variant-g190xswt.js → managed-policy-kk00bynn.js} +21 -21
- package/dist/chunks/{variant-398qtpyw.js → managed-policy-kpes0ygv.js} +22 -22
- package/dist/chunks/{variant-tdpndm1c.js → managed-policy-kzdcqyn1.js} +5 -5
- package/dist/chunks/{variant-y6mhz57t.js → managed-policy-m0r31qfn.js} +4 -4
- package/dist/chunks/{variant-hdtje8j6.js → managed-policy-m0sxwb6g.js} +9 -9
- package/dist/chunks/{variant-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-trf9v1m0.js → managed-policy-m7p0z7m0.js} +10 -10
- package/dist/chunks/{variant-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-mazbtkaa.js → managed-policy-mazbtkaa.js} +2 -2
- package/dist/chunks/{variant-v86rjf98.js → managed-policy-md8svtq5.js} +14 -14
- package/dist/chunks/{variant-yy9wtzs9.js → managed-policy-mfa58mh8.js} +28 -28
- package/dist/chunks/{variant-a1gpj94z.js → managed-policy-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-3160htdx.js → managed-policy-mj50kw8r.js} +5 -5
- package/dist/chunks/{variant-p4zjnn1b.js → managed-policy-mnhvys94.js} +29 -29
- package/dist/chunks/{variant-addxnjmp.js → managed-policy-mpk0rfs5.js} +4 -4
- package/dist/chunks/{variant-9a5pyt9z.js → managed-policy-mqbe75y8.js} +4 -4
- package/dist/chunks/{variant-2myva995.js → managed-policy-mrvjcs5x.js} +6 -6
- package/dist/chunks/{variant-vj9qpvrk.js → managed-policy-mtspvnzw.js} +3 -3
- package/dist/chunks/{variant-9hwaqfsw.js → managed-policy-mze9kz5f.js} +5 -5
- package/dist/chunks/{variant-x8a719yx.js → managed-policy-n2cv33mw.js} +13 -13
- package/dist/chunks/{variant-weg9ntdf.js → managed-policy-n70c3kew.js} +9 -9
- package/dist/chunks/{variant-tk612nqt.js → managed-policy-n78rmnne.js} +5 -5
- package/dist/chunks/{variant-b53k4bdr.js → managed-policy-n7apwg8g.js} +22 -22
- package/dist/chunks/{variant-6szg9m6g.js → managed-policy-nbkk43by.js} +24 -24
- package/dist/chunks/{variant-qfb0b5c2.js → managed-policy-nd132scw.js} +1 -1
- package/dist/chunks/{variant-awte1d78.js → managed-policy-nkz8nrts.js} +33 -33
- package/dist/chunks/{variant-9jgd0g1z.js → managed-policy-nn9xsasx.js} +8 -8
- package/dist/chunks/{variant-hfgwpwpp.js → managed-policy-nnzbx27x.js} +6 -6
- package/dist/chunks/{variant-v54kchrq.js → managed-policy-nprb0dpq.js} +11 -11
- package/dist/chunks/{variant-k3c624dm.js → managed-policy-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-xzrre6xp.js → managed-policy-nznn4wxv.js} +4 -4
- package/dist/chunks/{variant-zfyd4z1t.js → managed-policy-p0rx9937.js} +11 -11
- package/dist/chunks/{variant-2y89dd9a.js → managed-policy-p5vm2k94.js} +15 -15
- package/dist/chunks/{variant-abp7q8sa.js → managed-policy-p7f3nfjj.js} +5 -5
- package/dist/chunks/{variant-yt6cqe55.js → managed-policy-p7pyfceq.js} +11 -11
- package/dist/chunks/{variant-z2zv94aj.js → managed-policy-pb0nz00d.js} +31 -31
- package/dist/chunks/{variant-2g5mhw7z.js → managed-policy-pba0qj75.js} +26 -26
- package/dist/chunks/{variant-6abt9vd9.js → managed-policy-pd2m4r83.js} +13 -13
- package/dist/chunks/{variant-fvxg17y2.js → managed-policy-pds74t41.js} +3 -3
- package/dist/chunks/{variant-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{variant-7cx9cvsh.js → managed-policy-pknpvjb9.js} +1 -1
- package/dist/chunks/{variant-32jztgwf.js → managed-policy-pmgjrk6j.js} +34 -34
- package/dist/chunks/{variant-w3jg838k.js → managed-policy-pnkbpv6t.js} +9 -9
- package/dist/chunks/{variant-50bj4n03.js → managed-policy-pqx42sqq.js} +24 -24
- package/dist/chunks/{variant-vskqw7qy.js → managed-policy-pvj1bsy6.js} +26 -26
- package/dist/chunks/{variant-py3kkmfq.js → managed-policy-py3kkmfq.js} +2 -2
- package/dist/chunks/{variant-brp8zeym.js → managed-policy-q1rprvvw.js} +6 -6
- package/dist/chunks/{variant-1qrvjt31.js → managed-policy-q1z5zf7b.js} +18 -18
- package/dist/chunks/{variant-t89fqycx.js → managed-policy-q8r22k9v.js} +8 -8
- package/dist/chunks/{variant-0g91z8as.js → managed-policy-qdwke1dj.js} +12 -12
- package/dist/chunks/{variant-517vs525.js → managed-policy-qj0gtfb8.js} +8 -8
- package/dist/chunks/{variant-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-f3sqmsb9.js → managed-policy-qt4gsjkk.js} +15 -15
- package/dist/chunks/{variant-reg6q42h.js → managed-policy-qvreyy9g.js} +5 -5
- package/dist/chunks/{variant-scgrse2b.js → managed-policy-qygbw77c.js} +5 -5
- package/dist/chunks/{variant-y1jyntcw.js → managed-policy-qztr35h0.js} +41 -41
- package/dist/chunks/{variant-sf4zj9sn.js → managed-policy-r2xp9k1m.js} +10 -10
- package/dist/chunks/{variant-ynpe6tcd.js → managed-policy-r44petzp.js} +12 -12
- package/dist/chunks/{variant-q6gppffy.js → managed-policy-r50e1gtz.js} +27 -27
- package/dist/chunks/{variant-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-fd4k4kgm.js → managed-policy-reqvjh9d.js} +5 -5
- package/dist/chunks/{variant-eaj1djv9.js → managed-policy-rhjbct0v.js} +8 -8
- package/dist/chunks/{variant-2fhv8f0b.js → managed-policy-rjgmx88b.js} +42 -42
- package/dist/chunks/{variant-dss9tgbb.js → managed-policy-rn04vraz.js} +22 -22
- package/dist/chunks/{variant-baqpbr50.js → managed-policy-rnp8xwnj.js} +9 -9
- package/dist/chunks/{variant-c0d2pnej.js → managed-policy-rw5jpqwf.js} +27 -27
- package/dist/chunks/{variant-qqtgdjgj.js → managed-policy-sa998d74.js} +3 -3
- package/dist/chunks/{variant-pfj2krk7.js → managed-policy-sd7vvvw1.js} +17 -17
- package/dist/chunks/managed-policy-sp6wn6w5.js +252 -0
- package/dist/chunks/{variant-n8sna2wb.js → managed-policy-srq8z0b0.js} +9 -9
- package/dist/chunks/{variant-p0b4ytnr.js → managed-policy-ss0awb04.js} +4 -4
- package/dist/chunks/{variant-6nd6aznx.js → managed-policy-sv903t49.js} +21 -21
- package/dist/chunks/{variant-kpbb4v73.js → managed-policy-sx82jsn2.js} +17 -17
- package/dist/chunks/{variant-1hzkdvcb.js → managed-policy-szvvj7a8.js} +23 -23
- package/dist/chunks/{variant-fyqce8v0.js → managed-policy-t8rpwxdy.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-djsestcq.js → managed-policy-tb61xc83.js} +30 -30
- package/dist/chunks/{variant-5xesbvpt.js → managed-policy-tc94ysxq.js} +10 -10
- package/dist/chunks/{variant-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{variant-5w4kbhzj.js → managed-policy-tf6wmrbr.js} +36 -36
- package/dist/chunks/{variant-25a4t902.js → managed-policy-tm3228f0.js} +20 -20
- package/dist/chunks/{variant-p37cw4rj.js → managed-policy-tpw6cwsb.js} +8 -8
- package/dist/chunks/{variant-19wa5dg2.js → managed-policy-ts3yaxzc.js} +6 -6
- package/dist/chunks/{variant-1f3k22r2.js → managed-policy-ttj5yjcg.js} +11 -11
- package/dist/chunks/{variant-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-rpnewtr1.js → managed-policy-txh8sszt.js} +32 -32
- package/dist/chunks/{variant-xjza7kx6.js → managed-policy-tzvsdaza.js} +11 -11
- package/dist/chunks/{variant-7r87hsp1.js → managed-policy-v4qbwabw.js} +13 -13
- package/dist/chunks/{variant-cann05ez.js → managed-policy-v7s6g2ng.js} +44 -44
- package/dist/chunks/{variant-jkvxnthz.js → managed-policy-vdwhce4b.js} +3 -3
- package/dist/chunks/{variant-dfe8djrf.js → managed-policy-ve4pfa0n.js} +4 -4
- package/dist/chunks/{variant-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/managed-policy-vnkjks7b.js +18 -0
- package/dist/chunks/{variant-z01wj9c4.js → managed-policy-vsmddcz8.js} +18 -18
- package/dist/chunks/{variant-3kcc9g8w.js → managed-policy-vsvwc77y.js} +17 -17
- package/dist/chunks/{variant-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-32grcv6n.js → managed-policy-wabjqz2k.js} +3 -3
- package/dist/chunks/{variant-vxmbdp5g.js → managed-policy-waj7sjcg.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{variant-xrsga2b8.js → managed-policy-wejmxhte.js} +32 -32
- package/dist/chunks/{variant-9gn2e1q5.js → managed-policy-wha6r7ch.js} +60 -60
- package/dist/chunks/{variant-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-xfkkasph.js → managed-policy-xfkkasph.js} +1 -1
- package/dist/chunks/{variant-qdp2stk8.js → managed-policy-xgz93h8v.js} +13 -13
- package/dist/chunks/{variant-dmqcgk4z.js → managed-policy-xkntkrq7.js} +5 -5
- package/dist/chunks/{variant-hekxc47r.js → managed-policy-xp3fh2h7.js} +1 -1
- package/dist/chunks/{variant-m6pcnaq2.js → managed-policy-xrk8nejm.js} +20 -20
- package/dist/chunks/{variant-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-hry7yjep.js → managed-policy-y59we1re.js} +19 -19
- package/dist/chunks/{variant-fqj9nv8j.js → managed-policy-y6kccm89.js} +8 -8
- package/dist/chunks/{variant-07q3v8ms.js → managed-policy-y8vcwf44.js} +36 -36
- package/dist/chunks/{variant-g1r7w4ks.js → managed-policy-ybfcvrar.js} +4 -4
- package/dist/chunks/{variant-mc5axvaa.js → managed-policy-ybhcjgdh.js} +4 -4
- package/dist/chunks/{variant-1acjjqhc.js → managed-policy-yp2x3t23.js} +4 -4
- package/dist/chunks/{variant-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-cx4dwxh6.js → managed-policy-yz8cjxbp.js} +24 -24
- package/dist/chunks/{variant-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-skgznvtr.js → managed-policy-z78tk0yz.js} +12 -12
- package/dist/chunks/{variant-49d935aw.js → managed-policy-z9ccghj6.js} +6 -6
- package/dist/chunks/{variant-6xwnd5n0.js → managed-policy-zcsbnpt8.js} +51 -51
- package/dist/chunks/{variant-zxgz6j12.js → managed-policy-zd3r6yme.js} +10 -10
- package/dist/chunks/{variant-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-t2kw1cd0.js → managed-policy-zrj0t68v.js} +11 -11
- package/dist/chunks/{variant-shp9g25n.js → managed-policy-zst01bw0.js} +6 -6
- package/dist/chunks/{variant-6qmtfge3.js → managed-policy-zxef6ncy.js} +14 -14
- package/dist/chunks/{variant-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +77 -77
- 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 +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- 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 +100 -100
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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 +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- 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 +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +130 -130
- 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 +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- 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 +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/variant-2v8pqagd.js +0 -507
- package/dist/chunks/variant-611kkatt.js +0 -252
- package/dist/chunks/variant-hgd4btym.js +0 -18
- package/dist/chunks/variant-w191f00y.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-3nngm4ht.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service75
|
|
12
|
+
} from "./managed-policy-tb61xc83.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-54s6fkez.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./managed-policy-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service73
|
|
26
|
+
} from "./managed-policy-txh8sszt.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID11
|
|
29
|
+
} from "./managed-policy-aj0rpvpk.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./managed-policy-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./managed-policy-z9ccghj6.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -74,11 +74,11 @@ function make7(endpoints = {
|
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service75;
|
|
81
|
+
const providers = yield* Service73;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make7(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make7(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
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) {
|
|
@@ -192,7 +192,7 @@ function make7(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make7(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make7(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make7(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make7(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make7(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make7(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make7(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,7 +318,7 @@ function make7(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
@@ -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]];
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-3nngm4ht.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service75
|
|
12
|
+
} from "./managed-policy-tb61xc83.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-mpk0rfs5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-54s6fkez.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-txh8sszt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info25
|
|
28
|
+
} from "./managed-policy-aj0rpvpk.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./managed-policy-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID12.openai;
|
|
45
|
+
var integrationID = ID13.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service75;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID14.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID12.openai, ID11.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service31
|
|
3
|
+
} from "./managed-policy-mrvjcs5x.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service34
|
|
9
|
+
} from "./managed-policy-bb33hrzj.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service31;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./managed-policy-frxdqaz8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./managed-policy-bv98qs9q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node72
|
|
12
|
+
} from "./managed-policy-351zg8wc.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service11,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node13
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service11 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service68;
|
|
40
|
+
const watcher = yield* Service69;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service11.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node13 = makeLocationNode({
|
|
74
|
+
service: Service11,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node72, FSUtil.node, node73, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service11,
|
|
80
|
+
layer: Layer.succeed(Service11, Service11.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service11, layer6, node13, empty2, exports_source };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-09tgsdtt.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node63
|
|
9
|
+
} from "./managed-policy-g0q01dbx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./managed-policy-szvvj7a8.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service61;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node63] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|