@opencode/core 0.0.0-dev-19772 → 0.0.0-dev-19773
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{file-kynetcxa.js → location-lifecycle-0583at99.js} +22 -22
- package/dist/chunks/{file-1hc11dc4.js → location-lifecycle-06dxphr1.js} +4 -4
- package/dist/chunks/{file-6r536pd1.js → location-lifecycle-0a352m4e.js} +53 -53
- package/dist/chunks/{file-g5fh27jm.js → location-lifecycle-0arwpg9h.js} +28 -28
- package/dist/chunks/{file-6v4peh9p.js → location-lifecycle-0fa7bwbn.js} +18 -18
- package/dist/chunks/{file-rmkrm11x.js → location-lifecycle-0j8k9298.js} +19 -19
- package/dist/chunks/{file-7xps8bb1.js → location-lifecycle-0k0nfd6b.js} +24 -24
- package/dist/chunks/{file-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-tz47dz5v.js → location-lifecycle-0rbn78vg.js} +5 -5
- package/dist/chunks/{file-bct739vz.js → location-lifecycle-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-vcewcf3p.js → location-lifecycle-122beqbm.js} +13 -13
- package/dist/chunks/{file-z2yza9q7.js → location-lifecycle-13pafthj.js} +26 -26
- package/dist/chunks/{file-hphfs7r7.js → location-lifecycle-13w6txv6.js} +18 -18
- package/dist/chunks/{file-956z8k1a.js → location-lifecycle-14b4t3ct.js} +4 -4
- package/dist/chunks/{file-bpnjy3z7.js → location-lifecycle-14p9gyp6.js} +11 -11
- package/dist/chunks/{file-3kke03kt.js → location-lifecycle-191jk975.js} +182 -182
- package/dist/chunks/{file-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-yqcj9em5.js → location-lifecycle-1mgfmmjx.js} +26 -26
- package/dist/chunks/{file-56gdpj1q.js → location-lifecycle-1ygqh575.js} +9 -9
- package/dist/chunks/{file-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
- package/dist/chunks/{file-91342nd3.js → location-lifecycle-24ax60ts.js} +23 -23
- package/dist/chunks/{file-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-57ez7d0k.js → location-lifecycle-2fgn2we9.js} +9 -9
- package/dist/chunks/{file-ws1k4zdc.js → location-lifecycle-2nk6599b.js} +12 -12
- package/dist/chunks/{file-by1dj0rw.js → location-lifecycle-2nm8vahp.js} +11 -11
- package/dist/chunks/{file-embw8kgh.js → location-lifecycle-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-fvbnea60.js → location-lifecycle-31a29bkt.js} +30 -30
- package/dist/chunks/{file-dtqg9ce1.js → location-lifecycle-35ng7dkh.js} +5 -5
- package/dist/chunks/{file-3qzhexf6.js → location-lifecycle-39efxnxr.js} +30 -30
- package/dist/chunks/{file-rtbbky2x.js → location-lifecycle-3d263902.js} +5 -5
- package/dist/chunks/{file-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-n86jpvhn.js → location-lifecycle-3m92j22d.js} +9 -9
- package/dist/chunks/{file-yr29whj8.js → location-lifecycle-3nccwp58.js} +27 -27
- package/dist/chunks/{file-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-6mypyd4y.js → location-lifecycle-3w6e5pxs.js} +55 -55
- package/dist/chunks/{file-6grmf33y.js → location-lifecycle-3yn70p9x.js} +13 -13
- package/dist/chunks/{file-bj93k3jd.js → location-lifecycle-42p6xn4a.js} +10 -10
- package/dist/chunks/{file-xfzgb354.js → location-lifecycle-49t4bw2f.js} +11 -11
- package/dist/chunks/{file-n0tq777j.js → location-lifecycle-4e8vs6eh.js} +8 -8
- package/dist/chunks/{file-h896pcm5.js → location-lifecycle-4mwpykj0.js} +6 -6
- package/dist/chunks/{file-3my6v4az.js → location-lifecycle-4qxwz8hn.js} +37 -37
- package/dist/chunks/{file-hqfwp6f0.js → location-lifecycle-526nxtwr.js} +31 -31
- package/dist/chunks/{file-zhvjewb1.js → location-lifecycle-53mjga7x.js} +8 -8
- package/dist/chunks/{file-vcnb347p.js → location-lifecycle-5b4wqzw5.js} +23 -23
- package/dist/chunks/{file-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{file-x3rxtwc7.js → location-lifecycle-5f6x8zpd.js} +9 -9
- package/dist/chunks/{file-xgt31tjm.js → location-lifecycle-5k81x1k8.js} +8 -8
- package/dist/chunks/{file-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-w7bw98z6.js → location-lifecycle-5wnzzjdm.js} +32 -32
- package/dist/chunks/{file-z3nk8zw6.js → location-lifecycle-61h3z2g5.js} +42 -42
- package/dist/chunks/{file-n5fr74k4.js → location-lifecycle-660d75mh.js} +8 -8
- package/dist/chunks/{file-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/location-lifecycle-67kfah9z.js +26 -0
- package/dist/chunks/{file-fwcvyjm4.js → location-lifecycle-6859qn2v.js} +9 -9
- package/dist/chunks/{file-w418y777.js → location-lifecycle-6bcwyqj6.js} +17 -17
- package/dist/chunks/{file-kewrzfp7.js → location-lifecycle-6g0939vh.js} +4 -4
- package/dist/chunks/{file-mtq6xxnx.js → location-lifecycle-6hh8tjw2.js} +7 -7
- package/dist/chunks/{file-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-d1mbserq.js → location-lifecycle-6nfb7tnt.js} +4 -4
- package/dist/chunks/{file-dgf6d44x.js → location-lifecycle-6vs9240x.js} +4 -4
- package/dist/chunks/{file-vtede9h4.js → location-lifecycle-6z1vffxr.js} +6 -6
- package/dist/chunks/{file-g7jvb7c9.js → location-lifecycle-709xpvx9.js} +12 -12
- package/dist/chunks/{file-ame7p0bf.js → location-lifecycle-773chg42.js} +35 -35
- package/dist/chunks/{file-ac8gkyem.js → location-lifecycle-79b5vakh.js} +9 -9
- package/dist/chunks/{file-8xbbjbhd.js → location-lifecycle-79enm74j.js} +35 -35
- package/dist/chunks/{file-58vybx2g.js → location-lifecycle-79mmsvx0.js} +11 -11
- package/dist/chunks/{file-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-zyfew8ns.js → location-lifecycle-7s6qx4dh.js} +23 -23
- package/dist/chunks/{file-2y34zzjz.js → location-lifecycle-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-hhvxj0xs.js → location-lifecycle-86eq1ywt.js} +2 -2
- package/dist/chunks/{file-q4629ca0.js → location-lifecycle-87n09n7s.js} +17 -17
- package/dist/chunks/{file-n1jh56hb.js → location-lifecycle-8a8knspf.js} +27 -27
- package/dist/chunks/{file-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-66rhs1hf.js → location-lifecycle-8jcyejbv.js} +40 -40
- package/dist/chunks/{file-fjtsztdw.js → location-lifecycle-8nx70fw4.js} +11 -11
- package/dist/chunks/{file-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-304h1yg1.js → location-lifecycle-8s3h4f1m.js} +32 -32
- package/dist/chunks/{file-bjn91642.js → location-lifecycle-8s8mxddj.js} +4 -4
- package/dist/chunks/{file-cd9my3v1.js → location-lifecycle-8zy50aks.js} +9 -9
- package/dist/chunks/{file-tkd8wqpt.js → location-lifecycle-95sm0mvt.js} +18 -18
- package/dist/chunks/{file-94s2pdns.js → location-lifecycle-9ez0b2d3.js} +40 -40
- package/dist/chunks/{file-hah04hfd.js → location-lifecycle-9fjr9rd9.js} +3 -3
- package/dist/chunks/{file-h0jmq7yk.js → location-lifecycle-9xpq6vyz.js} +24 -24
- package/dist/chunks/{file-j55ehytx.js → location-lifecycle-9yc9kx3k.js} +29 -29
- package/dist/chunks/{file-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-gwyevam5.js → location-lifecycle-a1tgc4z6.js} +6 -6
- package/dist/chunks/{file-xg9t41r3.js → location-lifecycle-a3r4dcrj.js} +2 -2
- package/dist/chunks/{file-ydt9pqf5.js → location-lifecycle-a8av3tx9.js} +15 -15
- package/dist/chunks/{file-8y3wyrth.js → location-lifecycle-aa26r2b5.js} +17 -17
- package/dist/chunks/{file-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{file-r3pg8356.js → location-lifecycle-ang1nz1m.js} +3 -3
- package/dist/chunks/{file-t44gpkd9.js → location-lifecycle-arks7vtx.js} +9 -9
- package/dist/chunks/{file-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-7sbn2nrf.js → location-lifecycle-be7qvw84.js} +8 -8
- package/dist/chunks/{file-2dvm09dd.js → location-lifecycle-beed57ef.js} +22 -22
- package/dist/chunks/{file-kjesn8ee.js → location-lifecycle-bj81ahjr.js} +7 -7
- package/dist/chunks/{file-b9ahwkd2.js → location-lifecycle-bmvb4baq.js} +11 -11
- package/dist/chunks/{file-w676f2yv.js → location-lifecycle-bpz1wvkk.js} +25 -25
- package/dist/chunks/{file-r7nh0yvy.js → location-lifecycle-bxhemmkn.js} +22 -22
- package/dist/chunks/{file-2jz473v5.js → location-lifecycle-bz85s9hh.js} +1 -1
- package/dist/chunks/{file-41verw56.js → location-lifecycle-bzj0ps36.js} +36 -36
- package/dist/chunks/{file-kz33qt24.js → location-lifecycle-c5h8y125.js} +29 -29
- package/dist/chunks/{file-hywk6jf9.js → location-lifecycle-c7f2pmdk.js} +18 -18
- package/dist/chunks/{file-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-x2dr3d7k.js → location-lifecycle-cg71jt97.js} +16 -16
- package/dist/chunks/{file-5jsx19yx.js → location-lifecycle-cpmq4zs8.js} +20 -20
- package/dist/chunks/{file-g6q9qykm.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-px5sh37w.js → location-lifecycle-cx5v8ywb.js} +11 -11
- package/dist/chunks/{file-p244d6rq.js → location-lifecycle-d5931x0a.js} +16 -16
- package/dist/chunks/{file-1gp0z8vk.js → location-lifecycle-d6n3vjds.js} +15 -15
- package/dist/chunks/{file-9eyeqmd2.js → location-lifecycle-dasaxp5m.js} +33 -33
- package/dist/chunks/{file-g7z2c8ev.js → location-lifecycle-dbj4xpaj.js} +33 -33
- package/dist/chunks/{file-55j2v9k6.js → location-lifecycle-ddcj5x5s.js} +22 -22
- package/dist/chunks/{file-h9bw0csn.js → location-lifecycle-ddmzw2qh.js} +13 -13
- package/dist/chunks/{file-46zss07m.js → location-lifecycle-dg98ge15.js} +27 -27
- package/dist/chunks/{file-fxzbpcn9.js → location-lifecycle-dgyzjat5.js} +9 -9
- package/dist/chunks/{file-t9s0mbhm.js → location-lifecycle-djd4pwre.js} +15 -15
- package/dist/chunks/{file-4qenbd9f.js → location-lifecycle-dy5wr8pv.js} +1 -1
- package/dist/chunks/{file-fxmgg4aj.js → location-lifecycle-dz8x4rxg.js} +4 -4
- package/dist/chunks/{file-263r72ym.js → location-lifecycle-eb9hw7wh.js} +21 -21
- package/dist/chunks/{file-3fhknkx8.js → location-lifecycle-ecf151x1.js} +18 -18
- package/dist/chunks/{file-1qg96azw.js → location-lifecycle-eex107wk.js} +8 -8
- package/dist/chunks/{file-v5brccvm.js → location-lifecycle-eexv0tw8.js} +9 -9
- package/dist/chunks/{file-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-2rx2wg8g.js → location-lifecycle-es07ybn2.js} +3 -3
- package/dist/chunks/{file-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-wkmpenx3.js → location-lifecycle-eztqpezc.js} +32 -32
- package/dist/chunks/{file-yp2x3t23.js → location-lifecycle-f2n192rq.js} +4 -4
- package/dist/chunks/{file-5e1pzs32.js → location-lifecycle-f58gpcny.js} +9 -9
- package/dist/chunks/{file-xshcj497.js → location-lifecycle-f5f1767j.js} +28 -28
- package/dist/chunks/{file-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
- package/dist/chunks/{file-fgrqxmc5.js → location-lifecycle-fcpcbtx4.js} +14 -14
- package/dist/chunks/{file-7dqw4kz8.js → location-lifecycle-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-b0dgvpy7.js → location-lifecycle-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-p0b4ytnr.js → location-lifecycle-fvanntqq.js} +4 -4
- package/dist/chunks/{file-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-31wqgk5p.js → location-lifecycle-gd72yk4k.js} +8 -8
- package/dist/chunks/{file-gq8aqzna.js → location-lifecycle-gf5empat.js} +9 -9
- package/dist/chunks/{file-5gwdj91r.js → location-lifecycle-ggf7bkvv.js} +20 -20
- package/dist/chunks/{file-nqjmnyjs.js → location-lifecycle-ggq5dcm3.js} +11 -11
- package/dist/chunks/{file-kbhnhzqb.js → location-lifecycle-gjkqzqcc.js} +13 -13
- package/dist/chunks/{file-rtqwcmtr.js → location-lifecycle-gtgf4hgw.js} +35 -35
- package/dist/chunks/{file-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-e3fp033c.js → location-lifecycle-h245sn8b.js} +26 -26
- package/dist/chunks/{file-z3v71fe4.js → location-lifecycle-h2wxkbap.js} +47 -47
- package/dist/chunks/{file-22br4zbr.js → location-lifecycle-h4f4r51q.js} +30 -30
- package/dist/chunks/{file-nzyhnfxz.js → location-lifecycle-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-fpkmmq0f.js → location-lifecycle-hczr8cbj.js} +14 -14
- package/dist/chunks/{file-9gr8y5ys.js → location-lifecycle-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-510m7gjw.js → location-lifecycle-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-e34x8y7p.js → location-lifecycle-hx5ww8wt.js} +11 -11
- package/dist/chunks/{file-wxsy39h8.js → location-lifecycle-hyyd95r0.js} +23 -23
- package/dist/chunks/{file-hz1es13a.js → location-lifecycle-j1b47kne.js} +13 -13
- package/dist/chunks/{file-nb532tg8.js → location-lifecycle-j1cdcvp6.js} +12 -12
- package/dist/chunks/{file-2zzhbfmj.js → location-lifecycle-j47y1rpg.js} +5 -5
- package/dist/chunks/{file-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{file-ya5dy726.js → location-lifecycle-j67awtyy.js} +6 -6
- package/dist/chunks/{file-j7wq2tw5.js → location-lifecycle-jexxy024.js} +3 -3
- package/dist/chunks/{file-wj40hwr9.js → location-lifecycle-jhhgd3qh.js} +42 -42
- package/dist/chunks/{file-0777derp.js → location-lifecycle-jhkwnjwh.js} +5 -5
- package/dist/chunks/{file-ad2z09fz.js → location-lifecycle-jmkpg1tv.js} +1 -1
- package/dist/chunks/{file-hmwvdnz2.js → location-lifecycle-jzk1318c.js} +73 -73
- package/dist/chunks/{file-qjbq15hs.js → location-lifecycle-kh1pyags.js} +4 -4
- package/dist/chunks/{file-4ghcrmft.js → location-lifecycle-kmnvbzv6.js} +26 -26
- package/dist/chunks/{file-t8t6b7x0.js → location-lifecycle-krfbeb92.js} +8 -8
- package/dist/chunks/{file-az4c37nw.js → location-lifecycle-m0f755xm.js} +20 -20
- package/dist/chunks/{file-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-d383cjmk.js → location-lifecycle-mgp54d0b.js} +8 -8
- package/dist/chunks/{file-7yh4e7ss.js → location-lifecycle-mhkvc446.js} +3 -3
- package/dist/chunks/{file-fkjmw100.js → location-lifecycle-mmr7bq34.js} +4 -4
- package/dist/chunks/{file-sp8y8b7b.js → location-lifecycle-mp35nka1.js} +20 -20
- package/dist/chunks/{file-702gse62.js → location-lifecycle-mva32z28.js} +17 -17
- package/dist/chunks/{file-8zvwwgc2.js → location-lifecycle-mvpbdd12.js} +20 -20
- package/dist/chunks/{file-5vx8nhhg.js → location-lifecycle-mxz5s2yc.js} +15 -15
- package/dist/chunks/{file-p0rshxbh.js → location-lifecycle-mzfd03wb.js} +11 -11
- package/dist/chunks/{file-t7ffcjc5.js → location-lifecycle-n6n0kg9a.js} +4 -4
- package/dist/chunks/{file-ftdzjz2b.js → location-lifecycle-nd37ta7v.js} +6 -6
- package/dist/chunks/{file-yebv8twa.js → location-lifecycle-nhqy4sqa.js} +13 -13
- package/dist/chunks/{file-jh2tjjwa.js → location-lifecycle-nm8nw6e9.js} +8 -8
- package/dist/chunks/{file-4dnw4fzb.js → location-lifecycle-nq9dbnk3.js} +22 -22
- package/dist/chunks/{file-h36v7wj5.js → location-lifecycle-nqmpqm90.js} +5 -5
- package/dist/chunks/{file-sez37x1t.js → location-lifecycle-nqzzttvm.js} +28 -28
- package/dist/chunks/{file-k3c624dm.js → location-lifecycle-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-p28j5sbe.js → location-lifecycle-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-cmwkp3r5.js → location-lifecycle-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-cb7w9rn9.js → location-lifecycle-paajkr2z.js} +11 -11
- package/dist/chunks/{file-nqsne9m4.js → location-lifecycle-pbdcwqw7.js} +12 -12
- package/dist/chunks/{file-bacyadyn.js → location-lifecycle-pct1c8gm.js} +4 -4
- package/dist/chunks/location-lifecycle-pf31ssb9.js +18 -0
- package/dist/chunks/{file-nbpc3svs.js → location-lifecycle-pfwm97n5.js} +23 -23
- package/dist/chunks/{file-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{file-22wh6ycc.js → location-lifecycle-pnaw0c9t.js} +20 -20
- package/dist/chunks/{file-qg0jgkcp.js → location-lifecycle-pnv527nz.js} +9 -9
- package/dist/chunks/{file-ja67c5z9.js → location-lifecycle-pv0jxssj.js} +90 -90
- package/dist/chunks/{file-23bnecbk.js → location-lifecycle-q2v6prn4.js} +18 -18
- package/dist/chunks/{file-v9qkps81.js → location-lifecycle-qecw6cgk.js} +8 -8
- package/dist/chunks/{file-magykp64.js → location-lifecycle-qj8eh1ht.js} +4 -4
- package/dist/chunks/{file-drwq78ky.js → location-lifecycle-qqeeq2t9.js} +7 -7
- package/dist/chunks/{file-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{file-tz2j9nz1.js → location-lifecycle-r3bctjxh.js} +4 -4
- package/dist/chunks/{file-018x1ems.js → location-lifecycle-r4zkvnxh.js} +32 -32
- package/dist/chunks/{file-73cb9t05.js → location-lifecycle-r5eg2mbx.js} +5 -5
- package/dist/chunks/{file-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-12fxvqn6.js → location-lifecycle-rn962gke.js} +42 -42
- package/dist/chunks/{file-8nkxt6xp.js → location-lifecycle-s2bs1fdv.js} +31 -31
- package/dist/chunks/{file-gr0d3prr.js → location-lifecycle-s2vg9k3r.js} +8 -8
- package/dist/chunks/{file-v23xd7nj.js → location-lifecycle-s6ymxyzv.js} +6 -6
- package/dist/chunks/{file-02nrjc1r.js → location-lifecycle-s8d7rejh.js} +8 -8
- package/dist/chunks/{file-zen0tk5x.js → location-lifecycle-s8f2vjxk.js} +15 -15
- package/dist/chunks/{file-hkfg6fzm.js → location-lifecycle-s8zy8myc.js} +5 -5
- package/dist/chunks/{file-xsqcdhn5.js → location-lifecycle-saf3710r.js} +5 -5
- package/dist/chunks/{file-wvp89zrt.js → location-lifecycle-sr0d0zr7.js} +11 -11
- package/dist/chunks/{file-9xbxnfqb.js → location-lifecycle-stqvc9th.js} +20 -20
- package/dist/chunks/{file-f6jg9yks.js → location-lifecycle-sv5xqk1k.js} +30 -30
- package/dist/chunks/{file-hxzqr5y1.js → location-lifecycle-t52qyxg4.js} +51 -51
- package/dist/chunks/{file-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{file-csk5y31k.js → location-lifecycle-tjc0thvv.js} +20 -20
- package/dist/chunks/{file-c78bbtc9.js → location-lifecycle-tn0aqsam.js} +5 -5
- package/dist/chunks/{file-dv7aa87v.js → location-lifecycle-tt7jjbn6.js} +39 -39
- package/dist/chunks/{file-p8pa7sfy.js → location-lifecycle-tvcmfbnv.js} +7 -7
- package/dist/chunks/{file-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{file-s56qzf8n.js → location-lifecycle-v493j7fs.js} +24 -24
- package/dist/chunks/{file-ehy7cw58.js → location-lifecycle-v8bx17dy.js} +13 -13
- package/dist/chunks/{file-nk46f8av.js → location-lifecycle-va2dpz0y.js} +7 -7
- package/dist/chunks/{file-81tjde9w.js → location-lifecycle-vc73p0v5.js} +3 -3
- package/dist/chunks/{file-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mw9xfcqs.js → location-lifecycle-vs2t33p2.js} +11 -11
- package/dist/chunks/{file-s6j88jt8.js → location-lifecycle-vs8r1y1m.js} +5 -5
- package/dist/chunks/{file-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-v53gfhad.js → location-lifecycle-w24sfk5b.js} +7 -7
- package/dist/chunks/{file-r8cnjpdy.js → location-lifecycle-w2kfgqzc.js} +3 -3
- package/dist/chunks/{file-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-n31hfr13.js → location-lifecycle-w59xnf84.js} +11 -11
- package/dist/chunks/{file-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{file-k83v2y4t.js → location-lifecycle-wgvq36tx.js} +24 -24
- package/dist/chunks/{file-ff3zbyyz.js → location-lifecycle-wr8ksv68.js} +9 -9
- package/dist/chunks/{file-42mthp08.js → location-lifecycle-wrg7rccz.js} +18 -18
- package/dist/chunks/{file-w6dmyrhq.js → location-lifecycle-wt8z1z9d.js} +90 -90
- package/dist/chunks/{file-zg8bah5t.js → location-lifecycle-wte3d928.js} +22 -22
- package/dist/chunks/{file-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-h0zs8ypv.js → location-lifecycle-xfbmvp09.js} +10 -10
- package/dist/chunks/{file-4y2x8jxf.js → location-lifecycle-xyq16q30.js} +42 -42
- package/dist/chunks/{file-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-7bzk74m1.js → location-lifecycle-y4zss4xy.js} +16 -16
- package/dist/chunks/{file-y71avatq.js → location-lifecycle-y71avatq.js} +1 -1
- package/dist/chunks/{file-fhmyd1cc.js → location-lifecycle-yadvhf33.js} +9 -9
- package/dist/chunks/{file-y8n92kwn.js → location-lifecycle-ybhbtxjg.js} +6 -6
- package/dist/chunks/{file-yt24apy5.js → location-lifecycle-ybresw7g.js} +26 -26
- package/dist/chunks/{file-s5e6zdc6.js → location-lifecycle-ycjxpqac.js} +17 -17
- package/dist/chunks/{file-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
- package/dist/chunks/{file-5fkxaj5s.js → location-lifecycle-yv0w2na1.js} +5 -5
- package/dist/chunks/{file-a6f6mbr6.js → location-lifecycle-z02ytt51.js} +5 -5
- package/dist/chunks/{file-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
- package/dist/chunks/{file-k1324ekq.js → location-lifecycle-z6bkgc6w.js} +16 -16
- package/dist/chunks/{file-wf1szsxf.js → location-lifecycle-z71671f7.js} +4 -4
- package/dist/chunks/{file-j6vme8qb.js → location-lifecycle-zbnh589t.js} +15 -15
- package/dist/chunks/{file-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-g6mb1r40.js → location-lifecycle-zf2rbwzz.js} +15 -15
- package/dist/chunks/location-lifecycle-zf4zvmrv.js +478 -0
- package/dist/chunks/{file-m3pxzh9s.js → location-lifecycle-zjwkk0sd.js} +6 -6
- package/dist/chunks/{file-4wywpd95.js → location-lifecycle-zp3m46p8.js} +8 -8
- package/dist/chunks/{file-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/location-lifecycle-zr96ze7e.js +252 -0
- package/dist/chunks/{file-361xm3ya.js → location-lifecycle-zsyedvcm.js} +42 -42
- package/dist/chunks/{file-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-pht2kxnm.js → location-lifecycle-zym820by.js} +16 -16
- package/dist/chunks/{file-j18yem6v.js → location-lifecycle-zz90d7t7.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +8 -8
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +221 -221
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-1x11rq2a.js +0 -18
- package/dist/chunks/file-3cg6k2ga.js +0 -252
- package/dist/chunks/file-4938m1cx.js +0 -478
- package/dist/chunks/file-nvdf328w.js +0 -26
- /package/dist/chunks/{file-0mesazry.js → location-lifecycle-0mesazry.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-lifecycle-14p9gyp6.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node58
|
|
12
|
+
} from "./location-lifecycle-nd37ta7v.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info9,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service54,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
|
+
node: () => node57
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service54,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node87, node58]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info9({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service54.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node57 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info9, NotFound3, CreateConflict2, Service54, configured7, node57, exports_workspace };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-ggq5dcm3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin7 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin34 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin34 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin7, exports_tinyfish };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./location-lifecycle-v493j7fs.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-f5f1767j.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-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: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -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 = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service53;
|
|
331
|
+
return Service5.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node56] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin21 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin27 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin21, exports_opencode };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-lifecycle-mzfd03wb.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./location-lifecycle-hczr8cbj.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node25
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service22.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node25 = makeLocationNode({
|
|
168
|
+
service: Service22,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node82, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service22, node25, exports_vcs };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-mzfd03wb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./location-lifecycle-w59xnf84.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service26,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-pf31ssb9.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-191jk975.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service26,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service82;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service68;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service26.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service26,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info19
|
|
6
|
+
} from "./location-lifecycle-qj8eh1ht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info19)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-hczr8cbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service63,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node67,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service63;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service63, node67, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-lifecycle-dbj4xpaj.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|