@opencode/core 0.0.0-dev-20035 → 0.0.0-dev-20038
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{instruction-discovery-q5797vwk.js → skill-038gxnxw.js} +26 -26
- package/dist/chunks/{instruction-discovery-mpmef94f.js → skill-0483ns04.js} +25 -25
- package/dist/chunks/{instruction-discovery-cm7ckfx7.js → skill-06fpybe0.js} +3 -3
- package/dist/chunks/{instruction-discovery-x9r5n1mh.js → skill-0a7n14cc.js} +87 -87
- package/dist/chunks/{instruction-discovery-jdm1k41p.js → skill-0ex7bte1.js} +20 -20
- package/dist/chunks/{instruction-discovery-gkz88561.js → skill-0g4vbkq9.js} +1 -1
- package/dist/chunks/{instruction-discovery-gkbk41jf.js → skill-0h03nx8e.js} +8 -8
- package/dist/chunks/{instruction-discovery-zt1q6574.js → skill-0j7qrmec.js} +11 -11
- package/dist/chunks/{instruction-discovery-0m0tvs7x.js → skill-0m0tvs7x.js} +1 -1
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-zm8zfhe0.js → skill-0pky1d45.js} +23 -23
- package/dist/chunks/{instruction-discovery-z4ztj7g0.js → skill-11dqjexa.js} +9 -9
- package/dist/chunks/{instruction-discovery-nhyq2g63.js → skill-122w83js.js} +27 -27
- package/dist/chunks/skill-16sntq5h.js +503 -0
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-1ed2t66p.js → skill-1ed2t66p.js} +4 -4
- package/dist/chunks/{instruction-discovery-zzy8bv2k.js → skill-1ef4qfgr.js} +7 -7
- package/dist/chunks/{instruction-discovery-9jd99yzh.js → skill-1kxby9vs.js} +12 -12
- package/dist/chunks/{instruction-discovery-b3grbp31.js → skill-1p79b18y.js} +10 -10
- package/dist/chunks/{instruction-discovery-css18bw4.js → skill-1sz13pgv.js} +4 -4
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → skill-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-e6rhpkh1.js → skill-21s6yy3m.js} +21 -21
- package/dist/chunks/{instruction-discovery-4svnyw4f.js → skill-2211ny1y.js} +26 -26
- package/dist/chunks/{instruction-discovery-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{instruction-discovery-djkbap09.js → skill-25jaxmbj.js} +22 -22
- package/dist/chunks/{instruction-discovery-sgrqhgmf.js → skill-27tdkxxq.js} +13 -13
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-q8f2bmng.js → skill-2np8p05j.js} +50 -50
- package/dist/chunks/{instruction-discovery-1vvr2ajh.js → skill-3092rspq.js} +11 -11
- package/dist/chunks/{instruction-discovery-kbez90jx.js → skill-36tcapyb.js} +9 -9
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-pn4n9n96.js → skill-3prtm72b.js} +17 -17
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-rnrng9qw.js → skill-3trgmge8.js} +11 -11
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-evbgk2k8.js → skill-3w0fmcng.js} +5 -5
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-5773vcrt.js → skill-455avmjk.js} +10 -10
- package/dist/chunks/{instruction-discovery-j5wt0xg5.js → skill-48twmav6.js} +20 -20
- package/dist/chunks/{instruction-discovery-32mptbtk.js → skill-4a0d1ank.js} +14 -14
- package/dist/chunks/{instruction-discovery-mbjzy413.js → skill-4h27wmgr.js} +15 -15
- package/dist/chunks/{instruction-discovery-v1eq4e05.js → skill-4kg3wx8r.js} +5 -5
- package/dist/chunks/{instruction-discovery-0ryd0fps.js → skill-4n607a2z.js} +5 -5
- package/dist/chunks/{instruction-discovery-tww8z1vj.js → skill-4wmcspnr.js} +23 -23
- package/dist/chunks/{instruction-discovery-cb50g36s.js → skill-4yx4ch8z.js} +27 -27
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → skill-510m7gjw.js} +5 -5
- package/dist/chunks/{instruction-discovery-k9d40v1y.js → skill-53fyba40.js} +4 -4
- package/dist/chunks/{instruction-discovery-54tcyq79.js → skill-54tcyq79.js} +2 -2
- package/dist/chunks/{instruction-discovery-39zjwp2f.js → skill-55tgstys.js} +34 -34
- package/dist/chunks/{instruction-discovery-57ez7d0k.js → skill-57ez7d0k.js} +2 -2
- package/dist/chunks/{instruction-discovery-xga2m62q.js → skill-5a29nm2w.js} +18 -18
- package/dist/chunks/{instruction-discovery-q3t37ft6.js → skill-5cmxdwv8.js} +3 -3
- package/dist/chunks/{instruction-discovery-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ekn9679.js → skill-5ekn9679.js} +1 -1
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-11s59a84.js → skill-600wd4ax.js} +12 -12
- package/dist/chunks/{instruction-discovery-q7qx1k0z.js → skill-630e1s9z.js} +22 -22
- package/dist/chunks/{instruction-discovery-pkfpcs6v.js → skill-63752er2.js} +48 -48
- package/dist/chunks/{instruction-discovery-gscd24zq.js → skill-63c4jth9.js} +24 -24
- package/dist/chunks/{instruction-discovery-659sfxq9.js → skill-659sfxq9.js} +3 -3
- package/dist/chunks/{instruction-discovery-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-jnn0bp1d.js → skill-6gnm5ehv.js} +11 -11
- package/dist/chunks/{instruction-discovery-3433kd31.js → skill-6gpxker2.js} +3 -3
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-m3apdt2a.js → skill-6r9vc294.js} +44 -44
- package/dist/chunks/{instruction-discovery-bjn91642.js → skill-6rjq4ad6.js} +4 -4
- package/dist/chunks/{instruction-discovery-eneefzjq.js → skill-6ysrkrkr.js} +8 -8
- package/dist/chunks/{instruction-discovery-c6yaza7c.js → skill-6zn80krx.js} +9 -9
- package/dist/chunks/{instruction-discovery-ztjsgstj.js → skill-70q87p13.js} +13 -13
- package/dist/chunks/{instruction-discovery-vbh3tngh.js → skill-72sbmkpb.js} +11 -11
- package/dist/chunks/{instruction-discovery-282nqtez.js → skill-77g5fd73.js} +14 -14
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{instruction-discovery-5amwhyk8.js → skill-7ge4ak7p.js} +6 -6
- package/dist/chunks/{instruction-discovery-e0egw4bf.js → skill-7jf4mmmx.js} +37 -37
- package/dist/chunks/{instruction-discovery-g00n1506.js → skill-7q2awb7k.js} +21 -21
- package/dist/chunks/{instruction-discovery-hn5tkwz5.js → skill-7rfgs20b.js} +6 -6
- package/dist/chunks/{instruction-discovery-h0yn1h2z.js → skill-805hba50.js} +82 -82
- package/dist/chunks/{instruction-discovery-p4thxdrt.js → skill-82cjnjjm.js} +23 -23
- package/dist/chunks/{instruction-discovery-8s77jh8q.js → skill-84vtzxcb.js} +10 -10
- package/dist/chunks/{instruction-discovery-4bm5ja14.js → skill-86qzxe6p.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-1rawk49q.js → skill-8eve1412.js} +13 -13
- package/dist/chunks/{instruction-discovery-xks77b5m.js → skill-8ztv5h5g.js} +35 -35
- package/dist/chunks/{instruction-discovery-s7pfqayf.js → skill-9376sdmt.js} +5 -5
- package/dist/chunks/{instruction-discovery-c4hpbxsz.js → skill-954pj15k.js} +11 -11
- package/dist/chunks/{instruction-discovery-cgnjcbvc.js → skill-956y4h3p.js} +69 -69
- package/dist/chunks/{instruction-discovery-965ggptx.js → skill-965ggptx.js} +5 -5
- package/dist/chunks/{instruction-discovery-ap3b078m.js → skill-9ct16sxg.js} +11 -11
- package/dist/chunks/{instruction-discovery-9cyfspf3.js → skill-9cyfspf3.js} +2 -2
- package/dist/chunks/{instruction-discovery-91pn7y7z.js → skill-9gj9ptyy.js} +7 -7
- package/dist/chunks/{instruction-discovery-3hfr6h8q.js → skill-9hn6k4tm.js} +8 -8
- package/dist/chunks/{instruction-discovery-55eajq8q.js → skill-9qtvyvpe.js} +26 -26
- package/dist/chunks/{instruction-discovery-88z66f6b.js → skill-9sejfsrr.js} +35 -35
- package/dist/chunks/{instruction-discovery-45h6h3dt.js → skill-9xhrrz51.js} +24 -24
- package/dist/chunks/{instruction-discovery-n484hve9.js → skill-9yyts0fm.js} +8 -8
- package/dist/chunks/{instruction-discovery-xt0vajcx.js → skill-a28b3rq6.js} +16 -16
- package/dist/chunks/{instruction-discovery-ratrq7cm.js → skill-a2ew8a62.js} +4 -4
- package/dist/chunks/{instruction-discovery-2eegacq4.js → skill-a2qe2ev9.js} +8 -8
- package/dist/chunks/{instruction-discovery-8x5fbbq2.js → skill-a4z1vf6d.js} +25 -25
- package/dist/chunks/{instruction-discovery-ft6ep068.js → skill-aa7my7vj.js} +17 -17
- package/dist/chunks/{instruction-discovery-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-af04s6ss.js → skill-af04s6ss.js} +2 -2
- package/dist/chunks/{instruction-discovery-d4ytm8cd.js → skill-aw8s6wvc.js} +6 -6
- package/dist/chunks/{instruction-discovery-2qrdqbn9.js → skill-b1r5q4bs.js} +16 -16
- package/dist/chunks/{instruction-discovery-bf0dbsxh.js → skill-b3es7jwq.js} +6 -6
- package/dist/chunks/{instruction-discovery-wps88n7s.js → skill-b4exqj80.js} +10 -10
- package/dist/chunks/{instruction-discovery-qemwa272.js → skill-b60sv5ex.js} +24 -24
- package/dist/chunks/{instruction-discovery-7a840x3v.js → skill-b64pa8pr.js} +11 -11
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-y72zmemf.js → skill-b6syrwy2.js} +8 -8
- package/dist/chunks/{instruction-discovery-t9ap0fta.js → skill-b9g232j2.js} +13 -13
- package/dist/chunks/{instruction-discovery-mt2z56f5.js → skill-bbc4tthw.js} +22 -22
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → skill-bjtzbw4r.js} +3 -3
- package/dist/chunks/{instruction-discovery-th62b91t.js → skill-bmert760.js} +25 -25
- package/dist/chunks/{instruction-discovery-aye1rqq8.js → skill-bmvvfwz1.js} +5 -5
- package/dist/chunks/{instruction-discovery-1prdjary.js → skill-brnbh3wc.js} +19 -19
- package/dist/chunks/{instruction-discovery-1phdpwc2.js → skill-bvtqrzkz.js} +15 -15
- package/dist/chunks/{instruction-discovery-dsevvrv2.js → skill-bz1aa729.js} +33 -33
- package/dist/chunks/{instruction-discovery-v2dx9ytq.js → skill-c1t7y3na.js} +8 -8
- package/dist/chunks/{instruction-discovery-ze7b11e9.js → skill-c6hp3pdp.js} +20 -20
- package/dist/chunks/{instruction-discovery-zcprnezk.js → skill-cd64xwqy.js} +26 -26
- package/dist/chunks/{instruction-discovery-p6dvmy6m.js → skill-cn1v2m3x.js} +6 -6
- package/dist/chunks/{instruction-discovery-pc2w18tz.js → skill-d1nkx38v.js} +11 -11
- package/dist/chunks/{instruction-discovery-3mcjejv0.js → skill-d78bs0zk.js} +8 -8
- package/dist/chunks/{instruction-discovery-kad7k73d.js → skill-d9mt4ydz.js} +8 -8
- package/dist/chunks/{instruction-discovery-4s2t67gb.js → skill-dcmhd26j.js} +3 -3
- package/dist/chunks/{instruction-discovery-wta2bqzn.js → skill-ddde2jbf.js} +16 -16
- package/dist/chunks/{instruction-discovery-jvf3yq6v.js → skill-ddt2bs9e.js} +4 -4
- package/dist/chunks/{instruction-discovery-fwy2bgzc.js → skill-dgy0zd7z.js} +2 -2
- package/dist/chunks/{instruction-discovery-rey5gbxv.js → skill-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{instruction-discovery-npyy71b9.js → skill-dqbrne9y.js} +13 -13
- package/dist/chunks/{instruction-discovery-en7c0xf8.js → skill-dqms7t99.js} +20 -20
- package/dist/chunks/{instruction-discovery-xfkkasph.js → skill-drwq78ky.js} +4 -4
- package/dist/chunks/{instruction-discovery-htvkgf1n.js → skill-e7cskxq6.js} +29 -29
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → skill-eaj1djv9.js} +1 -1
- package/dist/chunks/{instruction-discovery-d649rh1w.js → skill-ed7hynkb.js} +4 -4
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-eqrkd5z0.js → skill-efayeezr.js} +4 -4
- package/dist/chunks/{instruction-discovery-4qa2vbsh.js → skill-epnnwhzd.js} +15 -15
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → skill-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-mtjrch8b.js → skill-fd1fd4ba.js} +24 -24
- package/dist/chunks/{instruction-discovery-44ke2mar.js → skill-fkjmw100.js} +6 -6
- package/dist/chunks/{instruction-discovery-vzdazkqw.js → skill-fytx2caw.js} +13 -13
- package/dist/chunks/{instruction-discovery-qsaqc0wr.js → skill-g31wgms3.js} +4 -4
- package/dist/chunks/{instruction-discovery-20fk9aev.js → skill-g352dv7q.js} +4 -4
- package/dist/chunks/skill-gbadjzag.js +4 -0
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-xp1f9m85.js → skill-gf0t83ey.js} +32 -32
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → skill-gfvb90ym.js} +2 -2
- package/dist/chunks/{instruction-discovery-sx1fh020.js → skill-gnjjzrdy.js} +16 -16
- package/dist/chunks/{instruction-discovery-gtwzfepv.js → skill-gtzevx44.js} +3 -3
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-e4934fpk.js → skill-gy7z5ezd.js} +12 -12
- package/dist/chunks/{instruction-discovery-45f95y49.js → skill-h4jnxhkz.js} +8 -8
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-578btx0z.js → skill-hah2psrv.js} +16 -16
- package/dist/chunks/{instruction-discovery-gmx50r0d.js → skill-hbk6swqr.js} +9 -9
- package/dist/chunks/{instruction-discovery-akrnn5pm.js → skill-hfypw2dz.js} +6 -6
- package/dist/chunks/{instruction-discovery-rt03rqyf.js → skill-hgfzt47m.js} +11 -11
- package/dist/chunks/{instruction-discovery-qz4n3r55.js → skill-hjy7jdp6.js} +33 -33
- package/dist/chunks/{instruction-discovery-dbc2k69g.js → skill-hpefyvy7.js} +32 -32
- package/dist/chunks/{instruction-discovery-2wt5435z.js → skill-j0txe9sg.js} +36 -36
- package/dist/chunks/{instruction-discovery-hq4dtc3h.js → skill-j3g2v1be.js} +14 -14
- package/dist/chunks/{instruction-discovery-22ebvdeb.js → skill-j45nn1c3.js} +23 -23
- package/dist/chunks/{instruction-discovery-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-kjhp2gs9.js → skill-j5a3x2sz.js} +4 -4
- package/dist/chunks/skill-jcn1d825.js +26 -0
- package/dist/chunks/{instruction-discovery-wmz1520h.js → skill-k1094w2b.js} +16 -16
- package/dist/chunks/{instruction-discovery-d3p4xgmg.js → skill-k2vy3q29.js} +9 -9
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-y9ac25rv.js → skill-kjrbxs1n.js} +18 -18
- package/dist/chunks/{instruction-discovery-15kgmdgj.js → skill-kkc85mgk.js} +23 -23
- package/dist/chunks/{instruction-discovery-v2ja366f.js → skill-kkmdswye.js} +13 -13
- package/dist/chunks/{instruction-discovery-5zj68cj2.js → skill-kkys2nbr.js} +19 -19
- package/dist/chunks/{instruction-discovery-rw1kqm1d.js → skill-kmq6mhp1.js} +12 -12
- package/dist/chunks/{instruction-discovery-x4rn42j9.js → skill-kqr1y863.js} +15 -15
- package/dist/chunks/{instruction-discovery-evfjsp4y.js → skill-kt2kw9ad.js} +21 -21
- package/dist/chunks/{instruction-discovery-nn3r97b9.js → skill-ktswn2xr.js} +4 -4
- package/dist/chunks/{instruction-discovery-5j0v07dd.js → skill-m177v21q.js} +50 -50
- package/dist/chunks/{instruction-discovery-byfdp7sc.js → skill-m1n5efdw.js} +17 -17
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-0wexbj72.js → skill-m5xc954w.js} +17 -17
- package/dist/chunks/{instruction-discovery-tb574xta.js → skill-m6caffc0.js} +20 -20
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-h2hm217k.js → skill-mc6rmvyt.js} +3 -3
- package/dist/chunks/{instruction-discovery-fpzdzkj0.js → skill-meb31nx3.js} +16 -16
- package/dist/chunks/{instruction-discovery-1bbkgx8g.js → skill-mhkvc446.js} +3 -3
- package/dist/chunks/{instruction-discovery-sdmve495.js → skill-mq3cmg74.js} +44 -44
- package/dist/chunks/{instruction-discovery-5x6h8zsv.js → skill-mwvsmt3f.js} +10 -10
- package/dist/chunks/{instruction-discovery-m3af1xqw.js → skill-mxvtkdv6.js} +9 -9
- package/dist/chunks/{instruction-discovery-krerckhf.js → skill-myn8tnag.js} +18 -18
- package/dist/chunks/{instruction-discovery-zv885epr.js → skill-mznae9x0.js} +168 -168
- package/dist/chunks/{instruction-discovery-m88pfp32.js → skill-n6dn13hr.js} +3 -3
- package/dist/chunks/{instruction-discovery-enqpmdm5.js → skill-nd9hw607.js} +16 -16
- package/dist/chunks/{instruction-discovery-kfphszmj.js → skill-nq7qbqzc.js} +9 -9
- package/dist/chunks/{instruction-discovery-1n98hr1n.js → skill-nrqs9f76.js} +3 -3
- package/dist/chunks/{instruction-discovery-dkddc65t.js → skill-nsft68r9.js} +2 -2
- package/dist/chunks/{instruction-discovery-44h5tttr.js → skill-nzyhnfxz.js} +4 -4
- package/dist/chunks/{instruction-discovery-715tkws1.js → skill-p54mb0t0.js} +15 -15
- package/dist/chunks/{instruction-discovery-nca7p386.js → skill-p57dvf2n.js} +5 -5
- package/dist/chunks/{instruction-discovery-mx9vqzsb.js → skill-p7a39gy5.js} +6 -6
- package/dist/chunks/{instruction-discovery-0gaj4617.js → skill-pf2hb43r.js} +6 -6
- package/dist/chunks/{instruction-discovery-j148vjdr.js → skill-pfvt33xv.js} +19 -19
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-psazpmmj.js → skill-psazpmmj.js} +2 -2
- package/dist/chunks/{instruction-discovery-bfcwx7ng.js → skill-pzacy225.js} +31 -31
- package/dist/chunks/{instruction-discovery-jk5nd1ev.js → skill-q6drrbz2.js} +36 -36
- package/dist/chunks/{instruction-discovery-zrahedb4.js → skill-qa89nc5s.js} +15 -15
- package/dist/chunks/{instruction-discovery-qj8eh1ht.js → skill-qj8eh1ht.js} +1 -1
- package/dist/chunks/{instruction-discovery-rtathh62.js → skill-qp3v07n2.js} +8 -8
- package/dist/chunks/{instruction-discovery-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-7w57ebwc.js → skill-qv362tpw.js} +5 -5
- package/dist/chunks/{instruction-discovery-7vrq869m.js → skill-r1bf57pa.js} +23 -23
- package/dist/chunks/{instruction-discovery-sqy4ahhk.js → skill-r3c4069c.js} +1 -1
- package/dist/chunks/{instruction-discovery-e2v056qs.js → skill-r9n2gbfa.js} +9 -9
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-j6bx7044.js → skill-rh2ber99.js} +8 -8
- package/dist/chunks/{instruction-discovery-nsqqzzth.js → skill-rsa0f4ve.js} +34 -34
- package/dist/chunks/{instruction-discovery-c039twec.js → skill-ryjr88wf.js} +6 -6
- package/dist/chunks/{instruction-discovery-4s9mtqqy.js → skill-s7bhq6mc.js} +11 -11
- package/dist/chunks/{instruction-discovery-gm52bzsg.js → skill-s9wjjtzf.js} +21 -21
- package/dist/chunks/{instruction-discovery-ee381eds.js → skill-sajztd9s.js} +44 -44
- package/dist/chunks/{instruction-discovery-6jq1twvs.js → skill-t1jc3wjt.js} +12 -12
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-xkfpn5tc.js → skill-tgs0j305.js} +13 -13
- package/dist/chunks/skill-th30gvj6.js +252 -0
- package/dist/chunks/{instruction-discovery-n1bt1yd9.js → skill-tk21shqt.js} +5 -5
- package/dist/chunks/{instruction-discovery-atnq9fe8.js → skill-tsvh53gt.js} +33 -33
- package/dist/chunks/{instruction-discovery-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-cbd96z7n.js → skill-v1tkfmx4.js} +23 -23
- package/dist/chunks/{instruction-discovery-1e5e9c2h.js → skill-v2k9d9n6.js} +9 -9
- package/dist/chunks/{instruction-discovery-g2pkmnsy.js → skill-vcrsed51.js} +30 -30
- package/dist/chunks/{instruction-discovery-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-jca4demv.js → skill-vmgq4x8b.js} +2 -2
- package/dist/chunks/{instruction-discovery-gmjjhz4f.js → skill-vmwh049b.js} +6 -6
- package/dist/chunks/{instruction-discovery-dfe8djrf.js → skill-vncycja5.js} +4 -4
- package/dist/chunks/{instruction-discovery-mnxhb66b.js → skill-vng8e5bg.js} +20 -20
- package/dist/chunks/skill-vnkjks7b.js +18 -0
- package/dist/chunks/{instruction-discovery-7ppk1bd5.js → skill-vwkn2sem.js} +16 -16
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-xmx6g731.js → skill-w4s3h4gx.js} +1 -1
- package/dist/chunks/{instruction-discovery-vgsrdn5q.js → skill-w9tfzppv.js} +8 -8
- package/dist/chunks/{instruction-discovery-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-t9ca33zz.js → skill-wdt1rpm2.js} +4 -4
- package/dist/chunks/{instruction-discovery-pekgbny1.js → skill-wfdm2xdz.js} +41 -41
- package/dist/chunks/{instruction-discovery-hncjez84.js → skill-wmfgk8ym.js} +5 -5
- package/dist/chunks/{instruction-discovery-pamen60e.js → skill-wpjrrg58.js} +11 -11
- package/dist/chunks/{instruction-discovery-eqnpzj6x.js → skill-wywgyawp.js} +39 -39
- package/dist/chunks/{instruction-discovery-wr7ps67x.js → skill-wz5tj16h.js} +5 -5
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-pnra210x.js → skill-x99qfz02.js} +10 -10
- package/dist/chunks/{instruction-discovery-7cbq4mgj.js → skill-xqyr0kmf.js} +15 -15
- package/dist/chunks/{instruction-discovery-1s7z0cjk.js → skill-xt6ks7x5.js} +5 -5
- package/dist/chunks/{instruction-discovery-97zbn10c.js → skill-xw8jxh7d.js} +7 -7
- package/dist/chunks/{instruction-discovery-1saq4hr5.js → skill-xz5d9f71.js} +29 -29
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-4pymtaw6.js → skill-y5cm6nea.js} +12 -12
- package/dist/chunks/{instruction-discovery-9kdxktf7.js → skill-y5d6nff0.js} +26 -26
- package/dist/chunks/{instruction-discovery-m2w22vaf.js → skill-ybc8xz90.js} +16 -16
- package/dist/chunks/{instruction-discovery-90jp2e9k.js → skill-ydzgzrmr.js} +5 -5
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → skill-yp2x3t23.js} +1 -1
- package/dist/chunks/{instruction-discovery-efbtb4e8.js → skill-yp63r6ne.js} +11 -11
- package/dist/chunks/{instruction-discovery-e0r7vjdq.js → skill-ypx73geg.js} +9 -9
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-4d4s568v.js → skill-z6qjqr0m.js} +10 -10
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-r53cm70s.js → skill-zjw2h6jc.js} +3 -3
- package/dist/chunks/{instruction-discovery-5t7an2a8.js → skill-zm0hqsdq.js} +11 -11
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-svqww8e9.js → skill-zw803gw2.js} +12 -12
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-j6qe1feh.js → skill-zyj756k8.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- 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 +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- 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 +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/v1/config/migrate.d.ts +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-7bqhzdpr.js +0 -252
- package/dist/chunks/instruction-discovery-82dwf0d7.js +0 -26
- package/dist/chunks/instruction-discovery-9sh4wc5j.js +0 -18
- package/dist/chunks/instruction-discovery-qapv375x.js +0 -4
- package/dist/chunks/instruction-discovery-rnvvvhba.js +0 -503
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-g31wgms3.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
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-nsft68r9.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info6,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service47,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service82;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
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 }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service47.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node49 = makeLocationNode({
|
|
168
|
+
service: Service47,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node84, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, Service47, node49, exports_vcs };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./skill-p7a39gy5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./skill-wywgyawp.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-06fpybe0.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-g31wgms3.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-5cmxdwv8.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info5,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service37,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node39,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info5,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service37 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info5.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service37, make17());
|
|
231
|
+
var node39 = makeGlobalNode({ service: Service37, layer: layer16, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service37, make17, layer16, node39, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-g31wgms3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node76
|
|
8
|
+
} from "./skill-84vtzxcb.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service16 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service82;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service16.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node19 = makeLocationNode({
|
|
188
|
+
service: Service16,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node86,
|
|
190
|
+
deps: [node86, node76]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service16, node19, exports_websearch3, Event3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node72
|
|
7
|
+
} from "./skill-7q2awb7k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service70;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node72] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-g31wgms3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -15,19 +15,19 @@ __export(exports_command4, {
|
|
|
15
15
|
Command: () => exports_command4,
|
|
16
16
|
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service55,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node57
|
|
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
27
|
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service55 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service55, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service48, 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) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service55.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node57 = makeLocationNode({
|
|
75
|
+
service: Service55,
|
|
76
|
+
layer: layer21,
|
|
77
77
|
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError5, ExecutionError2, Service55, layer21, node57, exports_command4, Event9 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-g31wgms3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-nsft68r9.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service28
|
|
10
|
+
} from "./skill-sajztd9s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin17 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service80;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service28;
|
|
201
201
|
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin17, exports_command };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-06fpybe0.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-54tcyq79.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: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, 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: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service74, 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 Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
|