@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node78
|
|
4
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service32
|
|
7
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service48,
|
|
10
|
+
node52
|
|
11
|
+
} from "./location-service-map-dyfjpvav.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node24
|
|
14
|
+
} from "./location-service-map-wzgf8172.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./location-service-map-c464yk7e.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node5
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service73;
|
|
32
|
+
const plugins = yield* Service32;
|
|
33
|
+
const worktrees = yield* Service48;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node52, node78, node24, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node5, exports_refresh };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-7cdr5gb1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service76,
|
|
10
|
+
node81
|
|
11
|
+
} from "./location-service-map-87n3nhds.js";
|
|
12
12
|
import {
|
|
13
13
|
Service79,
|
|
14
14
|
node84
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ws4etjf1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-2fgn2we9.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node79,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
98
|
const git = yield* Service79;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service76;
|
|
101
101
|
const db = (yield* Service81).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID16.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event20.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID16.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID16.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID16.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID16.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service74.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node79 = makeGlobalNode({
|
|
276
|
+
service: Service74,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node81, node86, FSUtil.node, node84, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service74, node79, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-256nx13v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-service-map-87n3nhds.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service63,
|
|
8
|
+
node68
|
|
9
|
+
} from "./location-service-map-bgp3z89z.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-vb997v53.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service58,
|
|
44
|
+
node: () => node62
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
66
|
+
var ID9 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info22 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -88,20 +88,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
91
|
-
integrationID:
|
|
91
|
+
integrationID: ID9,
|
|
92
92
|
attemptID: AttemptID2
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
var Ref3 = Integration.Ref;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service58 extends Context.Service()("@opencode/Integration") {
|
|
98
98
|
}
|
|
99
99
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
100
100
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
101
101
|
var scrubInterval = Duration.seconds(30);
|
|
102
|
-
var layer = Layer.effect(
|
|
103
|
-
const credentials = yield*
|
|
104
|
-
const bus = yield*
|
|
102
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
103
|
+
const credentials = yield* Service63;
|
|
104
|
+
const bus = yield* Service76;
|
|
105
105
|
const processes = yield* AppProcess.Service;
|
|
106
106
|
const scope = yield* Scope.Scope;
|
|
107
107
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
194
194
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
195
195
|
return [...credentials, ...env];
|
|
196
196
|
};
|
|
197
|
-
const project = (entry, connections) =>
|
|
197
|
+
const project = (entry, connections) => Info22.make({
|
|
198
198
|
id: entry.ref.id,
|
|
199
199
|
name: entry.ref.name,
|
|
200
200
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -278,7 +278,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
278
278
|
const persistence = yield* createCredential({
|
|
279
279
|
integrationID: attempt.integrationID,
|
|
280
280
|
label: attempt.label,
|
|
281
|
-
value:
|
|
281
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
282
282
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
283
283
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
284
284
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
424
424
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
425
425
|
return CommandAttempt2.make({ attemptID, time });
|
|
426
426
|
});
|
|
427
|
-
return
|
|
427
|
+
return Service58.of({
|
|
428
428
|
transform: state.transform,
|
|
429
429
|
reload: state.reload,
|
|
430
430
|
revision: state.revision,
|
|
@@ -446,7 +446,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
446
446
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
447
447
|
if (connection.type === "env") {
|
|
448
448
|
const key = process.env[connection.name];
|
|
449
|
-
return key ?
|
|
449
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
450
450
|
}
|
|
451
451
|
const credential = yield* credentials.get(connection.id);
|
|
452
452
|
if (!credential)
|
|
@@ -479,7 +479,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
479
479
|
yield* createCredential({
|
|
480
480
|
integrationID: input.integrationID,
|
|
481
481
|
label: input.label,
|
|
482
|
-
value:
|
|
482
|
+
value: Key3.make({
|
|
483
483
|
type: "key",
|
|
484
484
|
key: input.key,
|
|
485
485
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -573,10 +573,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
}));
|
|
576
|
-
var
|
|
577
|
-
service:
|
|
576
|
+
var node62 = makeLocationNode({
|
|
577
|
+
service: Service58,
|
|
578
578
|
layer,
|
|
579
|
-
deps: [
|
|
579
|
+
deps: [node68, node81, AppProcess.node]
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
export {
|
|
582
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service58, node62, exports_integration, Event14 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./location-service-map-qfzde7bh.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-f35htakt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./location-service-map-qbgx7nv3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|