@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
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./skill-077jns9k.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -64,7 +64,7 @@ var failure = (message, cause) => new Error2({ message, cause });
|
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
66
|
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
-
const environment = yield*
|
|
67
|
+
const environment = yield* Service69;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var node22 = makeLocationNode({ service: Service19, layer, deps: [
|
|
178
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node73, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
180
|
export { Error2, InvalidPatternError2, Service19, node22, exports_ripgrep };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_skills };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info15
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info15, exports_formatter3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-wzt2x390.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-z97cmphj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./skill-r3x3z0ah.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-2b6phbs0.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service63;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID10.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./skill-r3x3z0ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./skill-8tv223pe.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin25
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin25 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin36 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin25, exports_compaction };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node70
|
|
7
|
+
} from "./skill-xb86z6zr.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9vs0xtad.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service48,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make17 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service66;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make21 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service48.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make21 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service48, make17);
|
|
323
|
+
var node51 = makeGlobalNode({ service: Service48, layer, deps: [node70] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service48, make17, node51, exports_job };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./skill-hr5ztqgm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./skill-508pb9jd.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin45,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
|
+
id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin45 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service55;
|
|
51
|
+
const permission = yield* Service56;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin17 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin45, exports_skill3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service77,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-nbddwgy7.js";
|
|
11
11
|
import {
|
|
12
12
|
Service75,
|
|
13
13
|
node80
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-b9g7n7ra.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID15,
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node78,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID15 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service73 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID15.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service73.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node78 = makeLocationNode({
|
|
139
|
+
service: Service73,
|
|
140
140
|
layer,
|
|
141
141
|
deps: [FSUtil.node, node82, Global.node, node80]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service73, Service73.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID15, Error5, Service73, node78, noopLayer3, exports_snapshot2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-s4m6ffrn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-k26r7p66.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./skill-v08rfwf2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-xqntknzg.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-cm9s0fk5.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID5.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID5.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID13.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin2 };
|