@opencode/core 0.0.0-dev-19460 → 0.0.0-dev-19461
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/{instance-4y66k410.js → location-0ajdgxne.js} +5 -5
- package/dist/chunks/{instance-ff0htmxq.js → location-0bps82y7.js} +6 -6
- package/dist/chunks/{instance-w1w0h0f3.js → location-0ge7vg41.js} +11 -11
- package/dist/chunks/{instance-3ythc6yv.js → location-0gr7cw0d.js} +4 -4
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{instance-9kt49dv5.js → location-0n9gyfew.js} +4 -4
- package/dist/chunks/{instance-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-8jpcqb93.js → location-0q1bg550.js} +7 -7
- package/dist/chunks/{instance-ctbddv3x.js → location-0q77j2hf.js} +32 -32
- package/dist/chunks/{instance-zzhy6shz.js → location-0tn02ksk.js} +65 -65
- package/dist/chunks/{instance-kgp7vr2h.js → location-0xv9r4rc.js} +34 -34
- package/dist/chunks/{instance-sz14040b.js → location-0zf2whzq.js} +32 -32
- package/dist/chunks/{instance-ryr25ayn.js → location-19vf66h0.js} +4 -4
- package/dist/chunks/{instance-f2n192rq.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{instance-w5avqc4c.js → location-1an81ev3.js} +7 -7
- package/dist/chunks/{instance-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-tkdeev4y.js → location-1e3xc6ve.js} +25 -25
- package/dist/chunks/{instance-7kehdj5a.js → location-1fzcnh6v.js} +17 -17
- package/dist/chunks/{instance-3e7k8psb.js → location-1ja8qtne.js} +24 -24
- package/dist/chunks/{instance-c6cqrv02.js → location-1pqsyb9r.js} +8 -8
- package/dist/chunks/{instance-2jf0xkbq.js → location-1t7mpxg8.js} +5 -5
- package/dist/chunks/{instance-dcj77ap2.js → location-1wxb385z.js} +1 -1
- package/dist/chunks/{instance-1ygqh575.js → location-1ygqh575.js} +2 -2
- package/dist/chunks/{instance-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-f8sfb1xa.js → location-29cddch4.js} +43 -43
- package/dist/chunks/{instance-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{instance-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-n23hwv43.js → location-2dpa94xe.js} +10 -10
- package/dist/chunks/{instance-bqffehkf.js → location-2naaymgq.js} +23 -23
- package/dist/chunks/{instance-4avx5zv7.js → location-2nfqgr27.js} +13 -13
- package/dist/chunks/{instance-5jvjxkgj.js → location-2nqpnpx3.js} +25 -25
- package/dist/chunks/{instance-vhek6w9n.js → location-2rwqw19q.js} +31 -31
- package/dist/chunks/{instance-3jmtav0z.js → location-2s8c9txd.js} +21 -21
- package/dist/chunks/{instance-eh0vk0nd.js → location-38grcwtr.js} +12 -12
- package/dist/chunks/{instance-qfp8jhvv.js → location-3dn8y05b.js} +11 -11
- package/dist/chunks/{instance-z99anz7q.js → location-3gfxcggk.js} +13 -13
- package/dist/chunks/{instance-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-zgtva3a0.js → location-3ncmaxct.js} +32 -32
- package/dist/chunks/{instance-1hyf0ktd.js → location-3pgnpxjv.js} +10 -10
- package/dist/chunks/{instance-cwxc4gr4.js → location-3r86hrp4.js} +16 -16
- package/dist/chunks/{instance-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-qh1ybmbw.js → location-3vq2j3j3.js} +43 -43
- package/dist/chunks/{instance-mscy8054.js → location-443jp2h5.js} +11 -11
- package/dist/chunks/{instance-aq9mty43.js → location-4d6zvh3y.js} +19 -19
- package/dist/chunks/{instance-e4vf26f2.js → location-4gjq1w3h.js} +41 -41
- package/dist/chunks/{instance-rz0qknjf.js → location-4mkcvr19.js} +5 -5
- package/dist/chunks/{instance-m658jftz.js → location-4nkvv82w.js} +9 -9
- package/dist/chunks/{instance-m5m2byhr.js → location-4pdm3gpn.js} +24 -24
- package/dist/chunks/{instance-7yzvrxe0.js → location-4vm55rjt.js} +17 -17
- package/dist/chunks/{instance-5wdht1ra.js → location-4vp014ph.js} +14 -14
- package/dist/chunks/{instance-y5ymnhx1.js → location-4yz38106.js} +37 -37
- package/dist/chunks/{instance-cz0yq1r5.js → location-4yzhf524.js} +13 -13
- package/dist/chunks/location-51teaz73.js +247 -0
- package/dist/chunks/{instance-a9yaghht.js → location-5bcts36j.js} +87 -87
- package/dist/chunks/{instance-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-w65exc3e.js → location-5emdt044.js} +10 -10
- package/dist/chunks/{instance-jp567p5q.js → location-5k5btewg.js} +21 -21
- package/dist/chunks/{instance-5kptn8c0.js → location-5kptn8c0.js} +2 -2
- package/dist/chunks/{instance-c3kepfq8.js → location-5nsrms9d.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-9br9ay0g.js → location-5wxnan0q.js} +4 -4
- package/dist/chunks/{instance-htq8vem7.js → location-61gb32ev.js} +33 -33
- package/dist/chunks/{instance-w1k39n5e.js → location-64kphnzf.js} +4 -4
- package/dist/chunks/{instance-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{instance-q8ym26hm.js → location-6711snrz.js} +18 -18
- package/dist/chunks/{instance-az8292sr.js → location-689rwdfb.js} +23 -23
- package/dist/chunks/{instance-nz4732ve.js → location-6arvyfpk.js} +5 -5
- package/dist/chunks/{instance-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-797mct3s.js → location-6p2j0xaj.js} +7 -7
- package/dist/chunks/{instance-3qhd9431.js → location-6ry05z8r.js} +24 -24
- package/dist/chunks/{instance-53x3k2qp.js → location-6ttajnb0.js} +4 -4
- package/dist/chunks/{instance-gztqh0zw.js → location-711d7g3x.js} +20 -20
- package/dist/chunks/{instance-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-5nabpchd.js → location-742mfkhf.js} +21 -21
- package/dist/chunks/{instance-844ef7ks.js → location-7b15y959.js} +8 -8
- package/dist/chunks/{instance-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-8yv9dkvg.js → location-7k2b160c.js} +5 -5
- package/dist/chunks/{instance-bj3v68q1.js → location-7ra4c6gm.js} +15 -15
- package/dist/chunks/{instance-6gt9cz4a.js → location-7tepnm88.js} +23 -23
- package/dist/chunks/{instance-6javrp0c.js → location-7wbnq2vq.js} +7 -7
- package/dist/chunks/{instance-egwjr9wj.js → location-7zezh56x.js} +20 -20
- package/dist/chunks/{instance-00mqm9kf.js → location-83x6p9kd.js} +1 -1
- package/dist/chunks/{instance-hwgmy1nm.js → location-88skwtww.js} +26 -26
- package/dist/chunks/{instance-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-tmc6cqr1.js → location-8kvx5c4t.js} +11 -11
- package/dist/chunks/{instance-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-b1hwkhhg.js → location-8z17e00v.js} +4 -4
- package/dist/chunks/{instance-9yfkjt1j.js → location-9gbkhhyb.js} +17 -17
- package/dist/chunks/{instance-v44bh1q6.js → location-9mx1cntf.js} +16 -16
- package/dist/chunks/{instance-jpdv4j7q.js → location-9nyx0xzb.js} +28 -28
- package/dist/chunks/{instance-r06n6mdt.js → location-9vhx2d4h.js} +11 -11
- package/dist/chunks/{instance-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-hwh1rkay.js → location-a3fmdkp8.js} +1 -1
- package/dist/chunks/{instance-akeqy7zp.js → location-a3kgfrx0.js} +8 -8
- package/dist/chunks/{instance-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-nxhqveyz.js → location-avm8jn6n.js} +5 -5
- package/dist/chunks/{instance-s4anq1bw.js → location-awbtvej0.js} +8 -8
- package/dist/chunks/{instance-zj91daq9.js → location-b3frasm9.js} +11 -11
- package/dist/chunks/{instance-t1fx2e77.js → location-b4phpgjh.js} +10 -10
- package/dist/chunks/{instance-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-bha4atvq.js → location-bajakh74.js} +4 -4
- package/dist/chunks/{instance-q6a3er2p.js → location-bdyczj2g.js} +20 -20
- package/dist/chunks/{instance-q6ykya8e.js → location-bysfyz6c.js} +41 -41
- package/dist/chunks/{instance-t69nnh3p.js → location-c7ecgrk6.js} +8 -8
- package/dist/chunks/{instance-kztjw4ps.js → location-cabjg3g0.js} +16 -16
- package/dist/chunks/{instance-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-dc76j9wz.js → location-chnmz1hg.js} +8 -8
- package/dist/chunks/{instance-7w3s9kd0.js → location-cmbqfntm.js} +6 -6
- package/dist/chunks/{instance-474kxs8d.js → location-cncarfnr.js} +6 -6
- package/dist/chunks/{instance-n1wztqq6.js → location-crg35gqk.js} +2 -2
- package/dist/chunks/{instance-ktb8qv4m.js → location-ctysr86j.js} +19 -19
- package/dist/chunks/{instance-wj7qkkw3.js → location-cv28m94p.js} +30 -30
- package/dist/chunks/{instance-rxfnx53z.js → location-cwjhdd4w.js} +26 -26
- package/dist/chunks/{instance-4swqe0r2.js → location-cz5ya5dx.js} +6 -6
- package/dist/chunks/{instance-0npvrs75.js → location-d0rxe8vc.js} +12 -12
- package/dist/chunks/{instance-zqmn5v3j.js → location-deq2xmw7.js} +3 -3
- package/dist/chunks/{instance-cgjdea0z.js → location-dg7qpz4p.js} +19 -19
- package/dist/chunks/{instance-2fp9d9g6.js → location-djamvv4a.js} +27 -27
- package/dist/chunks/{instance-gebtr55s.js → location-dtqg9ce1.js} +5 -5
- package/dist/chunks/{instance-2f04pwep.js → location-dv250zvr.js} +3 -3
- package/dist/chunks/location-dxj72tfx.js +18 -0
- package/dist/chunks/{instance-wmarrwkd.js → location-e02shwjk.js} +43 -43
- package/dist/chunks/{instance-5b639kvd.js → location-e0paksqa.js} +25 -25
- package/dist/chunks/{instance-sc4tqsmf.js → location-e37jza6a.js} +3 -3
- package/dist/chunks/{instance-gy5rmdef.js → location-e4dde0bf.js} +2 -2
- package/dist/chunks/{instance-7v5s04dc.js → location-ecwj8few.js} +8 -8
- package/dist/chunks/{instance-qprd5bsr.js → location-ejn237hk.js} +41 -41
- package/dist/chunks/{instance-qcfsefxz.js → location-en74w496.js} +5 -5
- package/dist/chunks/{instance-mhkvc446.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{instance-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-6990g2pv.js → location-f06x8t7g.js} +27 -27
- package/dist/chunks/{instance-94w0tq81.js → location-f6pdpkc8.js} +58 -58
- package/dist/chunks/{instance-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{instance-ebd64nsa.js → location-f8jykge8.js} +25 -25
- package/dist/chunks/{instance-qk6tq941.js → location-fffsb91j.js} +4 -4
- package/dist/chunks/{instance-aj39p006.js → location-fg7rbsd2.js} +11 -11
- package/dist/chunks/{instance-5eec6bhb.js → location-fj5qtafa.js} +35 -35
- package/dist/chunks/{instance-e3kfg8te.js → location-fm2g78m8.js} +11 -11
- package/dist/chunks/{instance-evbgk2k8.js → location-fpmq6gma.js} +5 -5
- package/dist/chunks/{instance-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-yd6hd2a1.js → location-g0m9gjz9.js} +62 -62
- package/dist/chunks/{instance-vkt5fbj2.js → location-g2y161wv.js} +8 -8
- package/dist/chunks/{instance-wc04nxwd.js → location-g5d9kagx.js} +170 -170
- package/dist/chunks/{instance-k8re6p8h.js → location-gbxr56d2.js} +17 -17
- package/dist/chunks/{instance-9ydgybmy.js → location-gbxx1qdc.js} +35 -35
- package/dist/chunks/{instance-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-3fc6dm20.js → location-gdvy8fx6.js} +4 -4
- package/dist/chunks/{instance-cdd71vqt.js → location-grg0ht9d.js} +40 -40
- package/dist/chunks/{instance-gsx0ryk4.js → location-gsx0ryk4.js} +2 -2
- package/dist/chunks/{instance-kmv022h3.js → location-gt0cxfk7.js} +1 -1
- package/dist/chunks/{instance-th5km1p3.js → location-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-tt9qh18q.js → location-gwm9h4t4.js} +19 -19
- package/dist/chunks/{instance-rfnzy394.js → location-gx1zhcta.js} +1 -1
- package/dist/chunks/{instance-hm0vq5pv.js → location-gxx6jc0s.js} +3 -3
- package/dist/chunks/{instance-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-fzz1ppzm.js → location-h5z8kjx1.js} +4 -4
- package/dist/chunks/{instance-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-wfdys92q.js → location-hgxcmmev.js} +25 -25
- package/dist/chunks/{instance-4wjenyrf.js → location-hhbxt1mp.js} +8 -8
- package/dist/chunks/{instance-tw2jnezv.js → location-hj81pfz7.js} +9 -9
- package/dist/chunks/{instance-2nvwtj61.js → location-hjsevywp.js} +11 -11
- package/dist/chunks/{instance-e82z9tr0.js → location-hjt4xg1x.js} +7 -7
- package/dist/chunks/{instance-jx7qxkfa.js → location-hkqcgn21.js} +12 -12
- package/dist/chunks/{instance-8gvpyqpt.js → location-hpf6vjwp.js} +24 -24
- package/dist/chunks/{instance-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-b6t5s1br.js → location-j5bzq3k2.js} +15 -15
- package/dist/chunks/{instance-paphc93g.js → location-j935v87r.js} +2 -2
- package/dist/chunks/{instance-7m5f9412.js → location-j9g8tyqb.js} +8 -8
- package/dist/chunks/{instance-dczqr3tw.js → location-jfk1xeys.js} +17 -17
- package/dist/chunks/{instance-htjr2jsf.js → location-jg27de1v.js} +15 -15
- package/dist/chunks/{instance-zw4px37v.js → location-jgffvrzd.js} +9 -9
- package/dist/chunks/{instance-z7xj2rat.js → location-jhetwysa.js} +3 -3
- package/dist/chunks/{instance-0fff669n.js → location-jm1m0h68.js} +36 -36
- package/dist/chunks/{instance-5x592y6b.js → location-k2ez8jpr.js} +17 -17
- package/dist/chunks/{instance-5sh9vvh6.js → location-k881w53b.js} +47 -47
- package/dist/chunks/{instance-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-m12hp6p6.js → location-mb2t11pg.js} +3 -3
- package/dist/chunks/{instance-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-s9269tm1.js → location-mset8fj1.js} +45 -45
- package/dist/chunks/{instance-97ym3vp3.js → location-n38wpmpz.js} +25 -25
- package/dist/chunks/{instance-94nfxf8g.js → location-n46wdk6t.js} +15 -15
- package/dist/chunks/{instance-sefvx11y.js → location-n94hfmyp.js} +4 -4
- package/dist/chunks/{instance-zbhy9hv2.js → location-nhnfdq9p.js} +13 -13
- package/dist/chunks/{instance-92wpxnfv.js → location-nnejmx3z.js} +23 -23
- package/dist/chunks/{instance-rj04r327.js → location-nvnjvff3.js} +24 -24
- package/dist/chunks/{instance-e2ktfq78.js → location-p05b7svp.js} +15 -15
- package/dist/chunks/{instance-9xrk3ywp.js → location-p7g16bt6.js} +9 -9
- package/dist/chunks/{instance-a0kt5faw.js → location-p9pbejt8.js} +29 -29
- package/dist/chunks/{instance-vkpj7gz2.js → location-padgxnv1.js} +5 -5
- package/dist/chunks/{instance-tsw5vdbk.js → location-pcg8y0q6.js} +10 -10
- package/dist/chunks/{instance-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-trz99jr3.js → location-pjxwef55.js} +32 -32
- package/dist/chunks/{instance-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instance-hrefkxfb.js → location-pxq7pqqx.js} +23 -23
- package/dist/chunks/{instance-q5j1bp2v.js → location-q5j1bp2v.js} +1 -1
- package/dist/chunks/{instance-v2m40jqb.js → location-q5nc2w3s.js} +30 -30
- package/dist/chunks/{instance-1htf0826.js → location-q6r6ry4n.js} +18 -18
- package/dist/chunks/{instance-80va5zpe.js → location-qe9wkc6t.js} +12 -12
- package/dist/chunks/{instance-81swgkk7.js → location-qg6emqy4.js} +9 -9
- package/dist/chunks/{instance-0jwsre1p.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{instance-wqkncbjv.js → location-qkh2avww.js} +9 -9
- package/dist/chunks/{instance-dfe8djrf.js → location-qq11w61w.js} +4 -4
- package/dist/chunks/{instance-cpy6gm2a.js → location-qqtwvk4z.js} +6 -6
- package/dist/chunks/{instance-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-qn4ba14w.js → location-qte5z7bc.js} +5 -5
- package/dist/chunks/{instance-ncc2gq8r.js → location-r4tq48pt.js} +11 -11
- package/dist/chunks/{instance-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-w6mexamk.js → location-ra3vsbfe.js} +9 -9
- package/dist/chunks/{instance-5hk2mk3t.js → location-rabb6kfb.js} +4 -4
- package/dist/chunks/{instance-8pngxq2x.js → location-rme5v0wm.js} +10 -10
- package/dist/chunks/{instance-qs8d7aj9.js → location-s0tc2krz.js} +17 -17
- package/dist/chunks/{instance-kw732hfc.js → location-s2dhjhqs.js} +33 -33
- package/dist/chunks/{instance-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{instance-76myzc3f.js → location-sgfkh1bp.js} +4 -4
- package/dist/chunks/{instance-eq4db09p.js → location-srpeewqc.js} +9 -9
- package/dist/chunks/{instance-4gqp7vx6.js → location-swegyzdq.js} +11 -11
- package/dist/chunks/{instance-zsqve7wd.js → location-szyk33kk.js} +8 -8
- package/dist/chunks/{instance-g4qa8rgv.js → location-t41sh3fy.js} +18 -18
- package/dist/chunks/{instance-eaj1djv9.js → location-t550f9t1.js} +8 -8
- package/dist/chunks/{instance-fb49k8r9.js → location-t78ymf7t.js} +16 -16
- package/dist/chunks/{instance-4066mr2m.js → location-t8mcaem5.js} +1 -1
- package/dist/chunks/{instance-5g8am1g7.js → location-t9kz6j3c.js} +24 -24
- package/dist/chunks/{instance-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-xzgs3hrm.js → location-tc7ec7w9.js} +36 -36
- package/dist/chunks/{instance-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{instance-mr7f4zr7.js → location-tgcnfkqc.js} +28 -28
- package/dist/chunks/{instance-xzxpqg3d.js → location-thkpvahy.js} +28 -28
- package/dist/chunks/{instance-bn0vw2w5.js → location-tj2vbr09.js} +279 -279
- package/dist/chunks/{instance-7b3cx9a6.js → location-tkgdp0re.js} +15 -15
- package/dist/chunks/{instance-qvnmx2mh.js → location-tqzea4nr.js} +35 -35
- package/dist/chunks/{instance-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-c2p50z10.js → location-v54nzcw9.js} +20 -20
- package/dist/chunks/{instance-01e6h18d.js → location-vbk940s3.js} +26 -26
- package/dist/chunks/{instance-9jdakqgh.js → location-vccwxyms.js} +12 -12
- package/dist/chunks/{instance-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-wf01ajmr.js → location-vjq66stf.js} +9 -9
- package/dist/chunks/{instance-bcej9406.js → location-vjqy2pak.js} +6 -6
- package/dist/chunks/{instance-6ckg68qj.js → location-vkkzdp2q.js} +6 -6
- package/dist/chunks/{instance-4zj18f1w.js → location-vpsgd2jw.js} +9 -9
- package/dist/chunks/{instance-msd3nfsh.js → location-vtnam11j.js} +17 -17
- package/dist/chunks/{instance-reebgg6a.js → location-vzcbq1w3.js} +50 -50
- package/dist/chunks/{instance-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-c1am2a09.js → location-w34f8myg.js} +30 -30
- package/dist/chunks/{instance-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-afxp662r.js → location-wc4t234n.js} +15 -15
- package/dist/chunks/{instance-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instance-qt7rgn5q.js → location-wj7cshxw.js} +45 -45
- package/dist/chunks/{instance-gaenrpkk.js → location-wmq45nfe.js} +84 -84
- package/dist/chunks/{instance-3q9njtk1.js → location-wwa04tag.js} +31 -31
- package/dist/chunks/{instance-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-k7ms9p37.js → location-x27ytnxh.js} +9 -9
- package/dist/chunks/{instance-bnhb7h7f.js → location-xfrbke8t.js} +47 -47
- package/dist/chunks/{instance-jwx4y25k.js → location-xhmq8qgk.js} +9 -9
- package/dist/chunks/{instance-p1p8k1ef.js → location-xya91wz4.js} +2 -2
- package/dist/chunks/{instance-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-hpnxyswt.js → location-y3ex4pz8.js} +15 -15
- package/dist/chunks/{instance-hbhtg0wg.js → location-y4424x0p.js} +12 -12
- package/dist/chunks/{instance-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{instance-e1pbcaz3.js → location-yfhpaps7.js} +17 -17
- package/dist/chunks/{instance-t6msp11s.js → location-ymm454xd.js} +6 -6
- package/dist/chunks/{instance-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-t02gjz1k.js → location-yrrczd0w.js} +11 -11
- package/dist/chunks/{instance-rh63tm4e.js → location-yvmq8qxx.js} +14 -14
- package/dist/chunks/{instance-pz6pfz31.js → location-yzn2jey8.js} +11 -11
- package/dist/chunks/{instance-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-a49gwv9f.js → location-z24k1rmt.js} +23 -23
- package/dist/chunks/{instance-4gw1ygcb.js → location-z8y5r8b4.js} +19 -19
- package/dist/chunks/{instance-jvf3yq6v.js → location-zav06jzw.js} +4 -4
- package/dist/chunks/{instance-7v41m4wd.js → location-zd6k41k9.js} +11 -11
- package/dist/chunks/{instance-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-f3ngv102.js → location-zepncfka.js} +21 -21
- package/dist/chunks/{instance-t7qt7tsq.js → location-zghxhb3h.js} +6 -6
- package/dist/chunks/{instance-s8610hey.js → location-zpd6x7fe.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-79r1wrqa.js → location-zxwpk2nb.js} +1 -1
- package/dist/chunks/{instance-p7xz3n9p.js → location-zyyf3ne3.js} +18 -18
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- 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 +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 +360 -360
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- 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 +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- 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 +98 -98
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- 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 +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +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 +86 -86
- package/dist/websearch.js +81 -81
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/instance-0hb33qq5.js +0 -247
- package/dist/chunks/instance-1x11rq2a.js +0 -18
- package/dist/chunks/instance-z926abd4.js +0 -4
- /package/dist/chunks/{instance-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-4pdm3gpn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./location-yfhpaps7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./location-mset8fj1.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-vbk940s3.js";
|
|
18
18
|
import {
|
|
19
19
|
Service8
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-gsx0ryk4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-cz5ya5dx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin18 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service67;
|
|
43
43
|
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service71;
|
|
47
|
+
const watcher = yield* Service68;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -181,4 +181,4 @@ var Plugin20 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin18, exports_skill2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./location-y4424x0p.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
5
10
|
Service78,
|
|
6
11
|
node83
|
|
7
|
-
} from "./
|
|
12
|
+
} from "./location-s2dhjhqs.js";
|
|
13
|
+
import {
|
|
14
|
+
Service71,
|
|
15
|
+
node76
|
|
16
|
+
} from "./location-yfhpaps7.js";
|
|
8
17
|
import {
|
|
9
|
-
Event14,
|
|
10
18
|
Service64,
|
|
11
19
|
node68
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service76,
|
|
15
|
-
node81
|
|
16
|
-
} from "./instance-e1pbcaz3.js";
|
|
17
|
-
import {
|
|
18
|
-
Service51,
|
|
19
|
-
node54
|
|
20
|
-
} from "./instance-rj04r327.js";
|
|
20
|
+
} from "./location-nvnjvff3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./location-p9pbejt8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service60,
|
|
34
|
+
node64
|
|
35
|
+
} from "./location-w34f8myg.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service30,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer12,
|
|
67
|
+
node: () => node34
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID10.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool2 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service71;
|
|
178
|
+
const environment = yield* Service64;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service61;
|
|
181
|
+
const integration = yield* Service60;
|
|
182
|
+
const credentials = yield* Service78;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID10.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID11.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -358,7 +358,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
358
358
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
359
359
|
})
|
|
360
360
|
};
|
|
361
|
-
const toTool = (server, entry, def) => new
|
|
361
|
+
const toTool = (server, entry, def) => new Tool2({
|
|
362
362
|
server,
|
|
363
363
|
name: def.name,
|
|
364
364
|
codemode: entry.config.codemode,
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service30.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service30,
|
|
713
|
+
layer: layer12(options),
|
|
714
|
+
deps: [node76, node68, node84, node65, node64, node83]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node34 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options4, layer12, configured4, node34, exports_mcp4 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-0q1bg550.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-a3fmdkp8.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-y4424x0p.js";
|
|
5
|
+
import {
|
|
6
|
+
Event20,
|
|
2
7
|
Service78,
|
|
3
8
|
node83
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Event14,
|
|
7
|
-
Service64,
|
|
8
|
-
node68
|
|
9
|
-
} from "./instance-kw732hfc.js";
|
|
9
|
+
} from "./location-s2dhjhqs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node73
|
|
13
|
+
} from "./location-4pdm3gpn.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node76
|
|
20
|
+
} from "./location-yfhpaps7.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-1ja8qtne.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-6arvyfpk.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service69,
|
|
36
|
+
Event18,
|
|
37
|
+
node74
|
|
38
|
+
} from "./location-5k5btewg.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service67,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node72,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options6 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service67 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service71;
|
|
100
|
+
const watcher = yield* Service68;
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const credentials = yield* Service78;
|
|
103
|
+
const wellknown = yield* Service69;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service67.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured8(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service67,
|
|
248
|
+
layer: layer23(options),
|
|
249
|
+
deps: [node73, node84, FSUtil.node, Global.node, node76, node83, node74]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node72 = configured8();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options6, Service67, Test2, testLayer2, layer23, configured8, node72, exports_config };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-g0m9gjz9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./location-vbk940s3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input11,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin42,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin42 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service42;
|
|
51
|
+
const permission = yield* Service53;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input11,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin38 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output7, description5, toModelOutput2, Plugin42, exports_skill3 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node68
|
|
9
|
+
} from "./location-nvnjvff3.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-742mfkhf.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service64;
|
|
331
|
+
return Service9.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node12 = makeLocationNode({ service: Service9, layer, deps: [node68] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node12, exports_read_filesystem };
|