@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
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./app-5g373dvk.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./app-2cvq1298.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node73
|
|
12
|
+
} from "./app-0w62qmxp.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-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: () => ID11,
|
|
25
|
+
Info: () => Info27,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service69,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node72
|
|
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 ID11 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info27 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID11,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info20 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: ID11 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID11,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service69 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service69,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node86, node73]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service82).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service58, 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 Info27({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service58, 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 Service69.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID11.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(Service58, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node72 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID11, Info27, NotFound3, CreateConflict2, Service69, configured11, node72, exports_workspace };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./app-wte5xypw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./app-n6d4p8nj.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-ncjkz9z1.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin13
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin13 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service39;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin13, exports_reference };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node69
|
|
5
|
+
} from "./app-03s1nxke.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-26k5bknw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./app-166kng33.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-k9av316b.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-f5sa8sd6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./app-9c7b93gn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service29,
|
|
25
|
+
node33
|
|
26
|
+
} from "./app-fd7vcark.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./app-57b9ws8p.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-b97cbvw3.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./app-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service28,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node32,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service75;
|
|
157
|
+
const transport = yield* Service29;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service28.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node32 = makeLocationNode({
|
|
263
|
+
service: Service28,
|
|
264
|
+
layer: layer12,
|
|
265
|
+
deps: [node79, node33, node69]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer12, node32, exports_model_request };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info14,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info14, exports_permission };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./app-853r27ye.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./app-wte5xypw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./app-n6d4p8nj.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-a29a0jzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./app-m2d0j7c0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-cq4zkgfg.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin14
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin14 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service39;
|
|
43
|
+
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service40;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin17 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin14, exports_skill };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render2(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-38wzhxwb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make7 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make4, exports_retry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info31 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info31, SessionSchema2 };
|