@opencode/core 0.0.0-dev-20200 → 0.0.0-dev-20203
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{kv-929qfjhx.js → location-services-04j5qzgw.js} +46 -46
- package/dist/chunks/{kv-kn9w4ht6.js → location-services-0fgcbzg9.js} +18 -18
- package/dist/chunks/{kv-zwfy769s.js → location-services-0gf2cy4k.js} +7 -7
- package/dist/chunks/{kv-grw4a607.js → location-services-0gz88f7v.js} +20 -20
- package/dist/chunks/{kv-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-8q61w4ba.js → location-services-0w62qmxp.js} +6 -6
- package/dist/chunks/{kv-yeee9s21.js → location-services-0zdhcxq1.js} +2 -2
- package/dist/chunks/{kv-66nvbt5p.js → location-services-129hjeyj.js} +21 -21
- package/dist/chunks/{kv-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-4s9s8n1f.js → location-services-1hbenywt.js} +6 -6
- package/dist/chunks/{kv-epz9n6gd.js → location-services-1pfd5r9f.js} +9 -9
- package/dist/chunks/{kv-4j4tgtq5.js → location-services-1rn5pcm9.js} +4 -4
- package/dist/chunks/{kv-9j9yah8t.js → location-services-1tqghxe1.js} +1 -1
- package/dist/chunks/{kv-0gk92k0g.js → location-services-1w8sqpqb.js} +15 -15
- package/dist/chunks/{kv-mfqp6xfm.js → location-services-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-pgf8t6vv.js → location-services-20x4t0fx.js} +28 -28
- package/dist/chunks/{kv-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{kv-ezp3dbqm.js → location-services-26arvx1m.js} +24 -24
- package/dist/chunks/{kv-z63w68vq.js → location-services-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-9bqjkzgr.js → location-services-2c48prkg.js} +43 -43
- package/dist/chunks/{kv-f52hwzs9.js → location-services-2s51ny8k.js} +3 -3
- package/dist/chunks/{kv-m4jhfb0f.js → location-services-2wveq407.js} +37 -37
- package/dist/chunks/{kv-008ky6xd.js → location-services-2ynhemhj.js} +14 -14
- package/dist/chunks/{kv-a7r3yzpa.js → location-services-3664e2vt.js} +11 -11
- package/dist/chunks/{kv-zqegatxr.js → location-services-38j7x2hc.js} +19 -19
- package/dist/chunks/{kv-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-psfprayc.js → location-services-3j6aw61a.js} +32 -32
- package/dist/chunks/{kv-ya1xakhb.js → location-services-3nm0fk8h.js} +9 -9
- package/dist/chunks/{kv-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-fbjv2wms.js → location-services-3w9hmcr6.js} +4 -4
- package/dist/chunks/{kv-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-amzhydp5.js → location-services-42rf9s8q.js} +19 -19
- package/dist/chunks/{kv-q44xq5mv.js → location-services-44k2838g.js} +17 -17
- package/dist/chunks/{kv-djwwgwpk.js → location-services-46je7tbg.js} +24 -24
- package/dist/chunks/{kv-h6r3nrb9.js → location-services-4dgbcxzg.js} +4 -4
- package/dist/chunks/{kv-mdnqa07m.js → location-services-4h4hnnes.js} +85 -85
- package/dist/chunks/{kv-sztv68sg.js → location-services-4p9aey09.js} +10 -10
- package/dist/chunks/{kv-xwx7c69n.js → location-services-4s6qdf3p.js} +27 -27
- package/dist/chunks/{kv-86ny7xhr.js → location-services-4tdje3y4.js} +8 -8
- package/dist/chunks/{kv-ckecvw8r.js → location-services-54tcyq79.js} +2 -2
- package/dist/chunks/{kv-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-f1w6t8pw.js → location-services-5e1npf9a.js} +43 -43
- package/dist/chunks/{kv-6vj46r6j.js → location-services-5jdch5sh.js} +11 -11
- package/dist/chunks/{kv-5gw5e6z6.js → location-services-5p8spvcz.js} +18 -18
- package/dist/chunks/{kv-m9v8gedr.js → location-services-5pezwg1d.js} +30 -30
- package/dist/chunks/{kv-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-ap6tfh1y.js → location-services-5w8x6yjj.js} +8 -8
- package/dist/chunks/{kv-cmwkp3r5.js → location-services-5xtgfte3.js} +8 -8
- package/dist/chunks/{kv-8zyp9hwm.js → location-services-5y305m15.js} +22 -22
- package/dist/chunks/{kv-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{kv-pz6mwthz.js → location-services-6hg3r82e.js} +11 -11
- package/dist/chunks/{kv-1jrn0y2c.js → location-services-6kbr84ay.js} +7 -7
- package/dist/chunks/{kv-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-w92k2e0p.js → location-services-6pc27hjz.js} +4 -4
- package/dist/chunks/{kv-krtn3akr.js → location-services-6v2f9cm4.js} +14 -14
- package/dist/chunks/{kv-48mxmdn4.js → location-services-728seb0w.js} +21 -21
- package/dist/chunks/{kv-73tb2d7t.js → location-services-73tb2d7t.js} +1 -1
- package/dist/chunks/{kv-5xpznt2d.js → location-services-784hb5j4.js} +4 -4
- package/dist/chunks/{kv-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/location-services-7edgwqb7.js +26 -0
- package/dist/chunks/{kv-9xgs3anq.js → location-services-7h7s3rmt.js} +7 -7
- package/dist/chunks/{kv-7bmhgpta.js → location-services-7hhteh4v.js} +3 -3
- package/dist/chunks/{kv-cr9r3pav.js → location-services-7m38xmwt.js} +6 -6
- package/dist/chunks/{kv-7w3s9kd0.js → location-services-7n2xhmm7.js} +6 -6
- package/dist/chunks/{kv-818hvdkr.js → location-services-7ndtgxtc.js} +12 -12
- package/dist/chunks/{kv-sfmm8b11.js → location-services-7p2zmt5w.js} +1 -1
- package/dist/chunks/{kv-nb3rtpcf.js → location-services-7rnj5ym9.js} +32 -32
- package/dist/chunks/{kv-mcckckm0.js → location-services-7s76t0fg.js} +24 -24
- package/dist/chunks/location-services-7xa2s11f.js +252 -0
- package/dist/chunks/{kv-2fgn2we9.js → location-services-81swgkk7.js} +5 -5
- package/dist/chunks/{kv-jyb24yan.js → location-services-85sxd0h8.js} +3 -3
- package/dist/chunks/{kv-tcezcvh9.js → location-services-89znhe33.js} +4 -4
- package/dist/chunks/{kv-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-wzjzhp9x.js → location-services-8rxxwv2n.js} +9 -9
- package/dist/chunks/{kv-0w2d0ngr.js → location-services-8s7zrxf3.js} +26 -26
- package/dist/chunks/{kv-63zbbs1j.js → location-services-8xd21chy.js} +11 -11
- package/dist/chunks/{kv-6kf5t01g.js → location-services-903nybc4.js} +18 -18
- package/dist/chunks/{kv-ys7sjhwd.js → location-services-930n0wtx.js} +34 -34
- package/dist/chunks/{kv-7vk1qj2g.js → location-services-94mr9t66.js} +3 -3
- package/dist/chunks/{kv-q38ztzk3.js → location-services-96ymsse1.js} +5 -5
- package/dist/chunks/{kv-xmyc1ybr.js → location-services-9fbzm6a9.js} +8 -8
- package/dist/chunks/{kv-34rkz0x9.js → location-services-a2ew8a62.js} +7 -7
- package/dist/chunks/{kv-ywgzcymc.js → location-services-a354z5sm.js} +9 -9
- package/dist/chunks/{kv-acw7k398.js → location-services-a7cgx6bn.js} +17 -17
- package/dist/chunks/{kv-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-dpm07twj.js → location-services-ab0n33ds.js} +27 -27
- package/dist/chunks/{kv-k76fn4kw.js → location-services-ag4rn41e.js} +4 -4
- package/dist/chunks/{kv-zfq73pqw.js → location-services-an3y63gz.js} +13 -13
- package/dist/chunks/{kv-28y8n1jc.js → location-services-aryx1f52.js} +16 -16
- package/dist/chunks/{kv-nxhqveyz.js → location-services-avm8jn6n.js} +5 -5
- package/dist/chunks/{kv-ggr0yhfm.js → location-services-b3za54ys.js} +4 -4
- package/dist/chunks/{kv-p394kfqa.js → location-services-b5y4wceh.js} +27 -27
- package/dist/chunks/{kv-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-xxynqx5z.js → location-services-ba07h9gm.js} +3 -3
- package/dist/chunks/{kv-pxsr1a75.js → location-services-bcnfbw3r.js} +28 -28
- package/dist/chunks/{kv-sx1n432n.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{kv-675cb2xh.js → location-services-bf54q0vn.js} +37 -37
- package/dist/chunks/{kv-z07pqspn.js → location-services-bjtzbw4r.js} +3 -3
- package/dist/chunks/{kv-36xnbeg7.js → location-services-bt39fvn6.js} +1 -1
- package/dist/chunks/{kv-35b7rq0x.js → location-services-bt483pgf.js} +3 -3
- package/dist/chunks/{kv-gdb7m3nd.js → location-services-bw6qjwge.js} +17 -17
- package/dist/chunks/{kv-77b417fw.js → location-services-bxnwhgcr.js} +27 -27
- package/dist/chunks/{kv-72wrqvbm.js → location-services-by36gnm3.js} +4 -4
- package/dist/chunks/{kv-bwzvk71w.js → location-services-bz7ff98x.js} +8 -8
- package/dist/chunks/{kv-9nq6t4am.js → location-services-c1pmqqvm.js} +4 -4
- package/dist/chunks/{kv-a8bn8zg0.js → location-services-c20khjev.js} +21 -21
- package/dist/chunks/location-services-c826cjyq.js +507 -0
- package/dist/chunks/{kv-4241kp7x.js → location-services-c8y3sydt.js} +45 -45
- package/dist/chunks/{kv-ky3seynh.js → location-services-cmkj70ft.js} +2 -2
- package/dist/chunks/{kv-d9s7ttc9.js → location-services-cvjyqy8b.js} +23 -23
- package/dist/chunks/{kv-2sejkfem.js → location-services-cwa6csj7.js} +9 -9
- package/dist/chunks/{kv-bjvfgwtq.js → location-services-d1kmb1kz.js} +6 -6
- package/dist/chunks/{kv-m7zm54h4.js → location-services-d1nz6qw9.js} +19 -19
- package/dist/chunks/{kv-5nrew705.js → location-services-d9wzmzc3.js} +5 -5
- package/dist/chunks/{kv-x0vf958q.js → location-services-dajjmxcf.js} +15 -15
- package/dist/chunks/{kv-9gc7vjkx.js → location-services-dbtc50z0.js} +4 -4
- package/dist/chunks/{kv-vfjb33rt.js → location-services-dgs4c22x.js} +48 -48
- package/dist/chunks/{kv-044mmm99.js → location-services-dhtjyx18.js} +16 -16
- package/dist/chunks/{kv-57b9ws8p.js → location-services-drwq78ky.js} +5 -5
- package/dist/chunks/{kv-mf41z90d.js → location-services-dy7h2h1w.js} +4 -4
- package/dist/chunks/{kv-s502b684.js → location-services-dyf86r4x.js} +13 -13
- package/dist/chunks/{kv-btz8j7bn.js → location-services-dyv6jqgc.js} +6 -6
- package/dist/chunks/{kv-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{kv-pns9m75b.js → location-services-e7173haz.js} +6 -6
- package/dist/chunks/{kv-e968rfje.js → location-services-e9xwgjwy.js} +3 -3
- package/dist/chunks/{kv-ecfe7b91.js → location-services-ecfe7b91.js} +2 -2
- package/dist/chunks/{kv-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-4fk0nsxj.js → location-services-em10apng.js} +51 -51
- package/dist/chunks/{kv-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-8ww9rymz.js → location-services-evd3jqhg.js} +6 -6
- package/dist/chunks/{kv-szf09ach.js → location-services-ey7mvkmc.js} +1 -1
- package/dist/chunks/{kv-06vxkqyn.js → location-services-f3wv10y1.js} +12 -12
- package/dist/chunks/{kv-3bc8czyk.js → location-services-f62qkzqr.js} +5 -5
- package/dist/chunks/{kv-fe7g0e1n.js → location-services-faxt9yky.js} +8 -8
- package/dist/chunks/{kv-2jaff4ej.js → location-services-fej70bpn.js} +12 -12
- package/dist/chunks/{kv-sgsg99ma.js → location-services-fg90r6cn.js} +14 -14
- package/dist/chunks/{kv-12v2wr5k.js → location-services-fn25s999.js} +23 -23
- package/dist/chunks/{kv-1jfw4ezy.js → location-services-fqg394v6.js} +25 -25
- package/dist/chunks/{kv-cahpe2n8.js → location-services-frp52m33.js} +55 -55
- package/dist/chunks/{kv-hh0wwtej.js → location-services-fwf02z8y.js} +10 -10
- package/dist/chunks/{kv-brsymgq7.js → location-services-g1ntwptg.js} +8 -8
- package/dist/chunks/{kv-jh62cmzp.js → location-services-g3y93bdq.js} +27 -27
- package/dist/chunks/{kv-7n5a3d89.js → location-services-g4r1rkq7.js} +8 -8
- package/dist/chunks/{kv-qf8xbt1v.js → location-services-g97k7hqe.js} +6 -6
- package/dist/chunks/{kv-8d4b8q1n.js → location-services-ganadfp0.js} +20 -20
- package/dist/chunks/{kv-akwkjb9w.js → location-services-gap9hmaf.js} +31 -31
- package/dist/chunks/{kv-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-94ek1h2f.js → location-services-gfvb90ym.js} +2 -2
- package/dist/chunks/{kv-feevgyx0.js → location-services-ggp883ka.js} +9 -9
- package/dist/chunks/{kv-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-405d8dyj.js → location-services-h0rgcqpm.js} +9 -9
- package/dist/chunks/{kv-k81c2yat.js → location-services-h20z1ya9.js} +9 -9
- package/dist/chunks/{kv-zs5e1q5z.js → location-services-h56wjgp5.js} +41 -41
- package/dist/chunks/{kv-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-xbq70fcf.js → location-services-h8dspmgn.js} +1 -1
- package/dist/chunks/{kv-25e94b50.js → location-services-h9m1c2w5.js} +28 -28
- package/dist/chunks/{kv-a310axxt.js → location-services-h9mky73t.js} +15 -15
- package/dist/chunks/{kv-vaakq16n.js → location-services-hmay1t1j.js} +29 -29
- package/dist/chunks/{kv-b54fy576.js → location-services-hxx0ygc8.js} +16 -16
- package/dist/chunks/{kv-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-eb3fpf5k.js → location-services-j7axrqd8.js} +37 -37
- package/dist/chunks/{kv-0p12md73.js → location-services-jdvpg0be.js} +36 -36
- package/dist/chunks/{kv-dfkmra9p.js → location-services-jeqepyqp.js} +73 -73
- package/dist/chunks/{kv-ae6e55sh.js → location-services-jfb30j9d.js} +1 -1
- package/dist/chunks/{kv-6qmx44j7.js → location-services-jm8m12cd.js} +28 -28
- package/dist/chunks/{kv-v84zncc1.js → location-services-jqwafpw4.js} +23 -23
- package/dist/chunks/{kv-s5met55r.js → location-services-jvnghvnw.js} +8 -8
- package/dist/chunks/{kv-nzks3jc8.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{kv-4yghvmm2.js → location-services-k5qdgh99.js} +6 -6
- package/dist/chunks/{kv-vvrjcdcd.js → location-services-kbcbk3rc.js} +24 -24
- package/dist/chunks/{kv-t6w109sr.js → location-services-kbhmzeq3.js} +8 -8
- package/dist/chunks/{kv-7mg3mn71.js → location-services-kn6v00wg.js} +15 -15
- package/dist/chunks/{kv-tvwg490j.js → location-services-kwhnaq83.js} +37 -37
- package/dist/chunks/{kv-r49rms47.js → location-services-m12cyjmp.js} +15 -15
- package/dist/chunks/{kv-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-5r6ymjvn.js → location-services-m9jd0mcb.js} +8 -8
- package/dist/chunks/{kv-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-xdkhn8b3.js → location-services-mmtg5wy2.js} +33 -33
- package/dist/chunks/{kv-pbajh4cp.js → location-services-mntr9wjt.js} +22 -22
- package/dist/chunks/{kv-0hf9g8pg.js → location-services-mrvjcs5x.js} +6 -6
- package/dist/chunks/{kv-7j2qha59.js → location-services-ms93yq6r.js} +8 -8
- package/dist/chunks/{kv-6bawt1mm.js → location-services-mv9w5stb.js} +92 -92
- package/dist/chunks/{kv-gc4fb455.js → location-services-mwwxnxty.js} +4 -4
- package/dist/chunks/{kv-tz96gs0j.js → location-services-mz18n95x.js} +19 -19
- package/dist/chunks/{kv-9hbayf03.js → location-services-n2cd4sc1.js} +10 -10
- package/dist/chunks/{kv-fs4kye86.js → location-services-n3e4gkzn.js} +8 -8
- package/dist/chunks/{kv-kaxxkvzj.js → location-services-n7mjttc7.js} +9 -9
- package/dist/chunks/{kv-3eaknccx.js → location-services-ndwv7bs8.js} +15 -15
- package/dist/chunks/{kv-6vd9acrv.js → location-services-njfyzs8z.js} +18 -18
- package/dist/chunks/{kv-z06508mb.js → location-services-ns8v16m0.js} +22 -22
- package/dist/chunks/{kv-e6hmchc5.js → location-services-p1nm93x7.js} +5 -5
- package/dist/chunks/{kv-fm8h5qbs.js → location-services-p1spfnmp.js} +32 -32
- package/dist/chunks/location-services-p2h6zvwc.js +18 -0
- package/dist/chunks/{kv-kndt36as.js → location-services-pe5ggv3d.js} +32 -32
- package/dist/chunks/{kv-jwxra80w.js → location-services-ph6sxt2m.js} +46 -46
- package/dist/chunks/{kv-h90v2x9d.js → location-services-ph842b28.js} +4 -4
- package/dist/chunks/{kv-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{kv-mt747vtd.js → location-services-pq983g12.js} +16 -16
- package/dist/chunks/{kv-wd3x2cqz.js → location-services-psazpmmj.js} +2 -2
- package/dist/chunks/{kv-xrhw1ar0.js → location-services-pttdfhpz.js} +17 -17
- package/dist/chunks/{kv-qdqhcepg.js → location-services-q34hn4m8.js} +31 -31
- package/dist/chunks/{kv-scfhtmm0.js → location-services-q9hdtabh.js} +20 -20
- package/dist/chunks/{kv-ek3hbz36.js → location-services-qd16t7pt.js} +23 -23
- package/dist/chunks/{kv-8jhmrshf.js → location-services-qfgcszr2.js} +11 -11
- package/dist/chunks/{kv-kfphszmj.js → location-services-qg0jgkcp.js} +9 -9
- package/dist/chunks/{kv-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-apmwx0mv.js → location-services-qxpw477z.js} +15 -15
- package/dist/chunks/{kv-qw1hjn5n.js → location-services-qzyph8ek.js} +11 -11
- package/dist/chunks/{kv-1pvp55tc.js → location-services-r95crx12.js} +15 -15
- package/dist/chunks/{kv-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-xf6wswyz.js → location-services-rf1x1me2.js} +2 -2
- package/dist/chunks/{kv-cpy6gm2a.js → location-services-rp8jz6x1.js} +6 -6
- package/dist/chunks/{kv-mbe3rgf9.js → location-services-rs47j036.js} +8 -8
- package/dist/chunks/{kv-wsw2kcn9.js → location-services-rwe7vfy4.js} +56 -56
- package/dist/chunks/{kv-47z78yqg.js → location-services-s0kg6ey3.js} +13 -13
- package/dist/chunks/{kv-y7yk5qzd.js → location-services-s4bzt415.js} +10 -10
- package/dist/chunks/{kv-yrznvahk.js → location-services-s4enseaf.js} +2 -2
- package/dist/chunks/{kv-63jxkw5m.js → location-services-sdvc1rg6.js} +15 -15
- package/dist/chunks/{kv-h4551a7c.js → location-services-shd7mr8y.js} +12 -12
- package/dist/chunks/{kv-sqmrdnv2.js → location-services-shgcqddn.js} +13 -13
- package/dist/chunks/{kv-vsfhvs7g.js → location-services-sxz61evh.js} +9 -9
- package/dist/chunks/{kv-s8d7rejh.js → location-services-t550f9t1.js} +4 -4
- package/dist/chunks/{kv-58z1dnym.js → location-services-t6tst13s.js} +10 -10
- package/dist/chunks/{kv-2r9h09s2.js → location-services-t8rew5kn.js} +18 -18
- package/dist/chunks/{kv-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{kv-eas639wf.js → location-services-tj0fs0r1.js} +13 -13
- package/dist/chunks/{kv-nfyzrv16.js → location-services-tnjf10ex.js} +136 -136
- package/dist/chunks/{kv-3xt4txzx.js → location-services-tqqd1wey.js} +19 -19
- package/dist/chunks/{kv-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-fvr96f0r.js → location-services-tx7d86r5.js} +28 -28
- package/dist/chunks/{kv-pgp1nwjn.js → location-services-v7z2bvyd.js} +4 -4
- package/dist/chunks/{kv-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-mgjwc72w.js → location-services-vgacam68.js} +12 -12
- package/dist/chunks/{kv-15ekqka4.js → location-services-vh5rvw9s.js} +9 -9
- package/dist/chunks/{kv-7caayt8c.js → location-services-vzc886ch.js} +33 -33
- package/dist/chunks/{kv-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{kv-yckxw83q.js → location-services-wem8116r.js} +9 -9
- package/dist/chunks/{kv-2j285a9n.js → location-services-wfe10mpm.js} +5 -5
- package/dist/chunks/{kv-mc1v6acc.js → location-services-wfg70ajk.js} +3 -3
- package/dist/chunks/{kv-0996nyz8.js → location-services-wk5z6jzv.js} +9 -9
- package/dist/chunks/{kv-9e9cf9vw.js → location-services-wqgv35h5.js} +31 -31
- package/dist/chunks/{kv-qxskx7a8.js → location-services-wqtjegkd.js} +20 -20
- package/dist/chunks/{kv-gcr60sz1.js → location-services-ww3yq57e.js} +16 -16
- package/dist/chunks/{kv-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-e0y3q2t7.js → location-services-xaaqc030.js} +12 -12
- package/dist/chunks/{kv-s086309j.js → location-services-xedyykk9.js} +22 -22
- package/dist/chunks/{kv-r1w8yxk1.js → location-services-xjvaav3g.js} +11 -11
- package/dist/chunks/{kv-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-hd8vw2pw.js → location-services-xp3fh2h7.js} +1 -1
- package/dist/chunks/location-services-xrsqh21y.js +4 -0
- package/dist/chunks/{kv-hrc132h6.js → location-services-xs0sd5xy.js} +9 -9
- package/dist/chunks/{kv-c41yqgwq.js → location-services-xtsf53gz.js} +12 -12
- package/dist/chunks/{kv-bfytmfr3.js → location-services-xx97hvw2.js} +26 -26
- package/dist/chunks/{kv-5012c781.js → location-services-xzhjr7c3.js} +25 -25
- package/dist/chunks/{kv-p1sqkaz6.js → location-services-y0zn2255.js} +19 -19
- package/dist/chunks/{kv-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-wmj8bw0h.js → location-services-y3eexsj3.js} +14 -14
- package/dist/chunks/{kv-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{kv-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-t32h7b8c.js → location-services-ytp36fc8.js} +11 -11
- package/dist/chunks/{kv-b9qtqcez.js → location-services-ywv187z9.js} +12 -12
- package/dist/chunks/{kv-fqj9nv8j.js → location-services-yy3gmdz3.js} +8 -8
- package/dist/chunks/{kv-15wzyxw8.js → location-services-yy7hf67g.js} +13 -13
- package/dist/chunks/{kv-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-dj9sq318.js → location-services-z3pw5915.js} +5 -5
- package/dist/chunks/{kv-xsb7wvk9.js → location-services-z8ay4g4r.js} +32 -32
- package/dist/chunks/{kv-z7dv026m.js → location-services-ze2qnn7n.js} +5 -5
- package/dist/chunks/{kv-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-d7ay5qea.js → location-services-zkdqcrb9.js} +11 -11
- package/dist/chunks/{kv-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-tsba6pye.js → location-services-zsn9zpn8.js} +11 -11
- package/dist/chunks/{kv-h3g55zm3.js → location-services-zv2tdc3m.js} +35 -35
- package/dist/chunks/{kv-yt7m8170.js → location-services-zwznb21e.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-6hdpnvdz.js → location-services-zy883y1h.js} +41 -41
- 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 +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/kv-0mesazry.js +0 -4
- package/dist/chunks/kv-9hc01c8g.js +0 -252
- package/dist/chunks/kv-by5v678g.js +0 -18
- package/dist/chunks/kv-jyd95hha.js +0 -26
- package/dist/chunks/kv-vcbm7j51.js +0 -507
- /package/dist/chunks/{kv-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-94mr9t66.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-services-xaaqc030.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-1rn5pcm9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load4
|
|
29
|
+
} from "./location-services-3664e2vt.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-xp3fh2h7.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service24,
|
|
38
|
+
node27
|
|
39
|
+
} from "./location-services-h9m1c2w5.js";
|
|
40
40
|
import {
|
|
41
41
|
toSessionError2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-services-c1pmqqvm.js";
|
|
43
43
|
import {
|
|
44
44
|
isRetryable2,
|
|
45
45
|
policy2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-1hbenywt.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-services-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-services-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service11,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
layer: () => layer7,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node13,
|
|
65
65
|
recentUserMessages: () => recentUserMessages2
|
|
66
66
|
});
|
|
67
67
|
import {
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "@opencode/ai";
|
|
78
78
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
79
79
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
80
|
-
class
|
|
80
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
81
81
|
}
|
|
82
82
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
83
83
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -155,11 +155,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
155
155
|
};
|
|
156
156
|
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.";
|
|
157
157
|
var LEGACY_HEADING = "## Additional Context";
|
|
158
|
-
var layer7 = Layer.effect(
|
|
159
|
-
const bus = yield*
|
|
158
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const llm = yield* LLMClient.Service;
|
|
161
161
|
const db = (yield* Service84).db;
|
|
162
|
-
const requests = yield*
|
|
162
|
+
const requests = yield* Service24;
|
|
163
163
|
const state = create3({
|
|
164
164
|
name: "session-compaction",
|
|
165
165
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -247,7 +247,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
247
247
|
const send = (request) => {
|
|
248
248
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
249
249
|
return Effect.gen(function* () {
|
|
250
|
-
const history = yield*
|
|
250
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
251
251
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
252
252
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
253
253
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -449,16 +449,16 @@ ${text}`;
|
|
|
449
449
|
}, { metadata: outcome.metadata });
|
|
450
450
|
return { status: "completed" };
|
|
451
451
|
});
|
|
452
|
-
return
|
|
452
|
+
return Service11.of({
|
|
453
453
|
transform: state.transform,
|
|
454
454
|
reload: state.reload,
|
|
455
455
|
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))))
|
|
456
456
|
});
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
459
|
-
service:
|
|
458
|
+
var node13 = makeLocationNode({
|
|
459
|
+
service: Service11,
|
|
460
460
|
layer: layer7,
|
|
461
|
-
deps: [
|
|
461
|
+
deps: [node86, node88, llmClient2, node27]
|
|
462
462
|
});
|
|
463
463
|
var previousCompaction = (messages) => {
|
|
464
464
|
const [first] = messages;
|
|
@@ -652,4 +652,4 @@ var estimateMedia = (mime) => {
|
|
|
652
652
|
return 0;
|
|
653
653
|
};
|
|
654
654
|
|
|
655
|
-
export {
|
|
655
|
+
export { Service11, buildPrompt2, layer7, node13, recentUserMessages2, estimateContext2, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin8,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin8 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin24 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin24 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin8, exports_parallel };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-6v2f9cm4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service60,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node62,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service60 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service60, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node62 = LayerNode.unbound(Service60, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service60;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service60, node62, reload2, canonical3, exports_location_service_map };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./location-services-6v2f9cm4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-ganadfp0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin7 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin7, exports_hg };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./location-services-b5y4wceh.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service72
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-5y305m15.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./location-services-5e1npf9a.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ba07h9gm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service37
|
|
18
|
+
} from "./location-services-pttdfhpz.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./location-services-frp52m33.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service14
|
|
25
|
+
} from "./location-services-mv9w5stb.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make9
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-faxt9yky.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin20,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,14 +86,14 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin20 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
92
|
+
const sessions = yield* Service14;
|
|
93
|
+
const jobs = yield* Service37;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const config = yield* Service63;
|
|
96
|
+
const permission = yield* Service55;
|
|
97
97
|
const models = yield* Service72;
|
|
98
98
|
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
@@ -115,11 +115,11 @@ var Plugin46 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin46 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin46 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name3, Input3, Output3, description2, Plugin20, exports_subagent };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./location-services-qzyph8ek.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-1rn5pcm9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./location-services-jvnghvnw.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-frp52m33.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-2ynhemhj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./location-services-xzhjr7c3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./location-services-8rxxwv2n.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-xp3fh2h7.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service24,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
44
|
layer: () => layer10,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node27,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var layer10 = Layer.effect(
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service59;
|
|
163
|
+
const transport = yield* Service25;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer10 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer10 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service24.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
268
|
+
var node27 = makeLocationNode({
|
|
269
|
+
service: Service24,
|
|
270
270
|
layer: layer10,
|
|
271
|
-
deps: [
|
|
271
|
+
deps: [node61, node28, node75]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
|