@opencode/core 0.0.0-dev-19826 → 0.0.0-dev-19829
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{skill-9xthkbsm.js → shell-00c69978.js} +9 -9
- package/dist/chunks/{skill-qpgsxs0r.js → shell-04cmhvk1.js} +9 -9
- package/dist/chunks/{skill-4352ftc4.js → shell-04tsrbgn.js} +11 -11
- package/dist/chunks/{skill-s8d7rejh.js → shell-0gdmqesm.js} +4 -4
- package/dist/chunks/{skill-0jgt1ea2.js → shell-0gr9k9jq.js} +17 -17
- package/dist/chunks/{skill-nqyhrfcc.js → shell-0m0tvs7x.js} +4 -4
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{skill-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-ekps4m07.js → shell-0sz44tra.js} +30 -30
- package/dist/chunks/{skill-z5rjp6ct.js → shell-0wy5r46e.js} +30 -30
- package/dist/chunks/{skill-afed7ext.js → shell-0z6w7vfv.js} +12 -12
- package/dist/chunks/{skill-xe66m7hc.js → shell-10786k6d.js} +13 -13
- package/dist/chunks/{skill-gqqpkebc.js → shell-14bt54yq.js} +6 -6
- package/dist/chunks/{skill-v4jw97dc.js → shell-18e56dsp.js} +4 -4
- package/dist/chunks/{skill-dv6wb25w.js → shell-193xwtyj.js} +3 -3
- package/dist/chunks/{skill-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-22km69g0.js → shell-1fmrbde1.js} +8 -8
- package/dist/chunks/{skill-13g5bxf5.js → shell-1md1qdpw.js} +28 -28
- package/dist/chunks/{skill-8tg4p4qk.js → shell-1mzv1c38.js} +10 -10
- package/dist/chunks/{skill-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{skill-yqr9gdqx.js → shell-232mp01t.js} +12 -12
- package/dist/chunks/{skill-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{skill-6575et5q.js → shell-2596hts6.js} +11 -11
- package/dist/chunks/{skill-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{skill-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-ed0rmeq4.js → shell-2mfnnxhz.js} +5 -5
- package/dist/chunks/{skill-ybhbtxjg.js → shell-2qq7qy34.js} +9 -9
- package/dist/chunks/{skill-my9ryef3.js → shell-2yw9x73f.js} +8 -8
- package/dist/chunks/{skill-37s12vcn.js → shell-3cfzdc8e.js} +5 -5
- package/dist/chunks/{skill-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-fnr49rks.js → shell-3jztwn8f.js} +15 -15
- package/dist/chunks/{skill-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-1xfydhy4.js → shell-3sqvqkfr.js} +9 -9
- package/dist/chunks/{skill-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-k8f7gp6n.js → shell-4179h1gg.js} +5 -5
- package/dist/chunks/{skill-mfvk8ryg.js → shell-4734c8z8.js} +11 -11
- package/dist/chunks/{skill-rf27x5hb.js → shell-47chsc3m.js} +317 -317
- package/dist/chunks/{skill-terh1wnp.js → shell-47y5x0ww.js} +31 -31
- package/dist/chunks/{skill-9957854f.js → shell-4a2gq99j.js} +33 -33
- package/dist/chunks/{skill-mgwfxb41.js → shell-4kh1nwqr.js} +32 -32
- package/dist/chunks/{skill-33w4ejhs.js → shell-56gdpj1q.js} +6 -6
- package/dist/chunks/{skill-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-mbm5b5sx.js → shell-5gr2bydf.js} +10 -10
- package/dist/chunks/{skill-2xcc793f.js → shell-5mqe3xfr.js} +4 -4
- package/dist/chunks/{skill-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-zwdxcx64.js → shell-5y2vywwx.js} +3 -3
- package/dist/chunks/{skill-2hv42m6n.js → shell-60wapyds.js} +22 -22
- package/dist/chunks/{skill-332xd4ex.js → shell-62mx6wrr.js} +43 -43
- package/dist/chunks/{skill-rsdf2nvv.js → shell-64kphnzf.js} +4 -4
- package/dist/chunks/{skill-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{skill-5bw2hqxq.js → shell-67qfhfqw.js} +4 -4
- package/dist/chunks/{skill-fc51ybe2.js → shell-69vves8j.js} +13 -13
- package/dist/chunks/{skill-kcngxjm1.js → shell-6c7e9ex4.js} +26 -26
- package/dist/chunks/{skill-19cn6s2k.js → shell-6khtd4yg.js} +1 -1
- package/dist/chunks/{skill-yzt67cpa.js → shell-6m0y8wpe.js} +11 -11
- package/dist/chunks/{skill-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-vebmgh8g.js → shell-6pbjhcd6.js} +17 -17
- package/dist/chunks/{skill-g190xswt.js → shell-6sr3ve8g.js} +21 -21
- package/dist/chunks/{skill-vvcy4fdz.js → shell-6tpd68sk.js} +18 -18
- package/dist/chunks/{skill-6h2wjef6.js → shell-70nkn1qr.js} +26 -26
- package/dist/chunks/{skill-p03g75sm.js → shell-71s7e542.js} +27 -27
- package/dist/chunks/{skill-bte6vqfe.js → shell-77pfjge1.js} +30 -30
- package/dist/chunks/{skill-gxx9rffw.js → shell-78khjh1c.js} +3 -3
- package/dist/chunks/{skill-1j9p5zw8.js → shell-7a8mk1f1.js} +21 -21
- package/dist/chunks/{skill-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-6nnke0s4.js → shell-7mf9d7ct.js} +68 -68
- package/dist/chunks/{skill-a3x7h8t4.js → shell-7nzcq6wz.js} +37 -37
- package/dist/chunks/{skill-26nxp4r3.js → shell-7pnvrq9t.js} +46 -46
- package/dist/chunks/{skill-pnaxc6j9.js → shell-7s451enq.js} +7 -7
- package/dist/chunks/{skill-eg3d2nq0.js → shell-84h0jzwt.js} +9 -9
- package/dist/chunks/{skill-k6t5h8dy.js → shell-88gqwsb4.js} +48 -48
- package/dist/chunks/{skill-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-2we8wjw8.js → shell-8dhvaqy8.js} +10 -10
- package/dist/chunks/{skill-jsgk4dsg.js → shell-8evg2433.js} +8 -8
- package/dist/chunks/{skill-ek5q6bnv.js → shell-8fcb94yc.js} +15 -15
- package/dist/chunks/{skill-xt7drvmn.js → shell-8fwt1t4b.js} +15 -15
- package/dist/chunks/{skill-zcfvqgr6.js → shell-8h15ta6z.js} +4 -4
- package/dist/chunks/{skill-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{skill-m00nxamc.js → shell-8x97acre.js} +13 -13
- package/dist/chunks/{skill-qj9yg2gx.js → shell-90jcfcfk.js} +10 -10
- package/dist/chunks/{skill-gf6ghjp7.js → shell-9adc2k8r.js} +15 -15
- package/dist/chunks/{skill-gsntwh4a.js → shell-9p5441cr.js} +21 -20
- package/dist/chunks/{skill-8c9z1jpt.js → shell-9ppe4kxp.js} +55 -55
- package/dist/chunks/shell-9sh4wc5j.js +18 -0
- package/dist/chunks/{skill-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{skill-a3r4dcrj.js → shell-a3r4dcrj.js} +2 -2
- package/dist/chunks/{skill-m2qry7n0.js → shell-a5357yyf.js} +11 -11
- package/dist/chunks/{skill-qfe1xnh9.js → shell-a8gkj1nm.js} +15 -15
- package/dist/chunks/{skill-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-57ez7d0k.js → shell-aamtrqep.js} +9 -9
- package/dist/chunks/{skill-fxs0jsf2.js → shell-abwdezg1.js} +22 -22
- package/dist/chunks/{skill-9wqn4ske.js → shell-ac8tb6gc.js} +2 -2
- package/dist/chunks/{skill-0ct61d8n.js → shell-ae8xrtf0.js} +20 -20
- package/dist/chunks/shell-ahrspnxt.js +65 -0
- package/dist/chunks/{skill-hawjap9k.js → shell-ar3g8qf7.js} +44 -44
- package/dist/chunks/{skill-8aaqm6qj.js → shell-aryyw1nk.js} +8 -8
- package/dist/chunks/{skill-q74cqqsq.js → shell-b0mpvq4g.js} +37 -37
- package/dist/chunks/{skill-k7kckga6.js → shell-b2xgp1w7.js} +9 -9
- package/dist/chunks/{skill-s0rz8sn0.js → shell-b4zhfjcm.js} +28 -28
- package/dist/chunks/{skill-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-n3tggb7c.js → shell-bawq69mj.js} +13 -13
- package/dist/chunks/{skill-sfbqgmzh.js → shell-bhch6x5n.js} +9 -9
- package/dist/chunks/{skill-faj2svbs.js → shell-bkxyw0dr.js} +9 -9
- package/dist/chunks/{skill-xeav5w26.js → shell-bwckxjxx.js} +10 -10
- package/dist/chunks/{skill-z7v8xqdm.js → shell-cd1rqchx.js} +19 -19
- package/dist/chunks/{skill-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{skill-fs991j3e.js → shell-chzskk9w.js} +33 -33
- package/dist/chunks/{skill-va5qff5x.js → shell-cmbqfntm.js} +6 -6
- package/dist/chunks/{skill-0pmk0822.js → shell-cnkp4rx2.js} +5 -5
- package/dist/chunks/{skill-rg8p4v5s.js → shell-css7wnya.js} +10 -10
- package/dist/chunks/{skill-2sejkfem.js → shell-cwa6csj7.js} +9 -9
- package/dist/chunks/{skill-czfptnv9.js → shell-czfptnv9.js} +1 -1
- package/dist/chunks/{skill-sxzvkvgj.js → shell-d1mtykxg.js} +6 -6
- package/dist/chunks/{skill-wzz6p339.js → shell-d2fbw6yp.js} +14 -14
- package/dist/chunks/{skill-bpbwzay4.js → shell-d89q28en.js} +28 -28
- package/dist/chunks/{skill-710pcbc5.js → shell-d945k8bv.js} +4 -4
- package/dist/chunks/{skill-gjvfdv5x.js → shell-db1bz1g0.js} +19 -19
- package/dist/chunks/{skill-ym5bvkez.js → shell-dd6hp5pa.js} +23 -23
- package/dist/chunks/{skill-y6pc976z.js → shell-dd7y7kbq.js} +1 -1
- package/dist/chunks/{skill-yg7jmef6.js → shell-dgmx48zd.js} +22 -22
- package/dist/chunks/{skill-15vx637f.js → shell-djvy60dx.js} +16 -16
- package/dist/chunks/{skill-693q9g8h.js → shell-dpsf0pjj.js} +4 -4
- package/dist/chunks/{skill-hnqx3ysm.js → shell-dq4yh11c.js} +5 -5
- package/dist/chunks/{skill-pt2emjx5.js → shell-dzr8y7x4.js} +18 -18
- package/dist/chunks/{skill-f50zgbjj.js → shell-e2z6jaes.js} +24 -24
- package/dist/chunks/{skill-7kgs3a2w.js → shell-e3267ac7.js} +21 -21
- package/dist/chunks/{skill-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{skill-cr07tj7n.js → shell-ead3g9p8.js} +5 -5
- package/dist/chunks/{skill-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-fm9r4gr5.js → shell-ejwfgtm7.js} +14 -14
- package/dist/chunks/{skill-hfdr1yjj.js → shell-epd1fg1b.js} +4 -4
- package/dist/chunks/{skill-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{skill-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-cqk3a7qc.js → shell-f1y4gyy3.js} +30 -30
- package/dist/chunks/{skill-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{skill-1bk9mafg.js → shell-ftjytw8f.js} +24 -24
- package/dist/chunks/{skill-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-sbnk9s0v.js → shell-g13xtdf8.js} +23 -23
- package/dist/chunks/{skill-1r60dkgy.js → shell-gb7a9z7y.js} +18 -18
- package/dist/chunks/{skill-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-tcdkx0zz.js → shell-gdjz0eq8.js} +1 -1
- package/dist/chunks/{skill-nq7qbqzc.js → shell-gnfpqv4r.js} +9 -9
- package/dist/chunks/{skill-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{skill-h6r3nrb9.js → shell-h6r3nrb9.js} +1 -1
- package/dist/chunks/{skill-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-2bgmytwa.js → shell-hccg5b77.js} +13 -13
- package/dist/chunks/{skill-r15xdqzv.js → shell-hjp6q1sv.js} +20 -20
- package/dist/chunks/{skill-wyax8rmk.js → shell-hkhrhfk6.js} +175 -175
- package/dist/chunks/{skill-2vs2nh1n.js → shell-hn57h045.js} +4 -4
- package/dist/chunks/{skill-rfywrw2r.js → shell-ht329kqa.js} +27 -27
- package/dist/chunks/{skill-8c4dy0bz.js → shell-hx4e8k2p.js} +16 -16
- package/dist/chunks/{skill-k8dasee7.js → shell-hz84tk5e.js} +8 -8
- package/dist/chunks/{skill-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-z0aj456m.js → shell-jewzahs7.js} +4 -4
- package/dist/chunks/{skill-fe47gqbz.js → shell-jfde95p5.js} +10 -10
- package/dist/chunks/{skill-43bw3pmb.js → shell-jxhw35st.js} +11 -11
- package/dist/chunks/{skill-kgfyje0v.js → shell-k21736m5.js} +23 -23
- package/dist/chunks/{skill-k3c624dm.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{skill-jkx0m98y.js → shell-k5hkvprj.js} +8 -8
- package/dist/chunks/{skill-xt6sdy3v.js → shell-k6gr57ez.js} +11 -11
- package/dist/chunks/{skill-knb7evpn.js → shell-k9kj6xed.js} +6 -6
- package/dist/chunks/{skill-y7jx6qxq.js → shell-ka7sz6we.js} +24 -24
- package/dist/chunks/{skill-d91paanh.js → shell-kg1ftbm8.js} +9 -9
- package/dist/chunks/{skill-ma9vr4v4.js → shell-km6psw9z.js} +14 -14
- package/dist/chunks/{skill-saaf3fxb.js → shell-kmyx2sbj.js} +11 -11
- package/dist/chunks/{skill-cz90y38t.js → shell-kws74awx.js} +2 -2
- package/dist/chunks/{skill-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-5fgfwtwr.js → shell-m549exyf.js} +12 -12
- package/dist/chunks/{skill-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-7227etd0.js → shell-mbefvd2h.js} +3 -3
- package/dist/chunks/{skill-gkf8agct.js → shell-md6p9qq0.js} +13 -13
- package/dist/chunks/{skill-n514x85b.js → shell-mkg78xt7.js} +47 -47
- package/dist/chunks/{skill-6vn2mxr0.js → shell-mnhev4jw.js} +32 -32
- package/dist/chunks/{skill-mhkvc446.js → shell-mvfsc1pv.js} +3 -3
- package/dist/chunks/{skill-13vrebvg.js → shell-n333v114.js} +33 -33
- package/dist/chunks/{skill-24f366z3.js → shell-n6s06knt.js} +31 -31
- package/dist/chunks/shell-n8dhm2n4.js +252 -0
- package/dist/chunks/{skill-94d37m53.js → shell-n91sfy53.js} +23 -23
- package/dist/chunks/{skill-vzget847.js → shell-ne15jcy8.js} +9 -9
- package/dist/chunks/{skill-jv44rb5j.js → shell-ng0yjpwq.js} +17 -17
- package/dist/chunks/{skill-0jq9fyba.js → shell-njhqdk9p.js} +9 -9
- package/dist/chunks/{skill-9stjp39g.js → shell-njpvr8gz.js} +20 -20
- package/dist/chunks/{skill-vth56ars.js → shell-njw6fdmp.js} +46 -46
- package/dist/chunks/{skill-axy1ssks.js → shell-nr2vdfax.js} +9 -9
- package/dist/chunks/{skill-seeqbynq.js → shell-nvan94z6.js} +23 -23
- package/dist/chunks/{skill-q820ka14.js → shell-nyk4ge42.js} +26 -26
- package/dist/chunks/{skill-0r7yqxbf.js → shell-p1nm93x7.js} +5 -5
- package/dist/chunks/{skill-qdygpa4p.js → shell-p4fpyqnd.js} +6 -6
- package/dist/chunks/{skill-styrrha9.js → shell-p7met2a1.js} +7 -7
- package/dist/chunks/{skill-fvsgtrpk.js → shell-pchc4tkx.js} +37 -37
- package/dist/chunks/{skill-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{skill-60txstx8.js → shell-ppwk445r.js} +19 -19
- package/dist/chunks/{skill-7nzze9qf.js → shell-pqnn72nj.js} +7 -7
- package/dist/chunks/{skill-hh1560ss.js → shell-psyx3g25.js} +11 -11
- package/dist/chunks/{skill-7dqw4kz8.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-errrn2c4.js → shell-qh1ex6mp.js} +15 -15
- package/dist/chunks/{skill-jfvfep4x.js → shell-qj6dnhcz.js} +11 -11
- package/dist/chunks/{skill-8xanb9va.js → shell-qnjwqrg7.js} +35 -35
- package/dist/chunks/{skill-ydwj5rgn.js → shell-qrka3egj.js} +43 -43
- package/dist/chunks/{skill-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-wcdjjbrh.js → shell-qv03q5s7.js} +35 -35
- package/dist/chunks/{skill-t15cd3dx.js → shell-qxxm4vqn.js} +10 -10
- package/dist/chunks/{skill-q220tqwg.js → shell-r3v8y99x.js} +1 -1
- package/dist/chunks/{skill-h9rm1rrn.js → shell-r4yqrmdq.js} +5 -5
- package/dist/chunks/{skill-ergs0mad.js → shell-r501ef8d.js} +1 -1
- package/dist/chunks/{skill-jnh6c2dp.js → shell-rcwrsj14.js} +15 -15
- package/dist/chunks/{skill-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-9xsc27xk.js → shell-reyvdt5n.js} +72 -72
- package/dist/chunks/{skill-jz1nmafe.js → shell-rfmz5n69.js} +15 -15
- package/dist/chunks/{skill-b1v2fqtb.js → shell-rjzyvn6d.js} +27 -27
- package/dist/chunks/{skill-er04vdyn.js → shell-rm0ma2mx.js} +26 -26
- package/dist/chunks/{skill-6ersrjne.js → shell-rph3zd4r.js} +6 -6
- package/dist/chunks/{skill-y0qh3t8c.js → shell-ryqp1849.js} +17 -17
- package/dist/chunks/{skill-n08wvtx7.js → shell-rzzpe0pe.js} +9 -9
- package/dist/chunks/{skill-yrznvahk.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{skill-axtrv3qw.js → shell-s8hmp7ng.js} +26 -26
- package/dist/chunks/{skill-jx9bscww.js → shell-sm332n37.js} +14 -14
- package/dist/chunks/shell-spb593b0.js +26 -0
- package/dist/chunks/{skill-3feep1h6.js → shell-swbnbadx.js} +37 -37
- package/dist/chunks/{skill-jqwzq460.js → shell-t5kmb9e5.js} +11 -11
- package/dist/chunks/{skill-9bqcd5ka.js → shell-t7d1t835.js} +29 -29
- package/dist/chunks/{skill-3qcm8vp7.js → shell-t7rmvvmw.js} +2 -2
- package/dist/chunks/{skill-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tbz0fdvh.js → shell-tbz0fdvh.js} +2 -2
- package/dist/chunks/{skill-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-g99y313h.js → shell-td5vtqzv.js} +12 -12
- package/dist/chunks/{skill-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{skill-aybtnt5q.js → shell-tgwryred.js} +22 -22
- package/dist/chunks/{skill-0ns1cxhp.js → shell-tn64gdye.js} +15 -15
- package/dist/chunks/{skill-mq12z3mn.js → shell-tq07f6ng.js} +20 -20
- package/dist/chunks/{skill-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-t9zs3egg.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{skill-gcnh4zrc.js → shell-vepy3mba.js} +6 -6
- package/dist/chunks/{skill-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-k2ypqpb7.js → shell-vng3t00x.js} +41 -41
- package/dist/chunks/{skill-d4zx8y89.js → shell-vtbq8t73.js} +14 -14
- package/dist/chunks/{skill-emqb30fy.js → shell-vyywk581.js} +7 -7
- package/dist/chunks/{skill-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-7grppy9w.js → shell-w7tar5ey.js} +12 -12
- package/dist/chunks/{skill-hj1nstbt.js → shell-wc4rd7t6.js} +5 -5
- package/dist/chunks/{skill-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{skill-qn3sd5fj.js → shell-wfdt4npz.js} +32 -32
- package/dist/chunks/{skill-gb42d2sy.js → shell-wh971x00.js} +57 -57
- package/dist/chunks/{skill-qn2mv273.js → shell-wk2cwt06.js} +23 -23
- package/dist/chunks/{skill-75d7rnaz.js → shell-wmcxp5hn.js} +14 -14
- package/dist/chunks/{skill-6rybd781.js → shell-wy8b5sm2.js} +1 -1
- package/dist/chunks/{skill-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-mxnhc5cz.js → shell-x86cf5xt.js} +13 -13
- package/dist/chunks/{skill-ratrq7cm.js → shell-xb02k0wq.js} +4 -4
- package/dist/chunks/{skill-af4n97kn.js → shell-xc0xf9na.js} +85 -85
- package/dist/chunks/{skill-fw8s41kz.js → shell-xccbzny3.js} +28 -28
- package/dist/chunks/{skill-wxe1qfek.js → shell-xe0jn6g3.js} +8 -8
- package/dist/chunks/{skill-z57gc1k8.js → shell-xf79w3v8.js} +26 -26
- package/dist/chunks/{skill-drwq78ky.js → shell-xfkkasph.js} +4 -4
- package/dist/chunks/{skill-fs4bevhs.js → shell-xkhv0wvg.js} +50 -50
- package/dist/chunks/{skill-ka9y3nwc.js → shell-xp3dbh4a.js} +3 -3
- package/dist/chunks/{skill-c3tnck23.js → shell-xqdjg29d.js} +15 -15
- package/dist/chunks/{skill-xczs4m09.js → shell-xw8gwj9z.js} +10 -10
- package/dist/chunks/{skill-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-ketgjabb.js → shell-y5k1zq1c.js} +29 -29
- package/dist/chunks/{skill-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{skill-5h0tj881.js → shell-yp2r4xmd.js} +24 -24
- package/dist/chunks/{skill-f2n192rq.js → shell-yp2x3t23.js} +4 -4
- package/dist/chunks/{skill-9f1p0svt.js → shell-yr8szs0n.js} +47 -47
- package/dist/chunks/{skill-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-3qaj82j9.js → shell-yt3hy1g9.js} +5 -5
- package/dist/chunks/{skill-ts20ka55.js → shell-yy6d0qfs.js} +11 -11
- package/dist/chunks/{skill-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-wechm0na.js → shell-z14b3j31.js} +3 -3
- package/dist/chunks/{skill-vr8rr6jd.js → shell-z3mdkpet.js} +3 -3
- package/dist/chunks/{skill-5x112tx2.js → shell-z6fnk1e0.js} +25 -25
- package/dist/chunks/{skill-sce6hqsn.js → shell-z8a4aepc.js} +31 -31
- package/dist/chunks/{skill-g76d6w6x.js → shell-zampddaz.js} +3 -3
- package/dist/chunks/{skill-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-aek5japj.js → shell-zh1xv5zk.js} +13 -13
- package/dist/chunks/{skill-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-n497svee.js → shell-zw03yv4t.js} +6 -6
- package/dist/chunks/{skill-e9v70hhz.js → shell-zxgv261n.js} +9 -9
- package/dist/chunks/{skill-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- 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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +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 +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/skill-1tm0r3ht.js +0 -4
- package/dist/chunks/skill-3rtyfve9.js +0 -252
- package/dist/chunks/skill-dxj72tfx.js +0 -18
- package/dist/chunks/skill-p68qftyb.js +0 -65
- package/dist/chunks/skill-pw351mjn.js +0 -26
- /package/dist/chunks/{skill-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jexxy024.js → shell-jexxy024.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./shell-td5vtqzv.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./shell-47y5x0ww.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service75,
|
|
11
15
|
node79
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service79,
|
|
15
|
-
node83
|
|
16
|
-
} from "./skill-y0qh3t8c.js";
|
|
16
|
+
} from "./shell-ryqp1849.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node68
|
|
20
|
+
} from "./shell-e2z6jaes.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service81,
|
|
24
|
+
node85
|
|
25
|
+
} from "./shell-xf79w3v8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./shell-0sz44tra.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service29,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer11,
|
|
58
|
+
node: () => node32
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service75;
|
|
106
|
+
const environment = yield* Service66;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service81;
|
|
109
|
+
const integration = yield* Service79;
|
|
110
|
+
const credentials = yield* Service80;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID16.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service29.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service29,
|
|
516
|
+
layer: layer11(options),
|
|
517
|
+
deps: [node79, node68, node86, node85, node83, node84]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node32 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options3, layer11, configured3, node32, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./shell-z8a4aepc.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./shell-abwdezg1.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./shell-s8hmp7ng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./shell-ryqp1849.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin12
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin12 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service50;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service75;
|
|
42
|
+
const watcher = yield* Service65;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin12, exports_instruction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./shell-z8a4aepc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./shell-njw6fdmp.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-zw03yv4t.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service64;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./shell-xf79w3v8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./shell-wh971x00.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./shell-ftjytw8f.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin23,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin23 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service56;
|
|
53
|
+
const forms = yield* Service81;
|
|
54
|
+
const websearch = yield* Service19;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin23, exports_websearch2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./shell-ryqp1849.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./shell-0wy5r46e.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -29,13 +29,13 @@ __export(exports_filesystem, {
|
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service14,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
87
87
|
}
|
|
88
88
|
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service75;
|
|
95
|
+
const search = yield* Service15;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service14.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node16 = makeLocationNode({
|
|
144
|
+
service: Service14,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node79, node17]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|