@opencode/core 0.0.0-dev-19858 → 0.0.0-dev-19861
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{vcs-9cze0bjq.js → app-03s1nxke.js} +11 -11
- package/dist/chunks/{vcs-ke3jsz6r.js → app-04rey2jp.js} +37 -37
- package/dist/chunks/{vcs-59gxncmk.js → app-0abjdy6r.js} +22 -22
- package/dist/chunks/{vcs-cpy6gm2a.js → app-0ft9cg2j.js} +6 -6
- package/dist/chunks/{vcs-zk9jfaqz.js → app-0g0hpnxh.js} +15 -15
- package/dist/chunks/{vcs-gyxn878h.js → app-0mdd29xx.js} +15 -15
- package/dist/chunks/app-0mesazry.js +4 -0
- package/dist/chunks/{vcs-ygrrhazr.js → app-0n8krxan.js} +25 -25
- package/dist/chunks/{vcs-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-repb58am.js → app-0w62qmxp.js} +6 -6
- package/dist/chunks/{vcs-7aqqp7sg.js → app-0yfh2cv4.js} +17 -17
- package/dist/chunks/{vcs-zg00w177.js → app-112vf93d.js} +90 -90
- package/dist/chunks/{vcs-g9zwg0je.js → app-15ghn61v.js} +11 -11
- package/dist/chunks/{vcs-g1sxm558.js → app-166kng33.js} +8 -8
- package/dist/chunks/{vcs-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-7m2tq7cp.js → app-1mr1eyme.js} +12 -12
- package/dist/chunks/{vcs-8jf52wdv.js → app-1n7xfp7c.js} +6 -6
- package/dist/chunks/{vcs-8vc35css.js → app-1s6r0m01.js} +23 -23
- package/dist/chunks/{vcs-72n6j39c.js → app-1yn5b54x.js} +15 -15
- package/dist/chunks/{vcs-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-1c63232t.js → app-22ad72dw.js} +5 -5
- package/dist/chunks/{vcs-5c0f1prt.js → app-26k5bknw.js} +4 -4
- package/dist/chunks/{vcs-a20pgr88.js → app-28h5rqes.js} +29 -29
- package/dist/chunks/{vcs-13q063b0.js → app-29eh7px0.js} +10 -10
- package/dist/chunks/{vcs-jat0edw6.js → app-2a16gamj.js} +9 -9
- package/dist/chunks/{vcs-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-6226hgya.js → app-2ac6pq5r.js} +44 -44
- package/dist/chunks/{vcs-cfgw6j6z.js → app-2cvq1298.js} +11 -11
- package/dist/chunks/{vcs-1axrxgdc.js → app-2geg2a1k.js} +25 -25
- package/dist/chunks/{vcs-87ghn5kx.js → app-2js3mcp4.js} +5 -5
- package/dist/chunks/{vcs-nqyhrfcc.js → app-2q6kkxxq.js} +4 -4
- package/dist/chunks/{vcs-n2rc481p.js → app-2qamff3n.js} +32 -32
- package/dist/chunks/{vcs-bfwdkgar.js → app-2vfzc3td.js} +16 -16
- package/dist/chunks/{vcs-h9ynannw.js → app-2wxycwcj.js} +4 -4
- package/dist/chunks/{vcs-n5ej7v0r.js → app-35gwdmsd.js} +17 -17
- package/dist/chunks/{vcs-wqteacnb.js → app-389ykwvm.js} +96 -96
- package/dist/chunks/{vcs-w2jpnjzn.js → app-38wzhxwb.js} +4 -4
- package/dist/chunks/{vcs-fzspm7j1.js → app-3a3k705c.js} +6 -6
- package/dist/chunks/{vcs-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-ebym5fch.js → app-3m48w42r.js} +11 -11
- package/dist/chunks/{vcs-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-wjwsazx2.js → app-46jhmsf5.js} +23 -23
- package/dist/chunks/{vcs-2cdg16k9.js → app-4at0py5f.js} +3 -3
- package/dist/chunks/{vcs-kef0rm51.js → app-4fra59pm.js} +22 -22
- package/dist/chunks/{vcs-78ht92vq.js → app-4n86frb8.js} +18 -18
- package/dist/chunks/{vcs-j2zgkdb5.js → app-4rep1cc0.js} +27 -27
- package/dist/chunks/{vcs-rdmr8h45.js → app-4sms2kqp.js} +13 -13
- package/dist/chunks/{vcs-p70617b8.js → app-4zgg82rk.js} +32 -32
- package/dist/chunks/{vcs-a8bn8zg0.js → app-50mzsvk4.js} +4 -4
- package/dist/chunks/{vcs-dmxkarkb.js → app-5749a7rt.js} +22 -22
- package/dist/chunks/{vcs-qqeeq2t9.js → app-57b9ws8p.js} +4 -4
- package/dist/chunks/{vcs-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{vcs-bq6j9g1b.js → app-58g4rptp.js} +6 -6
- package/dist/chunks/{vcs-jexxy024.js → app-5cmxdwv8.js} +3 -3
- package/dist/chunks/{vcs-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-379sbzbq.js → app-5g373dvk.js} +24 -24
- package/dist/chunks/{vcs-t9a3q6q8.js → app-5k0e0nr1.js} +3 -3
- package/dist/chunks/{vcs-whenjg63.js → app-5mcxd2xw.js} +18 -18
- package/dist/chunks/{vcs-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-sbrmgv3y.js → app-64cefnnt.js} +12 -12
- package/dist/chunks/{vcs-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{vcs-bp9gkt27.js → app-66jergzr.js} +14 -14
- package/dist/chunks/{vcs-n22a5g2a.js → app-67d9h72z.js} +32 -32
- package/dist/chunks/{vcs-wprfv400.js → app-6cbv7e1m.js} +35 -35
- package/dist/chunks/{vcs-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{vcs-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-0w296mef.js → app-6zpck6fb.js} +19 -19
- package/dist/chunks/{vcs-kxphd5c7.js → app-738nz2x0.js} +6 -6
- package/dist/chunks/{vcs-r5x6zcsm.js → app-73tb2d7t.js} +3 -3
- package/dist/chunks/{vcs-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-e7710hd6.js → app-7f85ph34.js} +5 -5
- package/dist/chunks/{vcs-anq7mq7z.js → app-7r28xmed.js} +18 -18
- package/dist/chunks/{vcs-wepc9txd.js → app-7v4vhntb.js} +19 -19
- package/dist/chunks/{vcs-68hsc098.js → app-7v9wscx3.js} +30 -30
- package/dist/chunks/{vcs-erz15eev.js → app-7z8cwmc8.js} +9 -9
- package/dist/chunks/{vcs-apevh53r.js → app-853r27ye.js} +20 -20
- package/dist/chunks/{vcs-mdkr6fq5.js → app-85xe0f8m.js} +21 -21
- package/dist/chunks/{vcs-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-8p4f9s12.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{vcs-e34xd838.js → app-90dayy4w.js} +8 -8
- package/dist/chunks/{vcs-rcgznhtg.js → app-91dks806.js} +11 -11
- package/dist/chunks/{vcs-kgtte2k4.js → app-9c7b93gn.js} +24 -24
- package/dist/chunks/{vcs-j23gxyft.js → app-9e4kz7m2.js} +10 -10
- package/dist/chunks/{vcs-w4wvvbc4.js → app-9y617vrz.js} +5 -5
- package/dist/chunks/{vcs-dv3zezwm.js → app-9ywxax6f.js} +22 -22
- package/dist/chunks/app-9zdhvgqs.js +18 -0
- package/dist/chunks/{vcs-a1bz86dw.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{vcs-w5fm7hkw.js → app-a29a0jzg.js} +26 -26
- package/dist/chunks/{vcs-yz9726cp.js → app-a3kq1sqa.js} +11 -11
- package/dist/chunks/{vcs-pj7by5mk.js → app-a7bdh8gz.js} +71 -71
- package/dist/chunks/{vcs-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-d7r05era.js → app-ahp8ypm5.js} +3 -3
- package/dist/chunks/{vcs-7yevm10q.js → app-av28j1w8.js} +13 -13
- package/dist/chunks/{vcs-8kwpxbq8.js → app-awyb8gv9.js} +11 -11
- package/dist/chunks/{vcs-q9t0j652.js → app-azgxc740.js} +19 -19
- package/dist/chunks/app-b2bj7c3q.js +26 -0
- package/dist/chunks/{vcs-v5zftknb.js → app-b33ezyym.js} +24 -24
- package/dist/chunks/{vcs-8ctj0vet.js → app-b589hzzy.js} +46 -46
- package/dist/chunks/{vcs-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-sme2kac2.js → app-b778p09a.js} +30 -30
- package/dist/chunks/{vcs-zhq6vg7a.js → app-b97cbvw3.js} +1 -1
- package/dist/chunks/{vcs-jknhfhr2.js → app-b9czjycg.js} +33 -33
- package/dist/chunks/{vcs-z2ghjjem.js → app-bfwz5rjc.js} +5 -5
- package/dist/chunks/{vcs-8ta8hfpz.js → app-bgewb51p.js} +15 -15
- package/dist/chunks/{vcs-cq37gk0t.js → app-bha4atvq.js} +4 -4
- package/dist/chunks/{vcs-2hkvphhc.js → app-bhkcwbjr.js} +5 -5
- package/dist/chunks/{vcs-06zrjgay.js → app-bvp4gths.js} +11 -11
- package/dist/chunks/{vcs-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{vcs-h1p741k4.js → app-chgm6g41.js} +9 -9
- package/dist/chunks/{vcs-h6r3nrb9.js → app-cpj0znwe.js} +4 -4
- package/dist/chunks/{vcs-6knq39fp.js → app-cq4zkgfg.js} +6 -6
- package/dist/chunks/{vcs-0f9afca0.js → app-cr07tj7n.js} +5 -5
- package/dist/chunks/{vcs-m6em83jz.js → app-ctezbzm4.js} +29 -29
- package/dist/chunks/{vcs-8662gdp4.js → app-cx4wm8ch.js} +25 -25
- package/dist/chunks/{vcs-nv09mq9g.js → app-cz0bpax2.js} +9 -9
- package/dist/chunks/{vcs-fdv30zvt.js → app-d216944b.js} +4 -4
- package/dist/chunks/{vcs-seeezy3s.js → app-dkhfw37f.js} +11 -11
- package/dist/chunks/{vcs-y71avatq.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-wy1aae89.js → app-dschqtcd.js} +29 -29
- package/dist/chunks/{vcs-173jzaqb.js → app-dz7gaz91.js} +44 -44
- package/dist/chunks/{vcs-hmgqkarr.js → app-e5p9gmcw.js} +52 -52
- package/dist/chunks/{vcs-4qacd19w.js → app-eag6ew45.js} +5 -5
- package/dist/chunks/{vcs-rhjbct0v.js → app-eaj1djv9.js} +8 -8
- package/dist/chunks/{vcs-5xhftgj4.js → app-ee831jk2.js} +22 -22
- package/dist/chunks/{vcs-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-05ne224h.js → app-ekpey0w2.js} +35 -35
- package/dist/chunks/{vcs-bbp8a8gj.js → app-epkvv2f5.js} +24 -24
- package/dist/chunks/{vcs-wbkyxrgf.js → app-eq23s0y6.js} +5 -5
- package/dist/chunks/{vcs-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-tz2bjj40.js → app-evbgk2k8.js} +5 -5
- package/dist/chunks/{vcs-bgsd6ce6.js → app-eyq5w0tx.js} +321 -321
- package/dist/chunks/{vcs-ykmdpqna.js → app-f1nv3393.js} +1 -1
- package/dist/chunks/{vcs-wczd338b.js → app-f4cksbqy.js} +36 -36
- package/dist/chunks/{vcs-xar9seh6.js → app-f5sa8sd6.js} +14 -14
- package/dist/chunks/{vcs-f828m53h.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{vcs-gar06bvm.js → app-f8m84gb8.js} +13 -13
- package/dist/chunks/{vcs-r9chjg2t.js → app-fd7vcark.js} +11 -11
- package/dist/chunks/{vcs-113z30mj.js → app-fmbxdm3g.js} +8 -8
- package/dist/chunks/{vcs-y15vpdnr.js → app-fmcqyzhx.js} +9 -9
- package/dist/chunks/{vcs-45xbaj3v.js → app-fqgzk7pv.js} +5 -5
- package/dist/chunks/{vcs-n8jyz0fj.js → app-fvfb3fd0.js} +28 -28
- package/dist/chunks/{vcs-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-c765mh8b.js → app-g6q9qykm.js} +9 -9
- package/dist/chunks/{vcs-ew7chs6w.js → app-ga3zpfks.js} +28 -28
- package/dist/chunks/{vcs-6r81f25e.js → app-gb4d8a14.js} +20 -20
- package/dist/chunks/{vcs-spr050er.js → app-gb5spw7h.js} +10 -10
- package/dist/chunks/{vcs-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-ww2ppt95.js → app-gehb6127.js} +13 -13
- package/dist/chunks/{vcs-z2fmrg3w.js → app-gv0f11kb.js} +24 -24
- package/dist/chunks/{vcs-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-hv00q5g0.js → app-gwsdqkfn.js} +28 -28
- package/dist/chunks/{vcs-dc8pdabb.js → app-gyv5e7s4.js} +10 -10
- package/dist/chunks/{vcs-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-mhg46e0p.js → app-hb9jrkjm.js} +35 -35
- package/dist/chunks/{vcs-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-cvv1tyh9.js → app-j9ntjbjw.js} +7 -7
- package/dist/chunks/{vcs-3h1vqtm7.js → app-j9swzztf.js} +50 -50
- package/dist/chunks/{vcs-jz93xfa4.js → app-jent2as2.js} +24 -24
- package/dist/chunks/{vcs-mk3kndb3.js → app-jkwh4gcj.js} +32 -32
- package/dist/chunks/{vcs-hmkrxbsd.js → app-jnsj711q.js} +1 -1
- package/dist/chunks/{vcs-y346bt7s.js → app-jnt1kwnr.js} +3 -3
- package/dist/chunks/{vcs-05ema446.js → app-jqmhvstb.js} +20 -20
- package/dist/chunks/{vcs-x41dyxnd.js → app-jsze95va.js} +32 -32
- package/dist/chunks/{vcs-7k1t81qn.js → app-k3jwnc6w.js} +26 -26
- package/dist/chunks/{vcs-j7mpm1wr.js → app-k4bsvsx7.js} +12 -12
- package/dist/chunks/{vcs-h82njgbp.js → app-k94qrc8k.js} +35 -35
- package/dist/chunks/{vcs-9waxhxyt.js → app-k9av316b.js} +58 -58
- package/dist/chunks/{vcs-jw7qx2m6.js → app-ka94gqqd.js} +4 -4
- package/dist/chunks/{vcs-jhgqne7p.js → app-kdjmvqve.js} +10 -10
- package/dist/chunks/{vcs-zee1rnkq.js → app-kne8f3cn.js} +4 -4
- package/dist/chunks/{vcs-6kjxsdk9.js → app-ktcan3rf.js} +18 -18
- package/dist/chunks/{vcs-p841sg60.js → app-kwpbznt7.js} +30 -30
- package/dist/chunks/{vcs-wz7c3pjz.js → app-kyrzxw1k.js} +13 -13
- package/dist/chunks/{vcs-nq7qbqzc.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{vcs-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-ehpg0rej.js → app-m6r2z606.js} +4 -4
- package/dist/chunks/{vcs-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-fam871qv.js → app-mc6hyre0.js} +10 -10
- package/dist/chunks/{vcs-56gdpj1q.js → app-mfqp6xfm.js} +6 -6
- package/dist/chunks/{vcs-y5df08dr.js → app-mqt5419d.js} +5 -5
- package/dist/chunks/{vcs-vbsshj49.js → app-mtt68vmf.js} +25 -25
- package/dist/chunks/{vcs-4rrs1rky.js → app-mvtp2pry.js} +13 -13
- package/dist/chunks/{vcs-ycjb11n5.js → app-mx9vqzsb.js} +6 -6
- package/dist/chunks/{vcs-jphrr7s4.js → app-mxn8exwt.js} +19 -19
- package/dist/chunks/{vcs-ds81ph87.js → app-myefbstp.js} +18 -18
- package/dist/chunks/{vcs-2t103h6b.js → app-n010fk1p.js} +11 -11
- package/dist/chunks/{vcs-m42kpekn.js → app-n6d4p8nj.js} +44 -44
- package/dist/chunks/{vcs-wvyg63f2.js → app-ncjkz9z1.js} +29 -29
- package/dist/chunks/{vcs-rfm2565c.js → app-ndb5d06d.js} +60 -60
- package/dist/chunks/{vcs-d7r387ef.js → app-ns15zm60.js} +6 -6
- package/dist/chunks/{vcs-x4gr8kd6.js → app-nsjkyrtc.js} +6 -6
- package/dist/chunks/{vcs-amnjnv1s.js → app-nsvybq32.js} +40 -40
- package/dist/chunks/{vcs-nzks3jc8.js → app-nzks3jc8.js} +3 -3
- package/dist/chunks/{vcs-p28j5sbe.js → app-p28j5sbe.js} +2 -2
- package/dist/chunks/{vcs-vpdthv1w.js → app-p68jy0p0.js} +47 -47
- package/dist/chunks/{vcs-k6bjvtpx.js → app-p7kkfgfy.js} +9 -9
- package/dist/chunks/{vcs-18e56dsp.js → app-p7nsp59h.js} +4 -4
- package/dist/chunks/{vcs-4qqvttyb.js → app-pdcy4k2y.js} +9 -9
- package/dist/chunks/{vcs-phstrbs2.js → app-phstrbs2.js} +1 -1
- package/dist/chunks/{vcs-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-q2b1ymqp.js → app-q2b1ymqp.js} +1 -1
- package/dist/chunks/{vcs-98n6zb1h.js → app-q2xng7e1.js} +29 -29
- package/dist/chunks/{vcs-8xh6cseh.js → app-q80qg22r.js} +16 -16
- package/dist/chunks/{vcs-n6gjtqa4.js → app-qakm37pj.js} +30 -30
- package/dist/chunks/{vcs-4nenax5m.js → app-qaqrrstf.js} +9 -9
- package/dist/chunks/{vcs-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
- package/dist/chunks/{vcs-kvdph0hb.js → app-qjymz4e2.js} +3 -3
- package/dist/chunks/{vcs-kxhmg965.js → app-qnzzh3bs.js} +24 -24
- package/dist/chunks/{vcs-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-yt3hy1g9.js → app-qvreyy9g.js} +5 -5
- package/dist/chunks/{vcs-snabfqxp.js → app-r8pm2v0t.js} +4 -4
- package/dist/chunks/{vcs-ry85pwrz.js → app-r9763r4t.js} +11 -11
- package/dist/chunks/{vcs-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-1vx51w1w.js → app-rf46get4.js} +18 -18
- package/dist/chunks/{vcs-gn9g1pwf.js → app-rp4sb7ft.js} +31 -31
- package/dist/chunks/{vcs-twnj3zvd.js → app-rp6k66e5.js} +20 -20
- package/dist/chunks/{vcs-py7tvzcg.js → app-ry3kwg5r.js} +35 -35
- package/dist/chunks/{vcs-9c3np669.js → app-rzs3gq0x.js} +8 -8
- package/dist/chunks/app-rzsdpbyf.js +252 -0
- package/dist/chunks/{vcs-rqk1njnt.js → app-rzter2vb.js} +17 -17
- package/dist/chunks/{vcs-fb101560.js → app-s9mmsqrc.js} +17 -17
- package/dist/chunks/{vcs-tyg3r6mh.js → app-sbxv4cwa.js} +4 -4
- package/dist/chunks/{vcs-deajjef3.js → app-sg8pmkre.js} +21 -21
- package/dist/chunks/{vcs-s1pxbdt0.js → app-szkxvq7w.js} +16 -16
- package/dist/chunks/{vcs-40j9bccr.js → app-t1h7jwac.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-71rwez9w.js → app-tgkpsbpf.js} +11 -11
- package/dist/chunks/{vcs-nhja5bmb.js → app-tv3z4kj6.js} +20 -20
- package/dist/chunks/{vcs-698nh4g1.js → app-tvc1wdcr.js} +12 -12
- package/dist/chunks/{vcs-tsvqgg8r.js → app-tvm0x603.js} +18 -18
- package/dist/chunks/{vcs-nw2p6qkx.js → app-tvshepj5.js} +26 -26
- package/dist/chunks/{vcs-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-3664dkb2.js → app-v9a8k35b.js} +42 -42
- package/dist/chunks/{vcs-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-a3r4dcrj.js → app-vmgq4x8b.js} +2 -2
- package/dist/chunks/{vcs-ybhbtxjg.js → app-vmwh049b.js} +6 -6
- package/dist/chunks/{vcs-2f5wythd.js → app-vvysgjv5.js} +5 -5
- package/dist/chunks/{vcs-tcsc0whj.js → app-vvzdbbdm.js} +10 -10
- package/dist/chunks/{vcs-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-etazx9r2.js → app-w34drh26.js} +20 -20
- package/dist/chunks/{vcs-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-762r0j46.js → app-w8xr7nv8.js} +5 -5
- package/dist/chunks/{vcs-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-spe3g0hp.js → app-wes8p5ff.js} +180 -180
- package/dist/chunks/{vcs-2m1f7cy6.js → app-wkv4p1cn.js} +13 -13
- package/dist/chunks/{vcs-2djq4902.js → app-wte5xypw.js} +14 -14
- package/dist/chunks/{vcs-ve62qrz7.js → app-wxv7zk66.js} +5 -5
- package/dist/chunks/{vcs-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-5wdaxb8f.js → app-x2ksegs4.js} +32 -32
- package/dist/chunks/{vcs-12v7f4hg.js → app-x40kz2n8.js} +41 -41
- package/dist/chunks/{vcs-x8h0pz8m.js → app-x7hpp0cz.js} +9 -9
- package/dist/chunks/{vcs-01m6t6a9.js → app-xam4y82e.js} +25 -25
- package/dist/chunks/{vcs-a3ftg8j6.js → app-xf8yqmad.js} +9 -9
- package/dist/chunks/{vcs-z7z0ddsh.js → app-xfc78b52.js} +8 -8
- package/dist/chunks/{vcs-mmr7bq34.js → app-xfdrc2qg.js} +6 -6
- package/dist/chunks/{vcs-4we6rgn1.js → app-xtc9razg.js} +5 -5
- package/dist/chunks/{vcs-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-a8zr1srk.js → app-y3q03scc.js} +8 -8
- package/dist/chunks/{vcs-r8xr0va3.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-5qkxfyep.js → app-yq2cczkq.js} +9 -9
- package/dist/chunks/{vcs-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-envqdpax.js → app-yz0qd2c9.js} +13 -13
- package/dist/chunks/{vcs-3ewed21c.js → app-z0aj456m.js} +4 -4
- package/dist/chunks/{vcs-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-gsjgh4hm.js → app-z1n384xa.js} +15 -15
- package/dist/chunks/{vcs-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{vcs-mzr7febk.js → app-za4cqae4.js} +9 -9
- package/dist/chunks/{vcs-5gh21e1w.js → app-zcbk9ecm.js} +2 -2
- package/dist/chunks/{vcs-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-7md8yzhz.js → app-zk19rc5h.js} +22 -22
- package/dist/chunks/{vcs-9pqkkp2e.js → app-zpaje10v.js} +11 -11
- package/dist/chunks/{vcs-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-4xvd153e.js → app-zsby4d12.js} +7 -7
- package/dist/chunks/{vcs-dn92n4b8.js → app-zv0ss7ka.js} +30 -30
- package/dist/chunks/{vcs-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/vcs-50hbbtx8.js +0 -26
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-qapv375x.js +0 -4
- package/dist/chunks/vcs-wcr4e3c6.js +0 -252
- /package/dist/chunks/{vcs-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./app-k9av316b.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-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: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
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 name7 = "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 description4 = `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 Input7 = 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 Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.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 Plugin41 = {
|
|
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* Service71;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin14 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
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 { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./app-2cvq1298.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-xfc78b52.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service73,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node77
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service73 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service82;
|
|
59
|
+
return Service73.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node86] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service73, node77, exports_store };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-03s1nxke.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin22, exports_tavily };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info29,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info29 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info29, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./app-ctezbzm4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./app-k9av316b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./app-gwsdqkfn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin46,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID12,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin46 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service71;
|
|
53
|
+
const forms = yield* Service61;
|
|
54
|
+
const websearch = yield* Service70;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name11, NO_RESULTS2, description5, Input11, Plugin46, exports_websearch2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions5 = {};
|
|
18
18
|
__export(exports_instructions5, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
-
make: () =>
|
|
20
|
+
make: () => make15,
|
|
21
21
|
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -111,11 +111,11 @@ ${render3(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render3, update3,
|
|
130
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-03s1nxke.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin39 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin39 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin20, exports_tinyfish };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./app-b33ezyym.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service54
|
|
8
|
+
} from "./app-k94qrc8k.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./app-n6d4p8nj.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-5cmxdwv8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./app-s9mmsqrc.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service71
|
|
22
|
+
} from "./app-k9av316b.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service22
|
|
25
|
+
} from "./app-389ykwvm.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./app-tgkpsbpf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin38 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
|
+
const jobs = yield* Service55;
|
|
94
|
+
const agents = yield* Service74;
|
|
95
|
+
const config = yield* Service39;
|
|
96
|
+
const permission = yield* Service71;
|
|
97
|
+
const models = yield* Service54;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin13 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin13 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name4];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name4, Input4, Output3, description2, Plugin38, exports_subagent };
|