@opencode/core 0.0.0-dev-20777 → 0.0.0-dev-20781
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 +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-j793y9ay.js → skill-03s39rhg.js} +31 -31
- package/dist/chunks/{location-ch3qpzfg.js → skill-081pqqr5.js} +9 -9
- package/dist/chunks/{location-6whpyrs3.js → skill-0982s1gm.js} +45 -45
- package/dist/chunks/{location-vn72gsba.js → skill-0dygnakk.js} +4 -4
- package/dist/chunks/{location-3pxsat6s.js → skill-0g9cdt2p.js} +27 -27
- package/dist/chunks/{location-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-47jkzegy.js → skill-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-v8jdkmfs.js → skill-0sqchc9v.js} +10 -10
- package/dist/chunks/{location-agg46hj7.js → skill-0v6g35my.js} +8 -8
- package/dist/chunks/{location-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-c00fv4ar.js → skill-0x93t62e.js} +20 -20
- package/dist/chunks/{location-vaskyz0h.js → skill-0yc8d83b.js} +20 -20
- package/dist/chunks/{location-2jy94dam.js → skill-101tmw0e.js} +13 -13
- package/dist/chunks/{location-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-n0kpyt58.js → skill-1epzdntc.js} +9 -9
- package/dist/chunks/{location-rf5ebq4s.js → skill-1fps8nz6.js} +23 -23
- package/dist/chunks/{location-sfe13qt9.js → skill-1ms888gb.js} +25 -25
- package/dist/chunks/{location-py3kkmfq.js → skill-1p07q0wb.js} +4 -4
- package/dist/chunks/{location-cvmt8rk0.js → skill-1pc8eaj9.js} +21 -21
- package/dist/chunks/{location-b69x7x7h.js → skill-1r17h9m8.js} +2 -2
- package/dist/chunks/skill-1y4eg5v6.js +253 -0
- package/dist/chunks/{location-wp8xfje7.js → skill-1y6tjs0p.js} +29 -29
- package/dist/chunks/{location-b8d9rq7p.js → skill-23rmqmtf.js} +32 -32
- package/dist/chunks/{location-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-08mjp3pt.js → skill-2ahkrezy.js} +49 -49
- package/dist/chunks/{location-8snddydh.js → skill-2e488er1.js} +13 -13
- package/dist/chunks/{location-2a084xpy.js → skill-2epmt5yx.js} +3 -3
- package/dist/chunks/{location-b3e58hyc.js → skill-2erbc2h3.js} +32 -32
- package/dist/chunks/{location-y7rk29wk.js → skill-2fb8egyg.js} +17 -17
- package/dist/chunks/{location-ejfryj65.js → skill-2fyzv3xc.js} +3 -3
- package/dist/chunks/{location-fcrkznn8.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{location-fyb3fekh.js → skill-2kagsa96.js} +10 -10
- package/dist/chunks/{location-ey3qhexw.js → skill-2nhb9q09.js} +5 -5
- package/dist/chunks/{location-mw9b1c9f.js → skill-30h8y4wg.js} +13 -13
- package/dist/chunks/{location-h2b79v29.js → skill-3cegwx68.js} +2 -2
- package/dist/chunks/{location-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-hfpbvkxs.js → skill-3jxdk58w.js} +16 -16
- package/dist/chunks/{location-mn8ry2gg.js → skill-3mnvf6p9.js} +17 -17
- package/dist/chunks/{location-8pfsh0gj.js → skill-3pp8k01h.js} +20 -20
- package/dist/chunks/{location-zg3gffzg.js → skill-3rcp1bkh.js} +4 -4
- package/dist/chunks/{location-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-rnffhph3.js → skill-3w6er6cj.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-qa96c720.js → skill-40ptwz48.js} +6 -6
- package/dist/chunks/{location-5hps0jc8.js → skill-42nr671v.js} +23 -23
- package/dist/chunks/{location-pqxmmrpw.js → skill-44ntahsq.js} +49 -49
- package/dist/chunks/{location-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-ya99b1bg.js → skill-50vj6b7x.js} +143 -143
- package/dist/chunks/{location-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{location-w0pdyb55.js → skill-55ej53y0.js} +7 -7
- package/dist/chunks/{location-mfqp6xfm.js → skill-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-xfkkasph.js → skill-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-1h8se44f.js → skill-5fevf6pk.js} +7 -7
- package/dist/chunks/{location-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-hzfdd747.js → skill-5wdex9k6.js} +15 -15
- package/dist/chunks/{location-rmg8r6ny.js → skill-6ev121br.js} +9 -9
- package/dist/chunks/{location-6zztp22y.js → skill-6qcjx6jz.js} +43 -43
- package/dist/chunks/{location-6qv3krp1.js → skill-6rgya2y8.js} +18 -18
- package/dist/chunks/{location-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-xvf4b5tc.js → skill-6xbm3sg4.js} +30 -30
- package/dist/chunks/{location-4vvqa2vj.js → skill-6yj2dbmh.js} +90 -90
- package/dist/chunks/{location-rb6kc9en.js → skill-72tms615.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-thkbvcgx.js → skill-7my2nqf1.js} +2 -2
- package/dist/chunks/{location-9cwykwg4.js → skill-7n2amz1z.js} +29 -29
- package/dist/chunks/{location-dc34mbvf.js → skill-7nsmwq86.js} +2 -2
- package/dist/chunks/{location-dzt4t18k.js → skill-7wcwbeb7.js} +7 -7
- package/dist/chunks/{location-ds1wy84x.js → skill-806yr8y0.js} +27 -27
- package/dist/chunks/{location-1dvck2a7.js → skill-84h8c373.js} +2 -2
- package/dist/chunks/{location-pnaxc6j9.js → skill-8ank75fn.js} +8 -8
- package/dist/chunks/{location-kf8rbkby.js → skill-8btkd430.js} +31 -31
- package/dist/chunks/{location-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-b4m962yk.js → skill-8es2cp98.js} +22 -22
- package/dist/chunks/{location-1gmkcf0p.js → skill-8fxm663j.js} +9 -9
- package/dist/chunks/{location-h4ckqw4f.js → skill-8hkfkb27.js} +6 -6
- package/dist/chunks/{location-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-77392vks.js → skill-8m7g8697.js} +8 -8
- package/dist/chunks/{location-w0nqy3aq.js → skill-8qm83tfv.js} +9 -9
- package/dist/chunks/{location-mt74ad40.js → skill-8rhr56bn.js} +7 -7
- package/dist/chunks/{location-r58s4v78.js → skill-8s6c6m5s.js} +11 -11
- package/dist/chunks/{location-asvfb1gz.js → skill-8vhg3hp7.js} +28 -28
- package/dist/chunks/{location-xfgbrct6.js → skill-8yzx13cr.js} +14 -14
- package/dist/chunks/{location-2kw5qtk9.js → skill-99t05100.js} +35 -35
- package/dist/chunks/{location-spvg49p3.js → skill-9aaf7n3g.js} +32 -32
- package/dist/chunks/{location-jph2mfn8.js → skill-9g69dcg6.js} +15 -15
- package/dist/chunks/{location-sws9dtgm.js → skill-9nfy3y9e.js} +6 -6
- package/dist/chunks/{location-p3pp3bgs.js → skill-9pnhsxgt.js} +11 -11
- package/dist/chunks/{location-724avf7x.js → skill-9qtntmk8.js} +15 -15
- package/dist/chunks/{location-bmq95mvw.js → skill-9xn9atma.js} +3 -3
- package/dist/chunks/{location-qr0pk10y.js → skill-9xvep0td.js} +28 -28
- package/dist/chunks/{location-nqxj0yn4.js → skill-9y9sk2j9.js} +2 -2
- package/dist/chunks/{location-2fpnaz5h.js → skill-a46s6kbk.js} +18 -18
- package/dist/chunks/{location-7zz0tb2m.js → skill-a4pr5f9r.js} +326 -320
- package/dist/chunks/{location-a8bn8zg0.js → skill-a8bn8zg0.js} +1 -1
- package/dist/chunks/{location-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-addxnjmp.js → skill-addxnjmp.js} +1 -1
- package/dist/chunks/{location-na7ss97r.js → skill-ajgpa6nv.js} +23 -23
- package/dist/chunks/{location-fgkdc7jh.js → skill-aqwwqdgv.js} +10 -10
- package/dist/chunks/{location-arz7hw7x.js → skill-axe3mf62.js} +3 -3
- package/dist/chunks/{location-f2332hgj.js → skill-b3ynb7d3.js} +11 -11
- package/dist/chunks/{location-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-s1rrpmaa.js → skill-bamgg8ym.js} +31 -31
- package/dist/chunks/{location-1z20pv40.js → skill-bnxmcyee.js} +20 -20
- package/dist/chunks/{location-cp937pt4.js → skill-bp8fbaqn.js} +4 -4
- package/dist/chunks/{location-dhddhhrc.js → skill-bshzcw3h.js} +28 -16
- package/dist/chunks/{location-pbavp9d4.js → skill-c2158jrd.js} +23 -23
- package/dist/chunks/{location-t9xcwzrx.js → skill-c6ew2z36.js} +26 -26
- package/dist/chunks/{location-51f5btjf.js → skill-c8bydgjz.js} +6 -6
- package/dist/chunks/{location-4bar7sar.js → skill-caqpfbyt.js} +26 -26
- package/dist/chunks/{location-t5z5wvj2.js → skill-ctdc98gg.js} +4 -4
- package/dist/chunks/{location-ywcwnstf.js → skill-cx6aas0z.js} +12 -12
- package/dist/chunks/{location-etvz4dq0.js → skill-cytzxkff.js} +17 -17
- package/dist/chunks/{location-t2fc4mz5.js → skill-d216944b.js} +7 -7
- package/dist/chunks/{location-yrcj3v3g.js → skill-d2czbp48.js} +4 -4
- package/dist/chunks/{location-6tyzbyh4.js → skill-d49krybn.js} +15 -15
- package/dist/chunks/{location-qmqgtz8f.js → skill-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-05p4mhbg.js → skill-d7j7my50.js} +9 -9
- package/dist/chunks/{location-zcrspsvn.js → skill-dhmh7aw6.js} +4 -4
- package/dist/chunks/{location-xpg5nf0s.js → skill-dnhkz8s3.js} +26 -26
- package/dist/chunks/{location-02609e96.js → skill-dp6nqh4c.js} +17 -17
- package/dist/chunks/{location-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-h72xck84.js → skill-dqt5g3hk.js} +24 -24
- package/dist/chunks/{location-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-22tdpft4.js → skill-ekmt4dkt.js} +20 -20
- package/dist/chunks/{location-efgnm1d6.js → skill-eknnx2sm.js} +12 -12
- package/dist/chunks/{location-mc5akg63.js → skill-ep81cf61.js} +41 -41
- package/dist/chunks/{location-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/skill-ew6gp286.js +26 -0
- package/dist/chunks/{location-8b345ry2.js → skill-ewdzx310.js} +13 -13
- package/dist/chunks/{location-yjzd8xzf.js → skill-exxr552c.js} +17 -17
- package/dist/chunks/{location-qhqe7njz.js → skill-ez7zp3e7.js} +45 -45
- package/dist/chunks/{location-m46z4pcf.js → skill-ezxbem9w.js} +308 -304
- package/dist/chunks/{location-fzpqnkcj.js → skill-f2k9zecx.js} +1 -1
- package/dist/chunks/{location-4pedpz6c.js → skill-f49cms5k.js} +13 -13
- package/dist/chunks/{location-71az546q.js → skill-f75zav2x.js} +2 -2
- package/dist/chunks/{location-47r5a3mx.js → skill-f86e2e8r.js} +13 -13
- package/dist/chunks/{location-qmxh83kc.js → skill-f8fswb9c.js} +56 -56
- package/dist/chunks/{location-pjvjbv32.js → skill-fa0798qr.js} +11 -11
- package/dist/chunks/{location-mt66mygc.js → skill-fa1arg82.js} +13 -13
- package/dist/chunks/{location-50pnv838.js → skill-fhht6xq8.js} +28 -28
- package/dist/chunks/{location-yb1pbjke.js → skill-fqevmj86.js} +24 -24
- package/dist/chunks/{location-j97mndf0.js → skill-fr1cxyer.js} +6 -6
- package/dist/chunks/{location-ws2bx7td.js → skill-fr2jeztm.js} +3 -3
- package/dist/chunks/{location-83vepgva.js → skill-fredntnj.js} +31 -31
- package/dist/chunks/{location-6t1m34v8.js → skill-g4nx878d.js} +11 -11
- package/dist/chunks/{location-g6z45s58.js → skill-g8d7jebf.js} +18 -18
- package/dist/chunks/{location-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-ac3dnfkw.js → skill-ggzp6sfs.js} +7 -6
- package/dist/chunks/{location-bem8en1s.js → skill-gjfr9he2.js} +20 -20
- package/dist/chunks/{location-1v9scpnw.js → skill-gqmrynpn.js} +19 -19
- package/dist/chunks/{location-qxp4d2xp.js → skill-gvbf22kd.js} +22 -22
- package/dist/chunks/{location-gy1mt2vm.js → skill-gyfjdbw7.js} +15 -15
- package/dist/chunks/{location-42y5raaz.js → skill-gztrs2mc.js} +10 -10
- package/dist/chunks/{location-geyqfexr.js → skill-h5s09njq.js} +11 -11
- package/dist/chunks/{location-h788nv4n.js → skill-h6pmw8x2.js} +23 -23
- package/dist/chunks/{location-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-h7s7r6s9.js → skill-h7s7r6s9.js} +2 -2
- package/dist/chunks/{location-zyk1yjk8.js → skill-hdkng2sj.js} +5 -5
- package/dist/chunks/{location-cnwjz3s5.js → skill-hdv0vf09.js} +16 -16
- package/dist/chunks/{location-4b5b0vhn.js → skill-hmmv6qf0.js} +6 -6
- package/dist/chunks/{location-v7yprycd.js → skill-hnvvtk4g.js} +9 -9
- package/dist/chunks/{location-crvcnxkj.js → skill-hv3pvze4.js} +3 -3
- package/dist/chunks/{location-3jpnnrb4.js → skill-j3042cpm.js} +15 -15
- package/dist/chunks/{location-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-fsvxdad5.js → skill-j7e2g8sj.js} +4 -4
- package/dist/chunks/{location-3qb0mese.js → skill-j945ts23.js} +4 -4
- package/dist/chunks/{location-y0hnatt9.js → skill-j97ap7b3.js} +11 -11
- package/dist/chunks/{location-m55qy151.js → skill-j9px0aej.js} +10 -10
- package/dist/chunks/{location-57ehm7c4.js → skill-jtvmzzv1.js} +36 -36
- package/dist/chunks/{location-wbt9zsn3.js → skill-jvvc3tfq.js} +9 -9
- package/dist/chunks/{location-5h0p9j5c.js → skill-jzwe082a.js} +5 -5
- package/dist/chunks/{location-py28mc1m.js → skill-k4g4a3k8.js} +9 -9
- package/dist/chunks/{location-f4jsfm31.js → skill-k6zzyzjn.js} +39 -39
- package/dist/chunks/{location-k2v3a0tj.js → skill-k74v33jx.js} +22 -22
- package/dist/chunks/{location-ppc2pnsb.js → skill-kb5tjxj1.js} +4 -4
- package/dist/chunks/{location-9e5bzkjp.js → skill-kb9j3d72.js} +3 -3
- package/dist/chunks/{location-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-283v9wt3.js → skill-m6vfs9yf.js} +15 -15
- package/dist/chunks/{location-qww9nh48.js → skill-m8nz4hq1.js} +46 -46
- package/dist/chunks/{location-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-np6bm2as.js → skill-mb0ms3nf.js} +4 -4
- package/dist/chunks/{location-257vwa0c.js → skill-msyhh0fb.js} +23 -23
- package/dist/chunks/{location-4zxfccqq.js → skill-n3dgsn25.js} +9 -9
- package/dist/chunks/{location-xn2v0njk.js → skill-n6jn037m.js} +11 -11
- package/dist/chunks/skill-n95b3jav.js +18 -0
- package/dist/chunks/{location-7am7j62s.js → skill-nh8j4n7v.js} +9 -9
- package/dist/chunks/{location-t7cpp3m0.js → skill-nqvbngtv.js} +3 -3
- package/dist/chunks/{location-essarsw2.js → skill-nw07r3nn.js} +35 -35
- package/dist/chunks/{location-ta6y1msd.js → skill-p3sjvsty.js} +74 -74
- package/dist/chunks/{location-xpt096d7.js → skill-p8y6aqjf.js} +5 -5
- package/dist/chunks/{location-c5g770ce.js → skill-pacyqc5f.js} +8 -8
- package/dist/chunks/{location-t6wbbrfa.js → skill-phyzxvmd.js} +25 -25
- package/dist/chunks/{location-j8s9ab9g.js → skill-pjsqfx9m.js} +3 -3
- package/dist/chunks/{location-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-x2tcbxjk.js → skill-pnp2bzmq.js} +35 -35
- package/dist/chunks/{location-15xcwm9t.js → skill-pp12reev.js} +1 -1
- package/dist/chunks/{location-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-c26ps2t9.js → skill-q3n416rm.js} +14 -14
- package/dist/chunks/{location-ffa51ey5.js → skill-q6y5a10k.js} +5 -5
- package/dist/chunks/{location-8y8dfhw6.js → skill-q9cf9tqe.js} +11 -11
- package/dist/chunks/{location-nxpp2y2e.js → skill-qg49b3cx.js} +12 -12
- package/dist/chunks/{location-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-24skg3e0.js → skill-qpj0be80.js} +20 -20
- package/dist/chunks/{location-zdw14zwb.js → skill-qs3fcyw9.js} +9 -9
- package/dist/chunks/{location-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-k58rqv26.js → skill-qyy35tkn.js} +11 -11
- package/dist/chunks/{location-7yh4e7ss.js → skill-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-9t7a50xb.js → skill-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-smz349yv.js → skill-rsydsym6.js} +34 -34
- package/dist/chunks/{location-7z0vcwsq.js → skill-rt6zmwqx.js} +10 -10
- package/dist/chunks/{location-wb7mg7fb.js → skill-rwkhrqfs.js} +8 -8
- package/dist/chunks/{location-7wpc5jwh.js → skill-ryhvpn5p.js} +13 -13
- package/dist/chunks/{location-y4eq9c7t.js → skill-ryrzae8t.js} +10 -10
- package/dist/chunks/{location-0t098hqn.js → skill-sfkj0ta1.js} +5 -5
- package/dist/chunks/{location-922xc4bs.js → skill-sk99bxzn.js} +16 -16
- package/dist/chunks/{location-k70p9jzb.js → skill-srq8z0b0.js} +9 -9
- package/dist/chunks/{location-xpfnkknw.js → skill-t1kwx79t.js} +32 -32
- package/dist/chunks/{location-by659cs7.js → skill-t4aysb4r.js} +16 -16
- package/dist/chunks/{location-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-tz3m3brz.js → skill-tg800t2p.js} +8 -8
- package/dist/chunks/{location-73gdyt7p.js → skill-tnc5t1gf.js} +22 -22
- package/dist/chunks/{location-44rac60e.js → skill-tp1xemq3.js} +11 -11
- package/dist/chunks/{location-pa8pe2x7.js → skill-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-v0es1rhs.js → skill-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-7fyyg3d8.js → skill-v41s5yqp.js} +11 -11
- package/dist/chunks/{location-r5atvkz9.js → skill-v8xkm7fr.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-m9an57nd.js → skill-vqv4cs72.js} +11 -11
- package/dist/chunks/{location-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-84txncab.js → skill-w1eejvng.js} +5 -5
- package/dist/chunks/{location-mye8z46x.js → skill-w23m87nk.js} +17 -17
- package/dist/chunks/{location-eba7m2bv.js → skill-w30nb1yc.js} +16 -16
- package/dist/chunks/{location-4xpgt2w9.js → skill-w39jehkq.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mq882t6m.js → skill-w4685zgx.js} +13 -13
- package/dist/chunks/{location-enppsyr8.js → skill-w8pg63ym.js} +1 -1
- package/dist/chunks/{location-xs12am9p.js → skill-was7srj9.js} +8 -8
- package/dist/chunks/{location-qh3vb1tn.js → skill-wbt93eb0.js} +5 -5
- package/dist/chunks/{location-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-yx4j6h9t.js → skill-wg5wmzb0.js} +88 -88
- package/dist/chunks/{location-ermxvwhp.js → skill-wj76ss2k.js} +4 -4
- package/dist/chunks/{location-ep4m400e.js → skill-wzyrkyja.js} +23 -23
- package/dist/chunks/{location-1ts7y3cx.js → skill-x4q7srnc.js} +11 -11
- package/dist/chunks/{location-p0cpcvwn.js → skill-x63k85f5.js} +15 -15
- package/dist/chunks/{location-1v74vwhm.js → skill-x80v0bpa.js} +15 -15
- package/dist/chunks/{location-ge2jb4mz.js → skill-xcajktjp.js} +15 -15
- package/dist/chunks/{location-tnr8ce74.js → skill-xfkhnva0.js} +33 -33
- package/dist/chunks/{location-3xqh13de.js → skill-xqrmy91b.js} +6 -6
- package/dist/chunks/{location-h2xnf45v.js → skill-xr3t68eq.js} +18 -18
- package/dist/chunks/{location-v9tbcfk2.js → skill-xrdh4s04.js} +13 -13
- package/dist/chunks/{location-n7yx15r7.js → skill-xrv71jf0.js} +5 -5
- package/dist/chunks/{location-qxjc9qry.js → skill-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-pnzf6mjf.js → skill-xybefm6f.js} +1 -1
- package/dist/chunks/{location-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-y56ehv6b.js → skill-y56ehv6b.js} +2 -2
- package/dist/chunks/{location-hpfvhvya.js → skill-y72zmemf.js} +8 -8
- package/dist/chunks/{location-zzz4tyg8.js → skill-ydz57f2j.js} +29 -29
- package/dist/chunks/{location-z8nhrpf5.js → skill-ygyswz88.js} +26 -26
- package/dist/chunks/{location-1acjjqhc.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-f2mw6jyj.js → skill-z5pcptfa.js} +11 -11
- package/dist/chunks/{location-das60bkc.js → skill-z6pwme65.js} +14 -14
- package/dist/chunks/{location-nyqx1cb3.js → skill-zd30eb5w.js} +5 -5
- package/dist/chunks/{location-t9ew0xaf.js → skill-zfa7ynd8.js} +15 -15
- package/dist/chunks/{location-wt19589t.js → skill-zkbzm8m2.js} +6 -6
- package/dist/chunks/{location-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-sdq79vbt.js → skill-zwq0tthq.js} +28 -28
- package/dist/chunks/{location-1g5f91mn.js → skill-zx3dt1g9.js} +42 -42
- package/dist/chunks/{location-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-6hcrkmvd.js → skill-zz8g2j7n.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/config/plugin/command.d.ts +2 -1
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/session/subagent-job.d.ts +8 -4
- package/dist/types/tool/plugin/subagent.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-0gzjc7ft.js +0 -253
- package/dist/chunks/location-1fq0wp1e.js +0 -26
- package/dist/chunks/location-dxj72tfx.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./skill-t4aysb4r.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-42nr671v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service81,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-ryhvpn5p.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service26,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node29
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service26 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service81;
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service26.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node29 = makeLocationNode({
|
|
191
|
+
service: Service26,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node, node84,
|
|
193
|
+
deps: [FSUtil.node, node84, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service26, node29, exports_vcs };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-ezxbem9w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-fredntnj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -75,8 +75,8 @@ function derive3(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(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.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 Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID12 = Session.ID;
|
|
5
|
+
var Info21 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID12, Info21, SessionSchema2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./skill-zx3dt1g9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./skill-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_location_watcher2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./skill-t4aysb4r.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./location-efgnm1d6.js";
|
|
8
|
+
} from "./skill-eknnx2sm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service81,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-ryhvpn5p.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-n95b3jav.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service54,
|
|
18
|
+
node56
|
|
19
|
+
} from "./skill-k74v33jx.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./skill-gjfr9he2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./skill-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service81;
|
|
47
|
+
const watcher = yield* Service54;
|
|
48
|
+
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node56, FSUtil.node, node84, node87, node88, node24, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./skill-g4nx878d.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-f75zav2x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info18,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node75
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info18 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service72.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node75 = makeGlobalNode({ service: Service72, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info18, ListInput4, AddInput2, Service72, node75, exports_saved };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin41 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin35 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin41, exports_mcp_codemode_defaults };
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node70
|
|
4
|
+
} from "./skill-w30nb1yc.js";
|
|
4
5
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./skill-6yj2dbmh.js";
|
|
7
9
|
import {
|
|
8
10
|
text2,
|
|
9
11
|
deliver2
|
|
10
|
-
} from "./
|
|
12
|
+
} from "./skill-6xb47vfp.js";
|
|
11
13
|
import {
|
|
12
14
|
__export
|
|
13
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
16
|
|
|
15
17
|
// src/session/subagent-job.ts
|
|
16
18
|
var exports_subagent_job = {};
|
|
17
19
|
__export(exports_subagent_job, {
|
|
20
|
+
Service: () => Service12,
|
|
18
21
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
|
|
22
|
+
node: () => node14
|
|
20
23
|
});
|
|
21
|
-
import { Effect, Scope } from "effect";
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
|
+
}
|
|
28
|
+
var make = Effect.gen(function* () {
|
|
29
|
+
const sessions = yield* Service30;
|
|
30
|
+
const jobs = yield* Service67;
|
|
25
31
|
const scope = yield* Scope.Scope;
|
|
32
|
+
const context = yield* Effect.context();
|
|
26
33
|
const notifications = new Set;
|
|
27
34
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
28
35
|
const key = `${recovery.childSessionID}:${startedAt}`;
|
|
@@ -33,9 +40,9 @@ var make11 = Effect.gen(function* () {
|
|
|
33
40
|
const info = (yield* jobs.wait({ id: recovery.childSessionID })).info;
|
|
34
41
|
if (info)
|
|
35
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
36
|
-
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }));
|
|
43
|
+
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
37
44
|
});
|
|
38
|
-
return {
|
|
45
|
+
return Service12.of({
|
|
39
46
|
start: (recovery) => jobs.start({
|
|
40
47
|
id: recovery.childSessionID,
|
|
41
48
|
type: "subagent",
|
|
@@ -48,14 +55,19 @@ var make11 = Effect.gen(function* () {
|
|
|
48
55
|
const assistant = messages.find((message) => message.type === "assistant" && message.time.completed !== undefined && message.error === undefined);
|
|
49
56
|
return text2(assistant);
|
|
50
57
|
})
|
|
51
|
-
}),
|
|
58
|
+
}).pipe(Effect.setContext(context)),
|
|
52
59
|
background: Effect.fn("SubagentJob.background")(function* (recovery) {
|
|
53
60
|
const info = yield* jobs.background(recovery.childSessionID);
|
|
54
61
|
if (info)
|
|
55
62
|
yield* notify(recovery, info.started_at);
|
|
56
63
|
}),
|
|
57
64
|
notify
|
|
58
|
-
};
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
var node14 = Node.makeGlobalNode({
|
|
68
|
+
service: Service12,
|
|
69
|
+
layer: Layer.effect(Service12, make),
|
|
70
|
+
deps: [node33, node70]
|
|
59
71
|
});
|
|
60
72
|
|
|
61
|
-
export {
|
|
73
|
+
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./skill-eknnx2sm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node72
|
|
17
|
+
} from "./skill-2e488er1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node61,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service59 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service69;
|
|
110
|
+
return Service59.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node61 = makeGlobalNode({
|
|
171
|
+
service: Service59,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node72]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node61, exports_repository_cache };
|