@opencode/core 0.0.0-dev-20534 → 0.0.0-dev-20536
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{config-6h3wybc7.js → bus-03tt90jk.js} +6 -6
- package/dist/chunks/{config-3e18h1by.js → bus-09fznkta.js} +10 -10
- package/dist/chunks/{config-fgm41tnp.js → bus-0a3505t2.js} +28 -28
- package/dist/chunks/{config-ndb5mcf5.js → bus-0ag38bn7.js} +127 -127
- package/dist/chunks/{config-psafj5a7.js → bus-0brrs4gw.js} +9 -9
- package/dist/chunks/{config-3zng69e3.js → bus-0ejaqacf.js} +32 -32
- package/dist/chunks/{config-0j77ygfz.js → bus-0j77ygfz.js} +2 -2
- package/dist/chunks/{config-g6wm352c.js → bus-0jyvqp1f.js} +11 -11
- package/dist/chunks/{config-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-5tke5vcc.js → bus-0qmg5gm1.js} +22 -22
- package/dist/chunks/{config-ps0tqvyq.js → bus-0qpvcajx.js} +17 -17
- package/dist/chunks/{config-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-rb9nmwz4.js → bus-17bmhmmj.js} +9 -9
- package/dist/chunks/{config-qa84b0ag.js → bus-1a0ec517.js} +10 -10
- package/dist/chunks/{config-r8xr0va3.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{config-aec9zen2.js → bus-1bef9cj1.js} +14 -14
- package/dist/chunks/{config-nq9bxq7e.js → bus-1d1h9naf.js} +2 -2
- package/dist/chunks/{config-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-6djd4hw6.js → bus-1dq8jzyn.js} +2 -2
- package/dist/chunks/{config-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
- package/dist/chunks/{config-tdt8xeve.js → bus-1s8jzfn5.js} +3 -3
- package/dist/chunks/{config-22f357wt.js → bus-1z18ck0n.js} +3 -3
- package/dist/chunks/{config-bgctr62v.js → bus-21jacxa0.js} +36 -36
- package/dist/chunks/{config-s90qgpnn.js → bus-2345ahvj.js} +76 -76
- package/dist/chunks/{config-rdsw6m59.js → bus-27ztzm6j.js} +9 -9
- package/dist/chunks/{config-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-4103bsjm.js → bus-2bmw77gy.js} +13 -13
- package/dist/chunks/{config-2ccvkpx1.js → bus-2ccvkpx1.js} +2 -2
- package/dist/chunks/{config-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{config-d98j95nk.js → bus-2ma8zt2e.js} +2 -2
- package/dist/chunks/{config-2yxw0cy6.js → bus-31pvnh6p.js} +27 -27
- package/dist/chunks/{config-fmw4ha9g.js → bus-33smrnfj.js} +1 -1
- package/dist/chunks/{config-znsx74x0.js → bus-3556dn8t.js} +1 -1
- package/dist/chunks/{config-ng2gaq78.js → bus-364kza10.js} +23 -23
- package/dist/chunks/{config-vd5y62t1.js → bus-37wq61k5.js} +11 -11
- package/dist/chunks/{config-7791qa0k.js → bus-388z4gss.js} +9 -9
- package/dist/chunks/{config-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-qs2pxgrz.js → bus-3g35pcv0.js} +4 -4
- package/dist/chunks/{config-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-zc5g640q.js → bus-3rexwkpe.js} +12 -12
- package/dist/chunks/{config-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-aja6r1ay.js → bus-3zcjd5ba.js} +34 -34
- package/dist/chunks/{config-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-ncc5c4y3.js → bus-452wmbgb.js} +12 -12
- package/dist/chunks/{config-tqev68zw.js → bus-49phrcng.js} +11 -11
- package/dist/chunks/bus-4fmv3mdr.js +26 -0
- package/dist/chunks/{config-pkr8ke0k.js → bus-4fs97eea.js} +17 -17
- package/dist/chunks/{config-h9wp8z5w.js → bus-4z58m4b4.js} +4 -4
- package/dist/chunks/{config-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{config-bynqbhm2.js → bus-56yn5gwg.js} +2 -2
- package/dist/chunks/{config-vazhwx36.js → bus-57myy5jh.js} +5 -5
- package/dist/chunks/{config-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{config-xx0fyqjs.js → bus-5ehnhnq5.js} +23 -23
- package/dist/chunks/{config-bsmgzwfa.js → bus-5myvgw2p.js} +34 -34
- package/dist/chunks/{config-706phk7x.js → bus-5pyjqqve.js} +2 -2
- package/dist/chunks/{config-7en76nbd.js → bus-5s8ss6c7.js} +33 -33
- package/dist/chunks/{config-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-w9fpc6ap.js → bus-61ysx92p.js} +9 -9
- package/dist/chunks/{config-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{config-d62nek0h.js → bus-6800223a.js} +1 -1
- package/dist/chunks/{config-yf10kn3d.js → bus-6c7yw9pm.js} +8 -8
- package/dist/chunks/{config-f58gpcny.js → bus-6n4b0dsb.js} +9 -9
- package/dist/chunks/{config-vrcx9qkm.js → bus-6n4ty2ve.js} +10 -10
- package/dist/chunks/{config-71az546q.js → bus-71az546q.js} +2 -2
- package/dist/chunks/{config-m5k532tk.js → bus-789gjyax.js} +19 -19
- package/dist/chunks/{config-2166p4xx.js → bus-78rts9ej.js} +22 -22
- package/dist/chunks/{config-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-fm3m0w0b.js → bus-7bw64253.js} +8 -8
- package/dist/chunks/{config-6h1ernme.js → bus-7c08hygz.js} +8 -8
- package/dist/chunks/{config-xbt3aarz.js → bus-7evavyec.js} +31 -31
- package/dist/chunks/{config-hpfvhvya.js → bus-7s2tn799.js} +8 -8
- package/dist/chunks/{config-wpv6y6te.js → bus-7x3zm5sf.js} +15 -15
- package/dist/chunks/{config-tnapj0gp.js → bus-7yrdpv1j.js} +7 -7
- package/dist/chunks/{config-vns4c42r.js → bus-83pvch2e.js} +12 -12
- package/dist/chunks/{config-84txncab.js → bus-84txncab.js} +1 -1
- package/dist/chunks/{config-s058642n.js → bus-87qgbvjc.js} +8 -8
- package/dist/chunks/{config-982twh0r.js → bus-8a5mpsbk.js} +11 -11
- package/dist/chunks/{config-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-b9b81nxh.js → bus-8g5ayqkp.js} +11 -11
- package/dist/chunks/{config-x5pg15r8.js → bus-8jrg06sq.js} +26 -26
- package/dist/chunks/{config-pfe2pgff.js → bus-8nypjabp.js} +3 -3
- package/dist/chunks/{config-9w7bvsxq.js → bus-8qxff7bj.js} +25 -25
- package/dist/chunks/{config-2jp203za.js → bus-8r2stfs9.js} +22 -22
- package/dist/chunks/{config-gqbfxvtk.js → bus-8srq2cd9.js} +18 -18
- package/dist/chunks/{config-whby8p1r.js → bus-8vhr417e.js} +32 -32
- package/dist/chunks/{config-6ke7sn6j.js → bus-8x5dvemw.js} +13 -13
- package/dist/chunks/{config-cjn4ma4m.js → bus-8y0y710j.js} +4 -4
- package/dist/chunks/{config-vbdyyw4h.js → bus-8zhy3fv7.js} +5 -5
- package/dist/chunks/{config-9trbnnmb.js → bus-92hj1t1y.js} +6 -6
- package/dist/chunks/{config-vg5vp9kg.js → bus-92q1kttp.js} +8 -8
- package/dist/chunks/{config-j1xc2fbc.js → bus-939wh0ff.js} +23 -23
- package/dist/chunks/{config-a72mdkx4.js → bus-98zydh9f.js} +22 -22
- package/dist/chunks/{config-bh3q4rkt.js → bus-99gq6tqt.js} +8 -8
- package/dist/chunks/{config-jwpx33kn.js → bus-9btznmag.js} +1 -1
- package/dist/chunks/{config-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
- package/dist/chunks/{config-q2vggat9.js → bus-9eajprj6.js} +11 -11
- package/dist/chunks/{config-xd0gfkns.js → bus-9fgy035w.js} +31 -31
- package/dist/chunks/{config-stfwnbdx.js → bus-9fm4x5nt.js} +22 -22
- package/dist/chunks/{config-8yv66smy.js → bus-9k8khh75.js} +11 -11
- package/dist/chunks/{config-08yy0avz.js → bus-9mm2tben.js} +43 -43
- package/dist/chunks/{config-7eavrcw3.js → bus-9n4yth9k.js} +31 -31
- package/dist/chunks/{config-efmb6h41.js → bus-9pzzpc4q.js} +5 -5
- package/dist/chunks/{config-yq8gd929.js → bus-9wdk9qm9.js} +14 -14
- package/dist/chunks/{config-c4724183.js → bus-9z18kp50.js} +11 -11
- package/dist/chunks/{config-mvfsc1pv.js → bus-a1gpj94z.js} +3 -3
- package/dist/chunks/{config-mtdva1qy.js → bus-a5erg0b2.js} +11 -11
- package/dist/chunks/{config-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{config-addxnjmp.js → bus-addxnjmp.js} +1 -1
- package/dist/chunks/{config-2hhn4vcd.js → bus-ag2zta49.js} +12 -12
- package/dist/chunks/{config-qc7egp1v.js → bus-aqvqqrwg.js} +18 -18
- package/dist/chunks/{config-tf611bf2.js → bus-b4m41310.js} +11 -11
- package/dist/chunks/{config-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-1vev1kdd.js → bus-b7dd0p69.js} +13 -13
- package/dist/chunks/{config-z7np2f9t.js → bus-ba97abkx.js} +7 -7
- package/dist/chunks/{config-33qp56xq.js → bus-bexr6pad.js} +3 -3
- package/dist/chunks/{config-p53k5ct8.js → bus-bja1kbt7.js} +33 -33
- package/dist/chunks/{config-kzf9nnvx.js → bus-bkyazm6f.js} +144 -144
- package/dist/chunks/{config-3zet0cgs.js → bus-bqdwdppz.js} +14 -14
- package/dist/chunks/{config-1a56eczy.js → bus-bry9ja57.js} +301 -301
- package/dist/chunks/{config-2fye62ny.js → bus-bxgqqbgp.js} +22 -22
- package/dist/chunks/{config-y56ehv6b.js → bus-bydnjh3t.js} +9 -9
- package/dist/chunks/{config-2pnhn36q.js → bus-c20khjev.js} +4 -4
- package/dist/chunks/{config-zfacwgta.js → bus-c467z66n.js} +13 -13
- package/dist/chunks/{config-8sze2n9a.js → bus-cfsekr6v.js} +6 -6
- package/dist/chunks/{config-zdwt3mwp.js → bus-cjxqtvwp.js} +15 -15
- package/dist/chunks/{config-qwxhqfke.js → bus-ckgr5b8p.js} +40 -40
- package/dist/chunks/{config-gcavn3wx.js → bus-d1r5081s.js} +5 -5
- package/dist/chunks/{config-44pdqs77.js → bus-d9sgy5v4.js} +4 -4
- package/dist/chunks/{config-nx00dghm.js → bus-dbvre6p0.js} +1 -1
- package/dist/chunks/{config-xnm5p8xe.js → bus-djqc12a6.js} +11 -11
- package/dist/chunks/{config-6fsenb1m.js → bus-dms2p81q.js} +4 -4
- package/dist/chunks/{config-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
- package/dist/chunks/{config-t9fg6pvd.js → bus-dpz7bvge.js} +11 -11
- package/dist/chunks/{config-hvr28mne.js → bus-dx0ahrbs.js} +11 -11
- package/dist/chunks/{config-p1n36tyd.js → bus-e7298r3y.js} +3 -3
- package/dist/chunks/{config-h0ay602x.js → bus-e7m0vwsw.js} +1 -1
- package/dist/chunks/{config-jc97knsw.js → bus-e940t5dn.js} +33 -33
- package/dist/chunks/{config-yeamxayg.js → bus-eamzqf14.js} +22 -22
- package/dist/chunks/{config-t7e6cevd.js → bus-eb4pf1x7.js} +11 -11
- package/dist/chunks/{config-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-7petkjk5.js → bus-efspjqjk.js} +10 -10
- package/dist/chunks/{config-3v50kkzc.js → bus-ej4w77wd.js} +12 -12
- package/dist/chunks/{config-dzwk3h89.js → bus-ej9mn2hm.js} +6 -6
- package/dist/chunks/{config-4w9z08xf.js → bus-ekn5q80q.js} +9 -9
- package/dist/chunks/{config-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-96wa2rfw.js → bus-ex2jr6wp.js} +294 -294
- package/dist/chunks/{config-k2a1hwxc.js → bus-exd7ezmd.js} +6 -6
- package/dist/chunks/{config-j2ky9r9a.js → bus-f3ev921j.js} +18 -18
- package/dist/chunks/{config-942wkfdx.js → bus-fas7hgfq.js} +18 -18
- package/dist/chunks/{config-2dq01dtx.js → bus-fbq9vw6f.js} +10 -10
- package/dist/chunks/{config-jfqtm2ew.js → bus-fm2qvscf.js} +4 -4
- package/dist/chunks/{config-z4kbpcpe.js → bus-fq1jpeb1.js} +22 -22
- package/dist/chunks/{config-pszp576s.js → bus-fzcec5e2.js} +12 -12
- package/dist/chunks/{config-azcp386p.js → bus-fzh7zfb0.js} +13 -13
- package/dist/chunks/{config-11dh48zj.js → bus-fzp8wpts.js} +51 -51
- package/dist/chunks/{config-9syfwt2v.js → bus-fzpf6kj6.js} +3 -3
- package/dist/chunks/{config-q2z73cjp.js → bus-g0cz14ke.js} +8 -8
- package/dist/chunks/{config-vsr6dns1.js → bus-g31erja1.js} +9 -9
- package/dist/chunks/{config-xfkkasph.js → bus-g5w8qwbj.js} +4 -4
- package/dist/chunks/{config-jbe5j81w.js → bus-g660qtn0.js} +29 -29
- package/dist/chunks/{config-w0d9f24f.js → bus-gctnkx5g.js} +29 -29
- package/dist/chunks/{config-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-8ep03z9b.js → bus-gg3gj13y.js} +9 -9
- package/dist/chunks/{config-av3f8rgc.js → bus-gz0m67vm.js} +15 -15
- package/dist/chunks/{config-xx78p48m.js → bus-h06bmtst.js} +25 -25
- package/dist/chunks/{config-wmngscs6.js → bus-h10yp9cw.js} +30 -30
- package/dist/chunks/{config-h2b79v29.js → bus-h2b79v29.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-4qntt0re.js → bus-h9ye38ew.js} +18 -18
- package/dist/chunks/{config-aawpemgr.js → bus-hr1by741.js} +19 -19
- package/dist/chunks/{config-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{config-j6d506hw.js → bus-jpj7wt0r.js} +16 -16
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/{config-t7n9q6bq.js → bus-jvf3yq6v.js} +4 -4
- package/dist/chunks/{config-ktdzgs7s.js → bus-k2seq1xy.js} +73 -73
- package/dist/chunks/{config-7zryb3w6.js → bus-k5btndkz.js} +8 -8
- package/dist/chunks/{config-4zs4qwxc.js → bus-ke77zstc.js} +17 -17
- package/dist/chunks/{config-y7x1114v.js → bus-khnjxhph.js} +48 -48
- package/dist/chunks/{config-hj7694bp.js → bus-kpvnmc5s.js} +8 -8
- package/dist/chunks/{config-x1sp8qw1.js → bus-m2ykgtqm.js} +12 -12
- package/dist/chunks/{config-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-ydpcz7fh.js → bus-m79q5xaq.js} +14 -14
- package/dist/chunks/{config-rrp7ar1c.js → bus-m9cxh46g.js} +23 -23
- package/dist/chunks/{config-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-ezfgasyb.js → bus-masaym1h.js} +13 -13
- package/dist/chunks/{config-56gdpj1q.js → bus-mfqp6xfm.js} +6 -6
- package/dist/chunks/{config-tcay1cqt.js → bus-mx9vqzsb.js} +6 -6
- package/dist/chunks/{config-g5ztpnme.js → bus-n2mrbfpf.js} +37 -37
- package/dist/chunks/{config-26f3m8zn.js → bus-n3gpv6q4.js} +6 -6
- package/dist/chunks/{config-yaxeaqxr.js → bus-nn87vc15.js} +8 -8
- package/dist/chunks/{config-zd30eb5w.js → bus-npwy0cf6.js} +5 -5
- package/dist/chunks/{config-xnv95vjn.js → bus-nzny4vc0.js} +23 -23
- package/dist/chunks/{config-mdqmmg5h.js → bus-p2vqafnj.js} +1 -1
- package/dist/chunks/{config-nwq0hrd2.js → bus-p5q5j63x.js} +43 -43
- package/dist/chunks/{config-1tte8357.js → bus-p694032b.js} +5 -5
- package/dist/chunks/{config-152s6pwn.js → bus-p7ah34cs.js} +21 -21
- package/dist/chunks/{config-a9xzcfbf.js → bus-pcz7h6qj.js} +27 -27
- package/dist/chunks/{config-ra4n65wq.js → bus-pgp1nwjn.js} +4 -4
- package/dist/chunks/{config-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-gh40whqf.js → bus-pkhnmk3t.js} +10 -10
- package/dist/chunks/{config-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{config-6t6sma4g.js → bus-q43yz18s.js} +28 -28
- package/dist/chunks/{config-dzbh4apr.js → bus-q85q7640.js} +3 -3
- package/dist/chunks/{config-425epnte.js → bus-qdr56tr0.js} +6 -6
- package/dist/chunks/{config-1msf33w2.js → bus-qfhc4gyc.js} +11 -11
- package/dist/chunks/{config-wre6jq6t.js → bus-qh2fjgsd.js} +34 -34
- package/dist/chunks/{config-d4he2qe1.js → bus-qmqgtz8f.js} +9 -9
- package/dist/chunks/{config-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{config-0zhyqgmg.js → bus-qvz4s47d.js} +16 -16
- package/dist/chunks/{config-s5met55r.js → bus-qwjmgwmn.js} +8 -8
- package/dist/chunks/{config-qxjc9qry.js → bus-qxjc9qry.js} +3 -3
- package/dist/chunks/{config-8dd049mz.js → bus-qxkxgbhy.js} +84 -84
- package/dist/chunks/{config-vjfys9bt.js → bus-qzcb8gaw.js} +14 -14
- package/dist/chunks/{config-a6gzke4f.js → bus-r257mg98.js} +46 -46
- package/dist/chunks/{config-28nn80cc.js → bus-rabnegtx.js} +34 -34
- package/dist/chunks/{config-pyje2r1j.js → bus-rbaracaf.js} +9 -9
- package/dist/chunks/{config-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-v5yzg42a.js → bus-rgbf2t5s.js} +18 -18
- package/dist/chunks/{config-dr262xdz.js → bus-s15sqcsm.js} +33 -33
- package/dist/chunks/{config-tme4mdwn.js → bus-s26mq5d1.js} +4 -4
- package/dist/chunks/{config-1m3h628y.js → bus-s41274r5.js} +1 -1
- package/dist/chunks/{config-9pe3dj47.js → bus-s6355me1.js} +4 -4
- package/dist/chunks/{config-s5nqmcjt.js → bus-s8awv0tb.js} +4 -4
- package/dist/chunks/{config-9t7a50xb.js → bus-s8d7rejh.js} +4 -4
- package/dist/chunks/{config-jfjpqnhv.js → bus-st8gjnqv.js} +43 -43
- package/dist/chunks/{config-99v39pa8.js → bus-syb4ysvy.js} +15 -15
- package/dist/chunks/{config-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{config-hp8kg0yw.js → bus-tnw5c9p9.js} +8 -8
- package/dist/chunks/{config-br0tr5aq.js → bus-tpw6cwsb.js} +8 -8
- package/dist/chunks/{config-7zjdbvta.js → bus-trq2pbyk.js} +3 -3
- package/dist/chunks/{config-3w3k7d6e.js → bus-trtdezz0.js} +11 -11
- package/dist/chunks/{config-qsc7prf3.js → bus-ttt7twvn.js} +21 -21
- package/dist/chunks/{config-3yhr9phv.js → bus-tzjwq995.js} +13 -13
- package/dist/chunks/{config-v0es1rhs.js → bus-v0es1rhs.js} +2 -2
- package/dist/chunks/{config-xqgkd5cb.js → bus-v17hgkfy.js} +8 -8
- package/dist/chunks/{config-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{config-gjb8h76y.js → bus-vp5rkn34.js} +12 -12
- package/dist/chunks/{config-yp38gpyv.js → bus-vrm6ygbt.js} +14 -14
- package/dist/chunks/{config-n7d88tpn.js → bus-vx3jgdek.js} +3 -3
- package/dist/chunks/{config-hzav2eaw.js → bus-vxmk6qhg.js} +3 -3
- package/dist/chunks/{config-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-sbhz05xg.js → bus-w5ck0rke.js} +23 -23
- package/dist/chunks/{config-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{config-8pbsyw6v.js → bus-wdpd55qw.js} +33 -33
- package/dist/chunks/{config-zyk1yjk8.js → bus-wecqtg5s.js} +5 -5
- package/dist/chunks/{config-r1eft7rx.js → bus-wg9r4j5w.js} +9 -9
- package/dist/chunks/{config-7dk24xqw.js → bus-wpt7dsy0.js} +30 -30
- package/dist/chunks/{config-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-qq88xqjp.js → bus-x96r6938.js} +25 -25
- package/dist/chunks/{config-57e9z27j.js → bus-xbrnje9f.js} +8 -8
- package/dist/chunks/{config-2wfpdqw9.js → bus-xe08wepw.js} +20 -20
- package/dist/chunks/{config-mmz9dvg3.js → bus-xe51zch3.js} +3 -3
- package/dist/chunks/{config-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-mevpmkqx.js → bus-xtjxve4c.js} +15 -15
- package/dist/chunks/{config-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-8tsdq50x.js → bus-y6mhz57t.js} +4 -4
- package/dist/chunks/{config-w2nx10tf.js → bus-ydaa82v6.js} +11 -11
- package/dist/chunks/{config-b8nb9mmt.js → bus-ynscm4vs.js} +19 -19
- package/dist/chunks/{config-g6cf5x0z.js → bus-yq0mmv71.js} +18 -18
- package/dist/chunks/{config-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-67wxv9g3.js → bus-z5m9pnwf.js} +12 -12
- package/dist/chunks/{config-ze7kzgnq.js → bus-z7ryvv6k.js} +11 -11
- package/dist/chunks/{config-g3xc01ec.js → bus-z8888y9b.js} +11 -11
- package/dist/chunks/{config-93ehw481.js → bus-zbqk2z4c.js} +15 -15
- package/dist/chunks/{config-e5d8wq4d.js → bus-ze3my9xb.js} +7 -7
- package/dist/chunks/{config-vn72gsba.js → bus-zfs8ae4p.js} +4 -4
- package/dist/chunks/{config-n8vdnqrc.js → bus-zmr78fwr.js} +5 -5
- package/dist/chunks/{config-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-jb0c5hrr.js → bus-zsc2fept.js} +21 -21
- package/dist/chunks/{config-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-273adbxq.js → bus-zzqp698d.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +113 -113
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-619r8v3y.js +0 -18
- package/dist/chunks/config-r6w0hgbw.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e3qxr5gk.js → bus-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qfhc4gyc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./bus-fzcec5e2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
10
|
Service78
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-0brrs4gw.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
15
|
Service77
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-09fznkta.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-ex2jr6wp.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-8y0y710j.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -55,7 +55,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
56
|
const credentials = yield* Service78;
|
|
57
57
|
const integrations = yield* Service77;
|
|
58
|
-
const bus = yield*
|
|
58
|
+
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./bus-fzcec5e2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-0brrs4gw.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-09fznkta.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service76
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-ex2jr6wp.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-9z18kp50.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./bus-9wdk9qm9.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-qfhc4gyc.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./bus-98zydh9f.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -164,7 +164,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
166
|
const providers = yield* Service76;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -182,7 +182,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
183
|
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -208,7 +208,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-vxmk6qhg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./bus-fzcec5e2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./bus-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-1z18ck0n.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service57
|
|
29
|
+
} from "./bus-83pvch2e.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service43
|
|
34
|
+
} from "./bus-w5ck0rke.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service41
|
|
37
|
+
} from "./bus-ckgr5b8p.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-jpj7wt0r.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./bus-939wh0ff.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./bus-gg3gj13y.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./bus-ekn5q80q.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./bus-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service57;
|
|
69
|
+
const instances = yield* Service45;
|
|
70
|
+
const execution = yield* Service41;
|
|
71
|
+
const admission = yield* Service43;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-d1r5081s.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qfhc4gyc.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service78
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-0brrs4gw.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-09fznkta.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-ex2jr6wp.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./bus-p7ah34cs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service67;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./bus-qh2fjgsd.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./bus-p7ah34cs.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./bus-qvz4s47d.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./bus-9mm2tben.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-qzcb8gaw.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service69,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-gz0m67vm.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service61
|
|
37
|
+
} from "./bus-r257mg98.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./bus-qxkxgbhy.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-3g35pcv0.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin47,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin47 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service27;
|
|
123
|
+
const jobs = yield* Service46;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service67;
|
|
126
|
+
const access = yield* Service17;
|
|
127
|
+
const shell = yield* Service61;
|
|
128
|
+
const shellSelect = yield* Service69;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service56;
|
|
131
|
+
const config = yield* Service64;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin28 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name11,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin28 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name11,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input11,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin28 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name11,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name11];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-vxmk6qhg.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info12,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service58,
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service58 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service58.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node61 = makeGlobalNode({ service: Service58, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info12, ListInput5, AddInput2, Service58, node61, exports_saved };
|