@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,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-965ggptx.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service83,
|
|
13
13
|
node87
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-06fpybe0.js";
|
|
15
15
|
import {
|
|
16
16
|
Service82,
|
|
17
17
|
node86
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-g31wgms3.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-psazpmmj.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-gfvb90ym.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-d78bs0zk.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-nsft68r9.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service46,
|
|
34
|
+
node48
|
|
35
|
+
} from "./skill-36tcapyb.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make15
|
|
42
|
+
} from "./skill-cn1v2m3x.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service34
|
|
45
|
+
} from "./skill-gnjjzrdy.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./skill-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
56
|
Event: () => Event5,
|
|
57
|
-
Info: () =>
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service33,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node36
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -96,16 +96,16 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
96
96
|
}
|
|
97
97
|
var Event5 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service33 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service46;
|
|
108
|
+
const gitStrategy = yield* make15;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service34).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service33.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node36 = Node.makeGlobalNode({
|
|
265
|
+
service: Service33,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node88, node86, node87, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node88, node86, node87, AppProcess.node, node48]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service33, node36, exports_worktree2, OperationError2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-g31wgms3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
Event6
|
|
7
|
+
} from "./skill-7jf4mmmx.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service45;
|
|
33
33
|
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-j45nn1c3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service44,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node46
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID8,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service44 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service44.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node46 = makeLocationNode({ service: Service44, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service44, locationLayer2, node46, exports_aisdk };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-g31wgms3.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
Service69,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node71
|
|
9
|
+
} from "./skill-nd9hw607.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9qtvyvpe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_integration, {
|
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
34
|
Event: () => Event16,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service67,
|
|
44
|
+
node: () => node69
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -63,7 +63,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
65
|
import { Event as Event16 } from "@opencode/schema/integration";
|
|
66
|
-
var
|
|
66
|
+
var ID9 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info24 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,18 +94,18 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID9,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
109
109
|
const credentials = yield* Service69;
|
|
110
110
|
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info24.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service67.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node69 = makeLocationNode({
|
|
584
|
+
service: Service67,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node71, node86, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node69, exports_integration, Event16 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-g31wgms3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Event18,
|
|
10
10
|
Service69,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node71
|
|
12
|
+
} from "./skill-nd9hw607.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-nsft68r9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node72
|
|
20
|
+
} from "./skill-7q2awb7k.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service68,
|
|
24
|
+
node70
|
|
25
|
+
} from "./skill-9qtvyvpe.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node69
|
|
35
|
+
} from "./skill-s9wjjtzf.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service28,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured2,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,20 +93,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options2 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service70;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
108
|
+
const forms = yield* Service68;
|
|
109
|
+
const integration = yield* Service67;
|
|
110
110
|
const credentials = yield* Service69;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -144,7 +144,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError2({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -156,7 +156,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service28.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured2(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node84,
|
|
515
|
+
service: Service28,
|
|
516
|
+
layer: layer12(options),
|
|
517
|
+
deps: [node84, node72, node86, node70, node69, node71]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node31 = configured2();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options2, layer12, configured2, node31, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-06fpybe0.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-w9tfzppv.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service77,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node81
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service77 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service83;
|
|
59
|
-
return
|
|
59
|
+
return Service77.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service77, node81, exports_store };
|