@opencode/core 0.0.0-dev-19459 → 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 +5 -5
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{kv-4y66k410.js → location-0ajdgxne.js} +5 -5
- package/dist/chunks/{kv-kzd68pqg.js → location-0bps82y7.js} +6 -6
- package/dist/chunks/{kv-0yz71n10.js → location-0ge7vg41.js} +19 -19
- package/dist/chunks/{kv-h6z8d5tn.js → location-0gr7cw0d.js} +4 -4
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{kv-rwtq93ad.js → location-0n9gyfew.js} +4 -4
- package/dist/chunks/{kv-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-s6awdsy0.js → location-0q1bg550.js} +7 -7
- package/dist/chunks/{kv-59qrh9ax.js → location-0q77j2hf.js} +30 -30
- package/dist/chunks/{kv-8w7wj211.js → location-0tn02ksk.js} +65 -65
- package/dist/chunks/{kv-37pkes6r.js → location-0xv9r4rc.js} +36 -36
- package/dist/chunks/{kv-cwx08fmw.js → location-0zf2whzq.js} +32 -32
- package/dist/chunks/{kv-a2ew8a62.js → location-19vf66h0.js} +4 -4
- package/dist/chunks/{kv-yp2x3t23.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-pasxfhjk.js → location-1an81ev3.js} +7 -7
- package/dist/chunks/{kv-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-zbb7c5wr.js → location-1e3xc6ve.js} +27 -27
- package/dist/chunks/{kv-t6rmzs9c.js → location-1fzcnh6v.js} +17 -17
- package/dist/chunks/{kv-vrx6ppv4.js → location-1ja8qtne.js} +24 -24
- package/dist/chunks/{kv-v4wxntct.js → location-1pqsyb9r.js} +11 -11
- package/dist/chunks/{kv-7fda20w6.js → location-1t7mpxg8.js} +5 -5
- package/dist/chunks/{kv-ezn8zr4k.js → location-1wxb385z.js} +1 -1
- package/dist/chunks/{kv-33w4ejhs.js → location-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{kv-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{kv-dvvjdwja.js → location-29cddch4.js} +43 -43
- package/dist/chunks/{kv-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-b3xeh6c9.js → location-2dpa94xe.js} +8 -8
- package/dist/chunks/{kv-5755hzzr.js → location-2naaymgq.js} +20 -20
- package/dist/chunks/{kv-e8mc6xww.js → location-2nfqgr27.js} +7 -7
- package/dist/chunks/{kv-mntm3pyc.js → location-2nqpnpx3.js} +23 -23
- package/dist/chunks/{kv-nygmpey9.js → location-2rwqw19q.js} +27 -27
- package/dist/chunks/{kv-qyy1k97r.js → location-2s8c9txd.js} +18 -18
- package/dist/chunks/{kv-zxxfqb5b.js → location-38grcwtr.js} +14 -14
- package/dist/chunks/{kv-s3r3b7q0.js → location-3dn8y05b.js} +11 -11
- package/dist/chunks/{kv-ax7cneaf.js → location-3gfxcggk.js} +9 -9
- package/dist/chunks/{kv-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-7nff8x50.js → location-3ncmaxct.js} +30 -30
- package/dist/chunks/{kv-6r8zamjg.js → location-3pgnpxjv.js} +10 -10
- package/dist/chunks/{kv-98bbrenc.js → location-3r86hrp4.js} +16 -16
- package/dist/chunks/{kv-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-zdeqbp5y.js → location-3vq2j3j3.js} +38 -38
- package/dist/chunks/{kv-n3fvjmy7.js → location-443jp2h5.js} +11 -11
- package/dist/chunks/{kv-4eh77v0x.js → location-4d6zvh3y.js} +17 -17
- package/dist/chunks/{kv-f5xpd0e7.js → location-4gjq1w3h.js} +39 -39
- package/dist/chunks/{kv-njyck951.js → location-4mkcvr19.js} +5 -5
- package/dist/chunks/{kv-qj0wk3h6.js → location-4nkvv82w.js} +9 -9
- package/dist/chunks/{kv-pepqf6ga.js → location-4pdm3gpn.js} +20 -20
- package/dist/chunks/{kv-1ym52s0g.js → location-4vm55rjt.js} +18 -18
- package/dist/chunks/{kv-3j6dd1ze.js → location-4vp014ph.js} +16 -16
- package/dist/chunks/{kv-5h4p6p65.js → location-4yz38106.js} +34 -34
- package/dist/chunks/{kv-gr5gf9xe.js → location-4yzhf524.js} +13 -13
- package/dist/chunks/location-51teaz73.js +247 -0
- package/dist/chunks/{kv-32t7e08w.js → location-5bcts36j.js} +84 -84
- package/dist/chunks/{kv-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5b2ja83v.js → location-5emdt044.js} +10 -10
- package/dist/chunks/{kv-kge3p68p.js → location-5k5btewg.js} +20 -20
- package/dist/chunks/{kv-t0x5rdq8.js → location-5kptn8c0.js} +9 -9
- package/dist/chunks/{kv-g6ew7cqr.js → location-5nsrms9d.js} +1 -1
- package/dist/chunks/{kv-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-8ykkmn9r.js → location-5wxnan0q.js} +4 -4
- package/dist/chunks/{kv-9v1bvhx1.js → location-61gb32ev.js} +24 -24
- package/dist/chunks/{kv-paegk39x.js → location-64kphnzf.js} +4 -4
- package/dist/chunks/{kv-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{kv-swe4yj3v.js → location-6711snrz.js} +16 -16
- package/dist/chunks/{kv-gt76p7gm.js → location-689rwdfb.js} +20 -20
- package/dist/chunks/{kv-9r3t3x4q.js → location-6arvyfpk.js} +5 -5
- package/dist/chunks/{kv-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-q6trkzsx.js → location-6p2j0xaj.js} +14 -14
- package/dist/chunks/{kv-qrek7wem.js → location-6ry05z8r.js} +22 -22
- package/dist/chunks/{kv-j438vazm.js → location-6ttajnb0.js} +4 -4
- package/dist/chunks/{kv-5ta5rkt1.js → location-711d7g3x.js} +18 -18
- package/dist/chunks/{kv-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-qvav3tk2.js → location-742mfkhf.js} +23 -23
- package/dist/chunks/{kv-q26tgv94.js → location-7b15y959.js} +8 -8
- package/dist/chunks/{kv-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-p3ke781q.js → location-7k2b160c.js} +5 -5
- package/dist/chunks/{kv-gke945h8.js → location-7ra4c6gm.js} +17 -17
- package/dist/chunks/{kv-sj7m3pc4.js → location-7tepnm88.js} +20 -20
- package/dist/chunks/location-7wbnq2vq.js +22 -0
- package/dist/chunks/{kv-qpny3c6v.js → location-7zezh56x.js} +23 -23
- package/dist/chunks/{kv-4whayx0s.js → location-83x6p9kd.js} +1 -1
- package/dist/chunks/{kv-8jjhk1q2.js → location-88skwtww.js} +24 -24
- package/dist/chunks/{kv-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-54envfdg.js → location-8kvx5c4t.js} +12 -12
- package/dist/chunks/{kv-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-mn5tqr63.js → location-8z17e00v.js} +6 -6
- package/dist/chunks/{kv-hm2z15f1.js → location-9gbkhhyb.js} +17 -17
- package/dist/chunks/{kv-3xjx3nnr.js → location-9mx1cntf.js} +16 -16
- package/dist/chunks/{kv-pzb7ssjr.js → location-9nyx0xzb.js} +20 -20
- package/dist/chunks/{kv-v6ee2h3v.js → location-9vhx2d4h.js} +11 -11
- package/dist/chunks/{kv-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-x82mgsnk.js → location-a3fmdkp8.js} +1 -1
- package/dist/chunks/{kv-x9zkcjgp.js → location-a3kgfrx0.js} +11 -11
- package/dist/chunks/{kv-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-ead3g9p8.js → location-avm8jn6n.js} +5 -5
- package/dist/chunks/{kv-vt44rdpy.js → location-awbtvej0.js} +8 -8
- package/dist/chunks/{kv-j41a475f.js → location-b3frasm9.js} +8 -8
- package/dist/chunks/{kv-vxfhm8bf.js → location-b4phpgjh.js} +10 -10
- package/dist/chunks/{kv-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-6s9eyz9r.js → location-bajakh74.js} +4 -4
- package/dist/chunks/{kv-khbrytmr.js → location-bdyczj2g.js} +20 -20
- package/dist/chunks/{kv-qtmr6th1.js → location-bysfyz6c.js} +37 -37
- package/dist/chunks/{kv-yt2qvb82.js → location-c7ecgrk6.js} +8 -8
- package/dist/chunks/{kv-jmpfmt8q.js → location-cabjg3g0.js} +16 -16
- package/dist/chunks/{kv-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-t8bhz2vr.js → location-chnmz1hg.js} +8 -8
- package/dist/chunks/{kv-pjedbq3k.js → location-cmbqfntm.js} +6 -6
- package/dist/chunks/{kv-23k62ntz.js → location-cncarfnr.js} +6 -6
- package/dist/chunks/{kv-n91raeq2.js → location-crg35gqk.js} +2 -2
- package/dist/chunks/{kv-98wca9vv.js → location-ctysr86j.js} +19 -19
- package/dist/chunks/{kv-1h6gjd8c.js → location-cv28m94p.js} +30 -30
- package/dist/chunks/{kv-5xcehd92.js → location-cwjhdd4w.js} +25 -25
- package/dist/chunks/{kv-a04mvahc.js → location-cz5ya5dx.js} +6 -6
- package/dist/chunks/{kv-v79g31x1.js → location-d0rxe8vc.js} +12 -12
- package/dist/chunks/{kv-711jmqzf.js → location-deq2xmw7.js} +3 -3
- package/dist/chunks/{kv-b63ht0s6.js → location-dg7qpz4p.js} +20 -20
- package/dist/chunks/{kv-jg1xt47z.js → location-djamvv4a.js} +26 -26
- package/dist/chunks/{kv-rmk2c50f.js → location-dtqg9ce1.js} +5 -5
- package/dist/chunks/{kv-j7wq2tw5.js → location-dv250zvr.js} +3 -3
- package/dist/chunks/location-dxj72tfx.js +18 -0
- package/dist/chunks/{kv-n1r2whpk.js → location-e02shwjk.js} +46 -46
- package/dist/chunks/{kv-pwb1y8eh.js → location-e0paksqa.js} +21 -21
- package/dist/chunks/{kv-ccgygnta.js → location-e37jza6a.js} +3 -3
- package/dist/chunks/{kv-fafk78t6.js → location-e4dde0bf.js} +8 -8
- package/dist/chunks/{kv-ehrv1rgr.js → location-ecwj8few.js} +8 -8
- package/dist/chunks/{kv-ktqs2y9f.js → location-ejn237hk.js} +41 -41
- package/dist/chunks/{kv-gey3b743.js → location-en74w496.js} +5 -5
- package/dist/chunks/{kv-73tb2d7t.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{kv-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-mqh518cc.js → location-f06x8t7g.js} +24 -24
- package/dist/chunks/{kv-0evvd92y.js → location-f6pdpkc8.js} +55 -55
- package/dist/chunks/{kv-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{kv-d38t1zvd.js → location-f8jykge8.js} +25 -25
- package/dist/chunks/{kv-386yacj4.js → location-fffsb91j.js} +4 -4
- package/dist/chunks/{kv-818pfwc9.js → location-fg7rbsd2.js} +11 -11
- package/dist/chunks/{kv-q08m8exk.js → location-fj5qtafa.js} +35 -35
- package/dist/chunks/{kv-q4vcefqv.js → location-fm2g78m8.js} +11 -11
- package/dist/chunks/{kv-tn0aqsam.js → location-fpmq6gma.js} +5 -5
- package/dist/chunks/{kv-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-c09xw0p7.js → location-g0m9gjz9.js} +59 -59
- package/dist/chunks/{kv-gqawmzqm.js → location-g2y161wv.js} +8 -8
- package/dist/chunks/{kv-yhpgskpg.js → location-g5d9kagx.js} +167 -167
- package/dist/chunks/{kv-576fhmq5.js → location-gbxr56d2.js} +17 -17
- package/dist/chunks/{kv-b1fbxvtj.js → location-gbxx1qdc.js} +35 -35
- package/dist/chunks/{kv-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-3fc6dm20.js → location-gdvy8fx6.js} +4 -4
- package/dist/chunks/{kv-jmqs6zxy.js → location-grg0ht9d.js} +37 -37
- package/dist/chunks/{kv-m2d0j7c0.js → location-gsx0ryk4.js} +9 -9
- package/dist/chunks/{kv-hx55d56e.js → location-gt0cxfk7.js} +1 -1
- package/dist/chunks/{kv-th5km1p3.js → location-gv6a8nnw.js} +5 -5
- package/dist/chunks/{kv-b49wezdf.js → location-gwm9h4t4.js} +22 -22
- package/dist/chunks/{kv-w79zsp0s.js → location-gx1zhcta.js} +1 -1
- package/dist/chunks/{kv-979jzsrn.js → location-gxx6jc0s.js} +3 -3
- package/dist/chunks/{kv-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-pmk1pqd6.js → location-h5z8kjx1.js} +4 -4
- package/dist/chunks/{kv-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-d8j2ny38.js → location-hgxcmmev.js} +27 -27
- package/dist/chunks/{kv-hm622x1n.js → location-hhbxt1mp.js} +8 -8
- package/dist/chunks/{kv-45h5n6eh.js → location-hj81pfz7.js} +9 -9
- package/dist/chunks/{kv-6qk3rsrc.js → location-hjsevywp.js} +11 -11
- package/dist/chunks/{kv-nhy5jxhy.js → location-hjt4xg1x.js} +4 -4
- package/dist/chunks/{kv-kgxz8xde.js → location-hkqcgn21.js} +7 -7
- package/dist/chunks/{kv-8b7x386w.js → location-hpf6vjwp.js} +24 -24
- package/dist/chunks/{kv-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-244ny2pf.js → location-j5bzq3k2.js} +18 -18
- package/dist/chunks/{kv-paphc93g.js → location-j935v87r.js} +2 -2
- package/dist/chunks/{kv-23279rje.js → location-j9g8tyqb.js} +8 -8
- package/dist/chunks/{kv-e1czfjpt.js → location-jfk1xeys.js} +17 -17
- package/dist/chunks/{kv-11xwek3f.js → location-jg27de1v.js} +15 -15
- package/dist/chunks/{kv-tph2fk4h.js → location-jgffvrzd.js} +6 -6
- package/dist/chunks/{kv-47r3zz0x.js → location-jhetwysa.js} +3 -3
- package/dist/chunks/{kv-wc35t2q8.js → location-jm1m0h68.js} +17 -17
- package/dist/chunks/{kv-mn0apyfm.js → location-k2ez8jpr.js} +22 -22
- package/dist/chunks/{kv-acz5m649.js → location-k881w53b.js} +40 -40
- package/dist/chunks/{kv-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-fj3qsqhh.js → location-mb2t11pg.js} +3 -3
- package/dist/chunks/{kv-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-h5e4r8jw.js → location-mset8fj1.js} +41 -41
- package/dist/chunks/{kv-909q3sbg.js → location-n38wpmpz.js} +28 -28
- package/dist/chunks/{kv-035y26vf.js → location-n46wdk6t.js} +15 -15
- package/dist/chunks/{kv-baymfvbz.js → location-n94hfmyp.js} +4 -4
- package/dist/chunks/{kv-n017zbq8.js → location-nhnfdq9p.js} +13 -13
- package/dist/chunks/{kv-xk03nfws.js → location-nnejmx3z.js} +29 -29
- package/dist/chunks/{kv-sp3462fq.js → location-nvnjvff3.js} +24 -24
- package/dist/chunks/{kv-6x37xp33.js → location-p05b7svp.js} +19 -19
- package/dist/chunks/{kv-ytfav154.js → location-p7g16bt6.js} +9 -9
- package/dist/chunks/{kv-wvt7nan9.js → location-p9pbejt8.js} +26 -26
- package/dist/chunks/{kv-mg3wmayr.js → location-padgxnv1.js} +5 -5
- package/dist/chunks/{kv-py5wtr6h.js → location-pcg8y0q6.js} +10 -10
- package/dist/chunks/{kv-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-34pkvy5y.js → location-pjxwef55.js} +30 -30
- package/dist/chunks/{kv-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{kv-g8few7yj.js → location-pxq7pqqx.js} +20 -20
- package/dist/chunks/{kv-qpxqmgt2.js → location-q5j1bp2v.js} +4 -4
- package/dist/chunks/{kv-20y2msxf.js → location-q5nc2w3s.js} +26 -26
- package/dist/chunks/{kv-q123vns4.js → location-q6r6ry4n.js} +20 -20
- package/dist/chunks/{kv-9z6bc1tk.js → location-qe9wkc6t.js} +10 -10
- package/dist/chunks/{kv-9pv0dm11.js → location-qg6emqy4.js} +7 -7
- package/dist/chunks/{kv-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-qwkytnft.js → location-qkh2avww.js} +9 -9
- package/dist/chunks/{kv-1a6p2twq.js → location-qq11w61w.js} +4 -4
- package/dist/chunks/{kv-qz49fwgp.js → location-qqtwvk4z.js} +6 -6
- package/dist/chunks/{kv-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-vmq7ehpy.js → location-qte5z7bc.js} +5 -5
- package/dist/chunks/{kv-b5kvjmnm.js → location-r4tq48pt.js} +11 -11
- package/dist/chunks/{kv-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-mrn7qyex.js → location-ra3vsbfe.js} +9 -9
- package/dist/chunks/{kv-w2xthqm8.js → location-rabb6kfb.js} +7 -7
- package/dist/chunks/{kv-nbddwgy7.js → location-rme5v0wm.js} +10 -10
- package/dist/chunks/{kv-rh0baf1b.js → location-s0tc2krz.js} +17 -17
- package/dist/chunks/{kv-b6xmsvfe.js → location-s2dhjhqs.js} +30 -30
- package/dist/chunks/{kv-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{kv-2tavq0r4.js → location-sgfkh1bp.js} +4 -4
- package/dist/chunks/{kv-wzq4pq7r.js → location-srpeewqc.js} +9 -9
- package/dist/chunks/{kv-7fsaq6e9.js → location-swegyzdq.js} +14 -14
- package/dist/chunks/{kv-mymqxebx.js → location-szyk33kk.js} +2 -2
- package/dist/chunks/{kv-992nrvv2.js → location-t41sh3fy.js} +18 -18
- package/dist/chunks/{kv-eaj1djv9.js → location-t550f9t1.js} +8 -8
- package/dist/chunks/{kv-m6qnr7jw.js → location-t78ymf7t.js} +16 -16
- package/dist/chunks/{kv-g9245y80.js → location-t8mcaem5.js} +1 -1
- package/dist/chunks/{kv-ddgw6qpw.js → location-t9kz6j3c.js} +26 -26
- package/dist/chunks/{kv-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-2kty7x0k.js → location-tc7ec7w9.js} +34 -34
- package/dist/chunks/{kv-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{kv-va68n4y2.js → location-tgcnfkqc.js} +25 -25
- package/dist/chunks/{kv-d0vn5wzd.js → location-thkpvahy.js} +24 -24
- package/dist/chunks/{kv-ebea0m75.js → location-tj2vbr09.js} +287 -287
- package/dist/chunks/{kv-35nm4m8d.js → location-tkgdp0re.js} +13 -13
- package/dist/chunks/{kv-71d1h0hm.js → location-tqzea4nr.js} +30 -30
- package/dist/chunks/{kv-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-0bp11ksp.js → location-v54nzcw9.js} +22 -22
- package/dist/chunks/{kv-pevfk95c.js → location-vbk940s3.js} +22 -22
- package/dist/chunks/{kv-12v07r08.js → location-vccwxyms.js} +12 -12
- package/dist/chunks/{kv-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-thtv50x5.js → location-vjq66stf.js} +9 -9
- package/dist/chunks/{kv-a1haqd7r.js → location-vjqy2pak.js} +6 -6
- package/dist/chunks/{kv-m9xbxedm.js → location-vkkzdp2q.js} +6 -6
- package/dist/chunks/{kv-zwy6c5hz.js → location-vpsgd2jw.js} +9 -9
- package/dist/chunks/{kv-rckresz4.js → location-vtnam11j.js} +17 -17
- package/dist/chunks/{kv-zx4zts51.js → location-vzcbq1w3.js} +47 -47
- package/dist/chunks/{kv-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-4b1heq7g.js → location-w34f8myg.js} +28 -28
- package/dist/chunks/{kv-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-8ytb3y3t.js → location-wc4t234n.js} +15 -15
- package/dist/chunks/{kv-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{kv-g9gcz8s8.js → location-wj7cshxw.js} +42 -42
- package/dist/chunks/{kv-gmqjg5t3.js → location-wmq45nfe.js} +85 -85
- package/dist/chunks/{kv-432xgzw3.js → location-wwa04tag.js} +33 -33
- package/dist/chunks/{kv-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-k1867beh.js → location-x27ytnxh.js} +9 -9
- package/dist/chunks/{kv-7amrkpe1.js → location-xfrbke8t.js} +47 -47
- package/dist/chunks/{kv-wk5z6jzv.js → location-xhmq8qgk.js} +5 -5
- package/dist/chunks/{kv-4zph1b4r.js → location-xya91wz4.js} +2 -2
- package/dist/chunks/{kv-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-dam6jesc.js → location-y3ex4pz8.js} +15 -15
- package/dist/chunks/{kv-1ze9rnbj.js → location-y4424x0p.js} +4 -4
- package/dist/chunks/{kv-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{kv-m8rz97y9.js → location-yfhpaps7.js} +17 -17
- package/dist/chunks/{kv-ev7pw2j0.js → location-ymm454xd.js} +6 -6
- package/dist/chunks/{kv-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-z7xewpzj.js → location-yrrczd0w.js} +11 -11
- package/dist/chunks/{kv-hw39y2t2.js → location-yvmq8qxx.js} +14 -14
- package/dist/chunks/{kv-fy32pdpb.js → location-yzn2jey8.js} +8 -8
- package/dist/chunks/{kv-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-3x2xmk5f.js → location-z24k1rmt.js} +23 -23
- package/dist/chunks/{kv-y6j5wgpg.js → location-z8y5r8b4.js} +20 -20
- package/dist/chunks/{kv-gst7axd9.js → location-zav06jzw.js} +4 -4
- package/dist/chunks/{kv-c156ep7e.js → location-zd6k41k9.js} +11 -11
- package/dist/chunks/{kv-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-g190xswt.js → location-zepncfka.js} +21 -21
- package/dist/chunks/{kv-hthfj41c.js → location-zghxhb3h.js} +6 -6
- package/dist/chunks/{kv-xg9t41r3.js → location-zpd6x7fe.js} +2 -2
- package/dist/chunks/{kv-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-mp045f7j.js → location-zxwpk2nb.js} +1 -1
- package/dist/chunks/{kv-79fkffh7.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 +156 -156
- 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 +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- 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 +118 -118
- 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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +86 -86
- 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 +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 +11 -11
- package/dist/filesystem.js +99 -99
- 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 +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- 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 +96 -96
- package/dist/mcp/instructions.js +123 -123
- 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 +75 -75
- 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 +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 +4 -4
- 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 +81 -81
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- 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 +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- 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 +85 -85
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- 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 +93 -93
- 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 +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +118 -118
- 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 +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +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 +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/kv-0kwcw7fy.js +0 -4
- package/dist/chunks/kv-18nhnycp.js +0 -22
- package/dist/chunks/kv-715d9qs0.js +0 -247
- package/dist/chunks/kv-pf31ssb9.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node9
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node9 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node9, bound2, exports_instance2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-c7ecgrk6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin9 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin9, generate2, exports_variant };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-deq2xmw7.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info11,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID8.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service54.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node58 = makeGlobalNode({ service: Service54, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID8, Info11, ListInput4, AddInput2, Service54, node58, exports_saved };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-deq2xmw7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-y4424x0p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./location-0bps82y7.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service37
|
|
16
|
+
} from "./location-61gb32ev.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-qkh2avww.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service37;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service37;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin6
|
|
3
|
+
} from "./location-g2y161wv.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin5
|
|
6
|
+
} from "./location-jgffvrzd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin2
|
|
9
|
+
} from "./location-ra3vsbfe.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin7
|
|
12
|
+
} from "./location-e4dde0bf.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin6,
|
|
17
|
+
Plugin5,
|
|
18
|
+
Plugin2,
|
|
19
|
+
Plugin7
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./location-g0m9gjz9.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin33,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin33 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service53;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin9 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin33, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-deq2xmw7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node70
|
|
12
|
+
} from "./location-awbtvej0.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info16,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service65,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured7,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node69
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID12 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info16 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID12,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID12,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service65 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service65,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node70]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info16({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service65.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID12.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node69 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID12, Info16, NotFound3, CreateConflict2, Service65, configured7, node69, exports_workspace };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./location-yfhpaps7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service52,
|
|
13
|
+
canonical: () => canonical3,
|
|
14
|
+
node: () => node56
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
26
|
+
var node56 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
27
|
+
function canonical3(ref) {
|
|
28
|
+
return Ref3.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service52, node56, canonical3, exports_location_service_map };
|
|
@@ -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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-hjt4xg1x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
368
368
|
`;
|
|
369
369
|
|
|
370
370
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
371
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
372
372
|
const id = model.id.toLowerCase();
|
|
373
373
|
if (!id.includes("gpt"))
|
|
374
374
|
return;
|
|
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
397
|
return;
|
|
398
398
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
399
|
});
|
|
400
|
-
var Plugins2 = [
|
|
400
|
+
var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
401
401
|
function make(id, optimize) {
|
|
402
402
|
return define({
|
|
403
403
|
id,
|
|
@@ -421,4 +421,4 @@ function make(id, optimize) {
|
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
export {
|
|
424
|
+
export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|