@opencode-ai/core 0.0.0-beta-19187 → 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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -80
- package/dist/chunks/{snapshot-pqy10p6r.js → vcs-06qbm036.js} +8 -8
- package/dist/chunks/{snapshot-tnbsa9ys.js → vcs-0agkztpb.js} +20 -20
- package/dist/chunks/{snapshot-1ydgq2r4.js → vcs-0b89de78.js} +5 -5
- package/dist/chunks/{snapshot-0e0xafbb.js → vcs-0e0xafbb.js} +2 -2
- package/dist/chunks/{snapshot-xzpf9br7.js → vcs-0j9tth8j.js} +41 -41
- package/dist/chunks/{snapshot-gfym1ca3.js → vcs-0papqmsd.js} +18 -18
- package/dist/chunks/{snapshot-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/vcs-0q0f95c6.js +37 -0
- package/dist/chunks/{snapshot-0s9ayhjt.js → vcs-0s9ayhjt.js} +1 -1
- package/dist/chunks/{snapshot-rxez074z.js → vcs-0vzfvg04.js} +8 -8
- package/dist/chunks/{snapshot-020j3mp2.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{snapshot-909grfy1.js → vcs-15sxmm5n.js} +11 -11
- package/dist/chunks/{snapshot-en9d43be.js → vcs-199hrm31.js} +31 -31
- package/dist/chunks/{snapshot-1a6p2twq.js → vcs-1a6p2twq.js} +1 -1
- package/dist/chunks/{snapshot-1ct4r87x.js → vcs-1ct4r87x.js} +1 -1
- package/dist/chunks/{snapshot-hkfxbmge.js → vcs-1h8fvjtb.js} +19 -19
- package/dist/chunks/{snapshot-9vsg5cp7.js → vcs-1msg2xhp.js} +16 -16
- package/dist/chunks/{snapshot-1n116cmy.js → vcs-1n116cmy.js} +2 -2
- package/dist/chunks/{snapshot-cb49kykp.js → vcs-1qq0n3fx.js} +13 -13
- package/dist/chunks/{snapshot-dcxt3b0h.js → vcs-1v44psd1.js} +11 -11
- package/dist/chunks/{snapshot-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{snapshot-8rfm27zh.js → vcs-26cp1sm5.js} +5 -5
- package/dist/chunks/{snapshot-4gc90xj1.js → vcs-28k0k12k.js} +20 -20
- package/dist/chunks/{snapshot-5hk7d8ve.js → vcs-29jkr7dy.js} +9 -9
- package/dist/chunks/{snapshot-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{snapshot-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-2ht70gj7.js → vcs-2ht70gj7.js} +1 -1
- package/dist/chunks/{snapshot-fcrkznn8.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{snapshot-zajwd6at.js → vcs-2kykh1mj.js} +5 -5
- package/dist/chunks/{snapshot-gya8cf0v.js → vcs-2pcck2p6.js} +40 -40
- package/dist/chunks/{snapshot-kvqvfjxg.js → vcs-2sq2sxwn.js} +10 -10
- package/dist/chunks/{snapshot-2m3ere56.js → vcs-2xmmrvpj.js} +46 -46
- package/dist/chunks/{snapshot-h5vhzp21.js → vcs-32e5jaqj.js} +32 -32
- package/dist/chunks/{snapshot-xyz60e6p.js → vcs-3b6fy74d.js} +13 -13
- package/dist/chunks/{snapshot-avc0zheg.js → vcs-3f2698t0.js} +8 -8
- package/dist/chunks/{snapshot-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-fc9k9wz0.js → vcs-3pa39xkc.js} +17 -17
- package/dist/chunks/{snapshot-3qzbfqsy.js → vcs-3qzbfqsy.js} +2 -2
- package/dist/chunks/{snapshot-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-jxzd6v7d.js → vcs-3xjrz5h3.js} +43 -43
- package/dist/chunks/{snapshot-454k5vzh.js → vcs-454k5vzh.js} +1 -1
- package/dist/chunks/{snapshot-9kbsf2gn.js → vcs-48c3da1c.js} +11 -11
- package/dist/chunks/{snapshot-1rm0drdm.js → vcs-49z4sxtc.js} +2 -2
- package/dist/chunks/{snapshot-2w6bfmvf.js → vcs-4ehv4ads.js} +1 -1
- package/dist/chunks/{snapshot-zsa9p6rj.js → vcs-4epeag8s.js} +9 -9
- package/dist/chunks/{snapshot-23dqznfd.js → vcs-4fjmsdns.js} +50 -50
- package/dist/chunks/vcs-4m5vhbnc.js +22 -0
- package/dist/chunks/{snapshot-4r2nyarf.js → vcs-4r2nyarf.js} +1 -1
- package/dist/chunks/{snapshot-g8e0epaw.js → vcs-4v29z2vj.js} +27 -27
- package/dist/chunks/{snapshot-3f2705k6.js → vcs-4y3tj3p1.js} +9 -9
- package/dist/chunks/{snapshot-hcfyj39r.js → vcs-50vz3r2t.js} +13 -13
- package/dist/chunks/{snapshot-wqnpacsy.js → vcs-55gvq0qt.js} +64 -64
- package/dist/chunks/{snapshot-6z5bwd8g.js → vcs-56gdpj1q.js} +11 -11
- package/dist/chunks/{snapshot-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-5fmxt4p5.js → vcs-5fmxt4p5.js} +1 -1
- package/dist/chunks/{snapshot-yj3e99fm.js → vcs-5g186b3w.js} +1 -1
- package/dist/chunks/{snapshot-5jvc5tg2.js → vcs-5jvc5tg2.js} +1 -1
- package/dist/chunks/{snapshot-h8xjeven.js → vcs-5nck6wet.js} +300 -300
- package/dist/chunks/{snapshot-d9wzmzc3.js → vcs-5nrew705.js} +5 -5
- package/dist/chunks/{snapshot-d1a1bt21.js → vcs-5pn8t89y.js} +5 -5
- package/dist/chunks/{snapshot-gafyc7gz.js → vcs-5qepm9qc.js} +7 -7
- package/dist/chunks/{snapshot-703t54qh.js → vcs-61vj14ds.js} +26 -26
- package/dist/chunks/{snapshot-a16zj9be.js → vcs-66wgwphc.js} +85 -85
- package/dist/chunks/{snapshot-75yf2d83.js → vcs-6e958v7x.js} +8 -8
- package/dist/chunks/{snapshot-024d3rq7.js → vcs-6p379jz1.js} +19 -19
- package/dist/chunks/{snapshot-pan7s928.js → vcs-6wyzmhhy.js} +17 -17
- package/dist/chunks/{snapshot-711hfp6y.js → vcs-711hfp6y.js} +2 -2
- package/dist/chunks/{snapshot-72nftnjy.js → vcs-72nftnjy.js} +2 -2
- package/dist/chunks/{snapshot-mhkvc446.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{snapshot-mp5abn5e.js → vcs-73z8mm7z.js} +23 -23
- package/dist/chunks/{snapshot-pawcwqnj.js → vcs-76crymj9.js} +25 -25
- package/dist/chunks/{snapshot-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-2d57kztd.js → vcs-7ebn0nc0.js} +6 -6
- package/dist/chunks/{snapshot-5vbsxe1b.js → vcs-7jsewfst.js} +22 -22
- package/dist/chunks/{snapshot-hg6q2aep.js → vcs-7zwsbxj9.js} +13 -13
- package/dist/chunks/{snapshot-21kgjbv4.js → vcs-845ry8cv.js} +8 -8
- package/dist/chunks/{snapshot-ydp0xqxw.js → vcs-8bq4n2p3.js} +5 -5
- package/dist/chunks/{snapshot-vprecwf5.js → vcs-8qjd0mff.js} +49 -66
- package/dist/chunks/{snapshot-s3f6t33f.js → vcs-8txhwh3r.js} +8 -8
- package/dist/chunks/{snapshot-93a8yfjt.js → vcs-93a8yfjt.js} +2 -2
- package/dist/chunks/{snapshot-zdagzmws.js → vcs-98kv2fgn.js} +4 -4
- package/dist/chunks/{snapshot-1apakymg.js → vcs-9hzc3ktg.js} +44 -44
- package/dist/chunks/{snapshot-qqk5wyw8.js → vcs-9nmeg6hb.js} +9 -9
- package/dist/chunks/{snapshot-5725naen.js → vcs-9pdr28vf.js} +86 -41
- package/dist/chunks/{snapshot-9qm9egsn.js → vcs-9qm9egsn.js} +2 -2
- package/dist/chunks/{snapshot-wzs3fvsw.js → vcs-9r6rc4b7.js} +26 -26
- package/dist/chunks/{snapshot-nexs1z18.js → vcs-9v7mbvam.js} +6 -6
- package/dist/chunks/{snapshot-etzd0975.js → vcs-9yvs5zdp.js} +10 -10
- package/dist/chunks/{snapshot-b3n2eqtx.js → vcs-a4rgs0hc.js} +2 -2
- package/dist/chunks/{snapshot-c92n51tt.js → vcs-a51qe2m1.js} +11 -11
- package/dist/chunks/{snapshot-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-55snk687.js → vcs-af4svgqg.js} +11 -11
- package/dist/chunks/{snapshot-kfs2vgth.js → vcs-agfpbvja.js} +19 -19
- package/dist/chunks/{snapshot-ajtjthsy.js → vcs-ajtjthsy.js} +2 -2
- package/dist/chunks/{snapshot-z1ggamk1.js → vcs-akj36s9h.js} +18 -18
- package/dist/chunks/vcs-b5q5y4vk.js +4 -0
- package/dist/chunks/{snapshot-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-z5f26pen.js → vcs-b6p1hyvm.js} +7 -7
- package/dist/chunks/{snapshot-r38jmka9.js → vcs-b8kek278.js} +16 -16
- package/dist/chunks/{snapshot-988pjtx7.js → vcs-b9399kqh.js} +7 -7
- package/dist/chunks/{snapshot-b9wsbatv.js → vcs-b9wsbatv.js} +1 -1
- package/dist/chunks/{snapshot-kahjggx0.js → vcs-ben58ar7.js} +10 -10
- package/dist/chunks/vcs-bgrnrp44.js +193 -0
- package/dist/chunks/{snapshot-pp0xeafz.js → vcs-btcpkbm0.js} +16 -16
- package/dist/chunks/{snapshot-bgw31bhk.js → vcs-btwnxgvp.js} +9 -9
- package/dist/chunks/{snapshot-hzymbmey.js → vcs-c91a16v9.js} +5 -5
- package/dist/chunks/{snapshot-40t5htn2.js → vcs-cjy7jgaz.js} +28 -28
- package/dist/chunks/{snapshot-thf49529.js → vcs-ck7ce0c9.js} +16 -16
- package/dist/chunks/{snapshot-16r38w9g.js → vcs-ctd4qdmr.js} +4 -4
- package/dist/chunks/{snapshot-23vtnxct.js → vcs-cwd231kb.js} +18 -18
- package/dist/chunks/{snapshot-hh1d3sxx.js → vcs-cywxv8kt.js} +36 -36
- package/dist/chunks/{snapshot-cjr8pdvn.js → vcs-d5eaw2qr.js} +41 -41
- package/dist/chunks/{snapshot-d72308c8.js → vcs-d72308c8.js} +2 -2
- package/dist/chunks/{snapshot-haknmdce.js → vcs-dzekqm42.js} +20 -20
- package/dist/chunks/{snapshot-skd000tr.js → vcs-ed39k1pt.js} +5 -5
- package/dist/chunks/{snapshot-qyahze0k.js → vcs-eea2f227.js} +17 -17
- package/dist/chunks/{snapshot-wn4t0eg6.js → vcs-eeq7753a.js} +21 -21
- package/dist/chunks/{snapshot-nmycpjj8.js → vcs-eg8251rh.js} +3 -3
- package/dist/chunks/{snapshot-91ze4v0n.js → vcs-ehrd4qv3.js} +10 -10
- package/dist/chunks/{snapshot-vky4d6kn.js → vcs-ekqnrng5.js} +17 -17
- package/dist/chunks/{snapshot-pt7wq7x0.js → vcs-eq19x63z.js} +1 -1
- package/dist/chunks/{snapshot-41mncz27.js → vcs-famd3pv6.js} +5 -5
- package/dist/chunks/{snapshot-30gfay9h.js → vcs-fdy3c0jq.js} +10 -10
- package/dist/chunks/{snapshot-wnmqtqbz.js → vcs-fjvydvzm.js} +9 -9
- package/dist/chunks/{snapshot-hvey9wt0.js → vcs-fjzrhbwe.js} +35 -35
- package/dist/chunks/{snapshot-yenvjmh1.js → vcs-fnjz2ya7.js} +10 -10
- package/dist/chunks/{snapshot-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-wcwzqypc.js → vcs-fxpd7ndw.js} +22 -22
- package/dist/chunks/{snapshot-fxypknc8.js → vcs-fxypknc8.js} +1 -1
- package/dist/chunks/{snapshot-7re8x0er.js → vcs-g41bm2jr.js} +24 -24
- package/dist/chunks/{snapshot-kp5z882f.js → vcs-g5g5wgjw.js} +12 -12
- package/dist/chunks/{snapshot-gxc000b8.js → vcs-g74eqypt.js} +9 -9
- package/dist/chunks/{snapshot-d7z6y9ja.js → vcs-g8w9a2sb.js} +24 -24
- package/dist/chunks/{snapshot-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-qw2p7f7e.js → vcs-geykp34e.js} +9 -9
- package/dist/chunks/{snapshot-y08fmh3j.js → vcs-gtcj13ca.js} +4 -4
- package/dist/chunks/{snapshot-1372cpk1.js → vcs-gv747rs9.js} +9 -9
- package/dist/chunks/{snapshot-880d1yvd.js → vcs-h3zw2b5b.js} +11 -11
- package/dist/chunks/{snapshot-g9wx1hct.js → vcs-h607wd67.js} +19 -19
- package/dist/chunks/{snapshot-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-heyhwy2w.js → vcs-heyhwy2w.js} +1 -1
- package/dist/chunks/{snapshot-15m9k394.js → vcs-hjbandzy.js} +30 -30
- package/dist/chunks/{snapshot-p6yzb5ay.js → vcs-hjt4xg1x.js} +4 -4
- package/dist/chunks/{snapshot-e0h0gh3e.js → vcs-hpqmtsvh.js} +28 -28
- package/dist/chunks/{snapshot-hrvm11jt.js → vcs-hrvm11jt.js} +3 -3
- package/dist/chunks/{snapshot-1hy241bm.js → vcs-hzxq4bdr.js} +3 -3
- package/dist/chunks/{snapshot-67dbm4zp.js → vcs-j3pby61b.js} +4 -4
- package/dist/chunks/{snapshot-9cm69fc1.js → vcs-j4vfhh0d.js} +27 -27
- package/dist/chunks/{snapshot-4d2pz62c.js → vcs-j8zyd053.js} +17 -17
- package/dist/chunks/{snapshot-paphc93g.js → vcs-j935v87r.js} +2 -2
- package/dist/chunks/{snapshot-k2r69zh9.js → vcs-jaebam77.js} +9 -9
- package/dist/chunks/{snapshot-bcezcar3.js → vcs-je9hks3h.js} +5 -5
- package/dist/chunks/{snapshot-ratrq7cm.js → vcs-jfqtm2ew.js} +4 -4
- package/dist/chunks/{snapshot-p81w81mb.js → vcs-js040ewg.js} +57 -57
- package/dist/chunks/{snapshot-1tbefb4e.js → vcs-jstsd746.js} +13 -13
- package/dist/chunks/{snapshot-q8vzjd10.js → vcs-jtebge4x.js} +37 -37
- package/dist/chunks/{snapshot-dpkg50ah.js → vcs-jwcy2c2z.js} +4 -4
- package/dist/chunks/{snapshot-4c61nftm.js → vcs-jz00yce7.js} +2 -2
- package/dist/chunks/{snapshot-dext7g0m.js → vcs-k2tbpkgb.js} +24 -24
- package/dist/chunks/{snapshot-k4bwy1x5.js → vcs-k4bwy1x5.js} +1 -1
- package/dist/chunks/{snapshot-5s5s3mdf.js → vcs-k6bskw02.js} +41 -41
- package/dist/chunks/{snapshot-t840r6y8.js → vcs-kankm0x3.js} +31 -31
- package/dist/chunks/{snapshot-rnzmhn3n.js → vcs-kat8fmba.js} +11 -11
- package/dist/chunks/{snapshot-zh1vshbg.js → vcs-kawyycr7.js} +5 -5
- package/dist/chunks/{snapshot-3szn5xn9.js → vcs-kfghy6he.js} +6 -6
- package/dist/chunks/{snapshot-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{snapshot-hw4pv20g.js → vcs-kvsjn1dr.js} +2 -2
- package/dist/chunks/{snapshot-gndhbexs.js → vcs-kw6gp66q.js} +10 -10
- package/dist/chunks/{snapshot-jnmmvqjs.js → vcs-m207hpws.js} +1 -1
- package/dist/chunks/{snapshot-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-8cwz8zkd.js → vcs-myadqhd4.js} +28 -28
- package/dist/chunks/{snapshot-8cxqnk20.js → vcs-n0x6shhs.js} +22 -22
- package/dist/chunks/{snapshot-a1earc5n.js → vcs-n73jawzs.js} +38 -38
- package/dist/chunks/{snapshot-hf8ns2dd.js → vcs-nedatabr.js} +4 -4
- package/dist/chunks/{snapshot-gmj1gppr.js → vcs-neq27s6s.js} +12 -12
- package/dist/chunks/{snapshot-w10c8kxq.js → vcs-ns3eq7m0.js} +25 -25
- package/dist/chunks/{snapshot-8z5rgnjd.js → vcs-ns5xtrvf.js} +8 -8
- package/dist/chunks/{snapshot-mq9r6drf.js → vcs-nvw3xbya.js} +3 -3
- package/dist/chunks/{snapshot-2n9af97f.js → vcs-nwkrf4xa.js} +4 -4
- package/dist/chunks/{snapshot-t50egam6.js → vcs-nzmvpftv.js} +12 -12
- package/dist/chunks/{snapshot-f52kkt2b.js → vcs-p3xha42b.js} +23 -23
- package/dist/chunks/{snapshot-ycv9gdpt.js → vcs-p646wcv3.js} +9 -9
- package/dist/chunks/{snapshot-pa6mt9gp.js → vcs-p9vq2f3r.js} +22 -22
- package/dist/chunks/{snapshot-qs4avvkb.js → vcs-pbxt2nhv.js} +1 -1
- package/dist/chunks/{snapshot-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-jsrm0jes.js → vcs-pmtqz32t.js} +88 -58
- package/dist/chunks/{snapshot-768z0hjh.js → vcs-pq15x4g3.js} +1 -1
- package/dist/chunks/{snapshot-r2aw8hfz.js → vcs-pwjtjj2g.js} +20 -20
- package/dist/chunks/{snapshot-fnvew4yj.js → vcs-pwvtd86b.js} +23 -23
- package/dist/chunks/{snapshot-5pbfg4es.js → vcs-pyb0vt1b.js} +26 -26
- package/dist/chunks/{snapshot-tt4wv3c1.js → vcs-q2jv6wk9.js} +6 -6
- package/dist/chunks/{snapshot-hwvag5jb.js → vcs-qj2dbhwy.js} +15 -15
- package/dist/chunks/{snapshot-1p8bnmch.js → vcs-qkzfms5c.js} +4 -4
- package/dist/chunks/{snapshot-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-m2j9w2q8.js → vcs-qv8vesay.js} +13 -13
- package/dist/chunks/{snapshot-r5w2ssxe.js → vcs-r5w2ssxe.js} +2 -2
- package/dist/chunks/{snapshot-r8dhm0tv.js → vcs-r8dhm0tv.js} +1 -1
- package/dist/chunks/vcs-rap9a73h.js +18 -0
- package/dist/chunks/{snapshot-3ew6g826.js → vcs-rcqvhkqn.js} +32 -32
- package/dist/chunks/{snapshot-ar56ndp2.js → vcs-rf2e5qpv.js} +4 -4
- package/dist/chunks/{snapshot-7ts527p8.js → vcs-rfd1h1zk.js} +20 -20
- package/dist/chunks/{snapshot-ajphwd6y.js → vcs-rjqxra3c.js} +8 -8
- package/dist/chunks/{snapshot-rz7hn0qq.js → vcs-rm3yzcsd.js} +4 -4
- package/dist/chunks/{snapshot-e81fpqd0.js → vcs-rnkg3a9m.js} +32 -32
- package/dist/chunks/{snapshot-kx5cpq08.js → vcs-rrqww7qb.js} +4 -4
- package/dist/chunks/{snapshot-38dpc6qc.js → vcs-s82rw6zz.js} +20 -20
- package/dist/chunks/{snapshot-sba4qhjf.js → vcs-sba4qhjf.js} +1 -1
- package/dist/chunks/{snapshot-wtm3m4mv.js → vcs-sbnvhk9g.js} +20 -20
- package/dist/chunks/{snapshot-re6cjhs8.js → vcs-sgvg2jfm.js} +18 -18
- package/dist/chunks/{snapshot-txc69p28.js → vcs-sjvgarmy.js} +28 -28
- package/dist/chunks/{snapshot-b3vyfvjr.js → vcs-sywzgqtq.js} +8 -8
- package/dist/chunks/{snapshot-cfgww4x1.js → vcs-t0xy2hyq.js} +9 -9
- package/dist/chunks/{snapshot-5gkgjc9e.js → vcs-t7dyq2hc.js} +12 -12
- package/dist/chunks/{snapshot-jdk5bzr4.js → vcs-t8a0n8qk.js} +20 -20
- package/dist/chunks/{snapshot-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-b4dzx2gd.js → vcs-tgt602m5.js} +11 -11
- package/dist/chunks/{snapshot-tjykrgmx.js → vcs-tjykrgmx.js} +1 -1
- package/dist/chunks/{snapshot-zejwj74g.js → vcs-tmxtcmrp.js} +16 -16
- package/dist/chunks/{snapshot-zazfhf2t.js → vcs-tpz8z6dc.js} +25 -25
- package/dist/chunks/{snapshot-ag4rn41e.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{snapshot-pdv7zmmj.js → vcs-tzeffa9v.js} +11 -11
- package/dist/chunks/{snapshot-xgm6gat2.js → vcs-v0wgv8sy.js} +6 -6
- package/dist/chunks/{snapshot-y86ghdgz.js → vcs-v2tpghv8.js} +3 -3
- package/dist/chunks/{snapshot-tppvcy65.js → vcs-v60ecprk.js} +7 -7
- package/dist/chunks/{snapshot-6wsw2by1.js → vcs-v9w5d20q.js} +23 -23
- package/dist/chunks/{snapshot-rzbakfyr.js → vcs-vdcmnvzv.js} +1 -1
- package/dist/chunks/{snapshot-j58zjd36.js → vcs-vgfj0sqj.js} +19 -19
- package/dist/chunks/{snapshot-swmjfjpy.js → vcs-vh6as95p.js} +15 -15
- package/dist/chunks/{snapshot-te6rn4e4.js → vcs-vnftj62s.js} +11 -11
- package/dist/chunks/{snapshot-96yjb8st.js → vcs-vsymvzqp.js} +15 -15
- package/dist/chunks/{snapshot-zvz3f5e8.js → vcs-vxbebyh5.js} +15 -15
- package/dist/chunks/{snapshot-mkeycc06.js → vcs-vxxn37a1.js} +8 -8
- package/dist/chunks/{snapshot-enw72f67.js → vcs-vz6qr5p1.js} +6 -6
- package/dist/chunks/{snapshot-awqyf91x.js → vcs-w0k1he6w.js} +5 -5
- package/dist/chunks/{snapshot-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-ymaccxa6.js → vcs-wcd4bxx7.js} +17 -17
- package/dist/chunks/{snapshot-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-arf90xej.js → vcs-wktb67xe.js} +23 -23
- package/dist/chunks/{snapshot-hzhsscf8.js → vcs-wtegwy4b.js} +25 -25
- package/dist/chunks/{snapshot-ka5snxjp.js → vcs-x021s0pe.js} +4 -4
- package/dist/chunks/{snapshot-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-6ggr1646.js → vcs-x31rem5a.js} +28 -28
- package/dist/chunks/{snapshot-f0zn10rw.js → vcs-x805nf67.js} +166 -166
- package/dist/chunks/{snapshot-rwszmxta.js → vcs-xc3j7mzs.js} +7 -7
- package/dist/chunks/{snapshot-8n7pcwmv.js → vcs-xp713wfq.js} +35 -35
- package/dist/chunks/{snapshot-2j3vet75.js → vcs-xptebv1e.js} +32 -32
- package/dist/chunks/{snapshot-p8tabr57.js → vcs-xy79x8r5.js} +3 -3
- package/dist/chunks/{snapshot-zhn53cwh.js → vcs-y0n7gr4f.js} +31 -31
- package/dist/chunks/{snapshot-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-veapvh03.js → vcs-y27bcytp.js} +9 -9
- package/dist/chunks/{snapshot-1e7rwcw0.js → vcs-ybgy1sn3.js} +18 -18
- package/dist/chunks/{snapshot-1c8x35y2.js → vcs-ycrj0ja6.js} +62 -62
- package/dist/chunks/{snapshot-24hkfxm1.js → vcs-yf1j450z.js} +8 -8
- package/dist/chunks/{snapshot-yfbd16n1.js → vcs-yfbd16n1.js} +2 -2
- package/dist/chunks/{snapshot-6m616b53.js → vcs-yggcn4e9.js} +32 -32
- package/dist/chunks/{snapshot-mycvpxn8.js → vcs-yhdr8f5j.js} +10 -10
- package/dist/chunks/{snapshot-n6wnzfnt.js → vcs-yjsg3rxy.js} +9 -9
- package/dist/chunks/{snapshot-vep9yay1.js → vcs-yp2x3t23.js} +15 -5
- package/dist/chunks/{snapshot-d6n0x6yy.js → vcs-ysfe1p8c.js} +39 -38
- package/dist/chunks/{snapshot-bpnz08mb.js → vcs-ystvjdgv.js} +2 -2
- package/dist/chunks/{snapshot-ganjyh73.js → vcs-ytpvxjwh.js} +6 -6
- package/dist/chunks/{snapshot-kk60f5rs.js → vcs-ywbsfzeb.js} +16 -16
- package/dist/chunks/{snapshot-jd3azxa6.js → vcs-ywyky1d5.js} +85 -85
- package/dist/chunks/{snapshot-ht2crakh.js → vcs-yzdb6kcq.js} +24 -24
- package/dist/chunks/{snapshot-t3ba3m2z.js → vcs-z1fj7npv.js} +11 -11
- package/dist/chunks/{snapshot-z1k01bn4.js → vcs-z1k01bn4.js} +2 -2
- package/dist/chunks/vcs-z2gmxqr2.js +247 -0
- package/dist/chunks/{snapshot-1hj0ecw2.js → vcs-z96229j4.js} +20 -20
- package/dist/chunks/{snapshot-rvb2zp0m.js → vcs-zfdtt056.js} +6 -6
- package/dist/chunks/{snapshot-bgn4bef1.js → vcs-zgaw3beg.js} +30 -30
- package/dist/chunks/{snapshot-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{snapshot-6y030jv9.js → vcs-zxv5ek45.js} +25 -25
- package/dist/chunks/{snapshot-4vch2zdd.js → vcs-zyv202hh.js} +17 -17
- 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 +81 -81
- 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 +117 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +90 -90
- 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 +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- 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 +5 -5
- package/dist/instance.js +350 -349
- package/dist/instruction-discovery.js +81 -81
- 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 +80 -79
- 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 +119 -118
- 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 +8 -8
- package/dist/models-dev.js +80 -80
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +2 -2
- 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 +78 -77
- 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 +3 -3
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -127
- 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 +217 -216
- 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 +84 -84
- 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 +224 -223
- 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 +146 -145
- 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 +13 -13
- package/dist/shell.js +133 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +118 -117
- 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 +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +118 -118
- 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 +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +108 -108
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/snapshot-7wsg6hf8.js +0 -247
- package/dist/chunks/snapshot-7zk4hah4.js +0 -4
- package/dist/chunks/snapshot-dxj72tfx.js +0 -18
- package/dist/chunks/snapshot-j1vjmznv.js +0 -22
- package/dist/chunks/snapshot-ka43tmws.js +0 -138
- /package/dist/chunks/{snapshot-0fabt78z.js → vcs-0fabt78z.js} +0 -0
- /package/dist/chunks/{snapshot-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t738kvx.js → vcs-3t738kvx.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-41nvscxy.js → vcs-41nvscxy.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-982e01ww.js → vcs-982e01ww.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a1tpkmh4.js → vcs-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mntxs535.js → vcs-mntxs535.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-p8qxwesx.js → vcs-p8qxwesx.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-se0s1eqw.js → vcs-se0s1eqw.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x1b8g1yb.js → vcs-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → vcs-z9919s4g.js} +0 -0
- /package/dist/chunks/{snapshot-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
|
-
node: () =>
|
|
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(Service63, 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(Service63, 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(Service63, 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(Service63, 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(Service63, 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(Service63, 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
|
|
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
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
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
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(Service46, 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, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID6, Name2, available2, toModelOutput3, prepare3, Service44, node48, exports_skill5, Event7 };
|
|
@@ -1,23 +1,23 @@
|
|
|
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";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode-ai/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID14.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -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,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(Service38, 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 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -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,44 +1,44 @@
|
|
|
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 = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node2
|
|
27
27
|
});
|
|
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);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
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
|
-
export {
|
|
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";
|