@opencode/core 0.0.0-dev-21215 → 0.0.0-dev-21216
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{credential-x8ga927e.js → location-service-map-00bmw6dv.js} +9 -9
- package/dist/chunks/{credential-1sbg73nq.js → location-service-map-00qfyfqm.js} +40 -40
- package/dist/chunks/{credential-54e3wb9v.js → location-service-map-095c3p8e.js} +11 -11
- package/dist/chunks/{credential-h532h9cs.js → location-service-map-0rzv0d1j.js} +20 -20
- package/dist/chunks/{credential-7w6pf623.js → location-service-map-0sdqqm63.js} +17 -17
- package/dist/chunks/{credential-w3x9v1nk.js → location-service-map-0t9wd588.js} +8 -8
- package/dist/chunks/{credential-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{credential-gqxmd7mw.js → location-service-map-14cna52h.js} +8 -8
- package/dist/chunks/{credential-6r64h49w.js → location-service-map-15tcysxs.js} +27 -27
- package/dist/chunks/{credential-jrpbdnyg.js → location-service-map-16nwpa80.js} +8 -8
- package/dist/chunks/{credential-1ep4rre3.js → location-service-map-1ep4rre3.js} +1 -1
- package/dist/chunks/{credential-ckajj5ea.js → location-service-map-1jxv9sm4.js} +19 -19
- package/dist/chunks/{credential-yrcj3v3g.js → location-service-map-1rn5pcm9.js} +4 -4
- package/dist/chunks/{credential-fxaymqdw.js → location-service-map-1w2wqhfv.js} +4 -4
- package/dist/chunks/{credential-staw5rj3.js → location-service-map-1wpxw0e7.js} +13 -13
- package/dist/chunks/{credential-r6762b1f.js → location-service-map-1zrcg07n.js} +4 -4
- package/dist/chunks/{credential-6b1s8aqa.js → location-service-map-257jsaav.js} +4 -4
- package/dist/chunks/{credential-jrfj64d4.js → location-service-map-2nzy0f4r.js} +21 -21
- package/dist/chunks/{credential-6mdt5s3y.js → location-service-map-2q9f7x5m.js} +28 -28
- package/dist/chunks/{credential-gzatps39.js → location-service-map-2z5cbw8r.js} +182 -182
- package/dist/chunks/{credential-512sb6hd.js → location-service-map-319an1yx.js} +4 -4
- package/dist/chunks/{credential-vywkzp4v.js → location-service-map-38m91e7w.js} +11 -11
- package/dist/chunks/{credential-d9etbekp.js → location-service-map-38vw8686.js} +42 -42
- package/dist/chunks/{credential-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/location-service-map-3n1sasz5.js +257 -0
- package/dist/chunks/{credential-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-cbq5fey3.js → location-service-map-401c2z3y.js} +23 -23
- package/dist/chunks/{credential-e8qrt4b5.js → location-service-map-46zntf21.js} +3 -3
- package/dist/chunks/{credential-ht59szz0.js → location-service-map-492cpbxd.js} +11 -11
- package/dist/chunks/{credential-x9cw3gm2.js → location-service-map-4n2n7a9t.js} +27 -27
- package/dist/chunks/{credential-gsb9xmde.js → location-service-map-4p7yzny4.js} +90 -90
- package/dist/chunks/{credential-xc7ywzxk.js → location-service-map-4pkavfpm.js} +33 -33
- package/dist/chunks/{credential-q5vzdzv7.js → location-service-map-4zt2j45g.js} +35 -35
- package/dist/chunks/{credential-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{credential-y2ygvm3z.js → location-service-map-5akner74.js} +18 -18
- package/dist/chunks/{credential-61m3evwq.js → location-service-map-5g0ev0pa.js} +24 -24
- package/dist/chunks/{credential-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-p6agkp8v.js → location-service-map-65bxtfdb.js} +31 -31
- package/dist/chunks/{credential-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
- package/dist/chunks/{credential-pnzf6mjf.js → location-service-map-68wqtz75.js} +1 -1
- package/dist/chunks/{credential-g69bhtys.js → location-service-map-6fwebebv.js} +14 -14
- package/dist/chunks/{credential-vnr1arqv.js → location-service-map-6j2zvqwp.js} +59 -59
- package/dist/chunks/{credential-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{credential-fenvdmpd.js → location-service-map-6y5p02bj.js} +19 -19
- package/dist/chunks/{credential-g6yfr6ja.js → location-service-map-6yz0wx8n.js} +5 -5
- package/dist/chunks/{credential-knbwcmz6.js → location-service-map-74mrr14e.js} +26 -26
- package/dist/chunks/{credential-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{credential-h7hsvas8.js → location-service-map-7a5bexz1.js} +46 -46
- package/dist/chunks/{credential-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-dw66w2fq.js → location-service-map-7h0xefp6.js} +22 -22
- package/dist/chunks/{credential-xy8xnxtw.js → location-service-map-7sk26hzk.js} +26 -26
- package/dist/chunks/{credential-d7y2a5kd.js → location-service-map-7t33bypp.js} +36 -36
- package/dist/chunks/{credential-vp0bfksy.js → location-service-map-7v7pgz0q.js} +2 -2
- package/dist/chunks/{credential-nk85k8h4.js → location-service-map-7xm11bhz.js} +8 -8
- package/dist/chunks/{credential-xayeaa42.js → location-service-map-802megp1.js} +11 -11
- package/dist/chunks/{credential-4wnpk8s1.js → location-service-map-82g3rv7k.js} +50 -50
- package/dist/chunks/{credential-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{credential-tpwfj9q7.js → location-service-map-8bswjjgp.js} +22 -22
- package/dist/chunks/{credential-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{credential-kebpaez3.js → location-service-map-8qam6c2e.js} +2 -2
- package/dist/chunks/{credential-wgahhr0x.js → location-service-map-8qh6anns.js} +4 -4
- package/dist/chunks/{credential-w5ht28hd.js → location-service-map-8r8tyc1z.js} +48 -48
- package/dist/chunks/{credential-6h8f2rna.js → location-service-map-8v47bpy8.js} +9 -9
- package/dist/chunks/{credential-j09zfasm.js → location-service-map-91qna3x0.js} +3 -3
- package/dist/chunks/{credential-npw39rc8.js → location-service-map-967benbv.js} +11 -11
- package/dist/chunks/{credential-sg07zk51.js → location-service-map-98v988rn.js} +35 -35
- package/dist/chunks/{credential-9sh4wc5j.js → location-service-map-9sh4wc5j.js} +1 -1
- package/dist/chunks/{credential-3w6712nq.js → location-service-map-a4ddqgk4.js} +5 -5
- package/dist/chunks/{credential-0f85jzr4.js → location-service-map-a9kfze7j.js} +3 -3
- package/dist/chunks/{credential-hy9hen9y.js → location-service-map-actn3e1v.js} +6 -6
- package/dist/chunks/{credential-x661k3y3.js → location-service-map-addxnjmp.js} +4 -4
- package/dist/chunks/{credential-2cmv458r.js → location-service-map-aeb4sny1.js} +5 -5
- package/dist/chunks/{credential-0dyyysyc.js → location-service-map-afqd14vb.js} +14 -14
- package/dist/chunks/{credential-w1v47t14.js → location-service-map-anrgehg3.js} +1 -1
- package/dist/chunks/{credential-e92nyhhr.js → location-service-map-ashebvbj.js} +53 -53
- package/dist/chunks/{credential-xjwyxz4n.js → location-service-map-asy6jfg2.js} +15 -15
- package/dist/chunks/{credential-r9w3djhf.js → location-service-map-b0dgvpy7.js} +9 -9
- package/dist/chunks/{credential-w5na9dqb.js → location-service-map-b1a3n9tr.js} +18 -18
- package/dist/chunks/{credential-m0azfdyz.js → location-service-map-b1bc1nsy.js} +9 -9
- package/dist/chunks/{credential-4heb770w.js → location-service-map-b1vae2q2.js} +13 -13
- package/dist/chunks/{credential-8a3m53ms.js → location-service-map-b62e5bkf.js} +23 -23
- package/dist/chunks/{credential-s0q3ftad.js → location-service-map-b9jt58w9.js} +29 -29
- package/dist/chunks/{credential-pmwpe40e.js → location-service-map-bacyadyn.js} +4 -4
- package/dist/chunks/{credential-513fjzst.js → location-service-map-bay3p9kr.js} +5 -5
- package/dist/chunks/{credential-g0445xdp.js → location-service-map-br0tr5aq.js} +8 -8
- package/dist/chunks/{credential-67jerfv6.js → location-service-map-brpnx2vf.js} +72 -72
- package/dist/chunks/{credential-3rt8v641.js → location-service-map-bwv6xb1t.js} +6 -6
- package/dist/chunks/{credential-9c4mg81w.js → location-service-map-by3kd3tj.js} +11 -11
- package/dist/chunks/{credential-krdey6nc.js → location-service-map-bzvm0cnt.js} +6 -6
- package/dist/chunks/{credential-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
- package/dist/chunks/{credential-x74xmnxk.js → location-service-map-c2r6mh48.js} +12 -12
- package/dist/chunks/{credential-q4rarndx.js → location-service-map-c2w2dwqd.js} +18 -18
- package/dist/chunks/{credential-sfvx59jg.js → location-service-map-c2x08p9n.js} +13 -13
- package/dist/chunks/{credential-psmgkcev.js → location-service-map-c78vfxem.js} +15 -15
- package/dist/chunks/{credential-ernspkd5.js → location-service-map-c7yx4yaz.js} +5 -5
- package/dist/chunks/{credential-ewrq8mh2.js → location-service-map-cefewzay.js} +1 -1
- package/dist/chunks/{credential-bbz974h8.js → location-service-map-ctvak0k8.js} +30 -30
- package/dist/chunks/{credential-en15c0wn.js → location-service-map-cyw0d0pn.js} +46 -46
- package/dist/chunks/{credential-ps2zx4jn.js → location-service-map-cyxa0596.js} +4 -4
- package/dist/chunks/{credential-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
- package/dist/chunks/{credential-90dfvdtc.js → location-service-map-dbk9zdbm.js} +11 -11
- package/dist/chunks/{credential-20jjewhm.js → location-service-map-dgjkn76j.js} +28 -28
- package/dist/chunks/{credential-qmqgtz8f.js → location-service-map-djszqvmq.js} +9 -9
- package/dist/chunks/{credential-kfj755v5.js → location-service-map-dkfwgap5.js} +48 -48
- package/dist/chunks/{credential-hbb7npd7.js → location-service-map-dq407baf.js} +6 -6
- package/dist/chunks/{credential-xfkkasph.js → location-service-map-drwq78ky.js} +4 -4
- package/dist/chunks/{credential-79yp3gha.js → location-service-map-dw1xgmjd.js} +20 -20
- package/dist/chunks/{credential-06nq0k6z.js → location-service-map-e21s3t4k.js} +10 -10
- package/dist/chunks/{credential-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{credential-0pvv1c5q.js → location-service-map-e7c414h7.js} +11 -11
- package/dist/chunks/{credential-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{credential-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-zqma82cw.js → location-service-map-efxe2svv.js} +11 -11
- package/dist/chunks/{credential-461nxmbv.js → location-service-map-eh6ej367.js} +5 -5
- package/dist/chunks/{credential-ttjwvx26.js → location-service-map-etxek9vz.js} +16 -16
- package/dist/chunks/{credential-ze2cff16.js → location-service-map-evanb8t7.js} +5 -5
- package/dist/chunks/{credential-y5p4ve91.js → location-service-map-f41z7tes.js} +18 -18
- package/dist/chunks/{credential-hc0tyw59.js → location-service-map-f4mmq9s0.js} +9 -9
- package/dist/chunks/{credential-66w41kd0.js → location-service-map-f4xkwjff.js} +14 -14
- package/dist/chunks/{credential-4t7bjcx1.js → location-service-map-fa6rj1v4.js} +23 -23
- package/dist/chunks/{credential-tph0s9dr.js → location-service-map-faabf61n.js} +30 -30
- package/dist/chunks/{credential-dqbfcr17.js → location-service-map-fbp34syt.js} +12 -12
- package/dist/chunks/{credential-7dqw4kz8.js → location-service-map-fcrkznn8.js} +5 -5
- package/dist/chunks/{credential-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
- package/dist/chunks/{credential-yqncb7ba.js → location-service-map-ffmwyp5t.js} +24 -24
- package/dist/chunks/{credential-hzrfc1p4.js → location-service-map-fjs5xx1d.js} +3 -3
- package/dist/chunks/{credential-r0969brx.js → location-service-map-fy2hqc1q.js} +4 -4
- package/dist/chunks/{credential-tet0x2x5.js → location-service-map-gb8w5kfw.js} +33 -33
- package/dist/chunks/{credential-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-93s0933k.js → location-service-map-gjp6hpyv.js} +11 -11
- package/dist/chunks/{credential-frvhg24z.js → location-service-map-gma3bfjk.js} +86 -86
- package/dist/chunks/{credential-30vr69rm.js → location-service-map-gnsyd8gb.js} +7 -7
- package/dist/chunks/{credential-z5crsmww.js → location-service-map-gpk600j1.js} +11 -11
- package/dist/chunks/{credential-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-bbfmeh70.js → location-service-map-h94tf0by.js} +29 -29
- package/dist/chunks/{credential-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{credential-f79d26hd.js → location-service-map-hje4gfjw.js} +23 -23
- package/dist/chunks/{credential-y3btf78e.js → location-service-map-hkxm3e55.js} +26 -26
- package/dist/chunks/{credential-ysvnem4g.js → location-service-map-hrkvd0tq.js} +17 -17
- package/dist/chunks/{credential-jh7hm8j6.js → location-service-map-hvd586jq.js} +19 -19
- package/dist/chunks/{credential-rg17d408.js → location-service-map-hwc678hf.js} +37 -37
- package/dist/chunks/{credential-vpc0mzyy.js → location-service-map-j08vtfvn.js} +23 -23
- package/dist/chunks/{credential-aj285h1q.js → location-service-map-j6j088kp.js} +5 -5
- package/dist/chunks/{credential-89vt8edy.js → location-service-map-j7p9mq2q.js} +4 -4
- package/dist/chunks/{credential-5mrcxfar.js → location-service-map-ja3e6986.js} +8 -8
- package/dist/chunks/{credential-wwmtcwyt.js → location-service-map-jcsfzc3h.js} +14 -14
- package/dist/chunks/{credential-6ywvrrbf.js → location-service-map-jdetxz9w.js} +3 -3
- package/dist/chunks/{credential-jkpwzps6.js → location-service-map-jf1cme0s.js} +38 -38
- package/dist/chunks/{credential-qa3qhgw8.js → location-service-map-jfqtm2ew.js} +4 -4
- package/dist/chunks/{credential-0p78r4x4.js → location-service-map-jr91tx20.js} +10 -10
- package/dist/chunks/{credential-jvzc6p6r.js → location-service-map-jx4rf5xp.js} +15 -15
- package/dist/chunks/{credential-a10rd6rt.js → location-service-map-jykm66z2.js} +31 -31
- package/dist/chunks/{credential-ztkx55p6.js → location-service-map-k3vcvvpp.js} +16 -16
- package/dist/chunks/{credential-2v16nk6n.js → location-service-map-k44tkrtw.js} +11 -11
- package/dist/chunks/{credential-xeb3evp0.js → location-service-map-k99vhnga.js} +12 -12
- package/dist/chunks/{credential-v322raa9.js → location-service-map-khrjt530.js} +11 -11
- package/dist/chunks/{credential-sz15zhhw.js → location-service-map-kqv3x6rj.js} +9 -9
- package/dist/chunks/{credential-0b5g1ynf.js → location-service-map-kqx1b4hy.js} +4 -4
- package/dist/chunks/{credential-csey17fn.js → location-service-map-kvee8qcs.js} +5 -5
- package/dist/chunks/{credential-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
- package/dist/chunks/{credential-5ej6fcjw.js → location-service-map-kxpjdbte.js} +6 -6
- package/dist/chunks/{credential-g7srfa3y.js → location-service-map-m3730y03.js} +11 -11
- package/dist/chunks/{credential-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{credential-cvfz62vn.js → location-service-map-mbavq1sw.js} +10 -10
- package/dist/chunks/{credential-1zyqs4bv.js → location-service-map-mpzm1wag.js} +13 -13
- package/dist/chunks/{credential-4r8w9sj8.js → location-service-map-msc3drfx.js} +32 -32
- package/dist/chunks/{credential-9y47tcxd.js → location-service-map-ncgn3stp.js} +15 -15
- package/dist/chunks/{credential-pcz0vat3.js → location-service-map-nnr6kcyr.js} +5 -5
- package/dist/chunks/{credential-6j60vss0.js → location-service-map-nq8h402c.js} +13 -13
- package/dist/chunks/{credential-rgnxk938.js → location-service-map-nqfqdwma.js} +7 -7
- package/dist/chunks/{credential-srqharbm.js → location-service-map-ntrn937d.js} +46 -46
- package/dist/chunks/{credential-xveeyqv2.js → location-service-map-nvf39wwg.js} +23 -23
- package/dist/chunks/{credential-cq23epbd.js → location-service-map-p1yrnapr.js} +17 -17
- package/dist/chunks/{credential-ccgbtwgc.js → location-service-map-p3a5jp4p.js} +11 -11
- package/dist/chunks/{credential-z32c81yc.js → location-service-map-p6an086h.js} +38 -38
- package/dist/chunks/{credential-evqws8cg.js → location-service-map-paqqskkb.js} +20 -20
- package/dist/chunks/{credential-fjznstmf.js → location-service-map-pbcrbrv8.js} +4 -4
- package/dist/chunks/{credential-ctzxj63w.js → location-service-map-pgfzn12n.js} +6 -6
- package/dist/chunks/{credential-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{credential-6geq063x.js → location-service-map-pmhx9pd7.js} +21 -21
- package/dist/chunks/{credential-5qndpx2w.js → location-service-map-pvmwrteb.js} +26 -26
- package/dist/chunks/{credential-6jwzgjy8.js → location-service-map-pvsccn8p.js} +9 -9
- package/dist/chunks/{credential-fb9h1zpd.js → location-service-map-q14qd18s.js} +17 -17
- package/dist/chunks/{credential-s6bezc7p.js → location-service-map-q1cd0t6v.js} +47 -47
- package/dist/chunks/{credential-jh272vkw.js → location-service-map-qa2f1ryt.js} +1 -1
- package/dist/chunks/{credential-9x5ey5cj.js → location-service-map-qgrkzz0w.js} +8 -8
- package/dist/chunks/{credential-weban0cd.js → location-service-map-qgwwyafb.js} +14 -14
- package/dist/chunks/{credential-c1k0pwhg.js → location-service-map-qj0s0928.js} +10 -10
- package/dist/chunks/{credential-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{credential-j842fqs5.js → location-service-map-qpx9xaxf.js} +16 -16
- package/dist/chunks/{credential-c5zn6ab1.js → location-service-map-qr1hhbva.js} +34 -34
- package/dist/chunks/{credential-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-s2jpechx.js → location-service-map-qspgnr4y.js} +13 -13
- package/dist/chunks/{credential-avxm8t77.js → location-service-map-qtxkw744.js} +35 -35
- package/dist/chunks/location-service-map-qwrqcn29.js +26 -0
- package/dist/chunks/{credential-y49t6yxk.js → location-service-map-r08fph2t.js} +16 -16
- package/dist/chunks/{credential-43vcnrrz.js → location-service-map-r1p7b6yx.js} +8 -8
- package/dist/chunks/{credential-ndn5nttk.js → location-service-map-r36qtfr5.js} +9 -9
- package/dist/chunks/{credential-ef4r2ry2.js → location-service-map-r587addj.js} +15 -15
- package/dist/chunks/{credential-y7nndgyc.js → location-service-map-r70na3yp.js} +9 -9
- package/dist/chunks/{credential-5njsp6db.js → location-service-map-rd0jk938.js} +7 -7
- package/dist/chunks/{credential-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rert0e01.js → location-service-map-rert0e01.js} +2 -2
- package/dist/chunks/{credential-t550f9t1.js → location-service-map-rhjbct0v.js} +4 -4
- package/dist/chunks/{credential-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
- package/dist/chunks/{credential-8sze2n9a.js → location-service-map-rkprpv83.js} +6 -6
- package/dist/chunks/{credential-6s6qny9t.js → location-service-map-rnkxk3ar.js} +13 -13
- package/dist/chunks/{credential-dywbpq8p.js → location-service-map-rp4q3c6k.js} +18 -18
- package/dist/chunks/{credential-rnd2wdxm.js → location-service-map-rtwq7srw.js} +5 -5
- package/dist/chunks/location-service-map-s4xb95kn.js +513 -0
- package/dist/chunks/{credential-yamxdr06.js → location-service-map-s6rp6ys7.js} +3 -3
- package/dist/chunks/{credential-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
- package/dist/chunks/{credential-4hkcjtf4.js → location-service-map-scvv9sag.js} +13 -13
- package/dist/chunks/{credential-5b35b6x0.js → location-service-map-sp0bsdgd.js} +42 -42
- package/dist/chunks/{credential-9t102qjt.js → location-service-map-sr624rrs.js} +18 -18
- package/dist/chunks/{credential-trq7bz11.js → location-service-map-svxa9yq1.js} +19 -19
- package/dist/chunks/{credential-e80seqcp.js → location-service-map-sxcaecc0.js} +3 -3
- package/dist/chunks/{credential-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{credential-s1vs6g8m.js → location-service-map-t9aj8749.js} +29 -29
- package/dist/chunks/{credential-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{credential-r2qj04q3.js → location-service-map-tjyx2m6j.js} +17 -17
- package/dist/chunks/{credential-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{credential-a79hjy9g.js → location-service-map-tn05n1kc.js} +11 -11
- package/dist/chunks/{credential-9hnj8m91.js → location-service-map-tqqea4kp.js} +9 -9
- package/dist/chunks/{credential-mhe0g0p5.js → location-service-map-typ4pg8f.js} +13 -13
- package/dist/chunks/{credential-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{credential-8e5g1rqf.js → location-service-map-v0xt904d.js} +23 -23
- package/dist/chunks/{credential-zet2wr62.js → location-service-map-v62bykzx.js} +34 -34
- package/dist/chunks/{credential-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{credential-c0x4bacm.js → location-service-map-vcr8ngmq.js} +14 -14
- package/dist/chunks/{credential-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-gmpf7xjb.js → location-service-map-vfz4fb49.js} +28 -28
- package/dist/chunks/{credential-nb43gqgm.js → location-service-map-vg8t0wyt.js} +5 -5
- package/dist/chunks/{credential-1yamg18a.js → location-service-map-vgyxaaj7.js} +6 -6
- package/dist/chunks/{credential-6nfcpfgj.js → location-service-map-vqb1gnvk.js} +5 -5
- package/dist/chunks/{credential-2jygy2ed.js → location-service-map-vvbpd8x3.js} +17 -17
- package/dist/chunks/{credential-mjbp1h77.js → location-service-map-vwf0wa35.js} +29 -29
- package/dist/chunks/{credential-hbd093e1.js → location-service-map-vz80twqk.js} +22 -22
- package/dist/chunks/{credential-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-m8cyb89a.js → location-service-map-w0a66m1n.js} +5 -5
- package/dist/chunks/{credential-h896pcm5.js → location-service-map-w21bzq9q.js} +6 -6
- package/dist/chunks/{credential-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-z6c3x22d.js → location-service-map-wbgabvvj.js} +5 -5
- package/dist/chunks/{credential-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{credential-qxe1je4p.js → location-service-map-webap8fv.js} +23 -23
- package/dist/chunks/{credential-8w7r8evj.js → location-service-map-wghkg4d6.js} +23 -23
- package/dist/chunks/{credential-0cmwrtj6.js → location-service-map-wrf3hj4k.js} +37 -37
- package/dist/chunks/{credential-9wahvfne.js → location-service-map-x6712ea5.js} +9 -9
- package/dist/chunks/{credential-380xsyfr.js → location-service-map-x8p3fx6c.js} +23 -23
- package/dist/chunks/{credential-wjgm3cta.js → location-service-map-x920byc0.js} +29 -29
- package/dist/chunks/{credential-yzdsqd8r.js → location-service-map-xmj6grbn.js} +27 -27
- package/dist/chunks/{credential-1gy2kdvj.js → location-service-map-xqmar4d6.js} +28 -28
- package/dist/chunks/{credential-7wzbnvvj.js → location-service-map-xsqz2y29.js} +21 -21
- package/dist/chunks/{credential-yb3yv1n8.js → location-service-map-xw6avn3p.js} +11 -11
- package/dist/chunks/{credential-x01h19mw.js → location-service-map-xym13j3g.js} +15 -15
- package/dist/chunks/{credential-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-rryqzpf7.js → location-service-map-y1mtycc1.js} +4 -4
- package/dist/chunks/{credential-v7z2bvyd.js → location-service-map-y5rf7nzv.js} +4 -4
- package/dist/chunks/{credential-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{credential-bay5n71e.js → location-service-map-yb1p7tk9.js} +17 -17
- package/dist/chunks/{credential-tdsb1xpv.js → location-service-map-ydd7j0qf.js} +20 -20
- package/dist/chunks/{credential-memnpynf.js → location-service-map-yjhqggcw.js} +43 -43
- package/dist/chunks/{credential-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
- package/dist/chunks/{credential-bjx1sjef.js → location-service-map-ywt8jp22.js} +9 -9
- package/dist/chunks/{credential-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-725pgwpr.js → location-service-map-zbcbrt3b.js} +21 -21
- package/dist/chunks/{credential-3chf03wh.js → location-service-map-zkc4c63m.js} +11 -11
- package/dist/chunks/{credential-axc9g66b.js → location-service-map-zmrxb192.js} +20 -20
- package/dist/chunks/{credential-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-8gxqpgph.js → location-service-map-zvt5dnpc.js} +4 -4
- package/dist/chunks/{credential-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-92k2zvrm.js → location-service-map-zzdtv6s3.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +82 -82
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/credential-4dnkb904.js +0 -257
- package/dist/chunks/credential-ks3bqvez.js +0 -513
- package/dist/chunks/credential-zwenznck.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{credential-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-jdetxz9w.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
19
|
-
ListInput: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
17
|
+
ID: () => ID6,
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
ListInput: () => ListInput4,
|
|
20
|
+
NotFoundError: () => NotFoundError7,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UpdateInput: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
|
+
UpdateInput: () => UpdateInput2,
|
|
24
|
+
node: () => node57
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
32
|
+
var ID6 = PermissionSaved.ID;
|
|
33
|
+
var Info8 = PermissionSaved.Info;
|
|
34
|
+
var ListInput4 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
37
37
|
var AddInput2 = Schema.Struct({
|
|
@@ -39,27 +39,27 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
action: Schema.String,
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var
|
|
43
|
-
id:
|
|
42
|
+
var UpdateInput2 = Schema.Struct({
|
|
43
|
+
id: ID6,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID6
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID6,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service85).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID6.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError7({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError7({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service54.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node89] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID6, Info8, ListInput4, AddInput2, UpdateInput2, NotFoundError7, ConflictError2, Service54, node57, exports_saved };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-sp0bsdgd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-nq8h402c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service53,
|
|
13
|
+
node56
|
|
14
|
+
} from "./location-service-map-6j2zvqwp.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service53;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node83, node56] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-zkc4c63m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./location-service-map-faabf61n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-actn3e1v.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
|
+
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-jdetxz9w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./location-service-map-k3vcvvpp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service46,
|
|
15
|
+
node49
|
|
16
|
+
} from "./location-service-map-w21bzq9q.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service44
|
|
26
|
+
} from "./location-service-map-zvt5dnpc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service55,
|
|
29
|
+
node58
|
|
30
|
+
} from "./location-service-map-r08fph2t.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-w0a66m1n.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-service-map-xsqz2y29.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service43,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node47,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service43, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service55;
|
|
64
|
+
const instances = yield* Service46;
|
|
65
|
+
const bus = yield* Service84;
|
|
66
|
+
const jobs = yield* Service61;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node47 = makeGlobalNode({
|
|
127
|
+
service: Service43,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node58, node49, node88, node89, node64]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service48, Service48.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service43, terminal2, layer21, node47, noopLayer2, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-sp0bsdgd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-nq8h402c.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info15,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service71,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node75
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service71 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
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 }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service71.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node75 = makeLocationNode({
|
|
191
|
+
service: Service71,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node, node83,
|
|
193
|
+
deps: [FSUtil.node, node83, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, InitializeError2, Service71, node75, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-service-map-nq8h402c.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-actn3e1v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-ywt8jp22.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin11 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin35, exports_exa };
|