@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID14,
|
|
3
|
+
Service76,
|
|
4
4
|
node80
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
18
|
+
Service75,
|
|
19
19
|
node79
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service59,
|
|
23
23
|
node62
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-mbavq1sw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
29
|
+
Service74,
|
|
30
30
|
node78,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-jykm66z2.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service48,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer23,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node51,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service48 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID13.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var layer23 = Layer.effect(
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer23 = Layer.effect(Service48, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service75;
|
|
276
|
+
const models = yield* Service74;
|
|
277
|
+
const integrations = yield* Service76;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service59;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service48.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
326
|
+
var node51 = makeLocationNode({
|
|
327
|
+
service: Service48,
|
|
328
328
|
layer: layer23,
|
|
329
329
|
deps: [node79, node78, node80, Npm.node, node62]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node51, exports_model_resolver };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-service-map-xmj6grbn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./location-service-map-967benbv.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-1zrcg07n.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./location-service-map-ntrn937d.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin31
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin31 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service72;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin46 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin31, exports_agent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-qgwwyafb.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make8 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make8();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-jykm66z2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve3, exports_variant };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-nq8h402c.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service55,
|
|
14
|
+
node58
|
|
15
|
+
} from "./location-service-map-r08fph2t.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service84;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service55;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node88, FSUtil.node, node83, node58]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -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
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
8
|
+
Service78,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-faabf61n.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-vz80twqk.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,17 +35,17 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event17,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service76,
|
|
49
49
|
node: () => node80
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service78;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service76.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -630,9 +630,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
632
|
var node80 = makeLocationNode({
|
|
633
|
-
service:
|
|
633
|
+
service: Service76,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [node82,
|
|
635
|
+
deps: [node82, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-zkc4c63m.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-ywt8jp22.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
20
|
endpoint: () => endpoint2
|
|
21
21
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin34 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -105,7 +105,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export { endpoint2,
|
|
123
|
+
export { endpoint2, Plugin34, exports_tinyfish };
|