@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-service-map-2kmeykc3.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-256nx13v.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service77,
|
|
23
|
+
make: () => make21,
|
|
24
|
+
node: () => node82
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service77 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make21 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service80;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make20 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service77.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make20 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service77, make21);
|
|
323
|
+
var node82 = makeGlobalNode({ service: Service77, layer, deps: [node85] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service77, make21, node82, exports_job };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-service-map-87n3nhds.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service63,
|
|
11
|
+
node68
|
|
12
|
+
} from "./location-service-map-bgp3z89z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service73,
|
|
15
|
+
node78
|
|
16
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node63
|
|
20
|
+
} from "./location-service-map-62va5rb3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./location-service-map-vb997v53.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service58,
|
|
34
|
+
node62
|
|
35
|
+
} from "./location-service-map-f389d7gj.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node38
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options4 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
106
|
-
const bus = yield*
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
103
|
+
var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service73;
|
|
105
|
+
const environment = yield* Service59;
|
|
106
|
+
const bus = yield* Service76;
|
|
107
|
+
const forms = yield* Service61;
|
|
108
|
+
const integration = yield* Service58;
|
|
109
|
+
const credentials = yield* Service63;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID9.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service63, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError4({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service63, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID10.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service34.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured4(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service34,
|
|
514
|
+
layer: layer14(options),
|
|
515
|
+
deps: [node78, node63, node81, node65, node62, node68]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node38 = configured4();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer14, configured4, node38, exports_mcp4 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node63
|
|
9
|
+
} from "./location-service-map-62va5rb3.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service59;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service18, layer, deps: [node63, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info10
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info10 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info10, exports_attachment };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node63
|
|
7
|
+
} from "./location-service-map-62va5rb3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service13, layer, deps: [node63] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node81
|
|
5
|
+
} from "./location-service-map-87n3nhds.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
30
|
+
Service: () => Service42,
|
|
31
|
+
configured: () => configured5,
|
|
32
32
|
layer: () => layer17,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,8 +41,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,10 +50,10 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer17 = (options) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service76;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service42.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service42,
|
|
110
110
|
layer: layer17(options),
|
|
111
|
-
deps: [
|
|
111
|
+
deps: [node81]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options5, Service42, layer17, configured5, node45, exports_instruction_discovery };
|