@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-z14b3j31.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./shell-td5vtqzv.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info33,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service80,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info33({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service80.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info33, Service80, node84, exports_credential };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./shell-ryqp1849.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./shell-e2z6jaes.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./shell-8fcb94yc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-zh1xv5zk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./shell-wh971x00.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service55,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-6tpd68sk.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin21,
|
|
42
|
+
name: () => name3,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin21 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service55;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service60;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service56;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent2, Plugin21, exports_patch };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./shell-ryqp1849.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./shell-e2z6jaes.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-zh1xv5zk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./shell-8fcb94yc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./shell-wh971x00.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service55,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-6tpd68sk.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin20,
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin20 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service55;
|
|
110
|
+
const fileMutation = yield* Service18;
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const formatter = yield* Service60;
|
|
113
|
+
const location = yield* Service75;
|
|
114
|
+
const permission = yield* Service56;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name2,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input2,
|
|
120
|
+
output: Output2,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin13 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name2, Input2, Output2, Plugin20, exports_edit };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-rm0ma2mx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-z8a4aepc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-r4yqrmdq.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-rm0ma2mx.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-zw03yv4t.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./shell-td5vtqzv.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service46,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service46, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service46.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node48 = makeLocationNode({
|
|
75
|
+
service: Service46,
|
|
76
|
+
layer: layer16,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError5, ExecutionError2, Service46, layer16, node48, exports_command4, Event9 };
|