@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,60 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-xy79x8r5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./vcs-neq27s6s.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
|
+
import {
|
|
13
|
+
from2
|
|
14
|
+
} from "./vcs-0q0f95c6.js";
|
|
12
15
|
import {
|
|
13
16
|
__export
|
|
14
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
18
|
|
|
16
19
|
// src/credential.ts
|
|
17
20
|
var exports_credential = {};
|
|
18
21
|
__export(exports_credential, {
|
|
19
22
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
23
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key4,
|
|
24
27
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
26
29
|
Value: () => Value2,
|
|
27
30
|
node: () => node74
|
|
28
31
|
});
|
|
29
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
|
-
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
|
+
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
31
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
32
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
33
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
34
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
35
38
|
var OAuth3 = Credential.OAuth;
|
|
36
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
37
40
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
39
42
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
42
45
|
integrationID: Integration.ID,
|
|
43
46
|
label: Schema.String,
|
|
44
47
|
value: Value2
|
|
45
48
|
}) {
|
|
46
49
|
}
|
|
47
50
|
|
|
48
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
49
52
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
51
54
|
const db = (yield* Service80).db;
|
|
52
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service77;
|
|
53
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
57
|
const stored = (row) => {
|
|
55
58
|
if (!row.integration_id)
|
|
56
59
|
return;
|
|
57
|
-
return new
|
|
60
|
+
return new Info25({
|
|
58
61
|
id: row.id,
|
|
59
62
|
integrationID: row.integration_id,
|
|
60
63
|
label: row.label,
|
|
@@ -65,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
65
68
|
const credential = stored(row);
|
|
66
69
|
return credential ? [credential] : [];
|
|
67
70
|
});
|
|
68
|
-
return
|
|
71
|
+
return Service70.of({
|
|
69
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
70
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
71
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,8 +76,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
73
76
|
return row ? stored(row) : undefined;
|
|
74
77
|
}),
|
|
75
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
77
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID12.create(),
|
|
78
81
|
integrationID: input.integrationID,
|
|
79
82
|
label: input.label ?? "default",
|
|
80
83
|
value: input.value
|
|
@@ -88,9 +91,18 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
88
91
|
value: credential.value,
|
|
89
92
|
active: true
|
|
90
93
|
}).run();
|
|
91
|
-
})).pipe(Effect.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
})).pipe(Effect.onError((cause) => Effect.logError("credential create failed", {
|
|
95
|
+
credentialID: credential.id,
|
|
96
|
+
integrationID: credential.integrationID,
|
|
97
|
+
errors: from2(Cause.squash(cause))
|
|
98
|
+
})), Effect.orDie);
|
|
99
|
+
yield* Effect.logInfo("credential created", {
|
|
100
|
+
credentialID: credential.id,
|
|
101
|
+
integrationID: credential.integrationID,
|
|
102
|
+
type: credential.value.type
|
|
103
|
+
});
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
106
|
return credential;
|
|
95
107
|
}),
|
|
96
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -104,21 +116,45 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
104
116
|
yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integration_id)).run();
|
|
105
117
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
106
118
|
return credential.integration_id;
|
|
107
|
-
})).pipe(Effect.
|
|
108
|
-
|
|
109
|
-
|
|
119
|
+
})).pipe(Effect.onError((cause) => Effect.logError("credential activate failed", {
|
|
120
|
+
credentialID: id,
|
|
121
|
+
errors: from2(Cause.squash(cause))
|
|
122
|
+
})), Effect.orDie);
|
|
123
|
+
if (integrationID) {
|
|
124
|
+
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
|
+
}
|
|
110
127
|
}),
|
|
111
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
129
|
if (updates.label === undefined && updates.value === undefined)
|
|
113
130
|
return;
|
|
114
|
-
const credential = yield* db.select({ integrationID: CredentialTable2.integration_id, label: CredentialTable2.label }).from(CredentialTable2).where(eq(CredentialTable2.id, id)).get().pipe(Effect.
|
|
115
|
-
|
|
131
|
+
const credential = yield* db.select({ integrationID: CredentialTable2.integration_id, label: CredentialTable2.label }).from(CredentialTable2).where(eq(CredentialTable2.id, id)).get().pipe(Effect.onError((cause) => Effect.logError("credential update lookup failed", {
|
|
132
|
+
credentialID: id,
|
|
133
|
+
errors: from2(Cause.squash(cause))
|
|
134
|
+
})), Effect.orDie);
|
|
135
|
+
if (!credential?.integrationID) {
|
|
136
|
+
yield* Effect.logWarning("credential update skipped", { credentialID: id, reason: "credential_missing" });
|
|
116
137
|
return;
|
|
138
|
+
}
|
|
117
139
|
if (updates.label === credential.label && updates.value === undefined)
|
|
118
140
|
return;
|
|
119
|
-
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).
|
|
141
|
+
const updated = yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).returning({ id: CredentialTable2.id }).get().pipe(Effect.onError((cause) => Effect.logError("credential update failed", {
|
|
142
|
+
credentialID: id,
|
|
143
|
+
integrationID: credential.integrationID,
|
|
144
|
+
errors: from2(Cause.squash(cause))
|
|
145
|
+
})), Effect.orDie);
|
|
146
|
+
if (!updated) {
|
|
147
|
+
yield* Effect.logWarning("credential update skipped", { credentialID: id, reason: "credential_removed" });
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
yield* Effect.logInfo("credential updated", {
|
|
151
|
+
credentialID: id,
|
|
152
|
+
integrationID: credential.integrationID,
|
|
153
|
+
valueChanged: updates.value !== undefined,
|
|
154
|
+
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
|
+
});
|
|
120
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
122
158
|
}),
|
|
123
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -128,7 +164,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
128
164
|
const active = credential.integration_id ? yield* tx.select({ id: CredentialTable2.id }).from(CredentialTable2).where(eq(CredentialTable2.integration_id, credential.integration_id)).orderBy(desc(CredentialTable2.active), desc(CredentialTable2.time_created), desc(CredentialTable2.id)).get() : undefined;
|
|
129
165
|
yield* tx.delete(CredentialTable2).where(eq(CredentialTable2.id, id)).run();
|
|
130
166
|
if (!credential.integration_id || active?.id !== id)
|
|
131
|
-
return { switched: false };
|
|
167
|
+
return { switched: false, integrationID: credential.integration_id };
|
|
132
168
|
const replacement = yield* tx.select({ id: CredentialTable2.id }).from(CredentialTable2).where(eq(CredentialTable2.integration_id, credential.integration_id)).orderBy(desc(CredentialTable2.time_created), desc(CredentialTable2.id)).get();
|
|
133
169
|
if (replacement) {
|
|
134
170
|
yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integration_id)).run();
|
|
@@ -139,15 +175,24 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
139
175
|
integrationID: credential.integration_id,
|
|
140
176
|
credentialID: replacement?.id ?? null
|
|
141
177
|
};
|
|
142
|
-
})).pipe(Effect.
|
|
178
|
+
})).pipe(Effect.onError((cause) => Effect.logError("credential remove failed", {
|
|
179
|
+
credentialID: id,
|
|
180
|
+
errors: from2(Cause.squash(cause))
|
|
181
|
+
})), Effect.orDie);
|
|
143
182
|
if (!removed)
|
|
144
183
|
return;
|
|
145
|
-
yield*
|
|
184
|
+
yield* Effect.logInfo("credential removed", {
|
|
185
|
+
credentialID: id,
|
|
186
|
+
integrationID: removed.integrationID,
|
|
187
|
+
active: removed.switched,
|
|
188
|
+
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
|
+
});
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
146
191
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
193
|
})
|
|
149
194
|
});
|
|
150
195
|
}));
|
|
151
|
-
var node74 = makeGlobalNode({ service:
|
|
196
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node85, node82] });
|
|
152
197
|
|
|
153
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event19, Info25, Service70, node74, exports_credential };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./vcs-neq27s6s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-ycrj0ja6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event7 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info7 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service77;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service44.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node48 = makeLocationNode({
|
|
112
|
+
service: Service44,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node82]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID6, Name2, available2, toModelOutput3, prepare3, Service44, node48, exports_skill5, Event7 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-8txhwh3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ID14,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-zfdtt056.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-5qepm9qc.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service39,
|
|
3
|
+
node42,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-06qbm036.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service38,
|
|
8
|
+
node41
|
|
9
|
+
} from "./vcs-vz6qr5p1.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-z2gmxqr2.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service39, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node41.replace(Layer.succeed(Service38, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node42.replace(Layer.succeed(Service39, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-hjt4xg1x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -372,7 +372,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
372
372
|
`;
|
|
373
373
|
|
|
374
374
|
// src/plugin/optimize.ts
|
|
375
|
-
var
|
|
375
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
376
376
|
const id = model.id.toLowerCase();
|
|
377
377
|
if (!id.includes("gpt"))
|
|
378
378
|
return;
|
|
@@ -401,7 +401,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
401
401
|
return;
|
|
402
402
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
403
403
|
});
|
|
404
|
-
var Plugins2 = [
|
|
404
|
+
var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
405
405
|
function make(id, optimize) {
|
|
406
406
|
return define({
|
|
407
407
|
id,
|
|
@@ -422,4 +422,4 @@ function make(id, optimize) {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
export {
|
|
425
|
+
export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service28.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node33 = makeGlobalNode({ service: Service28, layer: layer13, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service28, makeLayer2, layer13, node33, exports_model_transport };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info21
|
|
6
|
+
} from "./vcs-sbnvhk9g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info20
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info21)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info20, exports_agent4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node79
|
|
4
|
+
} from "./vcs-1msg2xhp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service33
|
|
7
|
+
} from "./vcs-rap9a73h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service13,
|
|
10
|
+
node17
|
|
11
|
+
} from "./vcs-n73jawzs.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node16
|
|
14
|
+
} from "./vcs-fxpd7ndw.js";
|
|
15
15
|
import {
|
|
16
16
|
node5
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-2pcck2p6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_refresh, {
|
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service74;
|
|
32
|
+
const plugins = yield* Service33;
|
|
33
|
+
const worktrees = yield* Service13;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node17, node79, node16, node5]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node2, exports_refresh };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-r8dhm0tv.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9qm9egsn.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|