@opencode/core 0.0.0-dev-19491 → 0.0.0-dev-19498
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{skill-2vskgd28.js → repository-02dtbf74.js} +16 -16
- package/dist/chunks/{skill-eaj1djv9.js → repository-02nrjc1r.js} +4 -4
- package/dist/chunks/{skill-4y66k410.js → repository-0ajdgxne.js} +5 -5
- package/dist/chunks/{skill-3fa44pnr.js → repository-0hb9kn17.js} +29 -29
- package/dist/chunks/{skill-94txab4a.js → repository-0j1x6d8f.js} +8 -8
- package/dist/chunks/{skill-8b5swp6f.js → repository-0kjyx4as.js} +15 -15
- package/dist/chunks/{skill-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-q2b1ymqp.js → repository-0v53mg2y.js} +4 -4
- package/dist/chunks/{skill-6tcshp3z.js → repository-15p57gcn.js} +11 -11
- package/dist/chunks/{skill-hnyfn2cj.js → repository-18d55ntk.js} +18 -18
- package/dist/chunks/{skill-eq1pz5kg.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{skill-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-q4qw7xgb.js → repository-1fvpfgwa.js} +27 -27
- package/dist/chunks/{skill-paegk39x.js → repository-1hc11dc4.js} +4 -4
- package/dist/chunks/{skill-5cscdp3x.js → repository-1qpfe9sk.js} +5 -5
- package/dist/chunks/{skill-zdbs7c1t.js → repository-1rc1q9w7.js} +9 -9
- package/dist/chunks/{skill-j7htyv80.js → repository-1sjjhtq8.js} +29 -29
- package/dist/chunks/{skill-hgezhq2t.js → repository-1v08kvga.js} +21 -21
- package/dist/chunks/{skill-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{skill-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{skill-2q4wgzbd.js → repository-2q4wgzbd.js} +1 -1
- package/dist/chunks/{skill-fed859vy.js → repository-2qm2t37x.js} +32 -32
- package/dist/chunks/{skill-axpq6a1e.js → repository-2s14wjwq.js} +47 -47
- package/dist/chunks/{skill-kcdqxvh5.js → repository-303jm9zc.js} +18 -18
- package/dist/chunks/{skill-g17cqcan.js → repository-31v32fqb.js} +8 -8
- package/dist/chunks/{skill-bg967zfn.js → repository-35cpeqze.js} +23 -23
- package/dist/chunks/{skill-42xdtmyh.js → repository-35yx2wmk.js} +37 -37
- package/dist/chunks/{skill-0acgwxx9.js → repository-3btz0cnc.js} +12 -12
- package/dist/chunks/{skill-1tvywgny.js → repository-3dcs0pne.js} +59 -59
- package/dist/chunks/{skill-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-1kr8ppnb.js → repository-3k42az9m.js} +23 -23
- package/dist/chunks/{skill-w79zsp0s.js → repository-3q1jyqhd.js} +1 -1
- package/dist/chunks/{skill-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-y1003ch2.js → repository-3z7f8tm9.js} +13 -13
- package/dist/chunks/{skill-zrrcc1kw.js → repository-4h4kc2we.js} +28 -28
- package/dist/chunks/{skill-7b1tpp8n.js → repository-4hbd63w4.js} +18 -18
- package/dist/chunks/{skill-d5m5g738.js → repository-4hwjbp3f.js} +10 -10
- package/dist/chunks/{skill-grc1sz1y.js → repository-4j44ebqe.js} +32 -32
- package/dist/chunks/{skill-9xk09gab.js → repository-4p9etfsw.js} +29 -29
- package/dist/chunks/{skill-254av4a6.js → repository-5axkb2dj.js} +31 -31
- package/dist/chunks/{skill-a1bz86dw.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{skill-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-ez35fva7.js → repository-5kdrn25z.js} +9 -9
- package/dist/chunks/{skill-ggkj9wzv.js → repository-5q0d5xf3.js} +22 -22
- package/dist/chunks/{skill-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-9pv0dm11.js → repository-5zxg5yys.js} +7 -7
- package/dist/chunks/{skill-ewmr8yev.js → repository-63sbrax2.js} +14 -14
- package/dist/chunks/{skill-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{skill-4ky8t7n6.js → repository-68vqj5c0.js} +8 -8
- package/dist/chunks/{skill-arqxcxm1.js → repository-6cstdyv9.js} +5 -5
- package/dist/chunks/{skill-fjmrr6sh.js → repository-6d9mz4vp.js} +9 -9
- package/dist/chunks/{skill-zf5rd7ft.js → repository-6db80x29.js} +11 -11
- package/dist/chunks/{skill-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{skill-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-rjhzcsxj.js → repository-6p1sqnga.js} +10 -10
- package/dist/chunks/{skill-g1p53x2d.js → repository-6rdedmrb.js} +37 -37
- package/dist/chunks/{skill-kr6kak67.js → repository-6tfgbeb6.js} +18 -18
- package/dist/chunks/{skill-t97t2t7r.js → repository-6xfb7f67.js} +9 -9
- package/dist/chunks/{skill-1mgvftkm.js → repository-6zz1gbh1.js} +5 -5
- package/dist/chunks/{skill-yck05sv3.js → repository-715fqh1x.js} +13 -13
- package/dist/chunks/{skill-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{skill-x342d764.js → repository-760k6j29.js} +26 -26
- package/dist/chunks/{skill-qm220myb.js → repository-780w54ys.js} +33 -33
- package/dist/chunks/{skill-cwhba9p2.js → repository-78qgck3m.js} +12 -12
- package/dist/chunks/{skill-90cw7nv9.js → repository-79ttbg46.js} +25 -25
- package/dist/chunks/{skill-z1n4a1q7.js → repository-7beh8vzt.js} +27 -27
- package/dist/chunks/{skill-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-7da7ws9f.js → repository-7da7ws9f.js} +1 -1
- package/dist/chunks/{skill-wamnvq9v.js → repository-7da99df4.js} +7 -7
- package/dist/chunks/{skill-nmgb8pzc.js → repository-89qp1k24.js} +8 -8
- package/dist/chunks/{skill-tcezcvh9.js → repository-89znhe33.js} +4 -4
- package/dist/chunks/{skill-8j63s4bj.js → repository-8cp8hhzs.js} +13 -13
- package/dist/chunks/{skill-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-6b1znt97.js → repository-8e3avz02.js} +39 -39
- package/dist/chunks/{skill-g8fdg9p1.js → repository-8skddr1y.js} +6 -6
- package/dist/chunks/{skill-2h5vgx9d.js → repository-8sp4zmk3.js} +8 -8
- package/dist/chunks/{skill-h0n6thkm.js → repository-8x1ga14t.js} +13 -13
- package/dist/chunks/{skill-dvmk7p7f.js → repository-96n8jbhm.js} +16 -16
- package/dist/chunks/{skill-24mnhr99.js → repository-9cqrggry.js} +22 -22
- package/dist/chunks/{skill-9edcvf27.js → repository-9edcvf27.js} +3 -3
- package/dist/chunks/{skill-e78h5qty.js → repository-9h1nkghz.js} +4 -4
- package/dist/chunks/{skill-9h0nm469.js → repository-9hxsd346.js} +11 -11
- package/dist/chunks/{skill-5eb1ygc3.js → repository-9nv865s7.js} +9 -9
- package/dist/chunks/{skill-xg9t41r3.js → repository-9rqcq6mt.js} +2 -2
- package/dist/chunks/{skill-cqam0280.js → repository-9vtsx9kz.js} +24 -24
- package/dist/chunks/{skill-y6eqv9kx.js → repository-9wjhpth9.js} +71 -71
- package/dist/chunks/repository-9zdhvgqs.js +18 -0
- package/dist/chunks/{skill-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-32t3848n.js → repository-asnar2z5.js} +32 -32
- package/dist/chunks/{skill-t94spz24.js → repository-axet0v9v.js} +14 -14
- package/dist/chunks/{skill-b1mg7fsy.js → repository-b1mg7fsy.js} +2 -2
- package/dist/chunks/{skill-t2fc4mz5.js → repository-b27vhd2z.js} +4 -4
- package/dist/chunks/{skill-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-fc3thhkm.js → repository-bd5kazb5.js} +9 -9
- package/dist/chunks/{skill-mv5nbet3.js → repository-bjpwrgw7.js} +24 -24
- package/dist/chunks/{skill-yr02nea7.js → repository-bjs2yq5f.js} +6 -6
- package/dist/chunks/{skill-bk89yz0d.js → repository-bk89yz0d.js} +1 -1
- package/dist/chunks/{skill-bq5fxdyt.js → repository-bq5fxdyt.js} +1 -1
- package/dist/chunks/{skill-xfyp60zs.js → repository-bsns4k6q.js} +15 -15
- package/dist/chunks/{skill-1t3hpfqc.js → repository-bx7759mv.js} +5 -5
- package/dist/chunks/{skill-bzjkhwme.js → repository-bzjkhwme.js} +2 -2
- package/dist/chunks/{skill-ep6z9mt6.js → repository-c1495ybz.js} +8 -8
- package/dist/chunks/{skill-26hn7a7s.js → repository-c2rnhds8.js} +3 -3
- package/dist/chunks/{skill-tb969tae.js → repository-c6yb4237.js} +17 -17
- package/dist/chunks/{skill-7m3hdjns.js → repository-cgv98gz4.js} +15 -15
- package/dist/chunks/{skill-919msr8d.js → repository-chwwb1dy.js} +9 -9
- package/dist/chunks/{skill-5xtgfte3.js → repository-cmwkp3r5.js} +8 -8
- package/dist/chunks/{skill-j7wq2tw5.js → repository-csbyz877.js} +3 -3
- package/dist/chunks/{skill-913ve1tm.js → repository-czfqgbdx.js} +24 -24
- package/dist/chunks/{skill-2kggpb2f.js → repository-czhxebx3.js} +15 -15
- package/dist/chunks/{skill-29z9s3bq.js → repository-d38fd2j6.js} +15 -15
- package/dist/chunks/{skill-d4pyqmad.js → repository-d4pyqmad.js} +1 -1
- package/dist/chunks/{skill-b0kmrf4v.js → repository-ddnawyq4.js} +11 -11
- package/dist/chunks/{skill-q5asdkn4.js → repository-ddt2bs9e.js} +4 -4
- package/dist/chunks/{skill-8p4f9s12.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{skill-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{skill-cwxby6pr.js → repository-drknmmyh.js} +9 -9
- package/dist/chunks/{skill-7rra99b0.js → repository-dwxy40gg.js} +18 -18
- package/dist/chunks/{skill-jwtb4t4a.js → repository-dx870anp.js} +88 -88
- package/dist/chunks/{skill-amzwa14p.js → repository-dz921fs9.js} +1 -1
- package/dist/chunks/{skill-zsr9rk31.js → repository-e535yj0k.js} +32 -32
- package/dist/chunks/{skill-24bmmpej.js → repository-e99x5n85.js} +20 -20
- package/dist/chunks/{skill-s8zy8myc.js → repository-ead3g9p8.js} +5 -5
- package/dist/chunks/{skill-1nahrzwd.js → repository-ebmt16rb.js} +4 -4
- package/dist/chunks/{skill-1aqyasd7.js → repository-ej495afh.js} +16 -16
- package/dist/chunks/{skill-w774r1ds.js → repository-ejjk7mg9.js} +8 -8
- package/dist/chunks/{skill-7q2nyqgm.js → repository-emggx1tz.js} +9 -9
- package/dist/chunks/{skill-ct2p638d.js → repository-epq63s4f.js} +49 -49
- package/dist/chunks/{skill-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-jcj7vnbk.js → repository-etw8f4c2.js} +11 -11
- package/dist/chunks/{skill-yp2x3t23.js → repository-f2n192rq.js} +4 -4
- package/dist/chunks/{skill-magykp64.js → repository-f3ngv102.js} +4 -4
- package/dist/chunks/{skill-64mbz47k.js → repository-f44pksnw.js} +6 -6
- package/dist/chunks/{skill-b88gjvr8.js → repository-f8qzdw9k.js} +5 -5
- package/dist/chunks/{skill-gna7rjh2.js → repository-fjqp604d.js} +24 -24
- package/dist/chunks/{skill-6zz0jjar.js → repository-fjvydvzm.js} +4 -4
- package/dist/chunks/{skill-bfxeb1xx.js → repository-fshg7mjp.js} +4 -4
- package/dist/chunks/{skill-5jzgtb6e.js → repository-fv119r3h.js} +13 -13
- package/dist/chunks/{skill-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-7z7az0f5.js → repository-fyymr9xg.js} +4 -4
- package/dist/chunks/{skill-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-8q9myf25.js → repository-ghk9cxjs.js} +6 -6
- package/dist/chunks/{skill-7ps6gmn4.js → repository-gkrd4bgd.js} +4 -4
- package/dist/chunks/{skill-rmdyxgmk.js → repository-gn2hfjap.js} +8 -8
- package/dist/chunks/{skill-1ycwnpgc.js → repository-gqrxex2e.js} +43 -43
- package/dist/chunks/{skill-bwvxp9j2.js → repository-gsqrher5.js} +30 -30
- package/dist/chunks/repository-gtp689g7.js +462 -0
- package/dist/chunks/{skill-2h72r71h.js → repository-gv99rv2p.js} +9 -9
- package/dist/chunks/{skill-3b4k6mgn.js → repository-gw0sx9d8.js} +8 -8
- package/dist/chunks/{skill-22hdgqw1.js → repository-gw4wh78t.js} +17 -17
- package/dist/chunks/{skill-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{skill-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-e6qsebz3.js → repository-h73hfk1n.js} +9 -9
- package/dist/chunks/{skill-5z4f5exs.js → repository-hc8297b1.js} +11 -11
- package/dist/chunks/{skill-f828m53h.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{skill-rqtkra6z.js → repository-ht4gsq17.js} +9 -9
- package/dist/chunks/{skill-c197rr27.js → repository-hybg6kpz.js} +26 -26
- package/dist/chunks/{skill-jhsj1t1n.js → repository-j0fn4spe.js} +2 -2
- package/dist/chunks/{skill-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-r9th2xkr.js → repository-j7m8st6v.js} +8 -8
- package/dist/chunks/{skill-hw8ywvk8.js → repository-jcxv3m6c.js} +40 -40
- package/dist/chunks/{skill-esbcw9x0.js → repository-jfn6jztq.js} +9 -9
- package/dist/chunks/{skill-m86bnw2c.js → repository-jjs74g98.js} +9 -9
- package/dist/chunks/{skill-rc43ka8n.js → repository-jxrrwyvz.js} +20 -20
- package/dist/chunks/{skill-k79tzb9n.js → repository-k79tzb9n.js} +2 -2
- package/dist/chunks/{skill-dfnfv2ja.js → repository-kehke4gd.js} +8 -8
- package/dist/chunks/{skill-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-5w5ra95s.js → repository-kp844bkx.js} +6 -6
- package/dist/chunks/{skill-cfpkc3c9.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{skill-epqpx351.js → repository-m0qh16g1.js} +18 -18
- package/dist/chunks/{skill-7v41m4wd.js → repository-m3r691ny.js} +11 -11
- package/dist/chunks/{skill-pgk8m4ch.js → repository-m5r142j1.js} +18 -18
- package/dist/chunks/{skill-rggqqsgv.js → repository-m6h6nebs.js} +17 -17
- package/dist/chunks/{skill-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-z0h2zfz4.js → repository-may4g8rc.js} +20 -20
- package/dist/chunks/{skill-kvmz424q.js → repository-mc9wjbnw.js} +9 -9
- package/dist/chunks/{skill-t936qp6f.js → repository-me7tczfq.js} +16 -16
- package/dist/chunks/{skill-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{skill-0m4cr050.js → repository-mpxnmgtm.js} +38 -38
- package/dist/chunks/{skill-qwkytnft.js → repository-mq4pc9p2.js} +3 -3
- package/dist/chunks/{skill-g3v9gr2d.js → repository-ms4pas81.js} +23 -23
- package/dist/chunks/{skill-vnc5pt4r.js → repository-mv74xwze.js} +11 -11
- package/dist/chunks/{skill-tq5dcq5k.js → repository-n2xxa85q.js} +6 -6
- package/dist/chunks/{skill-wy0wfk9c.js → repository-n4qym5bf.js} +3 -3
- package/dist/chunks/{skill-nhy5jxhy.js → repository-nhy5jxhy.js} +1 -1
- package/dist/chunks/{skill-k9vmqmea.js → repository-np7xrdgd.js} +5 -5
- package/dist/chunks/{skill-nv5vn7qx.js → repository-nv5vn7qx.js} +2 -2
- package/dist/chunks/{skill-rb56vfdz.js → repository-p53gvhkt.js} +32 -32
- package/dist/chunks/{skill-8sghyhzw.js → repository-p7kse70a.js} +8 -8
- package/dist/chunks/{skill-2wj3k3x9.js → repository-pead7vf7.js} +27 -27
- package/dist/chunks/{skill-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{skill-w38dz18n.js → repository-pnsxdan0.js} +15 -15
- package/dist/chunks/{skill-g9rdf1fa.js → repository-ps8cmt9z.js} +3 -3
- package/dist/chunks/{skill-hq3rzvmw.js → repository-pvkhkebb.js} +16 -16
- package/dist/chunks/{skill-bha4atvq.js → repository-q1h4ggtj.js} +4 -4
- package/dist/chunks/{skill-jcw1jwjq.js → repository-q2x85fkv.js} +9 -9
- package/dist/chunks/{skill-7razwkap.js → repository-q56g9vvj.js} +13 -13
- package/dist/chunks/{skill-gx0k0zre.js → repository-q7dhks77.js} +29 -29
- package/dist/chunks/{skill-6kav77kw.js → repository-qd6kbfr6.js} +4 -4
- package/dist/chunks/{skill-883n20bv.js → repository-qrjvp9c2.js} +160 -160
- package/dist/chunks/{skill-x8g8za75.js → repository-qs4sxs2p.js} +23 -23
- package/dist/chunks/{skill-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/repository-qsqamk6a.js +247 -0
- package/dist/chunks/{skill-mdm24dv9.js → repository-qsxbhfxw.js} +11 -11
- package/dist/chunks/{skill-e6hmchc5.js → repository-qte5z7bc.js} +5 -5
- package/dist/chunks/{skill-w1g50z32.js → repository-qwtet0bt.js} +13 -13
- package/dist/chunks/{skill-qy11zpxb.js → repository-qy11zpxb.js} +1 -1
- package/dist/chunks/{skill-wk1rtvag.js → repository-r2m9agnq.js} +24 -24
- package/dist/chunks/{skill-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{skill-p9a278h7.js → repository-rf224sys.js} +17 -17
- package/dist/chunks/{skill-6h6m7p04.js → repository-rrbca1ec.js} +4 -4
- package/dist/chunks/{skill-bmw4j1xk.js → repository-rtdmfcdc.js} +30 -30
- package/dist/chunks/{skill-7sv8prhs.js → repository-rtxv9fy7.js} +30 -30
- package/dist/chunks/{skill-qbvvtgq5.js → repository-rzfk4f89.js} +7 -7
- package/dist/chunks/{skill-8seekddy.js → repository-rzja4vsd.js} +3 -3
- package/dist/chunks/{skill-p676kgcj.js → repository-s22r2bgp.js} +31 -31
- package/dist/chunks/{skill-aehqxcxq.js → repository-s9sks4b0.js} +20 -20
- package/dist/chunks/{skill-7vzs0hkr.js → repository-se1g6v53.js} +84 -84
- package/dist/chunks/{skill-jp8yda5b.js → repository-sqhkja9w.js} +4 -4
- package/dist/chunks/{skill-fwyqjcw8.js → repository-sscy94be.js} +27 -27
- package/dist/chunks/{skill-00tet6pb.js → repository-swvvrepw.js} +11 -11
- package/dist/chunks/{skill-48atfkft.js → repository-t0bxsy7k.js} +5 -5
- package/dist/chunks/{skill-qwg36vzy.js → repository-t8028kwh.js} +15 -15
- package/dist/chunks/{skill-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{skill-th5km1p3.js → repository-th5km1p3.js} +2 -2
- package/dist/chunks/{skill-thaqkx7r.js → repository-thaqkx7r.js} +1 -1
- package/dist/chunks/{skill-6gazz9vr.js → repository-tjz4ep1y.js} +24 -24
- package/dist/chunks/{skill-38y19f1h.js → repository-tt9rf8rt.js} +13 -13
- package/dist/chunks/{skill-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-vxx2xayy.js → repository-twyqrbez.js} +28 -28
- package/dist/chunks/{skill-kj2a27ba.js → repository-v0af3dwr.js} +39 -39
- package/dist/chunks/{skill-axy1mzxr.js → repository-v41m4hv8.js} +22 -22
- package/dist/chunks/{skill-jen1yc7y.js → repository-v6rf84qt.js} +20 -20
- package/dist/chunks/{skill-7v4g7keg.js → repository-vcgkk9hq.js} +20 -20
- package/dist/chunks/{skill-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-hhpyv4p0.js → repository-vngt7js8.js} +25 -25
- package/dist/chunks/{skill-0t3mp40g.js → repository-vxrjsf8c.js} +7 -7
- package/dist/chunks/{skill-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-3h99rnj2.js → repository-w19q6fm0.js} +2 -2
- package/dist/chunks/{skill-86e0kwwr.js → repository-w2g4wz0k.js} +34 -34
- package/dist/chunks/{skill-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/repository-w7xk12sf.js +22 -0
- package/dist/chunks/{skill-tbbq327f.js → repository-wbjwqceb.js} +43 -43
- package/dist/chunks/{skill-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{skill-69jddtm0.js → repository-wdgh92ty.js} +18 -18
- package/dist/chunks/{skill-sxcn38x5.js → repository-wge1ywg1.js} +24 -24
- package/dist/chunks/{skill-pfjd8r4w.js → repository-wgjqh7ga.js} +32 -32
- package/dist/chunks/{skill-js1rcq3a.js → repository-wt6nz37q.js} +44 -44
- package/dist/chunks/{skill-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-nb3bdtzf.js → repository-x7b60kqc.js} +36 -36
- package/dist/chunks/{skill-tya32p6w.js → repository-xengr0xg.js} +10 -10
- package/dist/chunks/{skill-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-97c46kt4.js → repository-ypt0emkc.js} +4 -4
- package/dist/chunks/{skill-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-ccfhzdp3.js → repository-yvtv9nre.js} +20 -20
- package/dist/chunks/{skill-9n0ce3z8.js → repository-yvzs9wg3.js} +43 -43
- package/dist/chunks/{skill-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-5qbtxqe3.js → repository-z0jd1bs7.js} +47 -47
- package/dist/chunks/{skill-c78bbtc9.js → repository-z3pw5915.js} +5 -5
- package/dist/chunks/{skill-byvqdmd1.js → repository-z4h1g45j.js} +20 -20
- package/dist/chunks/{skill-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-9emyn5xc.js → repository-z69pw8hh.js} +12 -12
- package/dist/chunks/{skill-tfews2vg.js → repository-z8jqfd5s.js} +2 -2
- package/dist/chunks/{skill-074w1zm6.js → repository-zcy8rv0e.js} +18 -18
- package/dist/chunks/{skill-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-zpc6dyj7.js → repository-zpc6dyj7.js} +1 -1
- package/dist/chunks/{skill-gwydwvmj.js → repository-zq6stcrg.js} +8 -8
- package/dist/chunks/{skill-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-x6ge6azq.js → repository-zvv0052e.js} +9 -9
- package/dist/chunks/{skill-dtqg9ce1.js → repository-zw4pk1bw.js} +5 -5
- package/dist/chunks/{skill-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- 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 +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- 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 +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +73 -73
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +3 -3
- 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 +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +121 -121
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- 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 +323 -323
- 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 +2 -2
- 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 +79 -79
- 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 +116 -116
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- 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 +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +1 -1
- 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 +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +127 -127
- package/dist/session/projector.js +85 -85
- 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 +226 -226
- 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 +109 -109
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +83 -83
- 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 +114 -114
- 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 +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- 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 +118 -118
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/skill-gyce5qg1.js +0 -18
- package/dist/chunks/skill-ne45wkcn.js +0 -247
- package/dist/chunks/skill-nskewhca.js +0 -462
- package/dist/chunks/skill-zhycqm5t.js +0 -22
- /package/dist/chunks/{skill-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-paphc93g.js → repository-paphc93g.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./repository-mv74xwze.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service74,
|
|
10
|
+
node78
|
|
11
|
+
} from "./repository-wdgh92ty.js";
|
|
12
12
|
import {
|
|
13
13
|
Service77,
|
|
14
14
|
node82
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9edcvf27.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info30,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-5zxg5yys.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info29,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service70,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node74,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info29 = Info30;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service74;
|
|
102
|
+
const db = (yield* Service76).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID15.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID15.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID15.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID15.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID15.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service70.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node74 = makeGlobalNode({
|
|
277
|
+
service: Service70,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node78, node81, FSUtil.node, node82, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID15, Vcs2, Current2, Info29, UpdateInput3, NotFoundError10, root2, Service70, node74, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-csbyz877.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./repository-wdgh92ty.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -15,19 +15,19 @@ __export(exports_command4, {
|
|
|
15
15
|
Command: () => exports_command4,
|
|
16
16
|
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service47,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node51
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service74;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node51 = makeLocationNode({
|
|
75
|
+
service: Service47,
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node78]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError6, ExecutionError2, Service47, layer20, node51, exports_command4, Event7 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-rzja4vsd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-n4qym5bf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node81
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service76 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service76, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service76, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service76,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node81 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service76, layer26, layerFromClient2, configured13, configuredClient2, node81, exports_database };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-twyqrbez.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID5.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2s14wjwq.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-m5r142j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-1fvpfgwa.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID6.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./repository-mv74xwze.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./repository-wdgh92ty.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-89qp1k24.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service67,
|
|
21
|
+
node71
|
|
22
|
+
} from "./repository-c6yb4237.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./repository-se1g6v53.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service74;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service67;
|
|
66
|
+
const db = (yield* Service76).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node14 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node78, llmClient2, node27, node71, node81]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node14, exports_title };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service79,
|
|
10
|
+
node: () => node84
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service79 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service79.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node84 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service79, node84, exports_hooks };
|