@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-ctvak0k8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-jykm66z2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./location-service-map-hje4gfjw.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service42,
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service42 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service66;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service42.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node46 = makeLocationNode({ service: Service42, layer, deps: [node69, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service42, node46, exports_ripgrep };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./location-service-map-ntrn937d.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service40,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-jr91tx20.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin19
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service72;
|
|
34
|
+
const managed = yield* Service40;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin35 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin19, exports_policy };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-xw6avn3p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./location-service-map-6j2zvqwp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./location-service-map-hrkvd0tq.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info7,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-wrf3hj4k.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin10 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service14;
|
|
104
|
+
const permission = yield* Service53;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin23 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info7,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin10, exports_opencode };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service76;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-f4xkwjff.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service76,
|
|
15
15
|
node80,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event17
|
|
17
|
+
} from "./location-service-map-pvmwrteb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-nq8h402c.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event16,
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service75,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service84;
|
|
303
|
+
const integrations = yield* Service76;
|
|
304
|
+
const location = yield* Service79;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service75.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var node79 = makeLocationNode({ service:
|
|
432
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node88, node80, node83] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event16 };
|
|
@@ -1,83 +1,83 @@
|
|
|
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
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service58,
|
|
15
|
+
node61
|
|
16
|
+
} from "./location-service-map-xmj6grbn.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service74,
|
|
22
22
|
node78
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-jykm66z2.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-1rn5pcm9.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./location-service-map-tn05n1kc.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-service-map-68wqtz75.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service29,
|
|
48
|
+
node33
|
|
49
|
+
} from "./location-service-map-4pkavfpm.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service47,
|
|
52
|
+
node50
|
|
53
|
+
} from "./location-service-map-mpzm1wag.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./location-service-map-dq407baf.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./location-service-map-w0a66m1n.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-service-map-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service9,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer6,
|
|
80
|
+
node: () => node11,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service58;
|
|
177
|
+
const bus = yield* Service84;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
179
|
+
const catalog = yield* Service74;
|
|
180
|
+
const models = yield* Service47;
|
|
181
181
|
const db = (yield* Service85).db;
|
|
182
|
-
const requests = yield*
|
|
182
|
+
const requests = yield* Service29;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +197,7 @@ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
197
197
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
198
|
return { status: "skipped" };
|
|
199
199
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
200
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
201
201
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
202
|
return;
|
|
203
203
|
})))) ?? context.model;
|
|
@@ -273,7 +273,7 @@ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
273
273
|
const send = (request) => {
|
|
274
274
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
275
275
|
return Effect.gen(function* () {
|
|
276
|
-
const history = yield*
|
|
276
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
277
277
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
278
278
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
279
279
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service9.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
484
|
-
layer:
|
|
485
|
-
deps: [
|
|
482
|
+
var node11 = makeLocationNode({
|
|
483
|
+
service: Service9,
|
|
484
|
+
layer: layer6,
|
|
485
|
+
deps: [node61, node88, node89, llmClient2, node78, node33, node50]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|