@opencode-ai/core 0.0.0-beta-19192 → 0.0.0-beta-19215
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -82
- package/dist/chunks/{image-nphrg578.js → vcs-06qbm036.js} +8 -8
- package/dist/chunks/{image-1wne4z4q.js → vcs-0agkztpb.js} +25 -25
- package/dist/chunks/{image-m3fm0fm8.js → vcs-0b89de78.js} +5 -5
- package/dist/chunks/{image-0e0xafbb.js → vcs-0e0xafbb.js} +2 -2
- package/dist/chunks/{image-fv5fa0fb.js → vcs-0j9tth8j.js} +43 -43
- package/dist/chunks/{image-0j8b5gw6.js → vcs-0papqmsd.js} +15 -15
- package/dist/chunks/{image-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/vcs-0q0f95c6.js +37 -0
- package/dist/chunks/{image-0s9ayhjt.js → vcs-0s9ayhjt.js} +1 -1
- package/dist/chunks/{image-r9gjvh9g.js → vcs-0vzfvg04.js} +8 -8
- package/dist/chunks/{image-gaq06wk0.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{image-9ka0zpp0.js → vcs-15sxmm5n.js} +11 -11
- package/dist/chunks/{image-e1yg3ztk.js → vcs-199hrm31.js} +29 -29
- package/dist/chunks/{image-0v53mg2y.js → vcs-1a6p2twq.js} +4 -4
- package/dist/chunks/{image-1ct4r87x.js → vcs-1ct4r87x.js} +1 -1
- package/dist/chunks/{image-7dntkcaf.js → vcs-1h8fvjtb.js} +19 -19
- package/dist/chunks/{image-xyxexyrh.js → vcs-1msg2xhp.js} +16 -16
- package/dist/chunks/{image-1n116cmy.js → vcs-1n116cmy.js} +2 -2
- package/dist/chunks/{image-mrdd2gsj.js → vcs-1qq0n3fx.js} +13 -13
- package/dist/chunks/{image-qhywa2va.js → vcs-1v44psd1.js} +11 -11
- package/dist/chunks/{image-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{image-dm7yrpwm.js → vcs-26cp1sm5.js} +5 -5
- package/dist/chunks/{image-ev17xj63.js → vcs-28k0k12k.js} +17 -17
- package/dist/chunks/{image-c3ffnjw8.js → vcs-29jkr7dy.js} +9 -9
- package/dist/chunks/{image-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{image-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-2ht70gj7.js → vcs-2ht70gj7.js} +1 -1
- package/dist/chunks/{image-qgn6gcr1.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{image-2kykh1mj.js → vcs-2kykh1mj.js} +2 -2
- package/dist/chunks/{image-hzajzqrq.js → vcs-2pcck2p6.js} +39 -39
- package/dist/chunks/{image-srexs3pv.js → vcs-2sq2sxwn.js} +10 -10
- package/dist/chunks/{image-1tjjswnh.js → vcs-2xmmrvpj.js} +46 -46
- package/dist/chunks/{image-rbx8vs9s.js → vcs-32e5jaqj.js} +32 -32
- package/dist/chunks/{image-6xyvfjmy.js → vcs-3b6fy74d.js} +13 -13
- package/dist/chunks/{image-x4j0zqk8.js → vcs-3f2698t0.js} +8 -8
- package/dist/chunks/{image-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-9r22tjds.js → vcs-3pa39xkc.js} +17 -17
- package/dist/chunks/{image-3qzbfqsy.js → vcs-3qzbfqsy.js} +2 -2
- package/dist/chunks/{image-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-z9hwx18z.js → vcs-3xjrz5h3.js} +43 -43
- package/dist/chunks/{image-454k5vzh.js → vcs-454k5vzh.js} +1 -1
- package/dist/chunks/{image-r2t05dft.js → vcs-48c3da1c.js} +11 -11
- package/dist/chunks/{image-49z4sxtc.js → vcs-49z4sxtc.js} +2 -2
- package/dist/chunks/{image-4ehv4ads.js → vcs-4ehv4ads.js} +1 -1
- package/dist/chunks/{image-nha5563d.js → vcs-4epeag8s.js} +9 -9
- package/dist/chunks/{image-astevrj0.js → vcs-4fjmsdns.js} +51 -51
- package/dist/chunks/vcs-4m5vhbnc.js +22 -0
- package/dist/chunks/{image-4r2nyarf.js → vcs-4r2nyarf.js} +1 -1
- package/dist/chunks/{image-r8qcw76d.js → vcs-4v29z2vj.js} +27 -27
- package/dist/chunks/{image-nfy329at.js → vcs-4y3tj3p1.js} +9 -9
- package/dist/chunks/{image-h10tdy9q.js → vcs-50vz3r2t.js} +11 -11
- package/dist/chunks/{image-r5vb7384.js → vcs-55gvq0qt.js} +59 -59
- package/dist/chunks/{image-6z5bwd8g.js → vcs-56gdpj1q.js} +11 -11
- package/dist/chunks/{image-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5fmxt4p5.js → vcs-5fmxt4p5.js} +1 -1
- package/dist/chunks/{image-5g186b3w.js → vcs-5g186b3w.js} +1 -1
- package/dist/chunks/{image-5jvc5tg2.js → vcs-5jvc5tg2.js} +1 -1
- package/dist/chunks/{image-z9dmagnb.js → vcs-5nck6wet.js} +295 -295
- package/dist/chunks/{image-5e15319b.js → vcs-5nrew705.js} +5 -5
- package/dist/chunks/{image-5pn8t89y.js → vcs-5pn8t89y.js} +1 -1
- package/dist/chunks/{image-5a0p3v26.js → vcs-5qepm9qc.js} +7 -7
- package/dist/chunks/{image-jwy076d6.js → vcs-61vj14ds.js} +23 -23
- package/dist/chunks/{image-c6hb7xc2.js → vcs-66wgwphc.js} +88 -88
- package/dist/chunks/{image-75yf2d83.js → vcs-6e958v7x.js} +8 -8
- package/dist/chunks/{image-zjwxsg17.js → vcs-6p379jz1.js} +19 -19
- package/dist/chunks/{image-c5fpz85k.js → vcs-6wyzmhhy.js} +23 -23
- package/dist/chunks/{image-711hfp6y.js → vcs-711hfp6y.js} +2 -2
- package/dist/chunks/{image-72nftnjy.js → vcs-72nftnjy.js} +2 -2
- package/dist/chunks/{image-mhkvc446.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-cqfmdc01.js → vcs-73z8mm7z.js} +23 -23
- package/dist/chunks/{image-48my4t0a.js → vcs-76crymj9.js} +25 -25
- package/dist/chunks/{image-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-1s3p39g4.js → vcs-7ebn0nc0.js} +4 -4
- package/dist/chunks/{image-hh10djt1.js → vcs-7jsewfst.js} +22 -22
- package/dist/chunks/{image-kqtysscw.js → vcs-7zwsbxj9.js} +13 -13
- package/dist/chunks/{image-9nrx719g.js → vcs-845ry8cv.js} +6 -6
- package/dist/chunks/{image-nsrf1zd9.js → vcs-8bq4n2p3.js} +3 -3
- package/dist/chunks/{image-x42jkk5j.js → vcs-8qjd0mff.js} +46 -63
- package/dist/chunks/{image-ae8v5dmx.js → vcs-8txhwh3r.js} +11 -11
- package/dist/chunks/{image-93a8yfjt.js → vcs-93a8yfjt.js} +2 -2
- package/dist/chunks/{image-fdh5tbn3.js → vcs-98kv2fgn.js} +4 -4
- package/dist/chunks/{image-8weygxvf.js → vcs-9hzc3ktg.js} +45 -45
- package/dist/chunks/{image-mjhwcw5v.js → vcs-9nmeg6hb.js} +9 -9
- package/dist/chunks/{image-75bx6y3z.js → vcs-9pdr28vf.js} +85 -40
- package/dist/chunks/{image-qvbcabdc.js → vcs-9qm9egsn.js} +2 -2
- package/dist/chunks/{image-wxhc8dy1.js → vcs-9r6rc4b7.js} +28 -28
- package/dist/chunks/{image-pzx0zbh6.js → vcs-9v7mbvam.js} +4 -4
- package/dist/chunks/{image-1rms16wb.js → vcs-9yvs5zdp.js} +10 -10
- package/dist/chunks/{image-h40ga2ve.js → vcs-a4rgs0hc.js} +6 -6
- package/dist/chunks/{image-hvpnsy1s.js → vcs-a51qe2m1.js} +11 -11
- package/dist/chunks/{image-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{image-7n2tcerd.js → vcs-af4svgqg.js} +11 -11
- package/dist/chunks/{image-yhngtrw1.js → vcs-agfpbvja.js} +16 -16
- package/dist/chunks/{image-yg7sb877.js → vcs-ajtjthsy.js} +2 -2
- package/dist/chunks/{image-y9a9s7mp.js → vcs-akj36s9h.js} +18 -18
- package/dist/chunks/vcs-b5q5y4vk.js +4 -0
- package/dist/chunks/{image-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-dxnmgjbm.js → vcs-b6p1hyvm.js} +7 -7
- package/dist/chunks/{image-fffs3heh.js → vcs-b8kek278.js} +16 -16
- package/dist/chunks/{image-cam0w9m9.js → vcs-b9399kqh.js} +7 -7
- package/dist/chunks/{image-b9wsbatv.js → vcs-b9wsbatv.js} +1 -1
- package/dist/chunks/{image-4apz7g8v.js → vcs-ben58ar7.js} +8 -8
- package/dist/chunks/vcs-bgrnrp44.js +193 -0
- package/dist/chunks/{image-243q2zkz.js → vcs-btcpkbm0.js} +15 -15
- package/dist/chunks/{image-q2qhh3tp.js → vcs-btwnxgvp.js} +9 -9
- package/dist/chunks/{image-meyfevqx.js → vcs-c91a16v9.js} +5 -5
- package/dist/chunks/{image-rkr4sv9x.js → vcs-cjy7jgaz.js} +30 -30
- package/dist/chunks/{image-j2rs2004.js → vcs-ck7ce0c9.js} +16 -16
- package/dist/chunks/{image-m59e1w6s.js → vcs-ctd4qdmr.js} +4 -4
- package/dist/chunks/{image-sg1nqqxe.js → vcs-cwd231kb.js} +14 -14
- package/dist/chunks/{image-pfb3hsz8.js → vcs-cywxv8kt.js} +33 -33
- package/dist/chunks/{image-zpfznfa2.js → vcs-d5eaw2qr.js} +42 -42
- package/dist/chunks/{image-g2gt0w0k.js → vcs-d72308c8.js} +2 -2
- package/dist/chunks/{image-bp57azs0.js → vcs-dzekqm42.js} +20 -20
- package/dist/chunks/{image-b45hdq4g.js → vcs-ed39k1pt.js} +5 -5
- package/dist/chunks/{image-h0nyqvwm.js → vcs-eea2f227.js} +17 -17
- package/dist/chunks/{image-tz7j0ah5.js → vcs-eeq7753a.js} +21 -21
- package/dist/chunks/{image-mstkx0nw.js → vcs-eg8251rh.js} +3 -3
- package/dist/chunks/{image-37ekrbj5.js → vcs-ehrd4qv3.js} +8 -8
- package/dist/chunks/{image-kt9eqfxj.js → vcs-ekqnrng5.js} +17 -17
- package/dist/chunks/{image-eq19x63z.js → vcs-eq19x63z.js} +1 -1
- package/dist/chunks/{image-ncdrabr4.js → vcs-famd3pv6.js} +5 -5
- package/dist/chunks/{image-30gfay9h.js → vcs-fdy3c0jq.js} +10 -10
- package/dist/chunks/{image-5qkxfyep.js → vcs-fjvydvzm.js} +4 -4
- package/dist/chunks/{image-ngt1cn5s.js → vcs-fjzrhbwe.js} +35 -35
- package/dist/chunks/{image-qv4r87jq.js → vcs-fnjz2ya7.js} +10 -10
- package/dist/chunks/{image-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-n1kbsmd5.js → vcs-fxpd7ndw.js} +22 -22
- package/dist/chunks/{image-fxypknc8.js → vcs-fxypknc8.js} +1 -1
- package/dist/chunks/{image-g4p50gac.js → vcs-g41bm2jr.js} +26 -26
- package/dist/chunks/{image-dvx7ppq8.js → vcs-g5g5wgjw.js} +12 -12
- package/dist/chunks/{image-kh6b770z.js → vcs-g74eqypt.js} +9 -9
- package/dist/chunks/{image-6m3crmzc.js → vcs-g8w9a2sb.js} +24 -24
- package/dist/chunks/{image-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-6wsskzzx.js → vcs-geykp34e.js} +9 -9
- package/dist/chunks/{image-gtcj13ca.js → vcs-gtcj13ca.js} +4 -4
- package/dist/chunks/{image-7skcpgmc.js → vcs-gv747rs9.js} +9 -9
- package/dist/chunks/{image-esk2a4yz.js → vcs-h3zw2b5b.js} +9 -9
- package/dist/chunks/{image-sscgwwvp.js → vcs-h607wd67.js} +15 -15
- package/dist/chunks/{image-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-heyhwy2w.js → vcs-heyhwy2w.js} +1 -1
- package/dist/chunks/{image-stfc1yc9.js → vcs-hjbandzy.js} +30 -30
- package/dist/chunks/{image-p6yzb5ay.js → vcs-hjt4xg1x.js} +4 -4
- package/dist/chunks/{image-r82wxrk3.js → vcs-hpqmtsvh.js} +32 -32
- package/dist/chunks/{image-g2dy4bvs.js → vcs-hrvm11jt.js} +3 -3
- package/dist/chunks/{image-hzxq4bdr.js → vcs-hzxq4bdr.js} +1 -1
- package/dist/chunks/{image-e1rfyyrx.js → vcs-j3pby61b.js} +4 -4
- package/dist/chunks/{image-6bkgre9x.js → vcs-j4vfhh0d.js} +21 -21
- package/dist/chunks/{image-7x53jcvj.js → vcs-j8zyd053.js} +17 -17
- package/dist/chunks/{image-paphc93g.js → vcs-j935v87r.js} +2 -2
- package/dist/chunks/{image-zrt27vz2.js → vcs-jaebam77.js} +9 -9
- package/dist/chunks/{image-bcezcar3.js → vcs-je9hks3h.js} +5 -5
- package/dist/chunks/{image-1g7epwpd.js → vcs-jfqtm2ew.js} +7 -7
- package/dist/chunks/{image-agvy7375.js → vcs-js040ewg.js} +57 -57
- package/dist/chunks/{image-5tacz69j.js → vcs-jstsd746.js} +13 -13
- package/dist/chunks/{image-5zx8vqtq.js → vcs-jtebge4x.js} +29 -29
- package/dist/chunks/{image-y71avatq.js → vcs-jwcy2c2z.js} +4 -4
- package/dist/chunks/{image-smn3ewtm.js → vcs-jz00yce7.js} +2 -2
- package/dist/chunks/{image-27t0qrmd.js → vcs-k2tbpkgb.js} +13 -13
- package/dist/chunks/{image-k4bwy1x5.js → vcs-k4bwy1x5.js} +1 -1
- package/dist/chunks/{image-7hj53tkn.js → vcs-k6bskw02.js} +39 -39
- package/dist/chunks/{image-bj98hyx2.js → vcs-kankm0x3.js} +32 -32
- package/dist/chunks/{image-jw78s2kh.js → vcs-kat8fmba.js} +11 -11
- package/dist/chunks/{image-fh1werz4.js → vcs-kawyycr7.js} +5 -5
- package/dist/chunks/{image-075hqz1p.js → vcs-kfghy6he.js} +6 -6
- package/dist/chunks/{image-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{image-hw4pv20g.js → vcs-kvsjn1dr.js} +2 -2
- package/dist/chunks/{image-qy76r1wf.js → vcs-kw6gp66q.js} +8 -8
- package/dist/chunks/{image-m207hpws.js → vcs-m207hpws.js} +1 -1
- package/dist/chunks/{image-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-373aghza.js → vcs-myadqhd4.js} +28 -28
- package/dist/chunks/{image-285h785p.js → vcs-n0x6shhs.js} +19 -19
- package/dist/chunks/{image-ak4wpdp5.js → vcs-n73jawzs.js} +38 -38
- package/dist/chunks/{image-w97wc9k9.js → vcs-nedatabr.js} +4 -4
- package/dist/chunks/{image-pvjg77yk.js → vcs-neq27s6s.js} +12 -12
- package/dist/chunks/{image-ynhf0h2x.js → vcs-ns3eq7m0.js} +25 -25
- package/dist/chunks/{image-5mm5wtvx.js → vcs-ns5xtrvf.js} +8 -8
- package/dist/chunks/{image-d4fga7fm.js → vcs-nvw3xbya.js} +3 -3
- package/dist/chunks/{image-nwkrf4xa.js → vcs-nwkrf4xa.js} +2 -2
- package/dist/chunks/{image-nzmvpftv.js → vcs-nzmvpftv.js} +2 -2
- package/dist/chunks/{image-qkmcd2xy.js → vcs-p3xha42b.js} +23 -23
- package/dist/chunks/{image-1qw2s0et.js → vcs-p646wcv3.js} +9 -9
- package/dist/chunks/{image-z1mrzrph.js → vcs-p9vq2f3r.js} +22 -22
- package/dist/chunks/{image-pbxt2nhv.js → vcs-pbxt2nhv.js} +1 -1
- package/dist/chunks/{image-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{image-s8kvec8m.js → vcs-pmtqz32t.js} +87 -57
- package/dist/chunks/{image-pq15x4g3.js → vcs-pq15x4g3.js} +1 -1
- package/dist/chunks/{image-6wee0njb.js → vcs-pwjtjj2g.js} +16 -16
- package/dist/chunks/{image-jrhxhxw8.js → vcs-pwvtd86b.js} +12 -12
- package/dist/chunks/{image-hgrms83d.js → vcs-pyb0vt1b.js} +30 -30
- package/dist/chunks/{image-shzqw592.js → vcs-q2jv6wk9.js} +3 -3
- package/dist/chunks/{image-yqapfx1s.js → vcs-qj2dbhwy.js} +9 -9
- package/dist/chunks/{image-1p8bnmch.js → vcs-qkzfms5c.js} +4 -4
- package/dist/chunks/{image-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{image-cek3fbn3.js → vcs-qv8vesay.js} +13 -13
- package/dist/chunks/{image-r5w2ssxe.js → vcs-r5w2ssxe.js} +2 -2
- package/dist/chunks/{image-r8dhm0tv.js → vcs-r8dhm0tv.js} +1 -1
- package/dist/chunks/vcs-rap9a73h.js +18 -0
- package/dist/chunks/{image-nwqw0f9p.js → vcs-rcqvhkqn.js} +32 -32
- package/dist/chunks/{image-0ayszzbx.js → vcs-rf2e5qpv.js} +4 -4
- package/dist/chunks/{image-prt3w6sm.js → vcs-rfd1h1zk.js} +23 -23
- package/dist/chunks/{image-rae26gbb.js → vcs-rjqxra3c.js} +8 -8
- package/dist/chunks/{image-mgwvmahn.js → vcs-rm3yzcsd.js} +4 -4
- package/dist/chunks/{image-6zjvkj2h.js → vcs-rnkg3a9m.js} +32 -32
- package/dist/chunks/{image-q3xf9qyh.js → vcs-rrqww7qb.js} +2 -2
- package/dist/chunks/{image-xr5by3j4.js → vcs-s82rw6zz.js} +24 -24
- package/dist/chunks/{image-sba4qhjf.js → vcs-sba4qhjf.js} +1 -1
- package/dist/chunks/{image-2m4g9ewj.js → vcs-sbnvhk9g.js} +20 -20
- package/dist/chunks/{image-nkj2jv88.js → vcs-sgvg2jfm.js} +18 -18
- package/dist/chunks/{image-0b64gfhy.js → vcs-sjvgarmy.js} +31 -31
- package/dist/chunks/{image-9e975f95.js → vcs-sywzgqtq.js} +8 -8
- package/dist/chunks/{image-c6qdtz30.js → vcs-t0xy2hyq.js} +9 -9
- package/dist/chunks/{image-g18dkc9a.js → vcs-t7dyq2hc.js} +12 -12
- package/dist/chunks/{image-4m7v3r37.js → vcs-t8a0n8qk.js} +29 -29
- package/dist/chunks/{image-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-9dknczgv.js → vcs-tgt602m5.js} +9 -9
- package/dist/chunks/{image-tjykrgmx.js → vcs-tjykrgmx.js} +1 -1
- package/dist/chunks/{image-n70sksgk.js → vcs-tmxtcmrp.js} +16 -16
- package/dist/chunks/{image-9pdz2n87.js → vcs-tpz8z6dc.js} +27 -27
- package/dist/chunks/{image-t2az9yje.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{image-sr6d0xpj.js → vcs-tzeffa9v.js} +11 -11
- package/dist/chunks/{image-1jmsknjd.js → vcs-v0wgv8sy.js} +6 -6
- package/dist/chunks/{image-v2tpghv8.js → vcs-v2tpghv8.js} +1 -1
- package/dist/chunks/{image-nag7dxjf.js → vcs-v60ecprk.js} +9 -9
- package/dist/chunks/{image-4d04p2vw.js → vcs-v9w5d20q.js} +20 -20
- package/dist/chunks/{image-v55y9sra.js → vcs-vdcmnvzv.js} +1 -1
- package/dist/chunks/{image-envd7176.js → vcs-vgfj0sqj.js} +19 -19
- package/dist/chunks/{image-szs3c7md.js → vcs-vh6as95p.js} +15 -15
- package/dist/chunks/{image-mj3zgynk.js → vcs-vnftj62s.js} +11 -11
- package/dist/chunks/{image-gnzetk2a.js → vcs-vsymvzqp.js} +15 -15
- package/dist/chunks/{image-xsk66m3q.js → vcs-vxbebyh5.js} +15 -15
- package/dist/chunks/{image-rbp25qjd.js → vcs-vxxn37a1.js} +8 -8
- package/dist/chunks/vcs-vz6qr5p1.js +20 -0
- package/dist/chunks/{image-6h414ywr.js → vcs-w0k1he6w.js} +5 -5
- package/dist/chunks/{image-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-f8fjkg66.js → vcs-wcd4bxx7.js} +17 -17
- package/dist/chunks/{image-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{image-zjv8y9ya.js → vcs-wktb67xe.js} +20 -20
- package/dist/chunks/{image-6eew7fj7.js → vcs-wtegwy4b.js} +23 -23
- package/dist/chunks/{image-m3xe71g4.js → vcs-x021s0pe.js} +4 -4
- package/dist/chunks/{image-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-nbxe4rdy.js → vcs-x31rem5a.js} +26 -26
- package/dist/chunks/{image-dwn642yz.js → vcs-x805nf67.js} +155 -155
- package/dist/chunks/{image-1jcnaza9.js → vcs-xc3j7mzs.js} +11 -11
- package/dist/chunks/{image-9tpbkn8j.js → vcs-xp713wfq.js} +35 -35
- package/dist/chunks/{image-t44ethcb.js → vcs-xptebv1e.js} +18 -18
- package/dist/chunks/{image-k68abf46.js → vcs-xy79x8r5.js} +3 -3
- package/dist/chunks/{image-v5rgjsm5.js → vcs-y0n7gr4f.js} +31 -31
- package/dist/chunks/{image-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-xw0wvw3m.js → vcs-y27bcytp.js} +9 -9
- package/dist/chunks/{image-qkxs7z50.js → vcs-ybgy1sn3.js} +9 -9
- package/dist/chunks/{image-2y3ph1yz.js → vcs-ycrj0ja6.js} +57 -57
- package/dist/chunks/{image-tqqej2s1.js → vcs-yf1j450z.js} +8 -8
- package/dist/chunks/{image-yfbd16n1.js → vcs-yfbd16n1.js} +2 -2
- package/dist/chunks/{image-q7wd5sqm.js → vcs-yggcn4e9.js} +34 -34
- package/dist/chunks/{image-jasnfvjs.js → vcs-yhdr8f5j.js} +10 -10
- package/dist/chunks/{image-j3g33syr.js → vcs-yjsg3rxy.js} +9 -9
- package/dist/chunks/{image-djtdz80w.js → vcs-yp2x3t23.js} +15 -5
- package/dist/chunks/{image-200tvc8g.js → vcs-ysfe1p8c.js} +41 -40
- package/dist/chunks/{image-x4vht8q3.js → vcs-ystvjdgv.js} +2 -2
- package/dist/chunks/{image-80c43yza.js → vcs-ytpvxjwh.js} +4 -4
- package/dist/chunks/{image-p37ez7j2.js → vcs-ywbsfzeb.js} +16 -16
- package/dist/chunks/{image-1226r2df.js → vcs-ywyky1d5.js} +82 -82
- package/dist/chunks/{image-jpmhptrj.js → vcs-yzdb6kcq.js} +24 -24
- package/dist/chunks/{image-epess5q8.js → vcs-z1fj7npv.js} +11 -11
- package/dist/chunks/{image-z1k01bn4.js → vcs-z1k01bn4.js} +2 -2
- package/dist/chunks/vcs-z2gmxqr2.js +247 -0
- package/dist/chunks/{image-2gbqcpts.js → vcs-z96229j4.js} +25 -25
- package/dist/chunks/{image-zfdtt056.js → vcs-zfdtt056.js} +1 -1
- package/dist/chunks/{image-fvqftnr7.js → vcs-zgaw3beg.js} +26 -26
- package/dist/chunks/{image-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-c7aw7383.js → vcs-zxv5ek45.js} +23 -23
- package/dist/chunks/{image-qm4x1tv3.js → vcs-zyv202hh.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -116
- package/dist/config/plugin/command.js +208 -207
- package/dist/config/plugin/compaction.js +154 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -116
- package/dist/config/plugin/image.js +115 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -114
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +114 -113
- package/dist/config/plugin/provider.js +113 -112
- package/dist/config/plugin/reference.js +117 -116
- package/dist/config/plugin/shell.js +116 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -134
- package/dist/config/plugin/snapshot.js +115 -114
- package/dist/config/plugin/source.js +117 -116
- package/dist/config/plugin/tool-output.js +117 -116
- package/dist/config/plugin/websearch.js +113 -112
- package/dist/config/plugin/worktree.js +118 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +215 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +350 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +150 -90
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -87
- package/dist/mcp/index.js +101 -100
- package/dist/mcp/instructions.js +121 -120
- package/dist/mcp/oauth.js +78 -12
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -85
- package/dist/model.js +2 -2
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- 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 +80 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -75
- package/dist/plugin/provider/lmstudio.js +117 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -79
- package/dist/plugin/provider/opencode.js +76 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -116
- package/dist/plugin/provider/xai.js +77 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +132 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -335
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +1 -1
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -125
- package/dist/session/context.js +146 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -217
- package/dist/session/execution.js +121 -120
- package/dist/session/generate.js +145 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -221
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -165
- package/dist/session/shell.js +131 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +144 -143
- package/dist/session/to-session-error.js +106 -105
- package/dist/session/transfer.js +214 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -211
- 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 +133 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +209 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +100 -100
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/location-activity.d.ts +3 -1
- package/dist/types/mcp/oauth.d.ts +6 -0
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/project/schema.d.ts +1 -0
- package/dist/types/project.d.ts +1 -0
- package/dist/types/session/execution.d.ts +5 -2
- package/dist/types/session/run-coordinator.d.ts +5 -2
- package/dist/types/util/error-summary.d.ts +7 -0
- package/dist/types/websearch.d.ts +5 -1
- package/dist/util/error-summary.js +8 -0
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +337 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/image-35zwc601.js +0 -247
- package/dist/chunks/image-7zk4hah4.js +0 -4
- package/dist/chunks/image-8n0gk8bj.js +0 -138
- package/dist/chunks/image-kpe4sfyz.js +0 -20
- package/dist/chunks/image-wqqnj2ff.js +0 -18
- package/dist/chunks/image-xacb94nx.js +0 -22
- /package/dist/chunks/{image-0fabt78z.js → vcs-0fabt78z.js} +0 -0
- /package/dist/chunks/{image-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3t738kvx.js → vcs-3t738kvx.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-41nvscxy.js → vcs-41nvscxy.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-982e01ww.js → vcs-982e01ww.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a1tpkmh4.js → vcs-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mntxs535.js → vcs-mntxs535.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p8qxwesx.js → vcs-p8qxwesx.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-se0s1eqw.js → vcs-se0s1eqw.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x1b8g1yb.js → vcs-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → vcs-z9919s4g.js} +0 -0
- /package/dist/chunks/{image-zbjnn3ac.js → vcs-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./vcs-neq27s6s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./vcs-2sq2sxwn.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service33,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-rap9a73h.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-x805nf67.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service33,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node16
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode-ai/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode-ai/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service77;
|
|
45
|
+
const kv = yield* Service79;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service33.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node16 = Node.makeLocationNode({
|
|
226
|
+
service: Service33,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-xy79x8r5.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./vcs-j3pby61b.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-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: () => ID15,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/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 ID15 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info28 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID15,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info29 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: ID15 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID15,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service73 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service73,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node78]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service74, 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 Info28({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service74, 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 Service73.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID15.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(Service74, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node77 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID15, Info28, NotFound3, CreateConflict2, Service73, configured11, node77, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service65 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service65.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node69 = makeLocationNode({
|
|
143
|
+
service: Service65,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service65, node69, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./vcs-vz6qr5p1.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-yjsg3rxy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./vcs-9r6rc4b7.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Service75,
|
|
18
|
-
node80
|
|
19
|
-
} from "./image-xyxexyrh.js";
|
|
15
|
+
} from "./vcs-aaet6srn.js";
|
|
20
16
|
import {
|
|
21
17
|
Service74,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
18
|
+
node79
|
|
19
|
+
} from "./vcs-1msg2xhp.js";
|
|
20
|
+
import {
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./vcs-g41bm2jr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service72,
|
|
33
|
+
node: () => node76
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service72,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node76,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
|
+
const workspace = yield* Service73;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service72.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node76 = makeLocationNode({
|
|
71
|
+
service: Service72,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node79, node77]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service72, node76, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./vcs-1msg2xhp.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-73z8mm7z.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service74;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-zfdtt056.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-nzmvpftv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-8txhwh3r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-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: () => Plugin38,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin5 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -61,7 +61,7 @@ var Plugin5 = define({
|
|
|
61
61
|
chunks_per_source: 3,
|
|
62
62
|
max_results: 8
|
|
63
63
|
}));
|
|
64
|
-
const response = yield* HttpClient.filterStatusOk(http).execute(request).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(SearchResponse)), Effect.timeoutOrElse({
|
|
64
|
+
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(SearchResponse)), Effect.scoped, Effect.timeoutOrElse({
|
|
65
65
|
duration: Duration.seconds(25),
|
|
66
66
|
orElse: () => Effect.fail(new Error("Tavily web search request timed out"))
|
|
67
67
|
}));
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin38, exports_tavily };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-zfdtt056.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service41,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node44
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service41 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service41, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service41.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node44 = makeLocationNode({ service: Service41, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service41, locationLayer2, node44, exports_aisdk };
|