@opencode/core 0.0.0-dev-256 → 0.0.0-dev-271
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{ripgrep-hzv53yz7.js → location-services-05aev6jb.js} +14 -14
- package/dist/chunks/{ripgrep-5c6v7bf7.js → location-services-05pzx58r.js} +32 -32
- package/dist/chunks/location-services-060k1ctd.js +52 -0
- package/dist/chunks/{ripgrep-a4f3mdv6.js → location-services-0a35qxtn.js} +18 -18
- package/dist/chunks/{ripgrep-5zt75wsq.js → location-services-0h0q04aj.js} +8 -8
- package/dist/chunks/{ripgrep-9nd6g1h4.js → location-services-13jgvn4c.js} +16 -16
- package/dist/chunks/{ripgrep-hs9b4b47.js → location-services-162nfr0g.js} +2 -2
- package/dist/chunks/{ripgrep-17cjzed1.js → location-services-17cjzed1.js} +2 -2
- package/dist/chunks/{ripgrep-jhvnj4yv.js → location-services-19yw54pw.js} +15 -15
- package/dist/chunks/{ripgrep-z38nccrw.js → location-services-1aqsckx4.js} +4 -4
- package/dist/chunks/{ripgrep-gs1ef0jt.js → location-services-1dztdw8x.js} +21 -21
- package/dist/chunks/{ripgrep-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{ripgrep-1yq9hg58.js → location-services-1yq9hg58.js} +1 -1
- package/dist/chunks/{ripgrep-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{ripgrep-ak1f0tsr.js → location-services-254d7qhc.js} +9 -9
- package/dist/chunks/{ripgrep-25h84942.js → location-services-25h84942.js} +1 -1
- package/dist/chunks/{ripgrep-6fpch3kw.js → location-services-26cw61yh.js} +19 -19
- package/dist/chunks/{ripgrep-27w5k9zf.js → location-services-27w5k9zf.js} +2 -2
- package/dist/chunks/{ripgrep-bzmxpqn3.js → location-services-2kqsk57r.js} +15 -15
- package/dist/chunks/{ripgrep-shmzzj1p.js → location-services-2ywsvzr2.js} +17 -17
- package/dist/chunks/{ripgrep-x3d3mep8.js → location-services-35ctkm3t.js} +6 -6
- package/dist/chunks/{ripgrep-3cbjf1nt.js → location-services-3cbjf1nt.js} +2 -2
- package/dist/chunks/{ripgrep-qnghve6e.js → location-services-3dempbt2.js} +8 -8
- package/dist/chunks/{ripgrep-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{ripgrep-x8yhn9vn.js → location-services-3sv3e4sh.js} +21 -21
- package/dist/chunks/{ripgrep-qzwfbxrg.js → location-services-3t0svxwq.js} +14 -14
- package/dist/chunks/{ripgrep-zr96t73h.js → location-services-41ee7e1g.js} +13 -13
- package/dist/chunks/{ripgrep-jqnfqjgv.js → location-services-4987t165.js} +6 -6
- package/dist/chunks/{ripgrep-tsszwamj.js → location-services-49985bx3.js} +30 -30
- package/dist/chunks/{ripgrep-pcc6rjnf.js → location-services-4c0eh56a.js} +23 -13
- package/dist/chunks/location-services-4dx1dgte.js +16 -0
- package/dist/chunks/{ripgrep-mvntxdz5.js → location-services-4pwmc3zk.js} +17 -17
- package/dist/chunks/{ripgrep-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{ripgrep-8k3jsm6y.js → location-services-4pza82rh.js} +25 -25
- package/dist/chunks/{ripgrep-qys60372.js → location-services-4rf7amqy.js} +10 -10
- package/dist/chunks/{ripgrep-9x1v9m9g.js → location-services-4tsnxgj1.js} +4 -4
- package/dist/chunks/{ripgrep-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{ripgrep-1t7faze9.js → location-services-4ya28txs.js} +21 -21
- package/dist/chunks/location-services-53f4ettz.js +113 -0
- package/dist/chunks/{ripgrep-jqfrpy0b.js → location-services-5c0ay57s.js} +4 -4
- package/dist/chunks/location-services-5d7ky1sb.js +257 -0
- package/dist/chunks/{ripgrep-6t0y96w1.js → location-services-5jrjkhem.js} +30 -30
- package/dist/chunks/{ripgrep-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-82b9pnxq.js → location-services-5q7cnmnd.js} +5 -5
- package/dist/chunks/{ripgrep-ackzm7p5.js → location-services-5r9j27z7.js} +18 -18
- package/dist/chunks/{ripgrep-ffcqnzz5.js → location-services-5rab9vhz.js} +16 -16
- package/dist/chunks/{ripgrep-pvvt21d7.js → location-services-5sg2j4zb.js} +14 -14
- package/dist/chunks/{ripgrep-3t0qvtxf.js → location-services-5t0xdgr9.js} +12 -12
- package/dist/chunks/{ripgrep-b363w4yw.js → location-services-5xcrp97n.js} +18 -18
- package/dist/chunks/{ripgrep-03sqz7a9.js → location-services-5zz88cvn.js} +9 -9
- package/dist/chunks/{ripgrep-7pf9jw4b.js → location-services-5zzfvef7.js} +6 -6
- package/dist/chunks/{ripgrep-v8xpr2tt.js → location-services-6147jgs2.js} +11 -11
- package/dist/chunks/{ripgrep-ams2yx18.js → location-services-61erhr80.js} +18 -18
- package/dist/chunks/{ripgrep-1gx6yymd.js → location-services-625chkn0.js} +77 -48
- package/dist/chunks/{ripgrep-wz5tj16h.js → location-services-66r9f6z1.js} +5 -5
- package/dist/chunks/location-services-68291c0v.js +407 -0
- package/dist/chunks/{ripgrep-ndtpazxm.js → location-services-69f0ar7f.js} +30 -30
- package/dist/chunks/{ripgrep-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{ripgrep-49835bfw.js → location-services-6jdd6yf6.js} +4 -4
- package/dist/chunks/{ripgrep-z7zabdrt.js → location-services-6pkyn431.js} +18 -18
- package/dist/chunks/{ripgrep-vydydcga.js → location-services-6r75hzjy.js} +23 -23
- package/dist/chunks/{ripgrep-a33m5c2w.js → location-services-6tnzhnxt.js} +11 -11
- package/dist/chunks/{ripgrep-xv70sp23.js → location-services-6yaxbs98.js} +23 -23
- package/dist/chunks/{ripgrep-fkx1epcn.js → location-services-701es3rv.js} +24 -24
- package/dist/chunks/{ripgrep-zmz19rft.js → location-services-73ktn4xx.js} +9 -9
- package/dist/chunks/{ripgrep-rxc5w0st.js → location-services-73nq7rd4.js} +46 -53
- package/dist/chunks/{ripgrep-76cb1hcw.js → location-services-76cb1hcw.js} +1 -1
- package/dist/chunks/{ripgrep-6dstrpje.js → location-services-76jdhfq7.js} +12 -12
- package/dist/chunks/{ripgrep-fqsvv22e.js → location-services-7863p8e9.js} +43 -43
- package/dist/chunks/{ripgrep-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-xp46ybm5.js → location-services-7ffjm3fx.js} +22 -22
- package/dist/chunks/{ripgrep-rvdapjqy.js → location-services-7rnxwetx.js} +11 -11
- package/dist/chunks/{ripgrep-xyn9xt4d.js → location-services-7s9zy64f.js} +11 -11
- package/dist/chunks/{ripgrep-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{ripgrep-m7egy7mx.js → location-services-88j3sdmx.js} +47 -47
- package/dist/chunks/{ripgrep-jxs8nk7d.js → location-services-8agbak6g.js} +11 -11
- package/dist/chunks/{ripgrep-s4vdbda8.js → location-services-8f2e40mw.js} +14 -14
- package/dist/chunks/{ripgrep-2k2kcze4.js → location-services-8hfnrd7b.js} +74 -74
- package/dist/chunks/{ripgrep-11hfp36g.js → location-services-8jztxfpf.js} +4 -4
- package/dist/chunks/{ripgrep-qh99nfkk.js → location-services-8nmq4mhy.js} +27 -27
- package/dist/chunks/{ripgrep-xsga5jf7.js → location-services-8tx4q2tc.js} +20 -20
- package/dist/chunks/{ripgrep-d8k33s6g.js → location-services-8ve89bpf.js} +8 -8
- package/dist/chunks/{ripgrep-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{ripgrep-8z6m94af.js → location-services-8z6m94af.js} +3 -3
- package/dist/chunks/{ripgrep-sk9th60b.js → location-services-8zhw5swa.js} +32 -32
- package/dist/chunks/{ripgrep-90zstvax.js → location-services-90zstvax.js} +1 -1
- package/dist/chunks/{ripgrep-7rr96ps8.js → location-services-92ee31my.js} +34 -34
- package/dist/chunks/{ripgrep-cac0wmbb.js → location-services-95sp4hdf.js} +4 -4
- package/dist/chunks/{ripgrep-5jefyemb.js → location-services-99y0fxy8.js} +5 -5
- package/dist/chunks/{ripgrep-y8d574bw.js → location-services-9f1h0s6x.js} +26 -26
- package/dist/chunks/{ripgrep-ddwaa558.js → location-services-9tvpxs1q.js} +4 -4
- package/dist/chunks/{ripgrep-d5xvmxkt.js → location-services-9w6kyjc8.js} +9 -9
- package/dist/chunks/location-services-a2vx32ez.js +535 -0
- package/dist/chunks/location-services-a610t88q.js +18 -0
- package/dist/chunks/{ripgrep-pnxd3f75.js → location-services-a678287s.js} +11 -11
- package/dist/chunks/{ripgrep-q91dqmyj.js → location-services-a7c68mes.js} +29 -29
- package/dist/chunks/{ripgrep-xf83b33t.js → location-services-ae75vsr5.js} +29 -29
- package/dist/chunks/{ripgrep-3szttj5s.js → location-services-af4avevc.js} +23 -23
- package/dist/chunks/{ripgrep-r5gpr2p5.js → location-services-ahrjqvfw.js} +22 -22
- package/dist/chunks/{ripgrep-aj7mw0zk.js → location-services-aj7mw0zk.js} +2 -2
- package/dist/chunks/{ripgrep-fxhhzhmy.js → location-services-aqhqhhxw.js} +23 -23
- package/dist/chunks/{ripgrep-ddcyzbs8.js → location-services-av666v8z.js} +13 -13
- package/dist/chunks/{ripgrep-3b0cyw5p.js → location-services-b2g2cd4c.js} +13 -13
- package/dist/chunks/{ripgrep-b6vsg801.js → location-services-b6vsg801.js} +2 -2
- package/dist/chunks/{ripgrep-2n5jzsvh.js → location-services-bfkxtapt.js} +11 -11
- package/dist/chunks/{ripgrep-zd07p9e4.js → location-services-bg8p5thh.js} +31 -31
- package/dist/chunks/{ripgrep-p47gpjqr.js → location-services-bheemw2q.js} +22 -18
- package/dist/chunks/{ripgrep-7442v31d.js → location-services-bm1x4rjt.js} +6 -6
- package/dist/chunks/{ripgrep-a17h2gz7.js → location-services-bnp5qds0.js} +5 -5
- package/dist/chunks/{ripgrep-xd9cc171.js → location-services-bstexjd6.js} +5 -5
- package/dist/chunks/{ripgrep-db73xe5x.js → location-services-bxvvv3jc.js} +21 -21
- package/dist/chunks/location-services-c078hgae.js +2050 -0
- package/dist/chunks/{ripgrep-wjc27my0.js → location-services-c4cv6xmm.js} +11 -11
- package/dist/chunks/{ripgrep-2w1g18fp.js → location-services-c5gvz1b5.js} +4 -4
- package/dist/chunks/{ripgrep-yxp9849n.js → location-services-cfh5dtam.js} +31 -31
- package/dist/chunks/{ripgrep-909bcygr.js → location-services-crjm84aa.js} +48 -48
- package/dist/chunks/{ripgrep-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{ripgrep-x959zq99.js → location-services-d1scnhdx.js} +4 -4
- package/dist/chunks/{ripgrep-gkng5bng.js → location-services-d7akxsfc.js} +6 -6
- package/dist/chunks/{ripgrep-mw7r6xhf.js → location-services-d83be7vq.js} +6 -6
- package/dist/chunks/{ripgrep-agz4bq91.js → location-services-d987wdq8.js} +30 -30
- package/dist/chunks/{ripgrep-d0t1jrhe.js → location-services-dcgrx69e.js} +5 -5
- package/dist/chunks/{ripgrep-zh4a5xq0.js → location-services-dfgayekp.js} +19 -19
- package/dist/chunks/{ripgrep-mg06kx6s.js → location-services-dj84jp87.js} +16 -16
- package/dist/chunks/{ripgrep-m049c8tp.js → location-services-dq6afaen.js} +20 -20
- package/dist/chunks/{ripgrep-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{ripgrep-r2aaaqsx.js → location-services-dw0jwsqt.js} +34 -34
- package/dist/chunks/{ripgrep-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{ripgrep-tjx9btwx.js → location-services-edf6ca2j.js} +186 -186
- package/dist/chunks/{ripgrep-8d2bz6m6.js → location-services-enkpkfwx.js} +8 -8
- package/dist/chunks/{ripgrep-eqmd2tfz.js → location-services-eqmd2tfz.js} +1 -1
- package/dist/chunks/{ripgrep-7fjdcjgg.js → location-services-exjf25px.js} +11 -11
- package/dist/chunks/{ripgrep-b3tsdpgs.js → location-services-f12jx86d.js} +11 -11
- package/dist/chunks/{ripgrep-c48vnd7r.js → location-services-f2738s6n.js} +3 -3
- package/dist/chunks/{ripgrep-r8ack8x7.js → location-services-fa27aj77.js} +8 -8
- package/dist/chunks/{ripgrep-gffq2h0h.js → location-services-faykeh36.js} +19 -19
- package/dist/chunks/{ripgrep-vmaxc52x.js → location-services-fb4xs09j.js} +18 -18
- package/dist/chunks/{ripgrep-phrz113q.js → location-services-fex8285v.js} +30 -28
- package/dist/chunks/{ripgrep-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{ripgrep-fg9p65nk.js → location-services-fg9p65nk.js} +2 -2
- package/dist/chunks/{ripgrep-bccmdxdz.js → location-services-fn0pn290.js} +12 -12
- package/dist/chunks/{ripgrep-tak8qdkr.js → location-services-fngvx4yd.js} +8 -8
- package/dist/chunks/{ripgrep-q6vnkpbt.js → location-services-fq0hatx6.js} +33 -33
- package/dist/chunks/{ripgrep-dsmd9z3t.js → location-services-fse61478.js} +37 -37
- package/dist/chunks/{ripgrep-0h910ma9.js → location-services-g3d6ha41.js} +17 -17
- package/dist/chunks/{ripgrep-3sxgvrsr.js → location-services-g6c2jpgq.js} +15 -15
- package/dist/chunks/{ripgrep-jk10zsa9.js → location-services-g6dvkvqf.js} +28 -28
- package/dist/chunks/{ripgrep-jdra26ww.js → location-services-gcfys28r.js} +19 -19
- package/dist/chunks/{ripgrep-b0mgw4ep.js → location-services-gf94v7ds.js} +12 -12
- package/dist/chunks/{ripgrep-7h63ckp6.js → location-services-gkg0y7d3.js} +19 -19
- package/dist/chunks/{ripgrep-d4v9tmah.js → location-services-gn8tkhbf.js} +2 -2
- package/dist/chunks/{ripgrep-rmk8jq11.js → location-services-gtjkmstt.js} +37 -37
- package/dist/chunks/{ripgrep-hr4y9snp.js → location-services-gz7axp6c.js} +7 -7
- package/dist/chunks/{ripgrep-pj6fb39f.js → location-services-hcdj4fe2.js} +67 -53
- package/dist/chunks/{ripgrep-y6qsxzbk.js → location-services-hcky80w5.js} +4 -4
- package/dist/chunks/{ripgrep-erc81w38.js → location-services-he1z5msn.js} +24 -19
- package/dist/chunks/{ripgrep-mg356nz4.js → location-services-hgfegmhz.js} +58 -26
- package/dist/chunks/{ripgrep-hh7kjqtw.js → location-services-hh7kjqtw.js} +1 -1
- package/dist/chunks/{ripgrep-5qbnyx67.js → location-services-hhcegec1.js} +37 -37
- package/dist/chunks/{ripgrep-2e5pdp54.js → location-services-hnv7rbyt.js} +7 -7
- package/dist/chunks/{ripgrep-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
- package/dist/chunks/{ripgrep-am8n4zj8.js → location-services-hrj3d3rg.js} +40 -40
- package/dist/chunks/{ripgrep-qf4spmep.js → location-services-ht7smmrx.js} +33 -33
- package/dist/chunks/{ripgrep-pmnwwjgv.js → location-services-hwdk6992.js} +56 -56
- package/dist/chunks/{ripgrep-sy9atnn8.js → location-services-j28mjm60.js} +7 -7
- package/dist/chunks/{ripgrep-5bp97s21.js → location-services-j4wsft1q.js} +18 -18
- package/dist/chunks/{ripgrep-1f952vs7.js → location-services-jcrsb2we.js} +9 -9
- package/dist/chunks/{ripgrep-jfaecv01.js → location-services-jfaecv01.js} +1 -1
- package/dist/chunks/{ripgrep-fdfr6sds.js → location-services-jjkdzw18.js} +15 -15
- package/dist/chunks/{ripgrep-1fwefjcd.js → location-services-jsrgk7v1.js} +22 -22
- package/dist/chunks/{ripgrep-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
- package/dist/chunks/{ripgrep-kcg78dnn.js → location-services-jv2xnyk0.js} +2 -2
- package/dist/chunks/{ripgrep-882n9ge3.js → location-services-k3f7456s.js} +5 -5
- package/dist/chunks/{ripgrep-yqqn7f99.js → location-services-k56767v4.js} +1 -1
- package/dist/chunks/{ripgrep-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{ripgrep-4fcq8f9m.js → location-services-kbq9sd94.js} +11 -11
- package/dist/chunks/{ripgrep-z33c4g07.js → location-services-kecs8cm0.js} +13 -13
- package/dist/chunks/{ripgrep-9wqtqs01.js → location-services-kfcsbfj2.js} +45 -35
- package/dist/chunks/{ripgrep-sfvb2ra8.js → location-services-kgaj0b42.js} +33 -33
- package/dist/chunks/{ripgrep-dqyfjygp.js → location-services-kpd0ft4p.js} +22 -22
- package/dist/chunks/{ripgrep-psanbaqe.js → location-services-kreataz1.js} +9 -9
- package/dist/chunks/{ripgrep-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{ripgrep-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{ripgrep-sbpkqjks.js → location-services-m3pbq8ct.js} +16 -16
- package/dist/chunks/{ripgrep-s85z3cra.js → location-services-m7xh3h0x.js} +4 -4
- package/dist/chunks/{ripgrep-2kk97py3.js → location-services-m8vjyhwb.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-5rgg5y2m.js → location-services-mcaz155f.js} +6 -6
- package/dist/chunks/{ripgrep-xcebgh3h.js → location-services-mm24p6x7.js} +4 -4
- package/dist/chunks/{ripgrep-mtkfycnh.js → location-services-mtkfycnh.js} +1 -1
- package/dist/chunks/{ripgrep-h7tawekg.js → location-services-mwby5be6.js} +27 -27
- package/dist/chunks/{ripgrep-7521vzgd.js → location-services-mwyy67aj.js} +13 -13
- package/dist/chunks/{ripgrep-t5kja7d6.js → location-services-mz3xd1k6.js} +24 -24
- package/dist/chunks/{ripgrep-pa3yh9f4.js → location-services-n91e94x0.js} +30 -30
- package/dist/chunks/{ripgrep-h0xgca3k.js → location-services-n94pvp91.js} +54 -30
- package/dist/chunks/{ripgrep-nah043kf.js → location-services-nah043kf.js} +1 -1
- package/dist/chunks/{ripgrep-kjdrtwey.js → location-services-ndcaramg.js} +5 -5
- package/dist/chunks/{ripgrep-hq7e4nr1.js → location-services-nk8zryt9.js} +7 -7
- package/dist/chunks/{ripgrep-r87akjs2.js → location-services-nm8x0m3s.js} +6 -6
- package/dist/chunks/{ripgrep-3tpyq6vw.js → location-services-nn8146rv.js} +13 -13
- package/dist/chunks/{ripgrep-n6v2b7cw.js → location-services-nv205p9v.js} +5 -5
- package/dist/chunks/{ripgrep-b0hcd791.js → location-services-nwn24kq0.js} +8 -8
- package/dist/chunks/{ripgrep-nx4vzyjd.js → location-services-nx4vzyjd.js} +2 -2
- package/dist/chunks/{ripgrep-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{ripgrep-f2hbk3te.js → location-services-p8e6hb0k.js} +14 -14
- package/dist/chunks/{ripgrep-nxftzjsa.js → location-services-p9aaxzzm.js} +19 -19
- package/dist/chunks/{ripgrep-gt0enb5r.js → location-services-perw67p4.js} +22 -22
- package/dist/chunks/{ripgrep-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-h7zsgwja.js → location-services-pqan8706.js} +23 -23
- package/dist/chunks/{ripgrep-qkw2jr9b.js → location-services-pxtfkpje.js} +2 -2
- package/dist/chunks/{ripgrep-5aysfjzq.js → location-services-pygderqp.js} +22 -22
- package/dist/chunks/{ripgrep-zh7bbm8x.js → location-services-q4fcarhy.js} +9 -9
- package/dist/chunks/{ripgrep-n0xqaxze.js → location-services-qmv0q6pw.js} +30 -30
- package/dist/chunks/{ripgrep-vaq1yek0.js → location-services-qnqasnye.js} +6 -6
- package/dist/chunks/{ripgrep-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{ripgrep-qqvy8y24.js → location-services-qqvy8y24.js} +1 -1
- package/dist/chunks/{ripgrep-enpxw9ft.js → location-services-qw73mqn2.js} +38 -38
- package/dist/chunks/{ripgrep-bxe7n28z.js → location-services-qz087kyw.js} +8 -8
- package/dist/chunks/location-services-r09xcsm2.js +390 -0
- package/dist/chunks/{ripgrep-qavpxcye.js → location-services-r1fhaev6.js} +2 -2
- package/dist/chunks/{ripgrep-18g90bpv.js → location-services-r4pwrx75.js} +9 -9
- package/dist/chunks/{ripgrep-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{ripgrep-jzpa86ty.js → location-services-rb8dmkdr.js} +27 -27
- package/dist/chunks/{ripgrep-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{ripgrep-f2dkd9c9.js → location-services-rgy8fvzs.js} +82 -82
- package/dist/chunks/{ripgrep-b5jmjrr6.js → location-services-rkmfgj7k.js} +32 -32
- package/dist/chunks/{ripgrep-k4hxmz12.js → location-services-rqxwm5vf.js} +33 -33
- package/dist/chunks/{ripgrep-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{ripgrep-8wxjt6jj.js → location-services-rwtt4501.js} +28 -28
- package/dist/chunks/{ripgrep-dwwyec8z.js → location-services-rwvswa9y.js} +6 -6
- package/dist/chunks/{ripgrep-g24xgb35.js → location-services-ry6m6k45.js} +11 -11
- package/dist/chunks/{ripgrep-h5prggwk.js → location-services-s6rqyy7q.js} +47 -47
- package/dist/chunks/{ripgrep-vm4ntgdp.js → location-services-s7dtnyk2.js} +91 -91
- package/dist/chunks/{ripgrep-zbjfvsrb.js → location-services-s87tva5r.js} +9 -9
- package/dist/chunks/{ripgrep-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{ripgrep-j83zfqb4.js → location-services-sab8hb9j.js} +25 -25
- package/dist/chunks/{ripgrep-wsrqy1ze.js → location-services-sb68qyrv.js} +21 -21
- package/dist/chunks/{ripgrep-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{ripgrep-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{ripgrep-vcxd5eqd.js → location-services-sxfdfs5r.js} +11 -11
- package/dist/chunks/{ripgrep-3jqgx5kj.js → location-services-t20evbn4.js} +47 -47
- package/dist/chunks/{ripgrep-7kef5ntp.js → location-services-t815r62s.js} +3 -3
- package/dist/chunks/{ripgrep-0cc6nv5k.js → location-services-t9fjyv5p.js} +9 -9
- package/dist/chunks/{ripgrep-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{ripgrep-aytd9eaj.js → location-services-tptvq6v6.js} +4 -4
- package/dist/chunks/{ripgrep-s5z0gt4g.js → location-services-ts3q81hd.js} +3 -3
- package/dist/chunks/{ripgrep-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{ripgrep-x524hec9.js → location-services-txb82dsv.js} +23 -23
- package/dist/chunks/{ripgrep-x3fmc1hr.js → location-services-tzw071bs.js} +21 -21
- package/dist/chunks/{ripgrep-my54cbqv.js → location-services-v2psmyxx.js} +5 -5
- package/dist/chunks/{ripgrep-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{ripgrep-2zp5a6yg.js → location-services-vb80j1wh.js} +3 -3
- package/dist/chunks/{ripgrep-2hnaskt6.js → location-services-vc4cryav.js} +9 -9
- package/dist/chunks/{ripgrep-jp89zqat.js → location-services-vkcgzpwt.js} +23 -23
- package/dist/chunks/{ripgrep-nta1mp64.js → location-services-vwgtfhce.js} +11 -11
- package/dist/chunks/{ripgrep-qfkq8xrf.js → location-services-vy4m1q4k.js} +58 -58
- package/dist/chunks/{ripgrep-40za9wsf.js → location-services-w2eysc6j.js} +9 -9
- package/dist/chunks/{ripgrep-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-mmx1mfjr.js → location-services-w79nt68w.js} +4 -4
- package/dist/chunks/{ripgrep-ybcwzyjp.js → location-services-w8ndjz7j.js} +31 -31
- package/dist/chunks/{ripgrep-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-mb3v38wv.js → location-services-wdw55mq4.js} +5 -5
- package/dist/chunks/{ripgrep-aje86v63.js → location-services-wj1hwnq7.js} +3 -3
- package/dist/chunks/{ripgrep-wnhgecwx.js → location-services-wnhgecwx.js} +1 -1
- package/dist/chunks/{ripgrep-w687dnns.js → location-services-wr3re1en.js} +4 -4
- package/dist/chunks/{ripgrep-e7gncem7.js → location-services-x51b6bk0.js} +2 -2
- package/dist/chunks/{ripgrep-j5dh2pqj.js → location-services-x93g9n8c.js} +15 -15
- package/dist/chunks/{ripgrep-x62jm14v.js → location-services-x99kszcd.js} +14 -14
- package/dist/chunks/{ripgrep-ydbjebpg.js → location-services-x9nckj68.js} +25 -25
- package/dist/chunks/{ripgrep-3ryz99p0.js → location-services-xmx7xj34.js} +4 -4
- package/dist/chunks/{ripgrep-3416qbwy.js → location-services-xrc3640n.js} +8 -8
- package/dist/chunks/{ripgrep-dp20ymjh.js → location-services-xsdjk4ge.js} +5 -5
- package/dist/chunks/{ripgrep-qqpbcr2p.js → location-services-xt0z8zst.js} +4 -4
- package/dist/chunks/{ripgrep-z9qgeafv.js → location-services-y98qbkn6.js} +20 -20
- package/dist/chunks/{ripgrep-rkafft8x.js → location-services-y9r97bb3.js} +14 -14
- package/dist/chunks/{ripgrep-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{ripgrep-jew46n24.js → location-services-yh9hqaeq.js} +9 -9
- package/dist/chunks/{ripgrep-68gxk72y.js → location-services-ykap3e57.js} +25 -25
- package/dist/chunks/{ripgrep-ke335cjj.js → location-services-ytz496fy.js} +5 -5
- package/dist/chunks/{ripgrep-c5rgx9f0.js → location-services-yx6x8jfj.js} +2 -2
- package/dist/chunks/{ripgrep-k4461cq5.js → location-services-yz9rz98a.js} +6 -6
- package/dist/chunks/{ripgrep-29bbm67v.js → location-services-z5fvc4pa.js} +27 -27
- package/dist/chunks/{ripgrep-e5697zjm.js → location-services-z89tmfeq.js} +12 -12
- package/dist/chunks/{ripgrep-yeejah88.js → location-services-zb5gs1ba.js} +3 -3
- package/dist/chunks/{ripgrep-daqk1zzh.js → location-services-zcdj67b9.js} +30 -30
- package/dist/chunks/{ripgrep-gzqtw9gm.js → location-services-zdpw9dy9.js} +20 -20
- package/dist/chunks/location-services-zf52n5v2.js +26 -0
- package/dist/chunks/{ripgrep-6vab03tz.js → location-services-zgmb78cs.js} +33 -33
- package/dist/chunks/{ripgrep-z48jxn29.js → location-services-zkyvmhna.js} +16 -16
- package/dist/chunks/{ripgrep-4ggjgtjs.js → location-services-zpn8n3e3.js} +11 -11
- package/dist/chunks/{ripgrep-3rj35y7k.js → location-services-zsjka0ec.js} +5 -5
- package/dist/chunks/{ripgrep-hy1b2qcd.js → location-services-zwp1eeat.js} +2 -2
- package/dist/chunks/{ripgrep-k1sfxhaz.js → location-services-zx82kmhe.js} +40 -40
- package/dist/chunks/{ripgrep-vpm1h889.js → location-services-zyy8z9rg.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +8 -4
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +13 -9
- package/dist/config/managed.js +8 -0
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -127
- package/dist/config/plugin/command.js +228 -225
- package/dist/config/plugin/compaction.js +169 -166
- package/dist/config/plugin/compatibility.js +149 -146
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -126
- package/dist/config/plugin/image.js +129 -125
- package/dist/config/plugin/instruction.js +129 -125
- package/dist/config/plugin/location-watcher.js +131 -127
- package/dist/config/plugin/mcp.js +138 -134
- package/dist/config/plugin/policy.js +129 -127
- package/dist/config/plugin/provider.js +129 -126
- package/dist/config/plugin/reference.js +131 -127
- package/dist/config/plugin/shell.js +131 -127
- package/dist/config/plugin/skill-file.js +145 -142
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +150 -147
- package/dist/config/plugin/snapshot.js +129 -125
- package/dist/config/plugin/source.js +132 -128
- package/dist/config/plugin/tool-output.js +130 -126
- package/dist/config/plugin/websearch.js +130 -126
- package/dist/config/plugin/worktree.js +131 -127
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +80 -80
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -390
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +84 -84
- package/dist/file-access.js +155 -152
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +241 -238
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +111 -111
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -381
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -170
- package/dist/location-lifecycle.js +149 -146
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -378
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +11 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +173 -170
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -229
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -357
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +126 -125
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -142
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -125
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -125
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -123
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -123
- package/dist/plugin/provider/configured.js +125 -121
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -122
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -134
- package/dist/plugin/provider/local.js +135 -131
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -134
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -125
- package/dist/plugin/provider/opencode.js +131 -128
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -124
- package/dist/plugin/provider/vllm.js +138 -134
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -176
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -145
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -365
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -123
- 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 +8 -8
- package/dist/plugin.js +239 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -233
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -124
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +165 -162
- package/dist/session/context.js +195 -192
- package/dist/session/diff.js +100 -100
- 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 +239 -236
- package/dist/session/execution.js +161 -158
- package/dist/session/generate.js +197 -194
- package/dist/session/history.js +135 -131
- package/dist/session/inbox.js +146 -142
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -136
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -159
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -160
- package/dist/session/projector.js +142 -138
- package/dist/session/prompt.js +147 -144
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -134
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +244 -241
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -145
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +159 -156
- package/dist/session/runner/to-llm-message.js +136 -132
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -174
- package/dist/session/shell.js +143 -139
- package/dist/session/skill.js +146 -143
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -137
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +226 -223
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +193 -190
- package/dist/session/to-session-error.js +147 -144
- package/dist/session/transfer.js +237 -234
- package/dist/session/usage.js +1 -1
- package/dist/session.js +232 -229
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +6 -2007
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +145 -141
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -147
- package/dist/skill.js +155 -152
- package/dist/snapshot.js +105 -105
- 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 +172 -169
- package/dist/tool/plugin/edit.js +163 -160
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -164
- package/dist/tool/plugin/grep.js +167 -164
- package/dist/tool/plugin/image-generate.js +228 -225
- package/dist/tool/plugin/mcp-resource.js +161 -158
- package/dist/tool/plugin/opencode.js +160 -157
- package/dist/tool/plugin/patch.js +157 -154
- package/dist/tool/plugin/question.js +145 -142
- package/dist/tool/plugin/read.js +168 -165
- package/dist/tool/plugin/schedule.js +243 -239
- package/dist/tool/plugin/shell.js +232 -228
- package/dist/tool/plugin/skill.js +156 -153
- package/dist/tool/plugin/subagent.js +225 -222
- package/dist/tool/plugin/todo.js +152 -149
- package/dist/tool/plugin/webfetch.js +156 -153
- package/dist/tool/plugin/websearch.js +154 -151
- package/dist/tool/plugin/write.js +165 -162
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/codemode/tool.d.ts +39 -0
- package/dist/types/config/integration.d.ts +29 -7
- package/dist/types/config/managed.d.ts +10 -0
- package/dist/types/config/plugin/policy.d.ts +4 -1
- package/dist/types/managed-policy.d.ts +16 -2
- package/dist/types/schedule/check.d.ts +35 -4
- package/dist/types/schedule/sql.d.ts +3 -0
- package/dist/types/shell/parse.d.ts +2 -6
- package/dist/types/tool/plugin/schedule.d.ts +12 -0
- package/dist/types/tool/plugin/shell.d.ts +1 -2
- package/dist/types/tool.d.ts +14 -0
- package/dist/types/websearch.d.ts +2 -0
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +3 -3
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +108 -108
- package/package.json +8 -17
- package/dist/chunks/ripgrep-5w9dwxvh.js +0 -222
- package/dist/chunks/ripgrep-apk2hew3.js +0 -76
- package/dist/chunks/ripgrep-cgp1s624.js +0 -26
- package/dist/chunks/ripgrep-f38wrs86.js +0 -535
- package/dist/chunks/ripgrep-n3r3rt18.js +0 -18
- package/dist/chunks/ripgrep-n53x6sf3.js +0 -356
- package/dist/chunks/ripgrep-qraj6mtx.js +0 -257
- package/dist/chunks/ripgrep-x7c80rtj.js +0 -31
- package/dist/shell/parser-wasm.bun.js +0 -8
- package/dist/shell/parser-wasm.node.js +0 -11
- package/dist/shell/parser-wasm.workerd.js +0 -5
- package/dist/types/shell/parser-wasm.bun.d.ts +0 -5
- package/dist/types/shell/parser-wasm.node.d.ts +0 -5
- package/dist/types/shell/parser-wasm.workerd.d.ts +0 -5
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kah00gy.js → location-services-1kah00gy.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-7stb81gk.js → location-services-7stb81gk.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ean2d8b5.js → location-services-ean2d8b5.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
- /package/dist/chunks/{ripgrep-nh4v3znn.js → location-services-nh4v3znn.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-stkk57rt.js → location-services-stkk57rt.js} +0 -0
- /package/dist/chunks/{ripgrep-t03h4f5z.js → location-services-t03h4f5z.js} +0 -0
- /package/dist/chunks/{ripgrep-ty7weeps.js → location-services-ty7weeps.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86
|
|
3
|
+
} from "./location-services-m3pbq8ct.js";
|
|
4
|
+
import {
|
|
5
|
+
Event19,
|
|
6
|
+
Service81
|
|
7
|
+
} from "./location-services-fq0hatx6.js";
|
|
8
|
+
import {
|
|
9
|
+
batch2
|
|
10
|
+
} from "./location-services-204s3925.js";
|
|
11
|
+
import {
|
|
12
|
+
suppliers2
|
|
13
|
+
} from "./location-services-4c0eh56a.js";
|
|
14
|
+
import {
|
|
15
|
+
match3
|
|
16
|
+
} from "./location-services-1aqsckx4.js";
|
|
17
|
+
import {
|
|
18
|
+
statements2,
|
|
19
|
+
decision2,
|
|
20
|
+
integrationResource2,
|
|
21
|
+
accounts2
|
|
22
|
+
} from "./location-services-060k1ctd.js";
|
|
23
|
+
import {
|
|
24
|
+
Service74
|
|
25
|
+
} from "./location-services-625chkn0.js";
|
|
26
|
+
import {
|
|
27
|
+
Service20
|
|
28
|
+
} from "./location-services-fex8285v.js";
|
|
29
|
+
import {
|
|
30
|
+
observe2
|
|
31
|
+
} from "./location-services-hpg1pkwy.js";
|
|
32
|
+
import {
|
|
33
|
+
__export
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
|
+
|
|
36
|
+
// src/config/plugin/policy.ts
|
|
37
|
+
var exports_policy = {};
|
|
38
|
+
__export(exports_policy, {
|
|
39
|
+
ConfigPolicyPlugin: () => exports_policy,
|
|
40
|
+
Plugin: () => Plugin35
|
|
41
|
+
});
|
|
42
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
43
|
+
import { Effect, Stream } from "effect";
|
|
44
|
+
var Plugin35 = define({
|
|
45
|
+
id: "opencode.config.policy",
|
|
46
|
+
effect: Effect.fn(function* (ctx) {
|
|
47
|
+
const config = yield* Service74;
|
|
48
|
+
const credentials = yield* Service81;
|
|
49
|
+
const websearch = yield* Service20;
|
|
50
|
+
const bus = yield* Service86;
|
|
51
|
+
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload(), websearch.reload()], {
|
|
52
|
+
discard: true
|
|
53
|
+
}));
|
|
54
|
+
const loaded = yield* observe2(config, ctx.event, reload);
|
|
55
|
+
const policies = () => statements2(loaded.entries);
|
|
56
|
+
const current = { accounts: accounts2(yield* credentials.all()) };
|
|
57
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
58
|
+
const next = accounts2(yield* credentials.all());
|
|
59
|
+
if (next.size === current.accounts.size && Array.from(next).every(([id, account]) => current.accounts.get(id) === account))
|
|
60
|
+
return;
|
|
61
|
+
current.accounts = next;
|
|
62
|
+
yield* batch2(Effect.all([ctx.provider.reload(), websearch.reload()], { discard: true }));
|
|
63
|
+
})), Effect.forkScoped({ startImmediately: true }));
|
|
64
|
+
const integrationDenied = (statements, integrationID) => decision2(statements, "integration.use", integrationResource2(integrationID, current.accounts.get(integrationID))) === "deny";
|
|
65
|
+
const runSync = Effect.runSyncWith(yield* Effect.context());
|
|
66
|
+
yield* ctx.provider.transform((providers) => {
|
|
67
|
+
const statements = policies();
|
|
68
|
+
const suppliers = suppliers2(loaded.entries);
|
|
69
|
+
const denied = [];
|
|
70
|
+
for (const record of providers.list()) {
|
|
71
|
+
const provider = decision2(statements, "provider.use", record.provider.id) === "deny" || integrationDenied(statements, suppliers.get(record.provider.id) ?? record.provider.integrationID ?? record.provider.id);
|
|
72
|
+
if (!provider)
|
|
73
|
+
continue;
|
|
74
|
+
providers.remove(record.provider.id);
|
|
75
|
+
if (record.provider.activation === "enabled")
|
|
76
|
+
denied.push(record.provider.id);
|
|
77
|
+
}
|
|
78
|
+
if (denied.length)
|
|
79
|
+
runSync(Effect.logDebug("providers denied by policy", { providers: denied }));
|
|
80
|
+
});
|
|
81
|
+
yield* websearch.transform((editor) => {
|
|
82
|
+
const statements = policies();
|
|
83
|
+
for (const provider of editor.list()) {
|
|
84
|
+
if (integrationDenied(statements, provider.id))
|
|
85
|
+
editor.remove(provider.id);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
yield* ctx.mcp.transform((servers) => {
|
|
89
|
+
const statements = policies();
|
|
90
|
+
for (const [name] of servers.list()) {
|
|
91
|
+
if (decision2(statements, "mcp.use", name) === "deny")
|
|
92
|
+
servers.remove(name);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
yield* ctx.skill.transform((skills) => {
|
|
96
|
+
const statements = policies();
|
|
97
|
+
for (const skill of skills.list()) {
|
|
98
|
+
if (decision2(statements, "skill.use", skill.id) === "deny")
|
|
99
|
+
skills.remove(skill.id);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
yield* ctx.permission.hook("evaluate", (event) => Effect.sync(() => {
|
|
103
|
+
const statements = policies();
|
|
104
|
+
const denied = event.resources.map((resource) => statements.findLast((policy) => policy.action === "tool.use" && match3(`${event.action}:${resource}`, policy.resource))).find((policy) => policy?.effect === "deny");
|
|
105
|
+
if (!denied)
|
|
106
|
+
return;
|
|
107
|
+
event.effect = "deny";
|
|
108
|
+
event.message = denied.message;
|
|
109
|
+
}));
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
export { Plugin35, exports_policy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin49,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin49 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin49, exports_goal };
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node73
|
|
3
|
+
} from "./location-services-x9nckj68.js";
|
|
4
|
+
import {
|
|
5
|
+
node84
|
|
6
|
+
} from "./location-services-6yaxbs98.js";
|
|
7
|
+
import {
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-services-05pzx58r.js";
|
|
10
|
+
import {
|
|
11
|
+
node87,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./location-services-yx6x8jfj.js";
|
|
14
|
+
import {
|
|
15
|
+
node82
|
|
16
|
+
} from "./location-services-d987wdq8.js";
|
|
17
|
+
import {
|
|
18
|
+
node65
|
|
19
|
+
} from "./location-services-76jdhfq7.js";
|
|
20
|
+
import {
|
|
21
|
+
node81
|
|
22
|
+
} from "./location-services-92ee31my.js";
|
|
23
|
+
import {
|
|
24
|
+
node54
|
|
25
|
+
} from "./location-services-txb82dsv.js";
|
|
26
|
+
import {
|
|
27
|
+
configured10,
|
|
28
|
+
node78
|
|
29
|
+
} from "./location-services-625chkn0.js";
|
|
30
|
+
import {
|
|
31
|
+
node75
|
|
32
|
+
} from "./location-services-3sv3e4sh.js";
|
|
33
|
+
import {
|
|
34
|
+
node66
|
|
35
|
+
} from "./location-services-av666v8z.js";
|
|
36
|
+
import {
|
|
37
|
+
node18
|
|
38
|
+
} from "./location-services-kbq9sd94.js";
|
|
39
|
+
import {
|
|
40
|
+
node47
|
|
41
|
+
} from "./location-services-zdpw9dy9.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node46
|
|
45
|
+
} from "./location-services-ae75vsr5.js";
|
|
46
|
+
import {
|
|
47
|
+
node64
|
|
48
|
+
} from "./location-services-7863p8e9.js";
|
|
49
|
+
import {
|
|
50
|
+
node24
|
|
51
|
+
} from "./location-services-cfh5dtam.js";
|
|
52
|
+
import {
|
|
53
|
+
node20
|
|
54
|
+
} from "./location-services-mwby5be6.js";
|
|
55
|
+
import {
|
|
56
|
+
node16
|
|
57
|
+
} from "./location-services-gcfys28r.js";
|
|
58
|
+
import {
|
|
59
|
+
node52
|
|
60
|
+
} from "./location-services-jcrsb2we.js";
|
|
61
|
+
import {
|
|
62
|
+
node37
|
|
63
|
+
} from "./location-services-crjm84aa.js";
|
|
64
|
+
import {
|
|
65
|
+
Service54,
|
|
66
|
+
node56
|
|
67
|
+
} from "./location-services-rwvswa9y.js";
|
|
68
|
+
import {
|
|
69
|
+
node74
|
|
70
|
+
} from "./location-services-qz087kyw.js";
|
|
71
|
+
import {
|
|
72
|
+
node70
|
|
73
|
+
} from "./location-services-88j3sdmx.js";
|
|
74
|
+
import {
|
|
75
|
+
node58
|
|
76
|
+
} from "./location-services-2ywsvzr2.js";
|
|
77
|
+
import {
|
|
78
|
+
configured4,
|
|
79
|
+
node44
|
|
80
|
+
} from "./location-services-faykeh36.js";
|
|
81
|
+
import {
|
|
82
|
+
node30
|
|
83
|
+
} from "./location-services-41ee7e1g.js";
|
|
84
|
+
import {
|
|
85
|
+
node51
|
|
86
|
+
} from "./location-services-n94pvp91.js";
|
|
87
|
+
import {
|
|
88
|
+
node45
|
|
89
|
+
} from "./location-services-7rnxwetx.js";
|
|
90
|
+
import {
|
|
91
|
+
node36
|
|
92
|
+
} from "./location-services-g3d6ha41.js";
|
|
93
|
+
import {
|
|
94
|
+
node35
|
|
95
|
+
} from "./location-services-kfcsbfj2.js";
|
|
96
|
+
import {
|
|
97
|
+
node41
|
|
98
|
+
} from "./location-services-bg8p5thh.js";
|
|
99
|
+
import {
|
|
100
|
+
node31
|
|
101
|
+
} from "./location-services-fb4xs09j.js";
|
|
102
|
+
import {
|
|
103
|
+
node42
|
|
104
|
+
} from "./location-services-8nmq4mhy.js";
|
|
105
|
+
import {
|
|
106
|
+
node38
|
|
107
|
+
} from "./location-services-jsrgk7v1.js";
|
|
108
|
+
import {
|
|
109
|
+
node28
|
|
110
|
+
} from "./location-services-rgy8fvzs.js";
|
|
111
|
+
import {
|
|
112
|
+
node53
|
|
113
|
+
} from "./location-services-n91e94x0.js";
|
|
114
|
+
import {
|
|
115
|
+
node50
|
|
116
|
+
} from "./location-services-7ffjm3fx.js";
|
|
117
|
+
import {
|
|
118
|
+
node39
|
|
119
|
+
} from "./location-services-t20evbn4.js";
|
|
120
|
+
import {
|
|
121
|
+
node68
|
|
122
|
+
} from "./location-services-05aev6jb.js";
|
|
123
|
+
import {
|
|
124
|
+
node63
|
|
125
|
+
} from "./location-services-tzw071bs.js";
|
|
126
|
+
import {
|
|
127
|
+
node23
|
|
128
|
+
} from "./location-services-fex8285v.js";
|
|
129
|
+
import {
|
|
130
|
+
node61
|
|
131
|
+
} from "./location-services-61erhr80.js";
|
|
132
|
+
import {
|
|
133
|
+
node22
|
|
134
|
+
} from "./location-services-8tx4q2tc.js";
|
|
135
|
+
import {
|
|
136
|
+
node12
|
|
137
|
+
} from "./location-services-rkmfgj7k.js";
|
|
138
|
+
import {
|
|
139
|
+
Service17,
|
|
140
|
+
node19
|
|
141
|
+
} from "./location-services-5jrjkhem.js";
|
|
142
|
+
import {
|
|
143
|
+
node69
|
|
144
|
+
} from "./location-services-ahrjqvfw.js";
|
|
145
|
+
import {
|
|
146
|
+
node11,
|
|
147
|
+
bound2
|
|
148
|
+
} from "./location-services-enkpkfwx.js";
|
|
149
|
+
import {
|
|
150
|
+
node9
|
|
151
|
+
} from "./location-services-gtjkmstt.js";
|
|
152
|
+
import {
|
|
153
|
+
node8
|
|
154
|
+
} from "./location-services-zyy8z9rg.js";
|
|
155
|
+
import {
|
|
156
|
+
node4
|
|
157
|
+
} from "./location-services-rwtt4501.js";
|
|
158
|
+
import {
|
|
159
|
+
node17
|
|
160
|
+
} from "./location-services-z5fvc4pa.js";
|
|
161
|
+
import {
|
|
162
|
+
node3
|
|
163
|
+
} from "./location-services-kpd0ft4p.js";
|
|
164
|
+
import {
|
|
165
|
+
node2
|
|
166
|
+
} from "./location-services-8hfnrd7b.js";
|
|
167
|
+
import {
|
|
168
|
+
__export
|
|
169
|
+
} from "./location-services-9rqn6x4v.js";
|
|
170
|
+
|
|
171
|
+
// src/instance.ts
|
|
172
|
+
var exports_instance = {};
|
|
173
|
+
__export(exports_instance, {
|
|
174
|
+
Instance: () => exports_instance,
|
|
175
|
+
Service: () => Service54,
|
|
176
|
+
graph: () => graph2,
|
|
177
|
+
layer: () => layer2,
|
|
178
|
+
node: () => node56
|
|
179
|
+
});
|
|
180
|
+
import { Context, Effect, Layer } from "effect";
|
|
181
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
182
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
183
|
+
var nodes = [
|
|
184
|
+
node87,
|
|
185
|
+
node19,
|
|
186
|
+
node75,
|
|
187
|
+
node78,
|
|
188
|
+
node73,
|
|
189
|
+
node54,
|
|
190
|
+
node41,
|
|
191
|
+
node68,
|
|
192
|
+
node23,
|
|
193
|
+
node83,
|
|
194
|
+
node82,
|
|
195
|
+
node81,
|
|
196
|
+
node64,
|
|
197
|
+
node65,
|
|
198
|
+
node22,
|
|
199
|
+
node74,
|
|
200
|
+
node11,
|
|
201
|
+
node4,
|
|
202
|
+
node61,
|
|
203
|
+
node47,
|
|
204
|
+
node46,
|
|
205
|
+
node50,
|
|
206
|
+
node17,
|
|
207
|
+
node39,
|
|
208
|
+
node42,
|
|
209
|
+
node30,
|
|
210
|
+
node44,
|
|
211
|
+
node69,
|
|
212
|
+
node66,
|
|
213
|
+
node18,
|
|
214
|
+
node37,
|
|
215
|
+
node70,
|
|
216
|
+
node51,
|
|
217
|
+
node45,
|
|
218
|
+
node52,
|
|
219
|
+
node38,
|
|
220
|
+
node31,
|
|
221
|
+
node84,
|
|
222
|
+
node24,
|
|
223
|
+
node20,
|
|
224
|
+
node16,
|
|
225
|
+
node36,
|
|
226
|
+
node35,
|
|
227
|
+
node8,
|
|
228
|
+
node58,
|
|
229
|
+
node9,
|
|
230
|
+
node3,
|
|
231
|
+
node28,
|
|
232
|
+
node53,
|
|
233
|
+
node2,
|
|
234
|
+
node63,
|
|
235
|
+
node12
|
|
236
|
+
];
|
|
237
|
+
var graph2 = LayerNode.group(nodes);
|
|
238
|
+
var vanillaReplacements = [
|
|
239
|
+
node78.replace(configured10({ project: false, global: false })),
|
|
240
|
+
node44.replace(configured4({ project: false, global: false }))
|
|
241
|
+
];
|
|
242
|
+
function layer2(ref, options = {}) {
|
|
243
|
+
const startedAt = performance.now();
|
|
244
|
+
const replacements = [
|
|
245
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
246
|
+
...options.replacements ?? [],
|
|
247
|
+
node87.replace(boundNode2(ref)),
|
|
248
|
+
node11.replace(bound2(options.plugins ?? []))
|
|
249
|
+
];
|
|
250
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service17).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
251
|
+
directory: ref.directory,
|
|
252
|
+
workspaceID: ref.workspaceID,
|
|
253
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
254
|
+
})));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-services-m3pbq8ct.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./location-services-6yaxbs98.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-13jgvn4c.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref5,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-yx6x8jfj.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-73ktn4xx.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node70
|
|
27
|
+
} from "./location-services-88j3sdmx.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service65,
|
|
30
|
+
node68
|
|
31
|
+
} from "./location-services-05aev6jb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service17,
|
|
41
|
+
node: () => node19
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
50
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service86;
|
|
52
52
|
const location = yield* Service83;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service67;
|
|
54
|
+
const forms = yield* Service80;
|
|
55
|
+
const rpc = yield* Service65;
|
|
56
56
|
const project = yield* Service84;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service17.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node19 = makeLocationNode({
|
|
89
|
+
service: Service17,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node90, node87, node70, node88, node84, node68]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service17, node19, exports_location_lifecycle };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./location-services-d987wdq8.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./location-services-ry6m6k45.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-services-jcrsb2we.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-a610t88q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./location-services-qz087kyw.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-d7akxsfc.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-d83be7vq.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service39
|
|
30
|
+
} from "./location-services-8nmq4mhy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service71;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service39;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,14 +141,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service49;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
148
148
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
149
149
|
});
|
|
150
150
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
151
|
-
const { db } = yield*
|
|
151
|
+
const { db } = yield* Service87;
|
|
152
152
|
const blob = yield* read3(db, refHash2(uri));
|
|
153
153
|
if (!blob)
|
|
154
154
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|