@opencode/core 0.0.0-dev-19531 → 0.0.0-dev-19533
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-txnj3dzg.js → skill-0349v0ax.js} +4 -4
- package/dist/chunks/{model-resolver-n03j43sk.js → skill-069yxdfj.js} +3 -3
- package/dist/chunks/{model-resolver-aeex8way.js → skill-077jns9k.js} +21 -21
- package/dist/chunks/{model-resolver-0gaj4617.js → skill-0gaj4617.js} +1 -1
- package/dist/chunks/{model-resolver-n562g2hd.js → skill-0hsjtmzs.js} +6 -6
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-x21rsz6v.js → skill-0qmpvfbj.js} +10 -10
- package/dist/chunks/{model-resolver-j8b7kmqb.js → skill-0r91xvpm.js} +22 -22
- package/dist/chunks/{model-resolver-x0kc6c96.js → skill-13jhzp9t.js} +20 -20
- package/dist/chunks/{model-resolver-c4c5wrfd.js → skill-15bxkz3b.js} +1 -1
- package/dist/chunks/{model-resolver-ctmnhs0f.js → skill-18d437kr.js} +281 -281
- package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-qvq5ww91.js → skill-1ss9yq5x.js} +26 -26
- package/dist/chunks/{model-resolver-mcdc48yx.js → skill-1vz74r98.js} +9 -9
- package/dist/chunks/{model-resolver-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-1snz0n3v.js → skill-1z4e1jhk.js} +65 -65
- package/dist/chunks/{model-resolver-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{model-resolver-kck439bj.js → skill-2a1xxtx2.js} +5 -5
- package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-n2bk7ja5.js → skill-2b6phbs0.js} +7 -7
- package/dist/chunks/{model-resolver-mdenrfp6.js → skill-2d8sj7ta.js} +43 -43
- package/dist/chunks/{model-resolver-t2vpa3bp.js → skill-2f0bjgcj.js} +5 -5
- package/dist/chunks/{model-resolver-gkdyp9ys.js → skill-2s7jhhpw.js} +6 -6
- package/dist/chunks/{model-resolver-txtwx9zc.js → skill-31mfex9f.js} +20 -20
- package/dist/chunks/{model-resolver-rsj9vhs1.js → skill-34m4bwv1.js} +26 -26
- package/dist/chunks/{model-resolver-dwe4spzd.js → skill-38tw1je5.js} +3 -3
- package/dist/chunks/{model-resolver-afrwk4ch.js → skill-3ceky892.js} +8 -8
- package/dist/chunks/{model-resolver-nv7590vc.js → skill-3eys84td.js} +4 -4
- package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-66e7kvmh.js → skill-3nbdta8h.js} +17 -17
- package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-fy0w211v.js → skill-3tkevmyj.js} +3 -3
- package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-cnr77sqv.js → skill-403499sv.js} +10 -10
- package/dist/chunks/{model-resolver-aexrjf4q.js → skill-40h7sf0h.js} +24 -24
- package/dist/chunks/{model-resolver-ebbn7jdz.js → skill-42mh5gqr.js} +8 -8
- package/dist/chunks/{model-resolver-4jk0qxj4.js → skill-45hw2ke2.js} +6 -6
- package/dist/chunks/{model-resolver-65mwty8e.js → skill-4awz36xd.js} +10 -10
- package/dist/chunks/{model-resolver-v71jvb7r.js → skill-4crhnnhy.js} +5 -5
- package/dist/chunks/{model-resolver-4xe2p835.js → skill-4cskpe5c.js} +11 -11
- package/dist/chunks/{model-resolver-vcrpr27f.js → skill-4g5n3egt.js} +7 -7
- package/dist/chunks/{model-resolver-drwkn14p.js → skill-4tjnwbjc.js} +23 -23
- package/dist/chunks/{model-resolver-0ajdgxne.js → skill-4y66k410.js} +5 -5
- package/dist/chunks/{model-resolver-dr6k78h1.js → skill-4zja6p14.js} +15 -15
- package/dist/chunks/{model-resolver-9z5hcwep.js → skill-508pb9jd.js} +24 -24
- package/dist/chunks/{model-resolver-5c4hm403.js → skill-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-031kg769.js → skill-5gr8b7dk.js} +14 -14
- package/dist/chunks/{model-resolver-knyfvgyf.js → skill-5k36swst.js} +18 -18
- package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-2rcpqfm0.js → skill-5tm48f18.js} +6 -6
- package/dist/chunks/{model-resolver-e5z2yc0m.js → skill-5xtt40bq.js} +7 -7
- package/dist/chunks/{model-resolver-q8k6t814.js → skill-5z1mzdyh.js} +4 -4
- package/dist/chunks/{model-resolver-jd00bmkr.js → skill-62bvnefr.js} +6 -6
- package/dist/chunks/{model-resolver-88sz8qcd.js → skill-64kphnzf.js} +4 -4
- package/dist/chunks/{model-resolver-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-njysne83.js → skill-6908j4sx.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-8h4a5z95.js → skill-6qc2b598.js} +2 -2
- package/dist/chunks/{model-resolver-t8cy7fff.js → skill-6rwxhq38.js} +11 -11
- package/dist/chunks/{model-resolver-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-20erkkh9.js → skill-740mgysh.js} +16 -16
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-zf9fe0vx.js → skill-7mh291me.js} +35 -35
- package/dist/chunks/{model-resolver-vq838htm.js → skill-7tmfg39w.js} +9 -9
- package/dist/chunks/{model-resolver-9e3vcssh.js → skill-7z7az0f5.js} +4 -4
- package/dist/chunks/{model-resolver-qfzde7bh.js → skill-81rrwt6s.js} +6 -6
- package/dist/chunks/{model-resolver-nw25ebmp.js → skill-825ms0sp.js} +11 -11
- package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-0hxph87b.js → skill-8n1nmt6r.js} +9 -9
- package/dist/chunks/{model-resolver-z8pjpgj2.js → skill-8tv223pe.js} +24 -24
- package/dist/chunks/{model-resolver-8nghd9xh.js → skill-8xt7bb1r.js} +4 -4
- package/dist/chunks/{model-resolver-9a40xa2n.js → skill-907f0e9g.js} +25 -25
- package/dist/chunks/{model-resolver-5faec82q.js → skill-9pv0dm11.js} +5 -5
- package/dist/chunks/{model-resolver-nabxe85v.js → skill-9rp78yfz.js} +37 -37
- package/dist/chunks/{model-resolver-p96r38ce.js → skill-9s5j442t.js} +12 -12
- package/dist/chunks/{model-resolver-csdaj16z.js → skill-9vs0xtad.js} +3 -3
- package/dist/chunks/{model-resolver-xhmq8qgk.js → skill-9zswys26.js} +9 -9
- package/dist/chunks/{model-resolver-zjxwcf81.js → skill-a27syr7x.js} +16 -16
- package/dist/chunks/{model-resolver-fw6f7ywv.js → skill-a8p6djtk.js} +17 -17
- package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-3h8hqytd.js → skill-ad3egv10.js} +13 -13
- package/dist/chunks/{model-resolver-8efzajgs.js → skill-aw3sb2nk.js} +13 -13
- package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dfst59nt.js → skill-b9g7n7ra.js} +2 -2
- package/dist/chunks/{model-resolver-6n5283ys.js → skill-bae8k7ts.js} +8 -8
- package/dist/chunks/{model-resolver-dfe8djrf.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{model-resolver-fz9at2d6.js → skill-bd5gtamn.js} +1 -1
- package/dist/chunks/{model-resolver-marnn1hp.js → skill-bdqrk2vk.js} +7 -7
- package/dist/chunks/{model-resolver-pch53j0k.js → skill-bew16am1.js} +6 -6
- package/dist/chunks/{model-resolver-z1vbyafm.js → skill-btny5n0p.js} +7 -7
- package/dist/chunks/{model-resolver-p6s3kjn1.js → skill-bwk2jbmh.js} +11 -11
- package/dist/chunks/{model-resolver-s6z2946v.js → skill-bzdcy8yq.js} +17 -17
- package/dist/chunks/{model-resolver-mb9syhn1.js → skill-c2n35qq1.js} +28 -28
- package/dist/chunks/{model-resolver-zaz4910g.js → skill-c72t8cvt.js} +25 -25
- package/dist/chunks/{model-resolver-dj2gndk9.js → skill-cb5mypkv.js} +16 -16
- package/dist/chunks/{model-resolver-zjzag8dm.js → skill-cg3d2z57.js} +12 -12
- package/dist/chunks/{model-resolver-fg61w092.js → skill-chph45fe.js} +15 -15
- package/dist/chunks/{model-resolver-kfz2kx3w.js → skill-cjbg6c0k.js} +10 -10
- package/dist/chunks/{model-resolver-pck3w1ab.js → skill-cjsb4aez.js} +4 -4
- package/dist/chunks/{model-resolver-sdfkf7b9.js → skill-cm9s0fk5.js} +4 -4
- package/dist/chunks/{model-resolver-j7867dn5.js → skill-cxp3r8sb.js} +11 -11
- package/dist/chunks/{model-resolver-33yp9811.js → skill-d87vng18.js} +9 -9
- package/dist/chunks/{model-resolver-0dy66kxe.js → skill-ddathvnk.js} +11 -11
- package/dist/chunks/{model-resolver-mwmpf2dr.js → skill-dfy6t82j.js} +20 -20
- package/dist/chunks/{model-resolver-dj2t23y0.js → skill-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-atgag4yh.js → skill-djrjkxn1.js} +24 -24
- package/dist/chunks/{model-resolver-ndade498.js → skill-dkgmj00c.js} +14 -14
- package/dist/chunks/{model-resolver-rjxbe5xz.js → skill-dphb4kyd.js} +10 -10
- package/dist/chunks/{model-resolver-4t19f8k2.js → skill-dqb3b4qv.js} +29 -29
- package/dist/chunks/{model-resolver-6jzjxba3.js → skill-dqn3d470.js} +13 -13
- package/dist/chunks/skill-dxj72tfx.js +18 -0
- package/dist/chunks/{model-resolver-5d4cs5xf.js → skill-e6z0vg2z.js} +11 -11
- package/dist/chunks/{model-resolver-hjt4xg1x.js → skill-e82z9tr0.js} +7 -7
- package/dist/chunks/{model-resolver-mhkvc446.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{model-resolver-wpv7jc2z.js → skill-eqqfmj4q.js} +11 -11
- package/dist/chunks/{model-resolver-6ze89g9b.js → skill-es53vstt.js} +3 -3
- package/dist/chunks/{model-resolver-5s8kkgq1.js → skill-esdq8k4j.js} +69 -69
- package/dist/chunks/{model-resolver-mn7ssvtj.js → skill-espqnf3y.js} +11 -11
- package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-1acjjqhc.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-b0xvdmck.js → skill-f64qsecf.js} +9 -9
- package/dist/chunks/{model-resolver-sr987mfq.js → skill-f7fvq20b.js} +11 -11
- package/dist/chunks/{model-resolver-x8y7wgxd.js → skill-fg4k6f53.js} +9 -9
- package/dist/chunks/{model-resolver-t0x5rdq8.js → skill-fjmrr6sh.js} +9 -9
- package/dist/chunks/{model-resolver-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-bs3vba9y.js → skill-g2gg0e72.js} +17 -17
- package/dist/chunks/{model-resolver-ddd0tqrv.js → skill-g2s4gf6f.js} +24 -24
- package/dist/chunks/{model-resolver-kp92jgaq.js → skill-g4rrnh52.js} +26 -26
- package/dist/chunks/{model-resolver-mjvxm5h6.js → skill-g9v6r0b9.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-aryerr4z.js → skill-gmb1mkeq.js} +31 -31
- package/dist/chunks/{model-resolver-yjwqdqt2.js → skill-gq3h8jyv.js} +22 -22
- package/dist/chunks/{model-resolver-b3wkxfg9.js → skill-gx1zhcta.js} +1 -1
- package/dist/chunks/{model-resolver-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-9tw56fnr.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{model-resolver-v5hpcsb0.js → skill-hcz3zddy.js} +5 -5
- package/dist/chunks/{model-resolver-hdnk95c8.js → skill-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-p2vh9553.js → skill-hj07p436.js} +4 -4
- package/dist/chunks/{model-resolver-nvsyq3ba.js → skill-hr5ztqgm.js} +49 -49
- package/dist/chunks/{model-resolver-zckvtzsb.js → skill-hwtzgfb5.js} +8 -8
- package/dist/chunks/{model-resolver-b7pbz13w.js → skill-j199vtx6.js} +21 -21
- package/dist/chunks/{model-resolver-sp6z5kbv.js → skill-j1e4xwy5.js} +36 -36
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-mtq6xxnx.js → skill-jfqtm2ew.js} +7 -7
- package/dist/chunks/{model-resolver-4v4bfvma.js → skill-jgttmm4a.js} +5 -5
- package/dist/chunks/{model-resolver-sdbkfcvv.js → skill-jmphe03k.js} +4 -4
- package/dist/chunks/{model-resolver-xsx6sc1v.js → skill-jpp1dzd3.js} +153 -153
- package/dist/chunks/{model-resolver-d0as5ky3.js → skill-k26r7p66.js} +4 -4
- package/dist/chunks/{model-resolver-4334gj7r.js → skill-ka2k270b.js} +8 -8
- package/dist/chunks/{model-resolver-p15qfr9z.js → skill-ke61gtj2.js} +14 -14
- package/dist/chunks/{model-resolver-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-h7dmbe3e.js → skill-kk5h0dkn.js} +7 -7
- package/dist/chunks/{model-resolver-m0jqrx5p.js → skill-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-9avrpg3p.js → skill-m231177j.js} +23 -23
- package/dist/chunks/{model-resolver-5z63511r.js → skill-m23k9y15.js} +9 -9
- package/dist/chunks/{model-resolver-z6qpxre5.js → skill-m2h1dmaz.js} +16 -16
- package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-61b2qq6z.js → skill-m9x2z465.js} +24 -24
- package/dist/chunks/{model-resolver-b5nae5wy.js → skill-m9zfvw3y.js} +34 -34
- package/dist/chunks/{model-resolver-gha63455.js → skill-maqcvqg3.js} +12 -12
- package/dist/chunks/{model-resolver-9s6q7dfh.js → skill-mdc3r5s8.js} +7 -7
- package/dist/chunks/{model-resolver-r3aj5peb.js → skill-me0fwywn.js} +15 -15
- package/dist/chunks/{model-resolver-q78vsr09.js → skill-mfvp7n1e.js} +12 -12
- package/dist/chunks/{model-resolver-xnbrvajn.js → skill-mjpvddda.js} +9 -9
- package/dist/chunks/{model-resolver-9h8yyxwx.js → skill-mk7n8ff8.js} +16 -16
- package/dist/chunks/{model-resolver-1j5g3f90.js → skill-mnev3j96.js} +30 -30
- package/dist/chunks/{model-resolver-frynmqdf.js → skill-n1q357tj.js} +4 -4
- package/dist/chunks/{model-resolver-zmhtgr1a.js → skill-n2cdhvqs.js} +22 -22
- package/dist/chunks/{model-resolver-vb7d7sbc.js → skill-n4r2qt20.js} +32 -32
- package/dist/chunks/{model-resolver-f486cjd7.js → skill-n831wab0.js} +9 -9
- package/dist/chunks/{model-resolver-e9wvc5tf.js → skill-n8zwenhw.js} +3 -3
- package/dist/chunks/{model-resolver-h8frrzh0.js → skill-n9pnxjfp.js} +1 -1
- package/dist/chunks/{model-resolver-p1pr2h1d.js → skill-na089z8d.js} +1 -1
- package/dist/chunks/{model-resolver-jakagae6.js → skill-na83qcz5.js} +24 -24
- package/dist/chunks/{model-resolver-c68b4qab.js → skill-nbddwgy7.js} +3 -3
- package/dist/chunks/{model-resolver-bdv0prqb.js → skill-nkwrjnnw.js} +15 -15
- package/dist/chunks/{model-resolver-wn02ky47.js → skill-pd87nzmy.js} +11 -11
- package/dist/chunks/{model-resolver-ymbkr1tg.js → skill-pddx5q6p.js} +44 -44
- package/dist/chunks/{model-resolver-e2tc44kv.js → skill-pej13wy9.js} +15 -15
- package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-8xp7je32.js → skill-pmmjgmh3.js} +15 -15
- package/dist/chunks/{model-resolver-sbqaqa2h.js → skill-pn81htgv.js} +17 -17
- package/dist/chunks/{model-resolver-hahgrcae.js → skill-q2wshk4p.js} +18 -18
- package/dist/chunks/{model-resolver-hfkyrasj.js → skill-q5wkzrg1.js} +40 -40
- package/dist/chunks/{model-resolver-13h6pnmt.js → skill-q65nxkxj.js} +47 -47
- package/dist/chunks/{model-resolver-yaga2gvt.js → skill-qp1ap41s.js} +10 -10
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-0r684n0p.js → skill-qtkzm0vp.js} +8 -8
- package/dist/chunks/{model-resolver-eqb5zhc6.js → skill-r3x3z0ah.js} +36 -36
- package/dist/chunks/{model-resolver-nn5tgv9e.js → skill-r4m1ffbn.js} +21 -21
- package/dist/chunks/{model-resolver-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-kew454ha.js → skill-r9x7fakt.js} +24 -24
- package/dist/chunks/{model-resolver-pka8c3mw.js → skill-ra14hx7m.js} +6 -6
- package/dist/chunks/{model-resolver-kt2k2fvy.js → skill-rdfa9r9x.js} +12 -12
- package/dist/chunks/{model-resolver-2xbd7nbt.js → skill-rkvfcyy6.js} +17 -17
- package/dist/chunks/{model-resolver-j3h8c2cp.js → skill-rxxawjt5.js} +16 -16
- package/dist/chunks/{model-resolver-5kh0wb3v.js → skill-ryz7mbkc.js} +13 -13
- package/dist/chunks/{model-resolver-44xcyhkw.js → skill-rzd9gvvy.js} +16 -16
- package/dist/chunks/{model-resolver-mgp54d0b.js → skill-s0agc963.js} +8 -8
- package/dist/chunks/{model-resolver-s4enseaf.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-nwjtzbvw.js → skill-s4m6ffrn.js} +8 -8
- package/dist/chunks/{model-resolver-p97yj8zx.js → skill-s6vgr22k.js} +24 -24
- package/dist/chunks/{model-resolver-mfka0yjk.js → skill-s79kvq2b.js} +9 -9
- package/dist/chunks/{model-resolver-yvegcnp8.js → skill-s886meb3.js} +29 -29
- package/dist/chunks/{model-resolver-71t2waba.js → skill-s8rwmjr0.js} +11 -11
- package/dist/chunks/skill-sa4dtbm6.js +26 -0
- package/dist/chunks/{model-resolver-h2fnwfb0.js → skill-sq6ecf7m.js} +11 -11
- package/dist/chunks/{model-resolver-vsp1fds9.js → skill-t51qk8jz.js} +4 -4
- package/dist/chunks/{model-resolver-t550f9t1.js → skill-t550f9t1.js} +1 -1
- package/dist/chunks/{model-resolver-6jswab00.js → skill-t7q2q5yj.js} +3 -3
- package/dist/chunks/{model-resolver-h6nde2e3.js → skill-t9h25825.js} +13 -13
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-fyekc6s2.js → skill-tbwe9jxb.js} +11 -11
- package/dist/chunks/{model-resolver-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-swjfbv5x.js → skill-tf0gwczp.js} +23 -23
- package/dist/chunks/{model-resolver-yyb7tjpc.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-43thsgmw.js → skill-tn57p488.js} +20 -20
- package/dist/chunks/{model-resolver-28gfvtek.js → skill-tqj0t39a.js} +47 -47
- package/dist/chunks/{model-resolver-05k3a4yp.js → skill-tsh7pk9n.js} +2 -2
- package/dist/chunks/{model-resolver-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-zqfm6xas.js → skill-tyta88qb.js} +5 -5
- package/dist/chunks/{model-resolver-pz6n093v.js → skill-v08rfwf2.js} +28 -28
- package/dist/chunks/{model-resolver-52p5p480.js → skill-v2b8egpj.js} +33 -33
- package/dist/chunks/{model-resolver-tyqkzprt.js → skill-v2f6dcv3.js} +2 -2
- package/dist/chunks/{model-resolver-cpwgm14c.js → skill-v8p5j567.js} +18 -18
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/skill-vkp2jm84.js +247 -0
- package/dist/chunks/{model-resolver-nghrh7na.js → skill-vtgzhbby.js} +1 -1
- package/dist/chunks/{model-resolver-r5wr7fgd.js → skill-vxh4pggq.js} +17 -17
- package/dist/chunks/{model-resolver-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-n2dbyk7b.js → skill-w068afpb.js} +4 -4
- package/dist/chunks/{model-resolver-s95j2a00.js → skill-w3mct6yr.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-n4d4r70p.js → skill-w8vrm3c2.js} +43 -43
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-m9199dx3.js → skill-wg3vs4kv.js} +41 -41
- package/dist/chunks/{model-resolver-7xhhf2aw.js → skill-wm0jxkfq.js} +6 -6
- package/dist/chunks/{model-resolver-da6kr1wx.js → skill-wvmhx4nb.js} +8 -8
- package/dist/chunks/{model-resolver-d8dbj37k.js → skill-wxd2bqfr.js} +9 -9
- package/dist/chunks/{model-resolver-wg7eakzt.js → skill-wzt2x390.js} +4 -4
- package/dist/chunks/{model-resolver-h5knn3sc.js → skill-x0sqs2m3.js} +5 -5
- package/dist/chunks/{model-resolver-fat0n13h.js → skill-x1cjph1k.js} +6 -6
- package/dist/chunks/{model-resolver-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-w4zny49r.js → skill-x3et2xth.js} +8 -8
- package/dist/chunks/{model-resolver-wq487jqz.js → skill-x90pe81c.js} +15 -15
- package/dist/chunks/{model-resolver-k58qhvzp.js → skill-xb86z6zr.js} +10 -10
- package/dist/chunks/{model-resolver-k06qmaw9.js → skill-xfdj0sbt.js} +19 -19
- package/dist/chunks/{model-resolver-s24p5rny.js → skill-xgz7224y.js} +20 -20
- package/dist/chunks/{model-resolver-zpp9mfbs.js → skill-xqntknzg.js} +24 -24
- package/dist/chunks/{model-resolver-jyfdqx07.js → skill-xtx71fwa.js} +15 -15
- package/dist/chunks/{model-resolver-4s08xxae.js → skill-xw6fw6zr.js} +8 -8
- package/dist/chunks/{model-resolver-0gjxn4me.js → skill-xy495y7n.js} +31 -31
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-tyswbbjp.js → skill-y50tbcbn.js} +16 -16
- package/dist/chunks/{model-resolver-y0vt1sxg.js → skill-y6m4d15s.js} +10 -10
- package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-txefqv94.js → skill-ydenpnjr.js} +54 -54
- package/dist/chunks/{model-resolver-4q81s1cb.js → skill-ye0ddrbj.js} +5 -5
- package/dist/chunks/{model-resolver-0fnjefvz.js → skill-yqbhe5eh.js} +39 -39
- package/dist/chunks/{model-resolver-gkytqtkj.js → skill-yr83sm90.js} +12 -12
- package/dist/chunks/{model-resolver-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-jwbqhvyy.js → skill-yt0fqk68.js} +5 -5
- package/dist/chunks/{model-resolver-rwa5eky2.js → skill-ywkf7sy3.js} +28 -28
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-6yxmp89e.js → skill-z97cmphj.js} +10 -10
- package/dist/chunks/{model-resolver-hn57h045.js → skill-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-resolver-v8xf7pck.js → skill-zdek9qng.js} +20 -20
- package/dist/chunks/{model-resolver-rq775frq.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +90 -90
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +95 -95
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +88 -88
- package/dist/git.js +3 -3
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +350 -350
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +77 -77
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +111 -111
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +88 -88
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +144 -144
- 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 +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-9heqp6jx.js +0 -247
- package/dist/chunks/model-resolver-aed8g19c.js +0 -26
- /package/dist/chunks/{model-resolver-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-j935v87r.js → skill-j935v87r.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
12
|
Event: () => Event19,
|
|
13
|
-
ID: () =>
|
|
13
|
+
ID: () => ID17,
|
|
14
14
|
Info: () => Info32,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
@@ -18,7 +18,7 @@ __export(exports_schema, {
|
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
23
|
var Info32 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info32, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-38tw1je5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-k26r7p66.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./skill-bzdcy8yq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./skill-81rrwt6s.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./skill-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./skill-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-wm0jxkfq.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service58,
|
|
32
|
+
node62
|
|
33
|
+
} from "./skill-yr83sm90.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./skill-wzt2x390.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-xtx71fwa.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./skill-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service40,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer16,
|
|
50
|
+
node: () => node44,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service40 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service58;
|
|
70
|
+
const instances = yield* Service42;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service48;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service40.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node44 = makeGlobalNode({
|
|
132
|
+
service: Service40,
|
|
133
|
+
layer: layer16,
|
|
134
|
+
deps: [node62, node45, node84, node85, node51]
|
|
135
135
|
});
|
|
136
|
-
var noopLayer2 = Layer.succeed(
|
|
136
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service40, terminal2, layer16, node44, noopLayer2, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-b9g7n7ra.js";
|
|
9
9
|
import {
|
|
10
10
|
Service15,
|
|
11
11
|
node18
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-2a1xxtx2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,14 +21,14 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event2,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
33
|
Service: () => Service14,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -78,7 +78,7 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event2 = FileSystem.Event;
|
|
82
82
|
|
|
83
83
|
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
@@ -99,12 +99,12 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
99
99
|
return Service14.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -134,4 +134,4 @@ var node17 = makeLocationNode({
|
|
|
134
134
|
deps: [FSUtil.node, node80, node18]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID14 = Session.ID;
|
|
5
|
+
var Info28 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID14, Info28, SessionSchema2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node9, exports_update };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-k26r7p66.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-b9g7n7ra.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service58,
|
|
14
|
+
node62
|
|
15
|
+
} from "./skill-yr83sm90.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service58;
|
|
41
41
|
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node, node80,
|
|
101
|
+
deps: [node84, FSUtil.node, node80, node62]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node13, exports_instructions };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./skill-g2s4gf6f.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info22
|
|
9
|
+
} from "./skill-cxp3r8sb.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-5z1mzdyh.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./skill-r3x3z0ah.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin29
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin29 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service63;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin37 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID18.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID18.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin29, exports_agent2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node73
|
|
7
|
+
} from "./skill-077jns9k.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: () => Service17,
|
|
17
|
+
node: () => node20,
|
|
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 Service17 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(Service17, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service69;
|
|
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(Service18, 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 Service17.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node73] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service17, readText2, syncTextBom2, node20, exports_file_mutation };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service75
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-b9g7n7ra.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./skill-r3x3z0ah.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./skill-7mh291me.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin28
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin28 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
34
|
const location = yield* Service75;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service74;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin30 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin28, exports_worktree };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|