@opencode/core 0.0.0-dev-19540 → 0.0.0-dev-19542
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{tool-xk01n904.js → location-036f132z.js} +8 -8
- package/dist/chunks/{tool-m7ah9b01.js → location-03acwmsz.js} +22 -22
- package/dist/chunks/{tool-0996nyz8.js → location-0996nyz8.js} +2 -2
- package/dist/chunks/{tool-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-9me22cbr.js → location-0ppqyhex.js} +32 -32
- package/dist/chunks/{tool-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-jvhnejfk.js → location-0q29pjbf.js} +20 -20
- package/dist/chunks/{tool-5wj1bc2b.js → location-0qbfsv0x.js} +2 -2
- package/dist/chunks/{tool-8wagbt41.js → location-0yq4avys.js} +24 -24
- package/dist/chunks/{tool-20m8myk3.js → location-0zwqsx91.js} +11 -11
- package/dist/chunks/{tool-ctgxkhvw.js → location-10c34jta.js} +28 -28
- package/dist/chunks/{tool-kac23fkg.js → location-1254qmjv.js} +1 -1
- package/dist/chunks/{tool-1acjjqhc.js → location-1acjjqhc.js} +1 -1
- package/dist/chunks/{tool-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-ycsy29mf.js → location-1g8myb90.js} +19 -19
- package/dist/chunks/{tool-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{tool-msq0jde0.js → location-22m95qs7.js} +4 -4
- package/dist/chunks/{tool-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-n02csdyp.js → location-26axh7t1.js} +15 -15
- package/dist/chunks/{tool-8cdvd9z3.js → location-27yn085b.js} +15 -15
- package/dist/chunks/{tool-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{tool-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-0r9sq1ay.js → location-2d362z0y.js} +8 -8
- package/dist/chunks/{tool-k6yq57aq.js → location-2f04pwep.js} +3 -3
- package/dist/chunks/{tool-2v3pb6qd.js → location-2grzxxc1.js} +16 -16
- package/dist/chunks/{tool-zv5xthkc.js → location-2j4tqp5k.js} +11 -11
- package/dist/chunks/{tool-gq3a5xex.js → location-2jwyrfxf.js} +35 -35
- package/dist/chunks/{tool-0jwsre1p.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{tool-5zhzefj3.js → location-2sv037bd.js} +15 -15
- package/dist/chunks/{tool-zzd04jwc.js → location-31f4jhva.js} +30 -30
- package/dist/chunks/{tool-b8wa1ckd.js → location-34ytdzas.js} +1 -1
- package/dist/chunks/{tool-bmwvampg.js → location-39jybg81.js} +28 -28
- package/dist/chunks/{tool-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-8mxe8k4b.js → location-3nbdta8h.js} +11 -11
- package/dist/chunks/{tool-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-ngwpnmm2.js → location-3tz10jhh.js} +4 -4
- package/dist/chunks/{tool-k641sm4f.js → location-3v8068pd.js} +16 -16
- package/dist/chunks/{tool-a4s526ga.js → location-3ypnsrhw.js} +24 -24
- package/dist/chunks/{tool-1c8etqjp.js → location-42avcs9s.js} +7 -7
- package/dist/chunks/{tool-9h7qzzke.js → location-44ywkmmm.js} +27 -27
- package/dist/chunks/{tool-xgfrx0dg.js → location-473b71hx.js} +18 -18
- package/dist/chunks/{tool-ppbs3dgs.js → location-4b5x0nt9.js} +21 -21
- package/dist/chunks/{tool-j27yjeep.js → location-4jzrjc6m.js} +29 -29
- package/dist/chunks/{tool-q8445bg1.js → location-58ww9q9a.js} +27 -27
- package/dist/chunks/{tool-g77pfeh0.js → location-5cfbqtfg.js} +15 -15
- package/dist/chunks/{tool-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-pq99gyy2.js → location-5rfw13p6.js} +9 -9
- package/dist/chunks/{tool-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-6ba819az.js → location-5tyr9vxf.js} +29 -29
- package/dist/chunks/{tool-7690wq37.js → location-626qb2eb.js} +9 -9
- package/dist/chunks/{tool-rcmaerg2.js → location-636t8bd4.js} +15 -15
- package/dist/chunks/{tool-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{tool-fvgvh3wz.js → location-6mdnwp5h.js} +9 -9
- package/dist/chunks/{tool-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-2z7ees0g.js → location-6s42ra37.js} +2 -2
- package/dist/chunks/{tool-69xwbkdg.js → location-6sv4j6tb.js} +32 -32
- package/dist/chunks/{tool-kjne0gnr.js → location-6yjygpg1.js} +13 -13
- package/dist/chunks/{tool-kdv4badm.js → location-6zqq4ek8.js} +3 -3
- package/dist/chunks/{tool-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-sbshw81j.js → location-74t9ss8a.js} +31 -31
- package/dist/chunks/{tool-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-9h41vc4j.js → location-7j92jdde.js} +4 -4
- package/dist/chunks/{tool-khcc2y7p.js → location-7kds0srq.js} +14 -14
- package/dist/chunks/{tool-s7cmhz1c.js → location-7kx4sdq3.js} +43 -43
- package/dist/chunks/{tool-a694798e.js → location-7r0r50e5.js} +5 -5
- package/dist/chunks/{tool-bnxh6nf1.js → location-7y7r0vgy.js} +25 -25
- package/dist/chunks/{tool-1jqgrzzt.js → location-8033czsa.js} +8 -8
- package/dist/chunks/{tool-4frkg54w.js → location-81swgkk7.js} +9 -9
- package/dist/chunks/{tool-3se9mp31.js → location-83tr1t7h.js} +29 -29
- package/dist/chunks/{tool-m86bnw2c.js → location-84zt2byv.js} +9 -9
- package/dist/chunks/{tool-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-2vnwx32a.js → location-8sghyhzw.js} +8 -8
- package/dist/chunks/{tool-52fpbh6z.js → location-8t1wrec1.js} +8 -8
- package/dist/chunks/{tool-ee4a09y5.js → location-9328fxv7.js} +5 -5
- package/dist/chunks/{tool-gf3w8mcy.js → location-95a4nxen.js} +12 -12
- package/dist/chunks/{tool-fgg2p6ky.js → location-9704n2mm.js} +11 -11
- package/dist/chunks/{tool-khyy3z7c.js → location-9ctdz51b.js} +34 -34
- package/dist/chunks/{tool-kaypvkzz.js → location-9drm9vkg.js} +20 -20
- package/dist/chunks/location-9sh4wc5j.js +18 -0
- package/dist/chunks/{tool-ankkda91.js → location-9vj7yqvm.js} +9 -9
- package/dist/chunks/{tool-r7x1my69.js → location-9yh90y22.js} +3 -3
- package/dist/chunks/{tool-xwzeg4yz.js → location-a0w9kdt2.js} +20 -20
- package/dist/chunks/{tool-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-w8dhyk9b.js → location-a6mya1gb.js} +11 -11
- package/dist/chunks/{tool-24dbyy2c.js → location-a6x2cpah.js} +10 -10
- package/dist/chunks/{tool-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-zmjtvdmj.js → location-adcdh9yc.js} +12 -12
- package/dist/chunks/{tool-v5dkyp31.js → location-at5d07az.js} +4 -4
- package/dist/chunks/{tool-aedkfdwe.js → location-ay697b8v.js} +16 -16
- package/dist/chunks/{tool-8s0z9n45.js → location-b0tjgqrn.js} +5 -5
- package/dist/chunks/{tool-k581jmxz.js → location-b2hm862w.js} +18 -18
- package/dist/chunks/{tool-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-n89ph4ha.js → location-b792c96b.js} +9 -9
- package/dist/chunks/{tool-enccs5rm.js → location-baf2ph3h.js} +32 -32
- package/dist/chunks/{tool-m7xke3eb.js → location-bdkgw8cf.js} +21 -21
- package/dist/chunks/{tool-kmqmddk0.js → location-bf5a3t6s.js} +29 -29
- package/dist/chunks/{tool-64mbz47k.js → location-brj2edwx.js} +6 -6
- package/dist/chunks/{tool-nv6sgpkb.js → location-bwc1950q.js} +9 -9
- package/dist/chunks/{tool-jmk5eqxp.js → location-c3xvfvd3.js} +17 -17
- package/dist/chunks/{tool-m8vzpnra.js → location-c5db1mkp.js} +24 -24
- package/dist/chunks/{tool-gg4bq2q4.js → location-c92dvjnv.js} +14 -14
- package/dist/chunks/{tool-0bqxz2km.js → location-cds4nqjn.js} +30 -30
- package/dist/chunks/{tool-bdqrk2vk.js → location-cf3tj770.js} +4 -4
- package/dist/chunks/{tool-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-bajakh74.js → location-cq37gk0t.js} +4 -4
- package/dist/chunks/{tool-s2hm79cz.js → location-cssnqykq.js} +11 -11
- package/dist/chunks/{tool-j2wbkj1x.js → location-cwspyxgg.js} +48 -48
- package/dist/chunks/{tool-hn57h045.js → location-ddt2bs9e.js} +4 -4
- package/dist/chunks/{tool-smznf5zv.js → location-dfj554pg.js} +9 -9
- package/dist/chunks/{tool-rfsjamy2.js → location-dfqckxk5.js} +28 -28
- package/dist/chunks/{tool-jb2vcz8q.js → location-dhdv1zj0.js} +58 -58
- package/dist/chunks/{tool-9swcrqvc.js → location-dny4bs9e.js} +18 -18
- package/dist/chunks/{tool-1pwvfv87.js → location-drhnesrb.js} +11 -11
- package/dist/chunks/{tool-q26tgv94.js → location-dv1qgsyq.js} +8 -8
- package/dist/chunks/{tool-e5nv3ght.js → location-e5nv3ght.js} +2 -2
- package/dist/chunks/{tool-pnbgbrcy.js → location-e65zwyc2.js} +32 -32
- package/dist/chunks/{tool-k2vvnb2e.js → location-e8t23edk.js} +27 -27
- package/dist/chunks/{tool-1r6pjnw8.js → location-e9f6ng75.js} +13 -13
- package/dist/chunks/{tool-wwmkx8c8.js → location-ectx44z1.js} +26 -26
- package/dist/chunks/{tool-4rgwgr9n.js → location-edh9f0mz.js} +4 -4
- package/dist/chunks/{tool-6karmr7k.js → location-ef5ff6ft.js} +6 -6
- package/dist/chunks/{tool-70wdtdtz.js → location-efjfkye6.js} +67 -67
- package/dist/chunks/location-ejaypkp5.js +247 -0
- package/dist/chunks/{tool-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-tgyrx776.js → location-ewjdxm92.js} +17 -17
- package/dist/chunks/{tool-ypcyj4th.js → location-f5vwma0d.js} +18 -18
- package/dist/chunks/{tool-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{tool-2cv6r8s0.js → location-fcgej241.js} +38 -38
- package/dist/chunks/{tool-m21k6hwm.js → location-fj365ecp.js} +16 -16
- package/dist/chunks/{tool-19w2tstg.js → location-fp1g0m9s.js} +28 -28
- package/dist/chunks/{tool-4cbqng7e.js → location-frjn3nfh.js} +11 -11
- package/dist/chunks/{tool-dmpv135r.js → location-frqj80pv.js} +47 -47
- package/dist/chunks/{tool-mbeywexs.js → location-fs6bp36w.js} +2 -2
- package/dist/chunks/{tool-k9yfmsvc.js → location-ftzfwxz1.js} +17 -17
- package/dist/chunks/{tool-e6hmchc5.js → location-fvsyg6qk.js} +5 -5
- package/dist/chunks/{tool-qcprappc.js → location-fw6yfypp.js} +12 -12
- package/dist/chunks/{tool-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-cf4qthmf.js → location-fyveyagd.js} +24 -24
- package/dist/chunks/{tool-8rqvsz38.js → location-g2rnahzd.js} +7 -7
- package/dist/chunks/{tool-kxqpg2a3.js → location-g4wtk1yg.js} +6 -6
- package/dist/chunks/{tool-60cvmy65.js → location-g500fjm7.js} +1 -1
- package/dist/chunks/{tool-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-aax1h56x.js → location-gy4p1xkh.js} +1 -1
- package/dist/chunks/{tool-rdsy4w4t.js → location-gyrm231q.js} +29 -29
- package/dist/chunks/{tool-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-9eeg3wcp.js → location-h17a27cz.js} +51 -51
- package/dist/chunks/{tool-phptn4kh.js → location-h6hxmqda.js} +4 -4
- package/dist/chunks/{tool-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-8cwk6cmw.js → location-h9cxr4wq.js} +9 -9
- package/dist/chunks/{tool-nb6x7g5x.js → location-hj07p436.js} +4 -4
- package/dist/chunks/{tool-hjt4xg1x.js → location-hjt4xg1x.js} +1 -1
- package/dist/chunks/{tool-c74bb4fg.js → location-htaz91yz.js} +305 -305
- package/dist/chunks/{tool-5m0afy4r.js → location-hwg0j0eb.js} +5 -5
- package/dist/chunks/location-hxa7m5za.js +4 -0
- package/dist/chunks/{tool-nwa6tt5d.js → location-hy1g3bgf.js} +1 -1
- package/dist/chunks/{tool-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-fp7xghy5.js → location-j6yasvxk.js} +13 -13
- package/dist/chunks/{tool-q0x9hp0x.js → location-j83x2c5c.js} +32 -32
- package/dist/chunks/{tool-paphc93g.js → location-j935v87r.js} +2 -2
- package/dist/chunks/{tool-tjhqx05s.js → location-jhc25b2t.js} +29 -29
- package/dist/chunks/{tool-hq9kk1eh.js → location-jjrmtxp8.js} +5 -5
- package/dist/chunks/{tool-2fvqh1y6.js → location-jtptkwgj.js} +23 -23
- package/dist/chunks/{tool-wadft2hn.js → location-jwbn61yk.js} +20 -20
- package/dist/chunks/{tool-at81ej1z.js → location-jwjj6wv5.js} +6 -6
- package/dist/chunks/{tool-9tmrnrc3.js → location-jyn989r3.js} +23 -23
- package/dist/chunks/{tool-f9m0bqsz.js → location-jyrggvz0.js} +20 -20
- package/dist/chunks/{tool-k7hfcg7n.js → location-k0j25v2x.js} +23 -23
- package/dist/chunks/{tool-c8ftv886.js → location-k1abzt0p.js} +5 -5
- package/dist/chunks/{tool-8557jav9.js → location-k33a3tse.js} +82 -82
- package/dist/chunks/{tool-5vgkaf0c.js → location-k5dbpnja.js} +13 -13
- package/dist/chunks/{tool-y1rf3ngb.js → location-k6y5pwvv.js} +16 -16
- package/dist/chunks/{tool-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-62139ecc.js → location-kmjjtydn.js} +7 -7
- package/dist/chunks/{tool-6qqxn8pv.js → location-kr0z5b0n.js} +15 -15
- package/dist/chunks/{tool-11021cf3.js → location-m2ey3cvd.js} +3 -3
- package/dist/chunks/{tool-r5vpk0b1.js → location-m72athct.js} +4 -4
- package/dist/chunks/{tool-0nbbv2dg.js → location-m945b776.js} +93 -93
- package/dist/chunks/{tool-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-33w4ejhs.js → location-mfqp6xfm.js} +9 -9
- package/dist/chunks/{tool-4fxa00ze.js → location-mh9s5q0j.js} +3 -3
- package/dist/chunks/{tool-qnhx320f.js → location-mj6ph3es.js} +9 -9
- package/dist/chunks/{tool-ead3g9p8.js → location-mtft99cd.js} +5 -5
- package/dist/chunks/{tool-w6zk8pbt.js → location-mvfdckk2.js} +8 -8
- package/dist/chunks/{tool-eq1pz5kg.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-q6hf9b7c.js → location-mynqm169.js} +22 -22
- package/dist/chunks/{tool-bfc0h0ah.js → location-njr1pezb.js} +4 -4
- package/dist/chunks/{tool-wrzcwb32.js → location-nspnzx2r.js} +13 -13
- package/dist/chunks/location-pec0e592.js +26 -0
- package/dist/chunks/{tool-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{tool-5cmqm0ev.js → location-psg6n3xm.js} +6 -6
- package/dist/chunks/{tool-8vsxpez5.js → location-ptrn6wv1.js} +37 -37
- package/dist/chunks/{tool-zxqp5j27.js → location-q0q850wj.js} +32 -32
- package/dist/chunks/{tool-2syw43ez.js → location-q1a7cndp.js} +9 -9
- package/dist/chunks/{tool-brahnmae.js → location-q1c2np19.js} +13 -13
- package/dist/chunks/{tool-1fjf9qgp.js → location-q6v9m3mm.js} +13 -13
- package/dist/chunks/{tool-k2dherqe.js → location-q99ra9zv.js} +1 -1
- package/dist/chunks/{tool-zvsxz435.js → location-qa7bh0h2.js} +13 -13
- package/dist/chunks/{tool-n9z12nhw.js → location-qfb9szcf.js} +5 -5
- package/dist/chunks/{tool-8twyvpe7.js → location-qgq93atd.js} +44 -44
- package/dist/chunks/{tool-kgwhbhza.js → location-qqj7ja7g.js} +16 -16
- package/dist/chunks/{tool-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-rms87t6p.js → location-qska36k1.js} +18 -18
- package/dist/chunks/{tool-fvanntqq.js → location-qz49fwgp.js} +4 -4
- package/dist/chunks/{tool-xvr1tfrz.js → location-qzrw3svz.js} +15 -15
- package/dist/chunks/{tool-7m06xexa.js → location-r0056zdr.js} +10 -10
- package/dist/chunks/{tool-bct739vz.js → location-r98e92ep.js} +4 -4
- package/dist/chunks/{tool-ekx6gx0x.js → location-r99cxfj6.js} +11 -11
- package/dist/chunks/{tool-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{tool-t550f9t1.js → location-rhjbct0v.js} +4 -4
- package/dist/chunks/{tool-ad6yvafe.js → location-rjg803xe.js} +17 -17
- package/dist/chunks/{tool-pwh8btyp.js → location-rkmq0ftz.js} +11 -11
- package/dist/chunks/{tool-c3nr3a1t.js → location-rpby09da.js} +29 -29
- package/dist/chunks/{tool-02zskd6f.js → location-rrbca1ec.js} +4 -4
- package/dist/chunks/{tool-h7pjjeb1.js → location-rsb1fe67.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{tool-wqc6684y.js → location-s8610hey.js} +2 -2
- package/dist/chunks/{tool-dssyvqwy.js → location-sdd99z8d.js} +31 -31
- package/dist/chunks/{tool-0299gjg5.js → location-st7z8rqw.js} +20 -20
- package/dist/chunks/{tool-hrvd6t1f.js → location-t0x5rdq8.js} +9 -9
- package/dist/chunks/{tool-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{tool-2vs9fmj2.js → location-tes6d6n3.js} +14 -14
- package/dist/chunks/{tool-hz62r41k.js → location-th0vq4rj.js} +46 -46
- package/dist/chunks/{tool-71b76pde.js → location-thhdn3hd.js} +12 -12
- package/dist/chunks/{tool-hrj7pjr8.js → location-tj0j24wc.js} +5 -5
- package/dist/chunks/{tool-3w2b2yj4.js → location-tn0aqsam.js} +5 -5
- package/dist/chunks/{tool-r6w0w95m.js → location-tq3dmmmr.js} +25 -25
- package/dist/chunks/{tool-439n1kaq.js → location-trn0ebkj.js} +2 -2
- package/dist/chunks/{tool-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-tx9qvpbt.js → location-tx9qvpbt.js} +2 -2
- package/dist/chunks/{tool-zq6fa2xa.js → location-txp8aktn.js} +6 -6
- package/dist/chunks/{tool-wp4wkpxj.js → location-v3bsw2k3.js} +19 -19
- package/dist/chunks/{tool-e036a9pm.js → location-v860pzrr.js} +28 -28
- package/dist/chunks/{tool-hz30zgkd.js → location-v9dgs7p6.js} +9 -9
- package/dist/chunks/{tool-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-qvkbe7wj.js → location-vk804zsa.js} +22 -22
- package/dist/chunks/{tool-jw80jp6b.js → location-vsp1fds9.js} +21 -21
- package/dist/chunks/{tool-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-6jjd6916.js → location-w0pcakp2.js} +11 -11
- package/dist/chunks/{tool-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-0veevydg.js → location-w6s34xcg.js} +28 -28
- package/dist/chunks/{tool-rmbepvtv.js → location-w8cnm1fe.js} +17 -17
- package/dist/chunks/{tool-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{tool-9j2xpqw0.js → location-wkgt00bf.js} +30 -30
- package/dist/chunks/{tool-1qmbqjyv.js → location-wty8bgxf.js} +30 -30
- package/dist/chunks/{tool-hav2x4nq.js → location-x0ew26t4.js} +4 -4
- package/dist/chunks/{tool-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-tpgw4r9p.js → location-xcs774s4.js} +12 -12
- package/dist/chunks/{tool-n96v1vx3.js → location-xd121ra7.js} +13 -13
- package/dist/chunks/{tool-awtg3954.js → location-xmzr835j.js} +33 -33
- package/dist/chunks/{tool-gft05b0a.js → location-xs12am9p.js} +8 -8
- package/dist/chunks/{tool-700r65qt.js → location-xsmwh0mh.js} +161 -161
- package/dist/chunks/{tool-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-7pegcs5y.js → location-y5f1wfry.js} +2 -2
- package/dist/chunks/{tool-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{tool-r7h76vv8.js → location-yez2bqh9.js} +9 -9
- package/dist/chunks/{tool-cb1fb07j.js → location-yf0jwjfc.js} +35 -35
- package/dist/chunks/{tool-7j0r01e2.js → location-yh16dntz.js} +59 -59
- package/dist/chunks/{tool-rdqxydgw.js → location-yjcxr39e.js} +16 -16
- package/dist/chunks/{tool-7wcy2j48.js → location-yq2cy4vk.js} +13 -13
- package/dist/chunks/{tool-ba3nnyyx.js → location-yq6wvp1y.js} +8 -8
- package/dist/chunks/{tool-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-g4qfqx3z.js → location-ys02tb6f.js} +26 -26
- package/dist/chunks/{tool-r0trdc9p.js → location-yydrw2qx.js} +5 -5
- package/dist/chunks/{tool-7xmcpp5k.js → location-yyfky2bj.js} +1 -1
- package/dist/chunks/{tool-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-j12s1dt6.js → location-z4zaedpe.js} +11 -11
- package/dist/chunks/{tool-3c1tgrea.js → location-zcqf6png.js} +6 -6
- package/dist/chunks/{tool-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-ds93jj24.js → location-zfcp8yb0.js} +1 -1
- package/dist/chunks/{tool-gs4q6mge.js → location-zgpdpn5c.js} +5 -5
- package/dist/chunks/{tool-20tfp5zs.js → location-zpn9qnw3.js} +4 -4
- package/dist/chunks/{tool-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-w466msxf.js → location-zyhvsr6w.js} +8 -8
- package/dist/chunks/{tool-m70012hk.js → location-zzwwppnv.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- 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 +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- package/dist/git.js +8 -8
- 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 +7 -7
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +3 -3
- 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 +92 -92
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +7 -7
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- 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/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +84 -84
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +6 -6
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/tool-1qd3ycm2.js +0 -26
- package/dist/chunks/tool-7z7rpcgx.js +0 -247
- package/dist/chunks/tool-pf31ssb9.js +0 -18
- package/dist/chunks/tool-qapv375x.js +0 -4
- /package/dist/chunks/{tool-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./location-rpby09da.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-dhdv1zj0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./location-58ww9q9a.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input2,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin34,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name2 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input2 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin34 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service60;
|
|
53
|
+
const forms = yield* Service58;
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name2,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input2,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name2,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name2];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name2, NO_RESULTS2, description2, Input2, Plugin34, exports_websearch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-cssnqykq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin24,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin24 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin17 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin17 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin24, exports_tinyfish };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-rjg803xe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node21
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service17 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service17.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node21 = makeLocationNode({
|
|
91
|
+
service: Service17,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service17, node21, exports_formatter2 };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-njr1pezb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service55,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node59
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service55 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service55.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node59 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service55, locationLayer2, node59, exports_aisdk };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-adcdh9yc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-rjg803xe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID5
|
|
11
|
+
} from "./location-hxa7m5za.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service71,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node76
|
|
16
|
+
} from "./location-3nbdta8h.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event7,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info7,
|
|
31
31
|
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node48
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info7 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID5
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID5
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service44 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service78;
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service71;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID5.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service44.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node48 = makeLocationNode({
|
|
274
|
+
service: Service44,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node83, node80, node76]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info7, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service44, node48, exports_pty, Event7 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-rjg803xe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./location-th0vq4rj.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-qska36k1.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
|
+
const location = yield* Service75;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-1254qmjv.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-m2ey3cvd.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-adcdh9yc.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3nbdta8h.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured7,
|
|
25
|
+
layer: () => layer20,
|
|
26
|
+
node: () => node56
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service52 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service52.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service72, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer20 = makeLayer();
|
|
259
|
+
var configured7 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service52,
|
|
261
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
262
|
+
deps: [node83, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node56 = configured7();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError2, NotFoundError6, Service52, layer20, configured7, node56, exports_persistent_pty, Handoff2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|