@opencode/core 0.0.0-dev-19611 → 0.0.0-dev-19613
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 +80 -80
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{image-s8d7rejh.js → location-service-map-02nrjc1r.js} +8 -8
- package/dist/chunks/{image-t676541r.js → location-service-map-06f8gtew.js} +11 -11
- package/dist/chunks/{image-v8g0avwf.js → location-service-map-09dv4b35.js} +11 -11
- package/dist/chunks/{image-c4qbqqm9.js → location-service-map-0exk3n2e.js} +19 -19
- package/dist/chunks/{image-yxa2jv7b.js → location-service-map-0g02wqjc.js} +17 -17
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{image-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-5bny2dwb.js → location-service-map-0v3mhfgm.js} +16 -16
- package/dist/chunks/{image-hjtap0zg.js → location-service-map-14ca214m.js} +22 -22
- package/dist/chunks/{image-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-5c0f1prt.js → location-service-map-1hc11dc4.js} +4 -4
- package/dist/chunks/{image-3zykk5as.js → location-service-map-1mkrhngc.js} +8 -8
- package/dist/chunks/{image-1kgb4aq1.js → location-service-map-1vbvjjmc.js} +11 -11
- package/dist/chunks/{image-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{image-zsfad6mw.js → location-service-map-22pe83z9.js} +22 -22
- package/dist/chunks/{image-jexxy024.js → location-service-map-256nx13v.js} +3 -3
- package/dist/chunks/{image-6ya7w255.js → location-service-map-29074q1n.js} +9 -9
- package/dist/chunks/{image-5wmgxaxj.js → location-service-map-296t09yc.js} +17 -17
- package/dist/chunks/{image-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-57ez7d0k.js → location-service-map-2fgn2we9.js} +9 -9
- package/dist/chunks/{image-zhq6vg7a.js → location-service-map-2jz473v5.js} +1 -1
- package/dist/chunks/{image-0evxafpt.js → location-service-map-2kmeykc3.js} +10 -10
- package/dist/chunks/{image-ret12whd.js → location-service-map-2m5fqp7n.js} +1 -1
- package/dist/chunks/{image-cacjtj5k.js → location-service-map-2n5p0fxg.js} +5 -5
- package/dist/chunks/{image-azxt8y52.js → location-service-map-2n8zc6am.js} +17 -17
- package/dist/chunks/{image-fr9qgvrp.js → location-service-map-2y91kqbg.js} +54 -54
- package/dist/chunks/{image-dh976vjg.js → location-service-map-375f5jdk.js} +18 -18
- package/dist/chunks/{image-t0fxg8b9.js → location-service-map-37s12vcn.js} +5 -5
- package/dist/chunks/{image-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-kbrpdkkr.js → location-service-map-3g1feh6n.js} +13 -13
- package/dist/chunks/{image-v90b78v5.js → location-service-map-3h3e4z98.js} +26 -26
- package/dist/chunks/{image-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-7wtn6qfv.js → location-service-map-3qdx31v0.js} +35 -35
- package/dist/chunks/{image-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-x9afmtav.js → location-service-map-3vw407vt.js} +29 -29
- package/dist/chunks/{image-zbhf92rx.js → location-service-map-3zrb79sp.js} +20 -20
- package/dist/chunks/{image-4vte9j2j.js → location-service-map-41camxag.js} +11 -11
- package/dist/chunks/{image-3t9tj8wy.js → location-service-map-44kr7xc2.js} +10 -10
- package/dist/chunks/{image-ep9bxrrg.js → location-service-map-46kds8gk.js} +15 -15
- package/dist/chunks/{image-g477egy3.js → location-service-map-481njsdn.js} +8 -8
- package/dist/chunks/{image-m7pytshy.js → location-service-map-4gbrk6eh.js} +9 -9
- package/dist/chunks/{image-3wctd9by.js → location-service-map-4pmy1264.js} +19 -19
- package/dist/chunks/{image-8y2shdgp.js → location-service-map-4r0h6etc.js} +22 -22
- package/dist/chunks/{image-4n3236zn.js → location-service-map-4xk2t4nb.js} +23 -23
- package/dist/chunks/{image-33w4ejhs.js → location-service-map-56gdpj1q.js} +6 -6
- package/dist/chunks/{image-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{image-j2vdbwsr.js → location-service-map-5mjvfe5y.js} +6 -6
- package/dist/chunks/{image-pvvjbe5v.js → location-service-map-5mvsn0n4.js} +30 -30
- package/dist/chunks/{image-9mvt1ex4.js → location-service-map-5nd6hqg1.js} +8 -8
- package/dist/chunks/{image-p5k166g4.js → location-service-map-5nkww2gb.js} +15 -15
- package/dist/chunks/{image-ve1hctsm.js → location-service-map-5pjjts7m.js} +20 -20
- package/dist/chunks/{image-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-nv2ksrja.js → location-service-map-5y4txvzj.js} +32 -32
- package/dist/chunks/{image-96dvqytq.js → location-service-map-62va5rb3.js} +24 -24
- package/dist/chunks/{image-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{image-zt441g4g.js → location-service-map-6cr3es9y.js} +28 -28
- package/dist/chunks/{image-f2jvx8nr.js → location-service-map-6ejkwac2.js} +5 -5
- package/dist/chunks/{image-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
- package/dist/chunks/{image-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-sssgmf7d.js → location-service-map-6nxsvtkx.js} +27 -27
- package/dist/chunks/{image-3p19zrd2.js → location-service-map-6p10pdhr.js} +79 -79
- package/dist/chunks/{image-y2n85772.js → location-service-map-6zqpf67v.js} +11 -11
- package/dist/chunks/{image-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{image-ssnhfp6a.js → location-service-map-73rz0h41.js} +9 -9
- package/dist/chunks/{image-ppz8g910.js → location-service-map-75fve0te.js} +30 -30
- package/dist/chunks/{image-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-fhtb1nxk.js → location-service-map-7cdr5gb1.js} +3 -3
- package/dist/chunks/{image-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{image-ch1hcs5y.js → location-service-map-7j0w7kx5.js} +38 -38
- package/dist/chunks/{image-22zy1c33.js → location-service-map-7qqnjw5d.js} +8 -8
- package/dist/chunks/{image-x497tgc1.js → location-service-map-7wrt80ma.js} +5 -5
- package/dist/chunks/{image-010j0rjj.js → location-service-map-7y6s2xgk.js} +11 -11
- package/dist/chunks/{image-gse1qw90.js → location-service-map-87n3nhds.js} +12 -12
- package/dist/chunks/{image-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-1a4hyc8b.js → location-service-map-8dh90zjj.js} +26 -26
- package/dist/chunks/{image-e1kg9vz0.js → location-service-map-8drea2pm.js} +49 -49
- package/dist/chunks/{image-dj2t23y0.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-j66pfzft.js → location-service-map-8prvq2df.js} +5 -5
- package/dist/chunks/{image-qw34z0mz.js → location-service-map-8vph1emt.js} +13 -13
- package/dist/chunks/{image-cfp1wp84.js → location-service-map-93dbjmah.js} +22 -22
- package/dist/chunks/{image-xrrhyath.js → location-service-map-9cwb0bqx.js} +36 -36
- package/dist/chunks/{image-d4he2qe1.js → location-service-map-9ff31bqh.js} +8 -8
- package/dist/chunks/{image-d7tzj868.js → location-service-map-9hnn71yg.js} +20 -20
- package/dist/chunks/{image-f270k846.js → location-service-map-9n3wxq1j.js} +35 -35
- package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
- package/dist/chunks/{image-b5f0xpv3.js → location-service-map-9vq0hs4s.js} +25 -25
- package/dist/chunks/{image-rd23nqx6.js → location-service-map-9xc6rpr7.js} +23 -23
- package/dist/chunks/{image-5c4hm403.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{image-0dr9jjfc.js → location-service-map-ae83exes.js} +3 -3
- package/dist/chunks/{image-n4wre08x.js → location-service-map-aez1es5f.js} +28 -28
- package/dist/chunks/{image-4jygvmvn.js → location-service-map-b56xca68.js} +35 -35
- package/dist/chunks/{image-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-man2vsb5.js → location-service-map-bgp3z89z.js} +33 -33
- package/dist/chunks/{image-a84h0eb3.js → location-service-map-bktmsznq.js} +26 -26
- package/dist/chunks/{image-cbbptew9.js → location-service-map-bsa98fqx.js} +15 -15
- package/dist/chunks/{image-m55pfywp.js → location-service-map-bwytfvjm.js} +6 -6
- package/dist/chunks/{image-mfz8wse2.js → location-service-map-bx4ntnz9.js} +11 -11
- package/dist/chunks/{image-axf0s4jm.js → location-service-map-bxcs3vgc.js} +22 -22
- package/dist/chunks/{image-7rjv7hd1.js → location-service-map-c464yk7e.js} +43 -43
- package/dist/chunks/{image-95hsdyye.js → location-service-map-c4rw650c.js} +17 -17
- package/dist/chunks/{image-tv9x8hxg.js → location-service-map-c7437d7y.js} +18 -18
- package/dist/chunks/{image-g190xswt.js → location-service-map-cavr175a.js} +4 -4
- package/dist/chunks/{image-d5g3wzfd.js → location-service-map-ce6s4nt1.js} +18 -18
- package/dist/chunks/{image-m0jqrx5p.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-qz348hxe.js → location-service-map-cn96cn60.js} +4 -4
- package/dist/chunks/{image-enrjqv4h.js → location-service-map-cpevarj8.js} +17 -17
- package/dist/chunks/{image-dw06mjkt.js → location-service-map-cvh2qfn1.js} +13 -13
- package/dist/chunks/{image-98n2zv5b.js → location-service-map-cxbs0x8p.js} +18 -18
- package/dist/chunks/{image-7f40knje.js → location-service-map-cxcx5ffv.js} +31 -31
- package/dist/chunks/{image-5xtgfte3.js → location-service-map-cxv3b682.js} +8 -8
- package/dist/chunks/{image-q594ctnf.js → location-service-map-czrth2gj.js} +32 -32
- package/dist/chunks/{image-5ebw3s4g.js → location-service-map-d1r5081s.js} +5 -5
- package/dist/chunks/{image-1z5mtsne.js → location-service-map-d81aexdy.js} +2 -2
- package/dist/chunks/{image-5bekvhzp.js → location-service-map-dmg9z6p5.js} +9 -9
- package/dist/chunks/{image-w97vtpxb.js → location-service-map-dmmbqwqg.js} +1 -1
- package/dist/chunks/{image-pvrrebnp.js → location-service-map-dqc529nz.js} +19 -19
- package/dist/chunks/{image-m5wgsj6n.js → location-service-map-drbtznh8.js} +4 -4
- package/dist/chunks/{image-c76sny21.js → location-service-map-drdg73e4.js} +38 -38
- package/dist/chunks/{image-8e1b1gzh.js → location-service-map-ds2mmwsg.js} +6 -6
- package/dist/chunks/{image-59sbn0zz.js → location-service-map-dsbehk3j.js} +45 -45
- package/dist/chunks/{image-xx4v3z4y.js → location-service-map-dx23rp9b.js} +23 -23
- package/dist/chunks/{image-922nm86p.js → location-service-map-dyfjpvav.js} +37 -37
- package/dist/chunks/{image-806p5xqx.js → location-service-map-dz573yjp.js} +28 -28
- package/dist/chunks/{image-2eh5hdcs.js → location-service-map-e09qeq0x.js} +6 -6
- package/dist/chunks/{image-e5nv3ght.js → location-service-map-e5nv3ght.js} +2 -2
- package/dist/chunks/{image-30hxd0b6.js → location-service-map-e5vq6wef.js} +4 -4
- package/dist/chunks/{image-hjt4xg1x.js → location-service-map-e82z9tr0.js} +7 -7
- package/dist/chunks/{image-t0wbe1cv.js → location-service-map-eb0bx2e4.js} +4 -4
- package/dist/chunks/{image-0qaz1sfc.js → location-service-map-ebj3yfyc.js} +11 -11
- package/dist/chunks/{image-xe94yqgp.js → location-service-map-ec3p188n.js} +4 -4
- package/dist/chunks/{image-sy6qbg9d.js → location-service-map-eet9vec2.js} +3 -3
- package/dist/chunks/{image-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-6s054ecb.js → location-service-map-efhqt4af.js} +20 -20
- package/dist/chunks/{image-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-jxphv8sm.js → location-service-map-f0k0k52x.js} +38 -38
- package/dist/chunks/{image-r8xr0va3.js → location-service-map-f2n192rq.js} +4 -4
- package/dist/chunks/{image-ybhbtxjg.js → location-service-map-f35htakt.js} +3 -3
- package/dist/chunks/{image-dt0jwwwa.js → location-service-map-f389d7gj.js} +32 -32
- package/dist/chunks/{image-hdnk95c8.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{image-jfqtm2ew.js → location-service-map-fdv30zvt.js} +7 -7
- package/dist/chunks/{image-4mfmjxec.js → location-service-map-fgbd9a1c.js} +9 -9
- package/dist/chunks/{image-cmra4ph4.js → location-service-map-fgz39w39.js} +88 -88
- package/dist/chunks/{image-sbs223z4.js → location-service-map-fhg6wqx7.js} +15 -15
- package/dist/chunks/{image-hwkbadth.js → location-service-map-fnq3w2rd.js} +8 -8
- package/dist/chunks/{image-33dzk201.js → location-service-map-fqmd4s1j.js} +32 -32
- package/dist/chunks/{image-c605ygk1.js → location-service-map-fr4993az.js} +47 -47
- package/dist/chunks/{image-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-kvccqq4y.js → location-service-map-fxmgaxj3.js} +12 -12
- package/dist/chunks/{image-7ac170kv.js → location-service-map-fxqygnfa.js} +4 -4
- package/dist/chunks/{image-818pfwc9.js → location-service-map-g8jasmdt.js} +8 -8
- package/dist/chunks/{image-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-0xnze9ce.js → location-service-map-gqqd7yp5.js} +65 -65
- package/dist/chunks/{image-afdssyjb.js → location-service-map-gst7axd9.js} +4 -4
- package/dist/chunks/{image-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-waxe3yd1.js → location-service-map-gya96k67.js} +22 -22
- package/dist/chunks/{image-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{image-qnevtc5c.js → location-service-map-h6nte9nw.js} +35 -35
- package/dist/chunks/{image-saseaz33.js → location-service-map-h6pyjjh7.js} +6 -6
- package/dist/chunks/{image-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-fgjfhan0.js → location-service-map-h7jb3q20.js} +4 -4
- package/dist/chunks/{image-gvkmt430.js → location-service-map-h7ygw6q4.js} +5 -5
- package/dist/chunks/{image-4qh8ec8f.js → location-service-map-hbtnxrex.js} +4 -4
- package/dist/chunks/{image-t1fh5c1n.js → location-service-map-henk663z.js} +6 -6
- package/dist/chunks/{image-bva47t1w.js → location-service-map-hhn9sqhg.js} +7 -7
- package/dist/chunks/{image-eeh91h1y.js → location-service-map-hmjjxanq.js} +16 -16
- package/dist/chunks/{image-7jm5jzq7.js → location-service-map-hsj2h3cb.js} +16 -16
- package/dist/chunks/{image-jq1p61tn.js → location-service-map-ht6c2863.js} +12 -12
- package/dist/chunks/{image-cs2qrq3p.js → location-service-map-hz4565jb.js} +2 -2
- package/dist/chunks/{image-54tjnctb.js → location-service-map-hzmtefn0.js} +11 -11
- package/dist/chunks/{image-fjvydvzm.js → location-service-map-j5208yae.js} +4 -4
- package/dist/chunks/{image-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{image-hswahs1s.js → location-service-map-jgnxw11k.js} +10 -10
- package/dist/chunks/location-service-map-jgy3c5f9.js +472 -0
- package/dist/chunks/{image-kbnc93aj.js → location-service-map-jst8vt3d.js} +5 -5
- package/dist/chunks/{image-9h41vc4j.js → location-service-map-jva4mgym.js} +4 -4
- package/dist/chunks/{image-pe73xtx4.js → location-service-map-jxgp7g53.js} +1 -1
- package/dist/chunks/{image-6q87w041.js → location-service-map-k6y8t4k1.js} +52 -52
- package/dist/chunks/{image-n17g706s.js → location-service-map-kaq1kxkp.js} +1 -1
- package/dist/chunks/{image-j5rjq302.js → location-service-map-kd9s22ns.js} +6 -6
- package/dist/chunks/{image-s1nnrw4q.js → location-service-map-kmzmb758.js} +6 -6
- package/dist/chunks/{image-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-ghtm10aa.js → location-service-map-mbnh2t2h.js} +6 -6
- package/dist/chunks/{image-y18b782a.js → location-service-map-md8mx0w8.js} +17 -17
- package/dist/chunks/{image-xc5tp58y.js → location-service-map-mr09x0kn.js} +32 -32
- package/dist/chunks/{image-mqx0de4k.js → location-service-map-n16mkrvf.js} +8 -8
- package/dist/chunks/{image-bxtjsyk9.js → location-service-map-n4geea0h.js} +13 -13
- package/dist/chunks/{image-cefmkny3.js → location-service-map-n77bm98b.js} +46 -46
- package/dist/chunks/{image-pk7fv021.js → location-service-map-nf9hvehr.js} +5 -5
- package/dist/chunks/{image-vzvpgcjq.js → location-service-map-nhf4zmre.js} +10 -10
- package/dist/chunks/{image-ey7m5wa6.js → location-service-map-nqqf9675.js} +13 -13
- package/dist/chunks/{image-7hqs4pm0.js → location-service-map-nxmk8ws5.js} +43 -43
- package/dist/chunks/{image-8dhatp37.js → location-service-map-p0a47g0h.js} +4 -4
- package/dist/chunks/{image-g36gcegr.js → location-service-map-phew4xhx.js} +1 -1
- package/dist/chunks/{image-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{image-n03aapsh.js → location-service-map-pqsm2j1s.js} +51 -51
- package/dist/chunks/{image-w94394wb.js → location-service-map-pw9ddc5h.js} +24 -24
- package/dist/chunks/{image-rwmg7s8f.js → location-service-map-px76j0pk.js} +9 -9
- package/dist/chunks/{image-ygkn4pcb.js → location-service-map-q32k0fs9.js} +1 -1
- package/dist/chunks/{image-h79m35fy.js → location-service-map-qbgx7nv3.js} +28 -28
- package/dist/chunks/{image-r60qs0tf.js → location-service-map-qeqdnheg.js} +20 -20
- package/dist/chunks/{image-ebah8r6x.js → location-service-map-qfzde7bh.js} +6 -6
- package/dist/chunks/{image-hnbzzefg.js → location-service-map-qhxjjwxg.js} +23 -23
- package/dist/chunks/{image-1zqsf2j9.js → location-service-map-qm7jrdpz.js} +5 -5
- package/dist/chunks/{image-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{image-vs59tkqa.js → location-service-map-r0t15azg.js} +8 -8
- package/dist/chunks/{image-fvanntqq.js → location-service-map-r33ff4dw.js} +4 -4
- package/dist/chunks/{image-h6r3nrb9.js → location-service-map-r55vasa2.js} +4 -4
- package/dist/chunks/{image-1bbkgx8g.js → location-service-map-r5x6zcsm.js} +3 -3
- package/dist/chunks/{image-whzj9w6d.js → location-service-map-r7mtf7va.js} +13 -13
- package/dist/chunks/{image-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{image-ggv97vhn.js → location-service-map-rcax84ya.js} +4 -4
- package/dist/chunks/{image-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-p44d8wdy.js → location-service-map-s8zy8myc.js} +5 -5
- package/dist/chunks/{image-qbjqdxea.js → location-service-map-scjvjzrv.js} +32 -32
- package/dist/chunks/{image-ydv41jj4.js → location-service-map-sfmx7ja1.js} +9 -9
- package/dist/chunks/{image-s7yhcq7p.js → location-service-map-sktczvrt.js} +14 -14
- package/dist/chunks/{image-qmh473g3.js → location-service-map-sp86gy6a.js} +26 -26
- package/dist/chunks/{image-prq0wc4d.js → location-service-map-t67987gv.js} +27 -27
- package/dist/chunks/{image-49q20pp7.js → location-service-map-t7183y40.js} +21 -21
- package/dist/chunks/{image-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{image-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/location-service-map-v76s5b0s.js +251 -0
- package/dist/chunks/{image-10fqs124.js → location-service-map-v7hep15h.js} +20 -20
- package/dist/chunks/{image-wde5h6bz.js → location-service-map-vav2c2cr.js} +28 -28
- package/dist/chunks/{image-yzvrqxqx.js → location-service-map-vb997v53.js} +29 -29
- package/dist/chunks/{image-pmr4s4kc.js → location-service-map-ve4pfa0n.js} +4 -4
- package/dist/chunks/{image-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{image-bjsxm6fs.js → location-service-map-vwc7evev.js} +17 -17
- package/dist/chunks/{image-dh6wvp2k.js → location-service-map-vx3t9wvk.js} +11 -11
- package/dist/chunks/{image-tb6c5549.js → location-service-map-vywfytpn.js} +25 -25
- package/dist/chunks/{image-8r48jvq9.js → location-service-map-vyz1nvqm.js} +11 -11
- package/dist/chunks/{image-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-cpce81tk.js → location-service-map-w2kh4c12.js} +15 -15
- package/dist/chunks/{image-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-yjptyezs.js → location-service-map-wbkyxrgf.js} +5 -5
- package/dist/chunks/{image-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{image-aj6515bh.js → location-service-map-wj2f1e6q.js} +42 -42
- package/dist/chunks/{image-87wkjvtv.js → location-service-map-wjhm61d9.js} +19 -19
- package/dist/chunks/{image-5k2nshkd.js → location-service-map-wr994sqv.js} +11 -11
- package/dist/chunks/{image-41kev6en.js → location-service-map-ws4etjf1.js} +5 -5
- package/dist/chunks/{image-axyt463m.js → location-service-map-wzgf8172.js} +22 -22
- package/dist/chunks/{image-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-v6vfg88f.js → location-service-map-x62a4d48.js} +11 -11
- package/dist/chunks/location-service-map-x7bazcqt.js +26 -0
- package/dist/chunks/{image-k1m65rvn.js → location-service-map-x9m2j9ps.js} +5 -5
- package/dist/chunks/{image-4w2yzhqg.js → location-service-map-xafs9hxs.js} +6 -6
- package/dist/chunks/{image-6npptpe2.js → location-service-map-xap1vr3y.js} +10 -10
- package/dist/chunks/{image-bpr49tj0.js → location-service-map-xehevt9d.js} +8 -8
- package/dist/chunks/{image-t7vkg8np.js → location-service-map-xgn7tabx.js} +26 -26
- package/dist/chunks/{image-2c0ya96f.js → location-service-map-xhh1n5fz.js} +8 -8
- package/dist/chunks/{image-y56ehv6b.js → location-service-map-xhmq8qgk.js} +5 -5
- package/dist/chunks/{image-7s78zkxc.js → location-service-map-xp03h3xb.js} +17 -17
- package/dist/chunks/{image-zrpcnpdy.js → location-service-map-xpzqjy6f.js} +35 -35
- package/dist/chunks/{image-7sny0gx5.js → location-service-map-xt3w6yk5.js} +27 -27
- package/dist/chunks/{image-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{image-hnakerc1.js → location-service-map-ybxvfqcx.js} +7 -7
- package/dist/chunks/{image-y8bs7pn1.js → location-service-map-yfxwqvqs.js} +25 -25
- package/dist/chunks/{image-61s2mknn.js → location-service-map-ykf3ptpw.js} +31 -31
- package/dist/chunks/{image-4a27vn7r.js → location-service-map-ypg67s3v.js} +20 -20
- package/dist/chunks/{image-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{image-fsqzyqf7.js → location-service-map-yv948d01.js} +19 -19
- package/dist/chunks/{image-f2gth83d.js → location-service-map-yx2y7hvv.js} +9 -9
- package/dist/chunks/{image-yngbnjdn.js → location-service-map-z0064rbb.js} +16 -16
- package/dist/chunks/{image-g7q9pgkk.js → location-service-map-z0a4xc00.js} +6 -6
- package/dist/chunks/{image-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-h5jfkxsw.js → location-service-map-z27700qy.js} +18 -18
- package/dist/chunks/{image-a3r4dcrj.js → location-service-map-z2mtc428.js} +2 -2
- package/dist/chunks/{image-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{image-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-f5crtqgd.js → location-service-map-zf7grqb8.js} +181 -181
- package/dist/chunks/{image-ktwkz8s9.js → location-service-map-zfnp7b6b.js} +19 -19
- package/dist/chunks/{image-3685kgv2.js → location-service-map-zqyzccv6.js} +11 -11
- package/dist/chunks/{image-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-hfn6h9h0.js → location-service-map-zr7h07xm.js} +23 -23
- package/dist/chunks/{image-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +101 -101
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- 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 +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- 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 +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +125 -125
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/image-7gmd6s9f.js +0 -472
- package/dist/chunks/image-ae2tejpt.js +0 -251
- package/dist/chunks/image-kjz2ypmt.js +0 -26
- package/dist/chunks/image-qapv375x.js +0 -4
- package/dist/chunks/image-rap9a73h.js +0 -18
- /package/dist/chunks/{image-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{image-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./location-service-map-62va5rb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./location-service-map-375f5jdk.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-75fve0te.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service64
|
|
24
|
+
} from "./location-service-map-8drea2pm.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service20
|
|
27
|
+
} from "./location-service-map-z27700qy.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin31,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin31 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service59;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service73;
|
|
72
|
+
const access = yield* Service20;
|
|
73
|
+
const permission = yield* Service64;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin5 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin31, exports_glob };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-service-map-87n3nhds.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-ws4etjf1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node78
|
|
12
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service55,
|
|
18
|
+
node59
|
|
19
|
+
} from "./location-service-map-cxbs0x8p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./location-service-map-wzgf8172.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service7,
|
|
25
25
|
node10
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-9ff31bqh.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service73;
|
|
47
|
+
const watcher = yield* Service55;
|
|
48
|
+
const bus = yield* Service76;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node59, FSUtil.node, node78, node84, node81, node24, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service60,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node64,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service60 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service60.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node64 = configured10();
|
|
213
213
|
|
|
214
|
-
export { Options10,
|
|
214
|
+
export { Options10, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured10, node64, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-service-map-wj2f1e6q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-service-map-px76j0pk.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
|
+
const image = yield* Service51;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin41 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin10, exports_image };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-h6nte9nw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./location-service-map-wj2f1e6q.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-kd9s22ns.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service54;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID7.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
20
|
make: () => make14,
|
|
21
|
-
render: () =>
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,20 +111,20 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
116
|
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make20({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render3,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make14, exports_instructions5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service53,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node57
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service53 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service53, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service53.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node57 = makeGlobalNode({ service: Service53, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service53, node57, exports_environment };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-dx23rp9b.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-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: () => Plugin33,
|
|
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 Plugin33 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service73;
|
|
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 { Plugin33, exports_hg };
|