@opencode/core 0.0.0-dev-19539 → 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 +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{wellknown-f66vs8vk.js → location-036f132z.js} +6 -6
- package/dist/chunks/{wellknown-n2t4r3gh.js → location-03acwmsz.js} +19 -19
- package/dist/chunks/{wellknown-b8b3f19r.js → location-0996nyz8.js} +9 -9
- package/dist/chunks/{wellknown-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-myy8h7m5.js → location-0ppqyhex.js} +29 -29
- package/dist/chunks/{wellknown-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-8wrg7dkf.js → location-0q29pjbf.js} +23 -23
- package/dist/chunks/{wellknown-9sh3b0bz.js → location-0qbfsv0x.js} +4 -4
- package/dist/chunks/{wellknown-bq71vxtg.js → location-0yq4avys.js} +27 -27
- package/dist/chunks/{wellknown-2erey2nk.js → location-0zwqsx91.js} +11 -11
- package/dist/chunks/{wellknown-07vf46pq.js → location-10c34jta.js} +25 -25
- package/dist/chunks/{wellknown-y6a1dekx.js → location-1254qmjv.js} +1 -1
- package/dist/chunks/{wellknown-r8xr0va3.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-deh05xx4.js → location-1g8myb90.js} +13 -13
- package/dist/chunks/{wellknown-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-paegk39x.js → location-22m95qs7.js} +4 -4
- package/dist/chunks/{wellknown-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{wellknown-307krdjp.js → location-26axh7t1.js} +15 -15
- package/dist/chunks/{wellknown-ec6jknr9.js → location-27yn085b.js} +15 -15
- package/dist/chunks/{wellknown-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{wellknown-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-rq2kkvr3.js → location-2d362z0y.js} +10 -10
- package/dist/chunks/{wellknown-j7wq2tw5.js → location-2f04pwep.js} +3 -3
- package/dist/chunks/{wellknown-y94c40zx.js → location-2grzxxc1.js} +16 -16
- package/dist/chunks/{wellknown-fff7t2h9.js → location-2j4tqp5k.js} +9 -9
- package/dist/chunks/{wellknown-n6c2qfs9.js → location-2jwyrfxf.js} +39 -39
- package/dist/chunks/{wellknown-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{wellknown-arwy73pv.js → location-2sv037bd.js} +15 -15
- package/dist/chunks/{wellknown-65cnjpna.js → location-31f4jhva.js} +30 -30
- package/dist/chunks/{wellknown-a8nah55w.js → location-34ytdzas.js} +1 -1
- package/dist/chunks/{wellknown-dwq8cef9.js → location-39jybg81.js} +32 -32
- package/dist/chunks/{wellknown-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-vkyg9h5q.js → location-3nbdta8h.js} +22 -22
- package/dist/chunks/{wellknown-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-zr6mpnsb.js → location-3tz10jhh.js} +6 -6
- package/dist/chunks/{wellknown-sz6k00j1.js → location-3v8068pd.js} +16 -16
- package/dist/chunks/{wellknown-mz243gxw.js → location-3ypnsrhw.js} +24 -24
- package/dist/chunks/{wellknown-9j4e7e8q.js → location-42avcs9s.js} +7 -7
- package/dist/chunks/{wellknown-2qw1bc1t.js → location-44ywkmmm.js} +24 -24
- package/dist/chunks/{wellknown-r08exq5n.js → location-473b71hx.js} +20 -20
- package/dist/chunks/{wellknown-xjgyf5pt.js → location-4b5x0nt9.js} +24 -24
- package/dist/chunks/{wellknown-6ymj5c7p.js → location-4jzrjc6m.js} +26 -26
- package/dist/chunks/{wellknown-kwfvtv90.js → location-58ww9q9a.js} +25 -25
- package/dist/chunks/{wellknown-qx2znyws.js → location-5cfbqtfg.js} +12 -12
- package/dist/chunks/{wellknown-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-rvsy3236.js → location-5rfw13p6.js} +11 -11
- package/dist/chunks/{wellknown-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-bnp0v6wa.js → location-5tyr9vxf.js} +26 -26
- package/dist/chunks/{wellknown-6jvvt40y.js → location-626qb2eb.js} +9 -9
- package/dist/chunks/{wellknown-e95g814e.js → location-636t8bd4.js} +15 -15
- package/dist/chunks/{wellknown-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-6xcwhts3.js → location-6mdnwp5h.js} +11 -11
- package/dist/chunks/{wellknown-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-23t8dfc0.js → location-6s42ra37.js} +4 -4
- package/dist/chunks/{wellknown-2ab9sw28.js → location-6sv4j6tb.js} +34 -34
- package/dist/chunks/{wellknown-v67r9x2e.js → location-6yjygpg1.js} +13 -13
- package/dist/chunks/{wellknown-fy5rdmrn.js → location-6zqq4ek8.js} +5 -5
- package/dist/chunks/{wellknown-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{wellknown-zsjem71r.js → location-74t9ss8a.js} +27 -27
- package/dist/chunks/{wellknown-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-zj09a0ew.js → location-7j92jdde.js} +4 -4
- package/dist/chunks/{wellknown-awhgpd7e.js → location-7kds0srq.js} +14 -14
- package/dist/chunks/{wellknown-m23nmkb4.js → location-7kx4sdq3.js} +43 -43
- package/dist/chunks/{wellknown-kerhshr9.js → location-7r0r50e5.js} +5 -5
- package/dist/chunks/{wellknown-67esxyaq.js → location-7y7r0vgy.js} +25 -25
- package/dist/chunks/{wellknown-728x28gm.js → location-8033czsa.js} +8 -8
- package/dist/chunks/{wellknown-81swgkk7.js → location-81swgkk7.js} +2 -2
- package/dist/chunks/{wellknown-bksxygyb.js → location-83tr1t7h.js} +30 -30
- package/dist/chunks/{wellknown-xekzrwwc.js → location-84zt2byv.js} +9 -9
- package/dist/chunks/{wellknown-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{wellknown-dc76j9wz.js → location-8sghyhzw.js} +8 -8
- package/dist/chunks/{wellknown-7m5f9412.js → location-8t1wrec1.js} +8 -8
- package/dist/chunks/{wellknown-bz0devez.js → location-9328fxv7.js} +10 -10
- package/dist/chunks/{wellknown-tmt7y050.js → location-95a4nxen.js} +18 -18
- package/dist/chunks/{wellknown-gx2jmcw9.js → location-9704n2mm.js} +8 -8
- package/dist/chunks/{wellknown-7srhakrh.js → location-9ctdz51b.js} +31 -31
- package/dist/chunks/{wellknown-vf49pxf8.js → location-9drm9vkg.js} +21 -21
- package/dist/chunks/location-9sh4wc5j.js +18 -0
- package/dist/chunks/{wellknown-0t3pyjz3.js → location-9vj7yqvm.js} +9 -9
- package/dist/chunks/{wellknown-t7hf8wx6.js → location-9yh90y22.js} +3 -3
- package/dist/chunks/{wellknown-pe8kj4am.js → location-a0w9kdt2.js} +17 -17
- package/dist/chunks/{wellknown-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{wellknown-rh2esky4.js → location-a6mya1gb.js} +8 -8
- package/dist/chunks/{wellknown-rwregw7w.js → location-a6x2cpah.js} +8 -8
- package/dist/chunks/{wellknown-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-w73e06md.js → location-adcdh9yc.js} +4 -4
- package/dist/chunks/{wellknown-v5dkyp31.js → location-at5d07az.js} +4 -4
- package/dist/chunks/{wellknown-fyj0f73f.js → location-ay697b8v.js} +16 -16
- package/dist/chunks/{wellknown-czy44wp6.js → location-b0tjgqrn.js} +5 -5
- package/dist/chunks/{wellknown-2yc0zt1n.js → location-b2hm862w.js} +18 -18
- package/dist/chunks/{wellknown-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-tfqpcp74.js → location-b792c96b.js} +9 -9
- package/dist/chunks/{wellknown-xk2mzpsa.js → location-baf2ph3h.js} +32 -32
- package/dist/chunks/{wellknown-53dfrr0p.js → location-bdkgw8cf.js} +17 -17
- package/dist/chunks/{wellknown-nftnfmm3.js → location-bf5a3t6s.js} +45 -45
- package/dist/chunks/{wellknown-vfnexndp.js → location-brj2edwx.js} +6 -6
- package/dist/chunks/{wellknown-1vr0zdnx.js → location-bwc1950q.js} +9 -9
- package/dist/chunks/{wellknown-eyt4k3kj.js → location-c3xvfvd3.js} +17 -17
- package/dist/chunks/{wellknown-00h2wynw.js → location-c5db1mkp.js} +22 -22
- package/dist/chunks/{wellknown-1hpbd1d8.js → location-c92dvjnv.js} +14 -14
- package/dist/chunks/{wellknown-6pzpj85z.js → location-cds4nqjn.js} +30 -30
- package/dist/chunks/{wellknown-j8zzr2am.js → location-cf3tj770.js} +6 -6
- package/dist/chunks/{wellknown-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{wellknown-bha4atvq.js → location-cq37gk0t.js} +4 -4
- package/dist/chunks/{wellknown-1s2726j8.js → location-cssnqykq.js} +11 -11
- package/dist/chunks/{wellknown-hyn2ecqg.js → location-cwspyxgg.js} +50 -50
- package/dist/chunks/{wellknown-afdssyjb.js → location-ddt2bs9e.js} +4 -4
- package/dist/chunks/{wellknown-jwfqb58t.js → location-dfj554pg.js} +9 -9
- package/dist/chunks/{wellknown-97jqyest.js → location-dfqckxk5.js} +25 -25
- package/dist/chunks/{wellknown-ywq6n3vy.js → location-dhdv1zj0.js} +56 -56
- package/dist/chunks/{wellknown-d6ygf2cn.js → location-dny4bs9e.js} +30 -30
- package/dist/chunks/{wellknown-vg4z5xy3.js → location-drhnesrb.js} +11 -11
- package/dist/chunks/{wellknown-cxv3b682.js → location-dv1qgsyq.js} +8 -8
- package/dist/chunks/{wellknown-bndc73cn.js → location-e5nv3ght.js} +5 -5
- package/dist/chunks/{wellknown-ypgtt1w2.js → location-e65zwyc2.js} +35 -35
- package/dist/chunks/{wellknown-7df9bwsb.js → location-e8t23edk.js} +27 -27
- package/dist/chunks/{wellknown-s47e1ezx.js → location-e9f6ng75.js} +13 -13
- package/dist/chunks/{wellknown-875jp0ab.js → location-ectx44z1.js} +22 -22
- package/dist/chunks/{wellknown-hfpkbpzz.js → location-edh9f0mz.js} +4 -4
- package/dist/chunks/{wellknown-h0w0a0x1.js → location-ef5ff6ft.js} +9 -9
- package/dist/chunks/{wellknown-rzkmpk7g.js → location-efjfkye6.js} +61 -61
- package/dist/chunks/location-ejaypkp5.js +247 -0
- package/dist/chunks/{wellknown-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-ds6fr8we.js → location-ewjdxm92.js} +17 -17
- package/dist/chunks/{wellknown-h4yhaw2e.js → location-f5vwma0d.js} +18 -18
- package/dist/chunks/{wellknown-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{wellknown-mgjq6x1m.js → location-fcgej241.js} +38 -38
- package/dist/chunks/{wellknown-7j34szy8.js → location-fj365ecp.js} +20 -20
- package/dist/chunks/{wellknown-08cen3js.js → location-fp1g0m9s.js} +26 -26
- package/dist/chunks/{wellknown-kyjnjde5.js → location-frjn3nfh.js} +11 -11
- package/dist/chunks/{wellknown-g59p72yg.js → location-frqj80pv.js} +47 -47
- package/dist/chunks/{wellknown-55a4dvpq.js → location-fs6bp36w.js} +5 -5
- package/dist/chunks/{wellknown-t0fq93h8.js → location-ftzfwxz1.js} +17 -17
- package/dist/chunks/{wellknown-e6hmchc5.js → location-fvsyg6qk.js} +5 -5
- package/dist/chunks/{wellknown-f6brk7pj.js → location-fw6yfypp.js} +12 -12
- package/dist/chunks/{wellknown-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-d1v5nxx2.js → location-fyveyagd.js} +24 -24
- package/dist/chunks/{wellknown-rmt0nbj5.js → location-g2rnahzd.js} +7 -7
- package/dist/chunks/{wellknown-66c64646.js → location-g4wtk1yg.js} +6 -6
- package/dist/chunks/{wellknown-vt6mrpr2.js → location-g500fjm7.js} +1 -1
- package/dist/chunks/{wellknown-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-q4eww03h.js → location-gy4p1xkh.js} +1 -1
- package/dist/chunks/{wellknown-bb3w8y6r.js → location-gyrm231q.js} +32 -32
- package/dist/chunks/{wellknown-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{wellknown-as6kphby.js → location-h17a27cz.js} +47 -47
- package/dist/chunks/{wellknown-vxq3cchq.js → location-h6hxmqda.js} +6 -6
- package/dist/chunks/{wellknown-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-1bx8nmgw.js → location-h9cxr4wq.js} +9 -9
- package/dist/chunks/{wellknown-n6r2xd79.js → location-hj07p436.js} +4 -4
- package/dist/chunks/{wellknown-hjt4xg1x.js → location-hjt4xg1x.js} +1 -1
- package/dist/chunks/{wellknown-7sz98wh0.js → location-htaz91yz.js} +284 -284
- package/dist/chunks/{wellknown-fexf5k2n.js → location-hwg0j0eb.js} +8 -8
- package/dist/chunks/location-hxa7m5za.js +4 -0
- package/dist/chunks/{wellknown-tk7tn7wd.js → location-hy1g3bgf.js} +1 -1
- package/dist/chunks/{wellknown-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-j60r5zmy.js → location-j6yasvxk.js} +13 -13
- package/dist/chunks/{wellknown-pxsh4axf.js → location-j83x2c5c.js} +32 -32
- package/dist/chunks/{wellknown-paphc93g.js → location-j935v87r.js} +2 -2
- package/dist/chunks/{wellknown-ndya6qrf.js → location-jhc25b2t.js} +40 -40
- package/dist/chunks/{wellknown-wtdkn21q.js → location-jjrmtxp8.js} +5 -5
- package/dist/chunks/{wellknown-p7a4gs0b.js → location-jtptkwgj.js} +25 -25
- package/dist/chunks/{wellknown-8r3d8rvc.js → location-jwbn61yk.js} +21 -21
- package/dist/chunks/{wellknown-g4417hh3.js → location-jwjj6wv5.js} +6 -6
- package/dist/chunks/{wellknown-wfq7e0xr.js → location-jyn989r3.js} +20 -20
- package/dist/chunks/{wellknown-nvde7z1v.js → location-jyrggvz0.js} +20 -20
- package/dist/chunks/{wellknown-kte9e5my.js → location-k0j25v2x.js} +15 -15
- package/dist/chunks/{wellknown-860p72tc.js → location-k1abzt0p.js} +5 -5
- package/dist/chunks/{wellknown-1at5eyj7.js → location-k33a3tse.js} +79 -79
- package/dist/chunks/{wellknown-vavy50n7.js → location-k5dbpnja.js} +20 -20
- package/dist/chunks/{wellknown-v6mp902x.js → location-k6y5pwvv.js} +18 -18
- package/dist/chunks/{wellknown-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-y9hpkwc1.js → location-kmjjtydn.js} +7 -7
- package/dist/chunks/{wellknown-cyvma0e0.js → location-kr0z5b0n.js} +12 -12
- package/dist/chunks/{wellknown-5zsm984v.js → location-m2ey3cvd.js} +6 -6
- package/dist/chunks/{wellknown-b860jvh5.js → location-m72athct.js} +4 -4
- package/dist/chunks/{wellknown-6w9kmp65.js → location-m945b776.js} +86 -86
- package/dist/chunks/{wellknown-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mfqp6xfm.js → location-mfqp6xfm.js} +2 -2
- package/dist/chunks/{wellknown-d60v85tc.js → location-mh9s5q0j.js} +3 -3
- package/dist/chunks/{wellknown-rz7nw9vv.js → location-mj6ph3es.js} +9 -9
- package/dist/chunks/{wellknown-pecb0brz.js → location-mtft99cd.js} +5 -5
- package/dist/chunks/{wellknown-wc1gtajg.js → location-mvfdckk2.js} +8 -8
- package/dist/chunks/{wellknown-7yh4e7ss.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{wellknown-cfb5pb1y.js → location-mynqm169.js} +18 -18
- package/dist/chunks/{wellknown-txh28jzs.js → location-njr1pezb.js} +8 -8
- package/dist/chunks/{wellknown-m8f49s9b.js → location-nspnzx2r.js} +13 -13
- package/dist/chunks/location-pec0e592.js +26 -0
- package/dist/chunks/{wellknown-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-2023svme.js → location-psg6n3xm.js} +9 -9
- package/dist/chunks/{wellknown-7pd4ry3z.js → location-ptrn6wv1.js} +43 -43
- package/dist/chunks/{wellknown-xjw8t61g.js → location-q0q850wj.js} +30 -30
- package/dist/chunks/{wellknown-851r6173.js → location-q1a7cndp.js} +11 -11
- package/dist/chunks/{wellknown-b4cya9kz.js → location-q1c2np19.js} +10 -10
- package/dist/chunks/{wellknown-5vc4apcq.js → location-q6v9m3mm.js} +17 -17
- package/dist/chunks/{wellknown-x569bdqa.js → location-q99ra9zv.js} +1 -1
- package/dist/chunks/{wellknown-yerdpya6.js → location-qa7bh0h2.js} +14 -14
- package/dist/chunks/{wellknown-ddc0bqhb.js → location-qfb9szcf.js} +8 -8
- package/dist/chunks/{wellknown-bbz20pt0.js → location-qgq93atd.js} +20 -20
- package/dist/chunks/{wellknown-9cw4g2nz.js → location-qqj7ja7g.js} +19 -19
- package/dist/chunks/{wellknown-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-5fhs403j.js → location-qska36k1.js} +24 -24
- package/dist/chunks/{wellknown-23pqda6t.js → location-qz49fwgp.js} +6 -6
- package/dist/chunks/{wellknown-hmgwptan.js → location-qzrw3svz.js} +17 -17
- package/dist/chunks/{wellknown-ny23mpww.js → location-r0056zdr.js} +10 -10
- package/dist/chunks/{wellknown-t9zs3egg.js → location-r98e92ep.js} +4 -4
- package/dist/chunks/{wellknown-jnk338bk.js → location-r99cxfj6.js} +11 -11
- package/dist/chunks/{wellknown-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{wellknown-eaj1djv9.js → location-rhjbct0v.js} +8 -8
- package/dist/chunks/{wellknown-r61k027t.js → location-rjg803xe.js} +14 -14
- package/dist/chunks/{wellknown-rkmq0ftz.js → location-rkmq0ftz.js} +2 -2
- package/dist/chunks/{wellknown-vzzkf86k.js → location-rpby09da.js} +24 -24
- package/dist/chunks/{wellknown-77nagcj1.js → location-rrbca1ec.js} +4 -4
- package/dist/chunks/{wellknown-ferfphdt.js → location-rsb1fe67.js} +5 -5
- package/dist/chunks/{wellknown-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{wellknown-xg9t41r3.js → location-s8610hey.js} +2 -2
- package/dist/chunks/{wellknown-nw0178xm.js → location-sdd99z8d.js} +30 -30
- package/dist/chunks/{wellknown-e0nfhzw1.js → location-st7z8rqw.js} +20 -20
- package/dist/chunks/{wellknown-twy35tz0.js → location-t0x5rdq8.js} +9 -9
- package/dist/chunks/{wellknown-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-7esh47m3.js → location-tes6d6n3.js} +11 -11
- package/dist/chunks/{wellknown-40kjh9zt.js → location-th0vq4rj.js} +41 -41
- package/dist/chunks/{wellknown-jhee3avx.js → location-thhdn3hd.js} +10 -10
- package/dist/chunks/{wellknown-614nn5w1.js → location-tj0j24wc.js} +14 -14
- package/dist/chunks/{wellknown-3cfzdc8e.js → location-tn0aqsam.js} +5 -5
- package/dist/chunks/{wellknown-a6jgch9w.js → location-tq3dmmmr.js} +25 -25
- package/dist/chunks/{wellknown-g8471784.js → location-trn0ebkj.js} +2 -2
- package/dist/chunks/{wellknown-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-tx9qvpbt.js → location-tx9qvpbt.js} +2 -2
- package/dist/chunks/{wellknown-sry1band.js → location-txp8aktn.js} +6 -6
- package/dist/chunks/{wellknown-3jxyd7b8.js → location-v3bsw2k3.js} +18 -18
- package/dist/chunks/{wellknown-jqktx0eb.js → location-v860pzrr.js} +23 -23
- package/dist/chunks/{wellknown-c982ejga.js → location-v9dgs7p6.js} +9 -9
- package/dist/chunks/{wellknown-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-xb19yntf.js → location-vk804zsa.js} +19 -19
- package/dist/chunks/{wellknown-jw80jp6b.js → location-vsp1fds9.js} +21 -21
- package/dist/chunks/{wellknown-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-26qyng6q.js → location-w0pcakp2.js} +11 -11
- package/dist/chunks/{wellknown-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-4xrb88hm.js → location-w6s34xcg.js} +26 -26
- package/dist/chunks/{wellknown-nvkvd3qt.js → location-w8cnm1fe.js} +17 -17
- package/dist/chunks/{wellknown-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-zvt5ka0t.js → location-wkgt00bf.js} +17 -17
- package/dist/chunks/{wellknown-8hhpf1hm.js → location-wty8bgxf.js} +33 -33
- package/dist/chunks/{wellknown-6yjwfbhf.js → location-x0ew26t4.js} +4 -4
- package/dist/chunks/{wellknown-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-vxbt1qyf.js → location-xcs774s4.js} +17 -17
- package/dist/chunks/{wellknown-y0teaw91.js → location-xd121ra7.js} +13 -13
- package/dist/chunks/{wellknown-428yx6p2.js → location-xmzr835j.js} +36 -36
- package/dist/chunks/{wellknown-fqj9nv8j.js → location-xs12am9p.js} +5 -5
- package/dist/chunks/{wellknown-ds9vkb33.js → location-xsmwh0mh.js} +162 -162
- package/dist/chunks/{wellknown-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-ygc9jv0b.js → location-y5f1wfry.js} +2 -2
- package/dist/chunks/{wellknown-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{wellknown-sxg9z5jp.js → location-yez2bqh9.js} +9 -9
- package/dist/chunks/{wellknown-cxqrqs6v.js → location-yf0jwjfc.js} +33 -33
- package/dist/chunks/{wellknown-qcx2jk2t.js → location-yh16dntz.js} +54 -54
- package/dist/chunks/{wellknown-2d9jcxpv.js → location-yjcxr39e.js} +16 -16
- package/dist/chunks/{wellknown-scrkxf2r.js → location-yq2cy4vk.js} +9 -9
- package/dist/chunks/{wellknown-z6brc79e.js → location-yq6wvp1y.js} +10 -10
- package/dist/chunks/{wellknown-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-rf98ft5w.js → location-ys02tb6f.js} +24 -24
- package/dist/chunks/{wellknown-8k6k9q3x.js → location-yydrw2qx.js} +2 -2
- package/dist/chunks/{wellknown-akw77m90.js → location-yyfky2bj.js} +1 -1
- package/dist/chunks/{wellknown-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-tpej6hf6.js → location-z4zaedpe.js} +11 -11
- package/dist/chunks/{wellknown-4m2pmvxz.js → location-zcqf6png.js} +6 -6
- package/dist/chunks/{wellknown-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-nm03esje.js → location-zfcp8yb0.js} +3 -3
- package/dist/chunks/{wellknown-g2ddh771.js → location-zgpdpn5c.js} +5 -5
- package/dist/chunks/{wellknown-7vzhg19r.js → location-zpn9qnw3.js} +4 -4
- package/dist/chunks/{wellknown-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-mcndymyz.js → location-zyhvsr6w.js} +6 -6
- package/dist/chunks/{wellknown-wtq9ytdv.js → location-zzwwppnv.js} +11 -11
- 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 +82 -82
- 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 +117 -117
- package/dist/config/plugin/command.js +210 -210
- 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 +126 -126
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +136 -136
- 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 +115 -115
- 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 +119 -119
- 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 +363 -363
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +69 -69
- 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 +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +83 -83
- 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 +5 -5
- 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 +130 -130
- 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 +82 -82
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- 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 +10 -10
- package/dist/models-dev.js +87 -87
- 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 +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 +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +7 -7
- 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 +119 -119
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- 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 +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- 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 +131 -131
- 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 +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +3 -3
- 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 +3 -3
- 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 +206 -206
- 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 +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/wellknown-0mesazry.js +0 -4
- package/dist/chunks/wellknown-8rg17q0b.js +0 -26
- package/dist/chunks/wellknown-rap9a73h.js +0 -18
- package/dist/chunks/wellknown-w6rm0z24.js +0 -247
- /package/dist/chunks/{wellknown-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node58
|
|
7
|
+
} from "./location-bf5a3t6s.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service53,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node57
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service53 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service54;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service53.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node57 = makeLocationNode({
|
|
69
|
+
service: Service53,
|
|
70
|
+
layer: layer21,
|
|
71
|
+
deps: [node58, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service53, layer21, node57, exports_generate2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-jwbn61yk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./location-zcqf6png.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service39;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-adcdh9yc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./location-sdd99z8d.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-rpby09da.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
|
+
ID: () => ID6,
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
|
+
Service: () => Service57,
|
|
43
|
+
node: () => node61
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/integration";
|
|
65
|
+
var ID6 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info10 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service57 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service72;
|
|
97
97
|
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info10.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service57.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node61 = makeLocationNode({
|
|
569
|
+
service: Service57,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node77, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service57, node61, exports_integration, Event12 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service5,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service5.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service5, node7, exports_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node79
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node79 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node79, exports_hooks };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service65,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service65 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service65, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service65.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node69 = makeGlobalNode({ service: Service65, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service65, node69, exports_environment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-tj0j24wc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./location-th0vq4rj.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-42avcs9s.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service66;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make5();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-njr1pezb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info27,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-tj0j24wc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID14.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info27.make({
|
|
92
|
+
...Info27.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-c3xvfvd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service21
|
|
6
|
+
} from "./location-m945b776.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service48;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|