@opencode/core 0.0.0-dev-21216 → 0.0.0-dev-21217
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 +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-service-map-gb8w5kfw.js → model-resolver-016wd0ym.js} +36 -36
- package/dist/chunks/{location-service-map-typ4pg8f.js → model-resolver-07avtkf2.js} +13 -13
- package/dist/chunks/{location-service-map-kqx1b4hy.js → model-resolver-0b5g1ynf.js} +4 -4
- package/dist/chunks/{location-service-map-74mrr14e.js → model-resolver-0etcqt1e.js} +15 -15
- package/dist/chunks/{location-service-map-fcrkznn8.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-service-map-by3kd3tj.js → model-resolver-0qsfxhp3.js} +14 -14
- package/dist/chunks/{location-service-map-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-pbcrbrv8.js → model-resolver-0vc9cqt0.js} +1 -1
- package/dist/chunks/{location-service-map-etxek9vz.js → model-resolver-176cfv5a.js} +13 -13
- package/dist/chunks/{location-service-map-c2w2dwqd.js → model-resolver-19pwa69y.js} +18 -18
- package/dist/chunks/{location-service-map-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-xym13j3g.js → model-resolver-1akz5k8x.js} +10 -10
- package/dist/chunks/{location-service-map-r08fph2t.js → model-resolver-1ce86eqw.js} +17 -17
- package/dist/chunks/{location-service-map-svxa9yq1.js → model-resolver-1he6k45e.js} +22 -22
- package/dist/chunks/{location-service-map-jf1cme0s.js → model-resolver-1qz0hcwh.js} +35 -35
- package/dist/chunks/{location-service-map-1w2wqhfv.js → model-resolver-1w2wqhfv.js} +1 -1
- package/dist/chunks/{location-service-map-f41z7tes.js → model-resolver-1x7hg83d.js} +18 -18
- package/dist/chunks/{location-service-map-kvee8qcs.js → model-resolver-1xxjgqwb.js} +8 -8
- package/dist/chunks/{location-service-map-brpnx2vf.js → model-resolver-2018zjzj.js} +67 -67
- package/dist/chunks/{location-service-map-p1yrnapr.js → model-resolver-20d11vtm.js} +18 -18
- package/dist/chunks/{location-service-map-7v7pgz0q.js → model-resolver-251hxpd6.js} +2 -2
- package/dist/chunks/{location-service-map-1jxv9sm4.js → model-resolver-264b5yb9.js} +20 -20
- package/dist/chunks/{location-service-map-khrjt530.js → model-resolver-266qzg04.js} +11 -11
- package/dist/chunks/{location-service-map-fa6rj1v4.js → model-resolver-2as59qfs.js} +30 -30
- package/dist/chunks/{location-service-map-msc3drfx.js → model-resolver-2g2537yg.js} +29 -29
- package/dist/chunks/{location-service-map-qj0s0928.js → model-resolver-2ma89jv6.js} +10 -10
- package/dist/chunks/{location-service-map-vfz4fb49.js → model-resolver-2mz127rg.js} +21 -21
- package/dist/chunks/{location-service-map-m3730y03.js → model-resolver-2ptzzrc3.js} +6 -6
- package/dist/chunks/{location-service-map-jr91tx20.js → model-resolver-3b80bnbc.js} +10 -10
- package/dist/chunks/{location-service-map-dkfwgap5.js → model-resolver-3cf2r952.js} +43 -43
- package/dist/chunks/{location-service-map-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-68wqtz75.js → model-resolver-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-service-map-vg8t0wyt.js → model-resolver-3k2jyg7g.js} +1 -1
- package/dist/chunks/{location-service-map-dbk9zdbm.js → model-resolver-3qggjg35.js} +11 -11
- package/dist/chunks/{location-service-map-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-hvd586jq.js → model-resolver-40nepbx5.js} +13 -13
- package/dist/chunks/{location-service-map-6y5p02bj.js → model-resolver-4es9x8nx.js} +19 -19
- package/dist/chunks/{location-service-map-bzvm0cnt.js → model-resolver-4tr9sj3s.js} +3 -3
- package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-service-map-8qam6c2e.js → model-resolver-4vbcsnyx.js} +2 -2
- package/dist/chunks/{location-service-map-cyxa0596.js → model-resolver-4vvac9vn.js} +4 -4
- package/dist/chunks/{location-service-map-nq8h402c.js → model-resolver-50v2ya5q.js} +14 -14
- package/dist/chunks/{location-service-map-sr624rrs.js → model-resolver-51048t4e.js} +18 -18
- package/dist/chunks/{location-service-map-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-service-map-qgwwyafb.js → model-resolver-59fhsr37.js} +12 -12
- package/dist/chunks/{location-service-map-a9kfze7j.js → model-resolver-5a31cw09.js} +3 -3
- package/dist/chunks/{location-service-map-qpx9xaxf.js → model-resolver-5fkwwa5n.js} +14 -14
- package/dist/chunks/{location-service-map-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-sxcaecc0.js → model-resolver-5rzwp8tz.js} +3 -3
- package/dist/chunks/{location-service-map-2nzy0f4r.js → model-resolver-5wxeg2rt.js} +23 -23
- package/dist/chunks/{location-service-map-6827pfxn.js → model-resolver-6827pfxn.js} +1 -1
- package/dist/chunks/{location-service-map-j7p9mq2q.js → model-resolver-6dwc2p0m.js} +2 -2
- package/dist/chunks/{location-service-map-492cpbxd.js → model-resolver-6dy3z8jq.js} +11 -11
- package/dist/chunks/{location-service-map-b0dgvpy7.js → model-resolver-6fatt4mk.js} +9 -9
- package/dist/chunks/{location-service-map-yjhqggcw.js → model-resolver-6fjj7as2.js} +46 -46
- package/dist/chunks/{location-service-map-r70na3yp.js → model-resolver-6hprzzq9.js} +9 -9
- package/dist/chunks/{location-service-map-c2r6mh48.js → model-resolver-6sbrks22.js} +3 -3
- package/dist/chunks/{location-service-map-y5rf7nzv.js → model-resolver-6t4hr8r6.js} +4 -4
- package/dist/chunks/{location-service-map-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
- package/dist/chunks/{location-service-map-k3vcvvpp.js → model-resolver-78mqpzmn.js} +16 -16
- package/dist/chunks/{location-service-map-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-qtxkw744.js → model-resolver-7ej1793t.js} +35 -35
- package/dist/chunks/{location-service-map-0rzv0d1j.js → model-resolver-7essg1m7.js} +25 -25
- package/dist/chunks/{location-service-map-c7yx4yaz.js → model-resolver-7gyj6esr.js} +3 -3
- package/dist/chunks/{location-service-map-2z5cbw8r.js → model-resolver-7jt6fz4t.js} +143 -143
- package/dist/chunks/{location-service-map-6fwebebv.js → model-resolver-7mw2kz3n.js} +11 -11
- package/dist/chunks/{location-service-map-cyw0d0pn.js → model-resolver-7phrhjk9.js} +77 -66
- package/dist/chunks/{location-service-map-f4xkwjff.js → model-resolver-7veq4nhk.js} +16 -16
- package/dist/chunks/{location-service-map-zzdtv6s3.js → model-resolver-7zvp5rcn.js} +10 -10
- package/dist/chunks/{location-service-map-asy6jfg2.js → model-resolver-81hfyfhp.js} +15 -15
- package/dist/chunks/{location-service-map-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-00qfyfqm.js → model-resolver-8h4996qy.js} +33 -33
- package/dist/chunks/{location-service-map-rp4q3c6k.js → model-resolver-8hwws32s.js} +19 -19
- package/dist/chunks/{location-service-map-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-15tcysxs.js → model-resolver-8n4awwjy.js} +27 -27
- package/dist/chunks/{location-service-map-gpk600j1.js → model-resolver-8pddcv4v.js} +15 -15
- package/dist/chunks/{location-service-map-38m91e7w.js → model-resolver-8vwbc7ar.js} +11 -11
- package/dist/chunks/{location-service-map-91qna3x0.js → model-resolver-91qna3x0.js} +3 -3
- package/dist/chunks/{location-service-map-w21bzq9q.js → model-resolver-93ygb5af.js} +6 -6
- package/dist/chunks/{location-service-map-0t9wd588.js → model-resolver-9c3np669.js} +8 -8
- package/dist/chunks/model-resolver-9jg07m6z.js +257 -0
- package/dist/chunks/{location-service-map-xmj6grbn.js → model-resolver-9m8rc5s1.js} +27 -27
- package/dist/chunks/{location-service-map-rtwq7srw.js → model-resolver-9qcwqr22.js} +9 -9
- package/dist/chunks/{location-service-map-q14qd18s.js → model-resolver-a0dtpn4h.js} +18 -18
- package/dist/chunks/{location-service-map-65bxtfdb.js → model-resolver-a2pvkqk7.js} +24 -24
- package/dist/chunks/{location-service-map-b1vae2q2.js → model-resolver-a50ajv9x.js} +13 -13
- package/dist/chunks/{location-service-map-addxnjmp.js → model-resolver-addxnjmp.js} +1 -1
- package/dist/chunks/{location-service-map-zvt5dnpc.js → model-resolver-afdssyjb.js} +4 -4
- package/dist/chunks/{location-service-map-bacyadyn.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{location-service-map-8bswjjgp.js → model-resolver-akkpvtys.js} +12 -12
- package/dist/chunks/{location-service-map-ntrn937d.js → model-resolver-an964k1c.js} +47 -47
- package/dist/chunks/{location-service-map-6j2zvqwp.js → model-resolver-av8er3sd.js} +55 -55
- package/dist/chunks/{location-service-map-wbgabvvj.js → model-resolver-b674v2dg.js} +5 -5
- package/dist/chunks/{location-service-map-nvf39wwg.js → model-resolver-b8nsy2hb.js} +24 -24
- package/dist/chunks/{location-service-map-967benbv.js → model-resolver-bfegkxfd.js} +11 -11
- package/dist/chunks/{location-service-map-38vw8686.js → model-resolver-bg0vhc43.js} +42 -42
- package/dist/chunks/{location-service-map-e21s3t4k.js → model-resolver-bk729ph4.js} +13 -13
- package/dist/chunks/{location-service-map-kqv3x6rj.js → model-resolver-bmr56wjg.js} +9 -9
- package/dist/chunks/{location-service-map-wghkg4d6.js → model-resolver-bqjm0jxv.js} +20 -20
- package/dist/chunks/{location-service-map-1ep4rre3.js → model-resolver-bzeyqsqd.js} +4 -4
- package/dist/chunks/{location-service-map-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-service-map-vcr8ngmq.js → model-resolver-c3jd06h3.js} +14 -14
- package/dist/chunks/{location-service-map-xw6avn3p.js → model-resolver-c5ggqzvz.js} +12 -12
- package/dist/chunks/{location-service-map-djszqvmq.js → model-resolver-c765mh8b.js} +9 -9
- package/dist/chunks/{location-service-map-b62e5bkf.js → model-resolver-c7ensvqx.js} +32 -32
- package/dist/chunks/{location-service-map-nnr6kcyr.js → model-resolver-cke7p0w4.js} +3 -3
- package/dist/chunks/{location-service-map-br0tr5aq.js → model-resolver-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-service-map-ashebvbj.js → model-resolver-cszqzecc.js} +58 -58
- package/dist/chunks/{location-service-map-d1a28jh7.js → model-resolver-d1a28jh7.js} +2 -2
- package/dist/chunks/{location-service-map-16nwpa80.js → model-resolver-d4wbqfbm.js} +11 -11
- package/dist/chunks/{location-service-map-v62bykzx.js → model-resolver-d52hg7ms.js} +16 -16
- package/dist/chunks/{location-service-map-xqmar4d6.js → model-resolver-d60f224d.js} +25 -25
- package/dist/chunks/{location-service-map-k44tkrtw.js → model-resolver-dcvezt5m.js} +11 -11
- package/dist/chunks/{location-service-map-x8p3fx6c.js → model-resolver-des6jdj8.js} +12 -12
- package/dist/chunks/{location-service-map-319an1yx.js → model-resolver-dpy6a8rw.js} +4 -4
- package/dist/chunks/{location-service-map-dq407baf.js → model-resolver-dq407baf.js} +3 -3
- package/dist/chunks/{location-service-map-jx4rf5xp.js → model-resolver-dr0x4ah1.js} +15 -15
- package/dist/chunks/{location-service-map-b1bc1nsy.js → model-resolver-dt57sfsj.js} +9 -9
- package/dist/chunks/{location-service-map-5g0ev0pa.js → model-resolver-dtpwe7mt.js} +24 -24
- package/dist/chunks/{location-service-map-j6j088kp.js → model-resolver-e6ma5qw6.js} +5 -5
- package/dist/chunks/{location-service-map-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-service-map-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-jykm66z2.js → model-resolver-f13hrfnx.js} +25 -25
- package/dist/chunks/{location-service-map-q1cd0t6v.js → model-resolver-f3st1kdw.js} +17 -17
- package/dist/chunks/{location-service-map-r36qtfr5.js → model-resolver-faj2svbs.js} +9 -9
- package/dist/chunks/{location-service-map-p6an086h.js → model-resolver-fan8d53n.js} +28 -28
- package/dist/chunks/{location-service-map-f4mmq9s0.js → model-resolver-fc3ht4av.js} +9 -9
- package/dist/chunks/{location-service-map-ffmwyp5t.js → model-resolver-fc5y07mq.js} +24 -24
- package/dist/chunks/{location-service-map-fcy631f0.js → model-resolver-fcy631f0.js} +1 -1
- package/dist/chunks/model-resolver-fh8qb6ca.js +513 -0
- package/dist/chunks/{location-service-map-vz80twqk.js → model-resolver-g77tvx5r.js} +23 -23
- package/dist/chunks/{location-service-map-b1a3n9tr.js → model-resolver-gbjwtbd9.js} +12 -12
- package/dist/chunks/{location-service-map-y1mtycc1.js → model-resolver-gcbmgp51.js} +7 -7
- package/dist/chunks/{location-service-map-1zrcg07n.js → model-resolver-gd18f05q.js} +4 -4
- package/dist/chunks/{location-service-map-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-paqqskkb.js → model-resolver-gn63hw7e.js} +17 -17
- package/dist/chunks/{location-service-map-j08vtfvn.js → model-resolver-gneezttj.js} +24 -24
- package/dist/chunks/{location-service-map-4pkavfpm.js → model-resolver-gnxydz9t.js} +31 -31
- package/dist/chunks/{location-service-map-bay3p9kr.js → model-resolver-gpaj4387.js} +5 -5
- package/dist/chunks/{location-service-map-e7c414h7.js → model-resolver-gq1dj4gx.js} +3 -3
- package/dist/chunks/{location-service-map-82g3rv7k.js → model-resolver-gqprr8j8.js} +50 -50
- package/dist/chunks/{location-service-map-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-sp0bsdgd.js → model-resolver-h78bwqxj.js} +30 -30
- package/dist/chunks/{location-service-map-zbcbrt3b.js → model-resolver-hacrw09v.js} +23 -23
- package/dist/chunks/{location-service-map-xsqz2y29.js → model-resolver-hb55tnnt.js} +26 -26
- package/dist/chunks/{location-service-map-hrkvd0tq.js → model-resolver-hcctc9zp.js} +18 -18
- package/dist/chunks/{location-service-map-qr1hhbva.js → model-resolver-hffd0g87.js} +34 -34
- package/dist/chunks/{location-service-map-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-service-map-qa2f1ryt.js → model-resolver-hrfe9a92.js} +4 -4
- package/dist/chunks/{location-service-map-5akner74.js → model-resolver-htj709tb.js} +21 -21
- package/dist/chunks/{location-service-map-7xm11bhz.js → model-resolver-hwvembvf.js} +8 -8
- package/dist/chunks/{location-service-map-gma3bfjk.js → model-resolver-hx13apgc.js} +89 -89
- package/dist/chunks/{location-service-map-c78vfxem.js → model-resolver-hz5mwsbb.js} +15 -15
- package/dist/chunks/{location-service-map-pgfzn12n.js → model-resolver-hzf2gm4r.js} +6 -6
- package/dist/chunks/{location-service-map-p3a5jp4p.js → model-resolver-j1qs7m2z.js} +11 -11
- package/dist/chunks/{location-service-map-t9aj8749.js → model-resolver-j9vrzzxk.js} +25 -25
- package/dist/chunks/{location-service-map-x920byc0.js → model-resolver-jbe9km07.js} +22 -22
- package/dist/chunks/{location-service-map-cefewzay.js → model-resolver-jhzmbhsj.js} +1 -1
- package/dist/chunks/{location-service-map-tqqea4kp.js → model-resolver-jjn1p3a4.js} +6 -6
- package/dist/chunks/{location-service-map-evanb8t7.js → model-resolver-jkge9r8a.js} +3 -3
- package/dist/chunks/{location-service-map-webap8fv.js → model-resolver-jnng54s4.js} +13 -13
- package/dist/chunks/{location-service-map-h94tf0by.js → model-resolver-jp77zf0e.js} +29 -29
- package/dist/chunks/{location-service-map-tn05n1kc.js → model-resolver-jthg0ham.js} +11 -11
- package/dist/chunks/{location-service-map-x6712ea5.js → model-resolver-jvt1m3jn.js} +9 -9
- package/dist/chunks/{location-service-map-ydd7j0qf.js → model-resolver-k0wngftd.js} +21 -21
- package/dist/chunks/{location-service-map-pvmwrteb.js → model-resolver-k20dm792.js} +23 -23
- package/dist/chunks/{location-service-map-gjp6hpyv.js → model-resolver-k712naka.js} +13 -13
- package/dist/chunks/{location-service-map-anrgehg3.js → model-resolver-k71zbqeh.js} +1 -1
- package/dist/chunks/{location-service-map-jcsfzc3h.js → model-resolver-k9pcp02a.js} +14 -14
- package/dist/chunks/{location-service-map-8r8tyc1z.js → model-resolver-ksp8yezw.js} +46 -46
- package/dist/chunks/{location-service-map-yb1p7tk9.js → model-resolver-kty3j8db.js} +19 -19
- package/dist/chunks/{location-service-map-tjyx2m6j.js → model-resolver-kvfw0apr.js} +9 -9
- package/dist/chunks/{location-service-map-vgyxaaj7.js → model-resolver-kvtrcex4.js} +3 -3
- package/dist/chunks/{location-service-map-kwb1v3vj.js → model-resolver-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-service-map-kxpjdbte.js → model-resolver-m15ha2ry.js} +6 -6
- package/dist/chunks/{location-service-map-1wpxw0e7.js → model-resolver-m33tnjc0.js} +10 -10
- package/dist/chunks/{location-service-map-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{location-service-map-4zt2j45g.js → model-resolver-mb42fxee.js} +35 -35
- package/dist/chunks/{location-service-map-faabf61n.js → model-resolver-me1ss5hn.js} +25 -25
- package/dist/chunks/{location-service-map-4n2n7a9t.js → model-resolver-me1tk061.js} +27 -27
- package/dist/chunks/{location-service-map-efxe2svv.js → model-resolver-mek16e5d.js} +11 -11
- package/dist/chunks/{location-service-map-dgjkn76j.js → model-resolver-mm294psk.js} +31 -31
- package/dist/chunks/{location-service-map-r1p7b6yx.js → model-resolver-mmfyj663.js} +8 -8
- package/dist/chunks/{location-service-map-pmhx9pd7.js → model-resolver-my3n3bk5.js} +22 -22
- package/dist/chunks/{location-service-map-fjs5xx1d.js → model-resolver-my4zabxr.js} +2 -2
- package/dist/chunks/{location-service-map-1rn5pcm9.js → model-resolver-n1n192bv.js} +4 -4
- package/dist/chunks/{location-service-map-qspgnr4y.js → model-resolver-n2w1xppv.js} +15 -15
- package/dist/chunks/{location-service-map-scvv9sag.js → model-resolver-n2wkdexc.js} +12 -12
- package/dist/chunks/{location-service-map-actn3e1v.js → model-resolver-n30s8s5w.js} +6 -6
- package/dist/chunks/{location-service-map-401c2z3y.js → model-resolver-n8pfqjpz.js} +23 -23
- package/dist/chunks/{location-service-map-afqd14vb.js → model-resolver-ne1mykpf.js} +15 -15
- package/dist/chunks/{location-service-map-dw1xgmjd.js → model-resolver-nmnr5pf0.js} +15 -15
- package/dist/chunks/{location-service-map-v0xt904d.js → model-resolver-nn79enrz.js} +25 -25
- package/dist/chunks/{location-service-map-2q9f7x5m.js → model-resolver-nyfqhcsj.js} +32 -32
- package/dist/chunks/{location-service-map-fbp34syt.js → model-resolver-nzqw3k3j.js} +14 -14
- package/dist/chunks/{location-service-map-pvsccn8p.js → model-resolver-pgftdjyf.js} +14 -14
- package/dist/chunks/{location-service-map-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-7a5bexz1.js → model-resolver-pntd7sjn.js} +38 -38
- package/dist/chunks/{location-service-map-mbavq1sw.js → model-resolver-pwke049s.js} +9 -9
- package/dist/chunks/{location-service-map-ncgn3stp.js → model-resolver-q8j19n66.js} +16 -16
- package/dist/chunks/{location-service-map-14cna52h.js → model-resolver-qby9dwvd.js} +8 -8
- package/dist/chunks/{location-service-map-jfqtm2ew.js → model-resolver-qm0v3jhh.js} +7 -7
- package/dist/chunks/{location-service-map-7t33bypp.js → model-resolver-qm9hx7rf.js} +36 -36
- package/dist/chunks/{location-service-map-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-zmrxb192.js → model-resolver-qtfkj4b2.js} +10 -10
- package/dist/chunks/{location-service-map-r587addj.js → model-resolver-qx1aksxd.js} +13 -13
- package/dist/chunks/{location-service-map-hkxm3e55.js → model-resolver-qx29y3xy.js} +21 -21
- package/dist/chunks/{location-service-map-ctvak0k8.js → model-resolver-r50qz80j.js} +26 -26
- package/dist/chunks/{location-service-map-bwv6xb1t.js → model-resolver-r670ztc7.js} +6 -6
- package/dist/chunks/{location-service-map-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-rert0e01.js → model-resolver-rert0e01.js} +2 -2
- package/dist/chunks/{location-service-map-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-service-map-eh6ej367.js → model-resolver-rpgkwa3n.js} +5 -5
- package/dist/chunks/{location-service-map-4p7yzny4.js → model-resolver-rwc19vm6.js} +91 -91
- package/dist/chunks/{location-service-map-46zntf21.js → model-resolver-rya4vhfs.js} +3 -3
- package/dist/chunks/{location-service-map-7h0xefp6.js → model-resolver-ryy6axj8.js} +19 -19
- package/dist/chunks/{location-service-map-095c3p8e.js → model-resolver-s3r8kk34.js} +11 -11
- package/dist/chunks/{location-service-map-hwc678hf.js → model-resolver-s8pbrmg6.js} +42 -42
- package/dist/chunks/{location-service-map-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-service-map-0sdqqm63.js → model-resolver-sfx39rch.js} +17 -17
- package/dist/chunks/{location-service-map-c2x08p9n.js → model-resolver-shnfcgs5.js} +13 -13
- package/dist/chunks/{location-service-map-a4ddqgk4.js → model-resolver-sqzn8pe6.js} +2 -2
- package/dist/chunks/{location-service-map-8v47bpy8.js → model-resolver-swz9epvm.js} +7 -7
- package/dist/chunks/{location-service-map-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{location-service-map-zkc4c63m.js → model-resolver-szyc73at.js} +11 -11
- package/dist/chunks/{location-service-map-rhjbct0v.js → model-resolver-t550f9t1.js} +4 -4
- package/dist/chunks/{location-service-map-w0a66m1n.js → model-resolver-t5x8hzxm.js} +5 -5
- package/dist/chunks/{location-service-map-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-mpzm1wag.js → model-resolver-tcqy5gwz.js} +13 -13
- package/dist/chunks/{location-service-map-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-service-map-s6rp6ys7.js → model-resolver-tph52s30.js} +1 -1
- package/dist/chunks/{location-service-map-vqb1gnvk.js → model-resolver-tseh174d.js} +3 -3
- package/dist/chunks/{location-service-map-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{location-service-map-wrf3hj4k.js → model-resolver-v1hnz2td.js} +37 -37
- package/dist/chunks/{location-service-map-00bmw6dv.js → model-resolver-v210v162.js} +5 -5
- package/dist/chunks/{location-service-map-vwf0wa35.js → model-resolver-v6vmr8kx.js} +16 -16
- package/dist/chunks/{location-service-map-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-service-map-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-hje4gfjw.js → model-resolver-vhgkww9x.js} +24 -24
- package/dist/chunks/{location-service-map-aeb4sny1.js → model-resolver-vykevjvn.js} +5 -5
- package/dist/chunks/{location-service-map-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-6yz0wx8n.js → model-resolver-w39jehkq.js} +5 -5
- package/dist/chunks/{location-service-map-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-jdetxz9w.js → model-resolver-w671cn4t.js} +11 -11
- package/dist/chunks/{location-service-map-gnsyd8gb.js → model-resolver-w6sh5zqk.js} +7 -7
- package/dist/chunks/{location-service-map-802megp1.js → model-resolver-w6yk5t5r.js} +11 -11
- package/dist/chunks/{location-service-map-rkprpv83.js → model-resolver-w92k2e0p.js} +8 -8
- package/dist/chunks/{location-service-map-ja3e6986.js → model-resolver-wan54tjz.js} +8 -8
- package/dist/chunks/{location-service-map-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-ywt8jp22.js → model-resolver-wjr9rjd7.js} +6 -6
- package/dist/chunks/{location-service-map-qgrkzz0w.js → model-resolver-wns8hazf.js} +8 -8
- package/dist/chunks/model-resolver-wry06ba9.js +26 -0
- package/dist/chunks/{location-service-map-98v988rn.js → model-resolver-wx7r1qye.js} +35 -35
- package/dist/chunks/{location-service-map-7sk26hzk.js → model-resolver-x1gmdrfj.js} +24 -24
- package/dist/chunks/{location-service-map-fy2hqc1q.js → model-resolver-x5wvqd0p.js} +4 -4
- package/dist/chunks/{location-service-map-rd0jk938.js → model-resolver-x7b09pq1.js} +7 -7
- package/dist/chunks/{location-service-map-nqfqdwma.js → model-resolver-xq0m18df.js} +22 -22
- package/dist/chunks/{location-service-map-b9jt58w9.js → model-resolver-xv5tzb38.js} +28 -28
- package/dist/chunks/{location-service-map-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-8qh6anns.js → model-resolver-yemq3d8b.js} +6 -6
- package/dist/chunks/{location-service-map-rnkxk3ar.js → model-resolver-yx43cpvh.js} +15 -15
- package/dist/chunks/{location-service-map-k99vhnga.js → model-resolver-yxh0a6hh.js} +12 -12
- package/dist/chunks/{location-service-map-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-vvbpd8x3.js → model-resolver-z4j3nyda.js} +17 -17
- package/dist/chunks/{location-service-map-257jsaav.js → model-resolver-z4qam7dt.js} +4 -4
- package/dist/chunks/{location-service-map-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +123 -123
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +1 -1
- 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 +215 -215
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- 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 +105 -105
- 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 +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +114 -114
- 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 +123 -123
- 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 +125 -125
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +136 -136
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +77 -77
- package/dist/session/store.js +87 -87
- 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 +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- 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 +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/compaction.d.ts +1 -1
- 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 +5 -5
- 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 +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-service-map-3n1sasz5.js +0 -257
- package/dist/chunks/location-service-map-9sh4wc5j.js +0 -18
- package/dist/chunks/location-service-map-qwrqcn29.js +0 -26
- package/dist/chunks/location-service-map-s4xb95kn.js +0 -513
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-service-map-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-9m8rc5s1.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin35 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin48 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID9.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID9.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin48 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin35, exports_agent2 };
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./model-resolver-w671cn4t.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./location-service-map-f4xkwjff.js";
|
|
8
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service69,
|
|
15
|
+
node72
|
|
16
|
+
} from "./model-resolver-9m8rc5s1.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node79
|
|
23
|
+
} from "./model-resolver-f13hrfnx.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-resolver-n1n192bv.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load5
|
|
38
|
+
} from "./model-resolver-jthg0ham.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-3g8j9he4.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service27,
|
|
48
|
+
node31
|
|
49
|
+
} from "./model-resolver-gnxydz9t.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service61,
|
|
52
|
+
node64
|
|
53
|
+
} from "./model-resolver-tcqy5gwz.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./model-resolver-dq407baf.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./model-resolver-t5x8hzxm.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./model-resolver-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service6,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer6,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node8,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,11 +93,12 @@ 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 Service6 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];
|
|
100
100
|
var RESERVE_MIN = 16000;
|
|
101
|
+
var RESERVE_SHARE = 0.15;
|
|
101
102
|
var UNKNOWN_WINDOW = 200000;
|
|
102
103
|
var TOOL_OUTPUT_MAX_CHARS = 1250;
|
|
103
104
|
var IMAGE_TOKEN_ESTIMATE = 1500;
|
|
@@ -172,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
173
|
};
|
|
173
174
|
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
175
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var layer6 = Layer.effect(
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
176
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
177
|
+
const agents = yield* Service69;
|
|
178
|
+
const bus = yield* Service85;
|
|
178
179
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
180
|
+
const catalog = yield* Service75;
|
|
181
|
+
const models = yield* Service61;
|
|
182
|
+
const db = (yield* Service86).db;
|
|
183
|
+
const requests = yield* Service27;
|
|
183
184
|
const state = create3({
|
|
184
185
|
name: "session-compaction",
|
|
185
186
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +198,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
197
198
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
199
|
return { status: "skipped" };
|
|
199
200
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
201
|
+
const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
|
|
201
202
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
203
|
return;
|
|
203
204
|
})))) ?? context.model;
|
|
@@ -223,8 +224,8 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
223
224
|
};
|
|
224
225
|
const summarize = Effect.fnUntraced(function* (trigger, budget, keep) {
|
|
225
226
|
const context = trigger.context;
|
|
226
|
-
const
|
|
227
|
-
if (
|
|
227
|
+
const recent = recentConversation(context.messages, keep);
|
|
228
|
+
if (recent === undefined)
|
|
228
229
|
return yield* Effect.fail(NOTHING_TO_COMPACT);
|
|
229
230
|
const previous = previousCompaction(context.messages);
|
|
230
231
|
const prompt = buildPrompt2(previous !== undefined, previous?.summary.includes(LEGACY_HEADING) ?? false);
|
|
@@ -232,16 +233,16 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
232
233
|
`).filter((line) => line.startsWith("##"));
|
|
233
234
|
const filled = (text) => text.split(`
|
|
234
235
|
`).some((line) => headings.includes(line.trim()));
|
|
235
|
-
const prepared = yield* prepare(context,
|
|
236
|
+
const prepared = yield* prepare(context, context.messages, budget);
|
|
236
237
|
const send = (request) => Effect.gen(function* () {
|
|
237
238
|
const prompted = fitOutput(LLMRequest.update(request, { messages: [...request.messages, Message.user(prompt)] }), context.model.limit);
|
|
238
239
|
const reply = yield* stream(context, prompted, prepared.options);
|
|
239
240
|
if (filled(reply.text))
|
|
240
|
-
return { ...reply, recent:
|
|
241
|
+
return { ...reply, recent: recent.text };
|
|
241
242
|
const nudged = fitOutput(LLMRequest.update(prompted, { messages: [...prompted.messages, Message.user(NUDGE)] }), context.model.limit);
|
|
242
243
|
const retry = yield* stream(context, nudged, prepared.options);
|
|
243
244
|
if (filled(retry.text))
|
|
244
|
-
return { ...retry, recent:
|
|
245
|
+
return { ...retry, recent: recent.text };
|
|
245
246
|
return yield* Effect.fail({
|
|
246
247
|
error: {
|
|
247
248
|
type: "compaction.failed",
|
|
@@ -250,7 +251,11 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
250
251
|
});
|
|
251
252
|
});
|
|
252
253
|
const overhead = estimate2(prompt) + estimate2(NUDGE);
|
|
253
|
-
|
|
254
|
+
const fit = trigger.reason === "overflow" ? budget : Math.max(budget, summaryRoom(context.model.limit));
|
|
255
|
+
return yield* deliver(trigger, prepared, recent.text, budget - overhead, send, {
|
|
256
|
+
fit: fit - overhead,
|
|
257
|
+
history: withoutTail(prepared.request, recent.from)
|
|
258
|
+
});
|
|
254
259
|
});
|
|
255
260
|
const compactNatively = Effect.fnUntraced(function* (trigger, budget, keep) {
|
|
256
261
|
const context = trigger.context;
|
|
@@ -273,7 +278,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
273
278
|
const send = (request) => {
|
|
274
279
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
275
280
|
return Effect.gen(function* () {
|
|
276
|
-
const history = yield*
|
|
281
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
277
282
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
278
283
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
279
284
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -286,7 +291,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
286
291
|
};
|
|
287
292
|
return yield* deliver(trigger, prepared, "", budget, send);
|
|
288
293
|
});
|
|
289
|
-
const deliver = Effect.fnUntraced(function* (trigger, prepared, recent, target, send) {
|
|
294
|
+
const deliver = Effect.fnUntraced(function* (trigger, prepared, recent, target, send, shrink = { fit: target, history: prepared.request }) {
|
|
290
295
|
const context = trigger.context;
|
|
291
296
|
if (trigger.reason !== "manual") {
|
|
292
297
|
yield* bus.publish(SessionEvent2.Compaction.Started, { sessionID: context.session.id, reason: "auto", recent });
|
|
@@ -297,9 +302,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
297
302
|
let rejections = 0;
|
|
298
303
|
let rejected;
|
|
299
304
|
let asText = false;
|
|
305
|
+
let fit = shrink.fit;
|
|
300
306
|
while (true) {
|
|
301
|
-
const
|
|
302
|
-
const request =
|
|
307
|
+
const unchanged = asText ? undefined : estimateRequest(prepared.request) <= fit ? prepared.request : estimateRequest(shrink.history) <= target ? shrink.history : undefined;
|
|
308
|
+
const request = unchanged ?? flattenAndDropOldest(shrink.history, context, target) ?? (rejections > 0 ? undefined : asText ? flattenAndDropOldest(shrink.history, context, Number.POSITIVE_INFINITY) : shrink.history);
|
|
303
309
|
if (!request) {
|
|
304
310
|
return yield* Effect.fail({
|
|
305
311
|
error: {
|
|
@@ -316,7 +322,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
316
322
|
return yield* Effect.fail(cause);
|
|
317
323
|
const error = toSessionError2(cause);
|
|
318
324
|
const tooLarge = cause.reason._tag === "InvalidRequest" && cause.reason.classification === "payload-too-large";
|
|
319
|
-
if (tooLarge && request === prepared.request) {
|
|
325
|
+
if (tooLarge && (request === prepared.request || request === shrink.history)) {
|
|
320
326
|
asText = true;
|
|
321
327
|
continue;
|
|
322
328
|
}
|
|
@@ -326,6 +332,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
326
332
|
return yield* Effect.fail({ error });
|
|
327
333
|
rejected ??= estimateRequest(request);
|
|
328
334
|
target = Math.floor(rejected * step);
|
|
335
|
+
fit = target;
|
|
329
336
|
rejections++;
|
|
330
337
|
continue;
|
|
331
338
|
}
|
|
@@ -473,16 +480,16 @@ ${text}`;
|
|
|
473
480
|
}, { metadata: outcome.metadata });
|
|
474
481
|
return { status: "completed" };
|
|
475
482
|
});
|
|
476
|
-
return
|
|
483
|
+
return Service6.of({
|
|
477
484
|
transform: state.transform,
|
|
478
485
|
reload: state.reload,
|
|
479
486
|
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
487
|
});
|
|
481
488
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
489
|
+
var node8 = makeLocationNode({
|
|
490
|
+
service: Service6,
|
|
484
491
|
layer: layer6,
|
|
485
|
-
deps: [
|
|
492
|
+
deps: [node72, node89, node90, llmClient2, node79, node31, node64]
|
|
486
493
|
});
|
|
487
494
|
var previousCompaction = (messages) => {
|
|
488
495
|
const [first] = messages;
|
|
@@ -495,20 +502,23 @@ var transcript = (context, messages) => baseTranscript2({
|
|
|
495
502
|
initial: context.initial,
|
|
496
503
|
messages
|
|
497
504
|
});
|
|
498
|
-
var
|
|
499
|
-
const entries = messages.flatMap((message
|
|
505
|
+
var recentConversation = (messages, keep) => {
|
|
506
|
+
const entries = messages.flatMap((message) => {
|
|
500
507
|
const text = messageToText(message);
|
|
501
|
-
return text ? [{ message, text
|
|
508
|
+
return text ? [{ message, text }] : [];
|
|
502
509
|
});
|
|
503
510
|
if (entries.length === 0)
|
|
504
511
|
return;
|
|
505
512
|
const recent = entries.slice(recentStart(entries, keep, previousCompaction(messages)));
|
|
506
|
-
return {
|
|
507
|
-
older: messages.slice(0, recent[0]?.index ?? messages.length),
|
|
508
|
-
recent: recent.map((entry) => entry.text).join(`
|
|
513
|
+
return { text: recent.map((entry) => entry.text).join(`
|
|
509
514
|
|
|
510
|
-
`)
|
|
511
|
-
|
|
515
|
+
`), from: recent[0]?.message.id };
|
|
516
|
+
};
|
|
517
|
+
var withoutTail = (request, from) => {
|
|
518
|
+
const index = from === undefined ? -1 : request.messages.findIndex((message) => message.id === from);
|
|
519
|
+
if (index < 0)
|
|
520
|
+
return request;
|
|
521
|
+
return LLMRequest.update(request, { messages: request.messages.slice(0, index) });
|
|
512
522
|
};
|
|
513
523
|
var recentStart = (entries, keep, previous) => {
|
|
514
524
|
const dropped = Math.min(oldestToDrop(entries, (entry) => estimate2(entry.text), keep), entries.length - 1);
|
|
@@ -652,8 +662,9 @@ var calculateCeiling = (limit, buffer) => {
|
|
|
652
662
|
return Number.POSITIVE_INFINITY;
|
|
653
663
|
if (buffer !== undefined)
|
|
654
664
|
return window - buffer;
|
|
655
|
-
return window - Math.max(Math.floor(window *
|
|
665
|
+
return window - Math.max(Math.floor(window * RESERVE_SHARE), window >= 2 * RESERVE_MIN ? RESERVE_MIN : 0);
|
|
656
666
|
};
|
|
667
|
+
var summaryRoom = (limit) => Math.max(0, (limit.input || limit.context) - RESERVE_MIN);
|
|
657
668
|
var hasMeasuredPrompt = (message, model) => message.type === "assistant" && message.model.providerID === model.providerID && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
658
669
|
var fitOutput = (request, limit) => {
|
|
659
670
|
const current = request.generation?.maxTokens;
|
|
@@ -696,4 +707,4 @@ var estimateMedia = (mime) => {
|
|
|
696
707
|
return 0;
|
|
697
708
|
};
|
|
698
709
|
|
|
699
|
-
export {
|
|
710
|
+
export { Service6, buildPrompt2, layer6, node8, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./model-resolver-w671cn4t.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service85,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node89,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service85 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service85,
|
|
84
|
+
deps: [node90],
|
|
85
|
+
layer: Layer.effect(Service85, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service86;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service85.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node89 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./model-resolver-3cf2r952.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./model-resolver-av8er3sd.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service35;
|
|
26
|
+
const permission = yield* Service63;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin11 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin39, exports_mcp_resource };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-50v2ya5q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./model-resolver-an964k1c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./model-resolver-htj709tb.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service43;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service19;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin24 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin8, exports_worktree };
|