@opencode/core 0.0.0-dev-19532 → 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 +80 -80
- 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 +82 -82
- package/dist/chunks/{bus-ktnrc8bc.js → skill-0349v0ax.js} +5 -5
- package/dist/chunks/{bus-2rrdrtgw.js → skill-069yxdfj.js} +3 -3
- package/dist/chunks/{bus-ff8d0h66.js → skill-077jns9k.js} +24 -24
- package/dist/chunks/{bus-0gaj4617.js → skill-0gaj4617.js} +1 -1
- package/dist/chunks/{bus-zq1wyda0.js → skill-0hsjtmzs.js} +6 -6
- package/dist/chunks/{bus-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-ghr3zqya.js → skill-0qmpvfbj.js} +19 -19
- package/dist/chunks/{bus-qmtm97bc.js → skill-0r91xvpm.js} +25 -25
- package/dist/chunks/{bus-y9cz4bz0.js → skill-13jhzp9t.js} +20 -20
- package/dist/chunks/{bus-e47b9zhk.js → skill-15bxkz3b.js} +1 -1
- package/dist/chunks/{bus-44zpxywp.js → skill-18d437kr.js} +270 -270
- package/dist/chunks/{bus-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-j8jb4n4n.js → skill-1ss9yq5x.js} +18 -18
- package/dist/chunks/{bus-hvhbpv3p.js → skill-1vz74r98.js} +6 -6
- package/dist/chunks/{bus-56gdpj1q.js → skill-1ygqh575.js} +9 -9
- package/dist/chunks/{bus-0yb3zt6n.js → skill-1z4e1jhk.js} +72 -72
- package/dist/chunks/{bus-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{bus-6h73sxmp.js → skill-2402vzrj.js} +5 -5
- package/dist/chunks/{bus-z63w68vq.js → skill-29x78va6.js} +6 -6
- package/dist/chunks/{bus-q4aknyan.js → skill-2a1xxtx2.js} +30 -30
- package/dist/chunks/{bus-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-afjqk4pm.js → skill-2b6phbs0.js} +5 -5
- package/dist/chunks/{bus-hvt2jj5z.js → skill-2d8sj7ta.js} +40 -40
- package/dist/chunks/{bus-c78bbtc9.js → skill-2f0bjgcj.js} +5 -5
- package/dist/chunks/{bus-71mnszxh.js → skill-2s7jhhpw.js} +6 -6
- package/dist/chunks/{bus-vbxjpcd9.js → skill-31mfex9f.js} +24 -24
- package/dist/chunks/{bus-har61g9j.js → skill-34m4bwv1.js} +26 -26
- package/dist/chunks/{bus-grgpe7m7.js → skill-38tw1je5.js} +3 -3
- package/dist/chunks/{bus-mbstch5d.js → skill-3ceky892.js} +8 -8
- package/dist/chunks/{bus-bphns1nr.js → skill-3eys84td.js} +4 -4
- package/dist/chunks/{bus-gdvy8fx6.js → skill-3fc6dm20.js} +4 -4
- package/dist/chunks/{bus-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-4zja7gva.js → skill-3nbdta8h.js} +19 -19
- package/dist/chunks/{bus-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-2x6b16q7.js → skill-3tkevmyj.js} +3 -3
- package/dist/chunks/{bus-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-8z7d5nc1.js → skill-403499sv.js} +10 -10
- package/dist/chunks/{bus-fg7sn5ej.js → skill-40h7sf0h.js} +21 -21
- package/dist/chunks/{bus-dd6zat4h.js → skill-42mh5gqr.js} +5 -5
- package/dist/chunks/{bus-0w62qmxp.js → skill-45hw2ke2.js} +6 -6
- package/dist/chunks/{bus-ngbhtf3x.js → skill-4awz36xd.js} +8 -8
- package/dist/chunks/{bus-1b33eeqb.js → skill-4crhnnhy.js} +3 -3
- package/dist/chunks/{bus-a0eq18d3.js → skill-4cskpe5c.js} +7 -7
- package/dist/chunks/{bus-j4zenrww.js → skill-4g5n3egt.js} +7 -7
- package/dist/chunks/{bus-bc62zhsy.js → skill-4tjnwbjc.js} +20 -20
- package/dist/chunks/{bus-4y66k410.js → skill-4y66k410.js} +2 -2
- package/dist/chunks/{bus-3v2k7spa.js → skill-4zja6p14.js} +16 -16
- package/dist/chunks/{bus-amvyxnqq.js → skill-508pb9jd.js} +24 -24
- package/dist/chunks/{bus-a1bz86dw.js → skill-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-s2m31r1z.js → skill-5gr8b7dk.js} +15 -15
- package/dist/chunks/{bus-nfffd1z4.js → skill-5k36swst.js} +18 -18
- package/dist/chunks/{bus-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-4bw04cwj.js → skill-5tm48f18.js} +9 -9
- package/dist/chunks/{bus-3sv5gq6k.js → skill-5xtt40bq.js} +17 -17
- package/dist/chunks/{bus-0x70yrfe.js → skill-5z1mzdyh.js} +4 -4
- package/dist/chunks/{bus-sqevgg1x.js → skill-62bvnefr.js} +6 -6
- package/dist/chunks/{bus-w1k39n5e.js → skill-64kphnzf.js} +4 -4
- package/dist/chunks/{bus-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{bus-ferfphdt.js → skill-6908j4sx.js} +5 -5
- package/dist/chunks/{bus-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-g8471784.js → skill-6qc2b598.js} +2 -2
- package/dist/chunks/{bus-4psfaqfh.js → skill-6rwxhq38.js} +9 -9
- package/dist/chunks/{bus-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-g5vg9enj.js → skill-740mgysh.js} +16 -16
- package/dist/chunks/{bus-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{bus-c16gk4qh.js → skill-7mh291me.js} +40 -40
- package/dist/chunks/{bus-n2acnnxb.js → skill-7tmfg39w.js} +7 -7
- package/dist/chunks/{bus-ec8389mk.js → skill-7z7az0f5.js} +4 -4
- package/dist/chunks/{bus-ve6nm2s5.js → skill-81rrwt6s.js} +6 -6
- package/dist/chunks/{bus-rqkqq2v2.js → skill-825ms0sp.js} +11 -11
- package/dist/chunks/{bus-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-qaed280k.js → skill-8n1nmt6r.js} +11 -11
- package/dist/chunks/{bus-mfgbhmnr.js → skill-8tv223pe.js} +26 -26
- package/dist/chunks/{bus-6n09301d.js → skill-8xt7bb1r.js} +4 -4
- package/dist/chunks/{bus-y2s7ffcz.js → skill-907f0e9g.js} +36 -36
- package/dist/chunks/{bus-81swgkk7.js → skill-9pv0dm11.js} +9 -9
- package/dist/chunks/{bus-60j88ajr.js → skill-9rp78yfz.js} +28 -28
- package/dist/chunks/{bus-za524gb0.js → skill-9s5j442t.js} +26 -26
- package/dist/chunks/{bus-2f04pwep.js → skill-9vs0xtad.js} +3 -3
- package/dist/chunks/{bus-xhmq8qgk.js → skill-9zswys26.js} +9 -9
- package/dist/chunks/{bus-q73cp8nf.js → skill-a27syr7x.js} +12 -12
- package/dist/chunks/{bus-4x21xr9m.js → skill-a8p6djtk.js} +18 -18
- package/dist/chunks/{bus-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-garm4sqs.js → skill-ad3egv10.js} +13 -13
- package/dist/chunks/{bus-66vyzje4.js → skill-aw3sb2nk.js} +13 -13
- package/dist/chunks/{bus-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-ehs9b5vx.js → skill-b9g7n7ra.js} +16 -16
- package/dist/chunks/{bus-x7r4jqvp.js → skill-bae8k7ts.js} +14 -14
- package/dist/chunks/{bus-0v53mg2y.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{bus-vt6mrpr2.js → skill-bd5gtamn.js} +1 -1
- package/dist/chunks/{bus-j5208yae.js → skill-bdqrk2vk.js} +4 -4
- package/dist/chunks/{bus-x0w3rp20.js → skill-bew16am1.js} +6 -6
- package/dist/chunks/{bus-c5yfc3wf.js → skill-btny5n0p.js} +8 -8
- package/dist/chunks/{bus-mbj0x7wk.js → skill-bwk2jbmh.js} +9 -9
- package/dist/chunks/{bus-y5pt965d.js → skill-bzdcy8yq.js} +17 -17
- package/dist/chunks/{bus-gqc6jj57.js → skill-c2n35qq1.js} +28 -28
- package/dist/chunks/{bus-e30q84vv.js → skill-c72t8cvt.js} +32 -32
- package/dist/chunks/{bus-fe2agyxh.js → skill-cb5mypkv.js} +9 -9
- package/dist/chunks/{bus-8ffq6xab.js → skill-cg3d2z57.js} +15 -15
- package/dist/chunks/{bus-tseh9362.js → skill-chph45fe.js} +18 -18
- package/dist/chunks/{bus-s1qt972z.js → skill-cjbg6c0k.js} +6 -6
- package/dist/chunks/{bus-frwpyczr.js → skill-cjsb4aez.js} +4 -4
- package/dist/chunks/{bus-txh28jzs.js → skill-cm9s0fk5.js} +8 -8
- package/dist/chunks/{bus-renqy12v.js → skill-cxp3r8sb.js} +8 -8
- package/dist/chunks/{bus-xp20kysk.js → skill-d87vng18.js} +10 -10
- package/dist/chunks/{bus-gzqektst.js → skill-ddathvnk.js} +9 -9
- package/dist/chunks/{bus-ed1pg64g.js → skill-dfy6t82j.js} +10 -10
- package/dist/chunks/{bus-8p4f9s12.js → skill-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-16z1avxm.js → skill-djrjkxn1.js} +38 -38
- package/dist/chunks/{bus-3fqa324q.js → skill-dkgmj00c.js} +13 -13
- package/dist/chunks/{bus-16t47m27.js → skill-dphb4kyd.js} +8 -8
- package/dist/chunks/{bus-afycertr.js → skill-dqb3b4qv.js} +32 -32
- package/dist/chunks/{bus-p7f9b7q8.js → skill-dqn3d470.js} +10 -10
- package/dist/chunks/skill-dxj72tfx.js +18 -0
- package/dist/chunks/{bus-a8mmyy8c.js → skill-e6z0vg2z.js} +11 -11
- package/dist/chunks/{bus-47gsdddb.js → skill-e82z9tr0.js} +4 -4
- package/dist/chunks/{bus-mvfsc1pv.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{bus-p2ty0fa7.js → skill-eqqfmj4q.js} +15 -15
- package/dist/chunks/{bus-wxhnm4vs.js → skill-es53vstt.js} +5 -5
- package/dist/chunks/{bus-jh64gntc.js → skill-esdq8k4j.js} +86 -86
- package/dist/chunks/{bus-pwzb9yye.js → skill-espqnf3y.js} +9 -9
- package/dist/chunks/{bus-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-yp2x3t23.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{bus-sm5bw9bb.js → skill-f64qsecf.js} +14 -14
- package/dist/chunks/{bus-stzsmyz8.js → skill-f7fvq20b.js} +9 -9
- package/dist/chunks/{bus-dhbqv74m.js → skill-fg4k6f53.js} +7 -7
- package/dist/chunks/{bus-fjmrr6sh.js → skill-fjmrr6sh.js} +2 -2
- package/dist/chunks/{bus-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-54sc4q3z.js → skill-g2gg0e72.js} +16 -16
- package/dist/chunks/{bus-90ettt65.js → skill-g2s4gf6f.js} +21 -21
- package/dist/chunks/{bus-m23kbvcb.js → skill-g4rrnh52.js} +28 -28
- package/dist/chunks/{bus-nbq1559h.js → skill-g9v6r0b9.js} +4 -4
- package/dist/chunks/{bus-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-ztz1pyy1.js → skill-gmb1mkeq.js} +35 -35
- package/dist/chunks/{bus-tx4v77ns.js → skill-gq3h8jyv.js} +21 -21
- package/dist/chunks/{bus-rfnzy394.js → skill-gx1zhcta.js} +1 -1
- package/dist/chunks/{bus-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-gsx0ryk4.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{bus-qte5z7bc.js → skill-hcz3zddy.js} +5 -5
- package/dist/chunks/{bus-f828m53h.js → skill-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-0yrw6g29.js → skill-hj07p436.js} +4 -4
- package/dist/chunks/{bus-qmmrj5pn.js → skill-hr5ztqgm.js} +55 -55
- package/dist/chunks/{bus-r5bt13a0.js → skill-hwtzgfb5.js} +11 -11
- package/dist/chunks/{bus-6gf7pn9e.js → skill-j199vtx6.js} +26 -26
- package/dist/chunks/{bus-kh807a12.js → skill-j1e4xwy5.js} +29 -29
- package/dist/chunks/{bus-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-paphc93g.js → skill-j935v87r.js} +2 -2
- package/dist/chunks/{bus-19vf66h0.js → skill-jfqtm2ew.js} +4 -4
- package/dist/chunks/{bus-h9rm1rrn.js → skill-jgttmm4a.js} +5 -5
- package/dist/chunks/{bus-bha4atvq.js → skill-jmphe03k.js} +4 -4
- package/dist/chunks/{bus-85maddxk.js → skill-jpp1dzd3.js} +143 -143
- package/dist/chunks/{bus-xqh9be0f.js → skill-k26r7p66.js} +4 -4
- package/dist/chunks/{bus-dc76j9wz.js → skill-ka2k270b.js} +8 -8
- package/dist/chunks/{bus-0dyq8gyf.js → skill-ke61gtj2.js} +12 -12
- package/dist/chunks/{bus-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-b2a4y3ge.js → skill-kk5h0dkn.js} +9 -9
- package/dist/chunks/{bus-cfpkc3c9.js → skill-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-fxc2xvv4.js → skill-m231177j.js} +22 -22
- package/dist/chunks/{bus-vyjzrkx0.js → skill-m23k9y15.js} +9 -9
- package/dist/chunks/{bus-6gq5qk75.js → skill-m2h1dmaz.js} +20 -20
- package/dist/chunks/{bus-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-02592khq.js → skill-m9x2z465.js} +16 -16
- package/dist/chunks/{bus-qqxmp7cj.js → skill-m9zfvw3y.js} +32 -32
- package/dist/chunks/{bus-4pc0t7v2.js → skill-maqcvqg3.js} +12 -12
- package/dist/chunks/{bus-5j8ch41c.js → skill-mdc3r5s8.js} +9 -9
- package/dist/chunks/{bus-5eadk2y6.js → skill-me0fwywn.js} +17 -17
- package/dist/chunks/{bus-6m4cf926.js → skill-mfvp7n1e.js} +18 -18
- package/dist/chunks/{bus-bbdswm9c.js → skill-mjpvddda.js} +9 -9
- package/dist/chunks/{bus-xpdpdhyj.js → skill-mk7n8ff8.js} +20 -20
- package/dist/chunks/{bus-rpkwvkgg.js → skill-mnev3j96.js} +32 -32
- package/dist/chunks/{bus-1n1xdze8.js → skill-n1q357tj.js} +4 -4
- package/dist/chunks/{bus-ae15aq84.js → skill-n2cdhvqs.js} +22 -22
- package/dist/chunks/{bus-7938r61h.js → skill-n4r2qt20.js} +30 -30
- package/dist/chunks/{bus-dfyxxgza.js → skill-n831wab0.js} +9 -9
- package/dist/chunks/{bus-vgjt9c5s.js → skill-n8zwenhw.js} +3 -3
- package/dist/chunks/{bus-q4eww03h.js → skill-n9pnxjfp.js} +1 -1
- package/dist/chunks/{bus-a8nah55w.js → skill-na089z8d.js} +1 -1
- package/dist/chunks/{bus-bspv2gr0.js → skill-na83qcz5.js} +21 -21
- package/dist/chunks/{bus-wk58jv74.js → skill-nbddwgy7.js} +10 -10
- package/dist/chunks/{bus-ssafw484.js → skill-nkwrjnnw.js} +13 -13
- package/dist/chunks/{bus-ynjvsx98.js → skill-pd87nzmy.js} +9 -9
- package/dist/chunks/{bus-bmn5hybw.js → skill-pddx5q6p.js} +44 -44
- package/dist/chunks/{bus-87mhqf8f.js → skill-pej13wy9.js} +15 -15
- package/dist/chunks/{bus-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{bus-sq23zfnk.js → skill-pmmjgmh3.js} +15 -15
- package/dist/chunks/{bus-ba48bprk.js → skill-pn81htgv.js} +15 -15
- package/dist/chunks/{bus-b39wx4cr.js → skill-q2wshk4p.js} +21 -21
- package/dist/chunks/{bus-ngdk1p9a.js → skill-q5wkzrg1.js} +37 -37
- package/dist/chunks/{bus-5f78vy6n.js → skill-q65nxkxj.js} +45 -45
- package/dist/chunks/{bus-3zskh2xb.js → skill-qp1ap41s.js} +12 -12
- package/dist/chunks/{bus-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-5hk4b2g6.js → skill-qtkzm0vp.js} +8 -8
- package/dist/chunks/{bus-c6g8q0m5.js → skill-r3x3z0ah.js} +24 -24
- package/dist/chunks/{bus-y2wkm4mc.js → skill-r4m1ffbn.js} +25 -25
- package/dist/chunks/{bus-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{bus-kyqhkjqh.js → skill-r9x7fakt.js} +22 -22
- package/dist/chunks/{bus-fw1930ms.js → skill-ra14hx7m.js} +6 -6
- package/dist/chunks/{bus-7dfrp1b5.js → skill-rdfa9r9x.js} +7 -7
- package/dist/chunks/{bus-vhdkxkb7.js → skill-rkvfcyy6.js} +23 -23
- package/dist/chunks/{bus-2t1a0z9j.js → skill-rxxawjt5.js} +18 -18
- package/dist/chunks/{bus-1a6961cr.js → skill-ryz7mbkc.js} +13 -13
- package/dist/chunks/{bus-4qw8y0pn.js → skill-rzd9gvvy.js} +15 -15
- package/dist/chunks/{bus-2a4f6v5q.js → skill-s0agc963.js} +8 -8
- package/dist/chunks/{bus-yrznvahk.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{bus-gsy9mqvk.js → skill-s4m6ffrn.js} +8 -8
- package/dist/chunks/{bus-1cq7yd6n.js → skill-s6vgr22k.js} +24 -24
- package/dist/chunks/{bus-2dwd4qsj.js → skill-s79kvq2b.js} +11 -11
- package/dist/chunks/{bus-mcw92z4j.js → skill-s886meb3.js} +29 -29
- package/dist/chunks/{bus-tfmvqhpz.js → skill-s8rwmjr0.js} +11 -11
- package/dist/chunks/skill-sa4dtbm6.js +26 -0
- package/dist/chunks/{bus-50qts2yg.js → skill-sq6ecf7m.js} +8 -8
- package/dist/chunks/{bus-k2h4r4s0.js → skill-t51qk8jz.js} +21 -21
- package/dist/chunks/{bus-eaj1djv9.js → skill-t550f9t1.js} +8 -8
- package/dist/chunks/{bus-nm03esje.js → skill-t7q2q5yj.js} +3 -3
- package/dist/chunks/{bus-6rsp9rtj.js → skill-t9h25825.js} +9 -9
- package/dist/chunks/{bus-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-eqk8yf10.js → skill-tbwe9jxb.js} +17 -17
- package/dist/chunks/{bus-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{bus-46zct9q2.js → skill-tf0gwczp.js} +26 -26
- package/dist/chunks/{bus-gv6a8nnw.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{bus-s0ax2cbm.js → skill-tn57p488.js} +23 -23
- package/dist/chunks/{bus-jcfegcn3.js → skill-tqj0t39a.js} +47 -47
- package/dist/chunks/{bus-kdc4anf3.js → skill-tsh7pk9n.js} +2 -2
- package/dist/chunks/{bus-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-hv3bygr5.js → skill-tyta88qb.js} +5 -5
- package/dist/chunks/{bus-k10ha5xs.js → skill-v08rfwf2.js} +22 -22
- package/dist/chunks/{bus-qc5cjrxt.js → skill-v2b8egpj.js} +31 -31
- package/dist/chunks/{bus-s8610hey.js → skill-v2f6dcv3.js} +2 -2
- package/dist/chunks/{bus-s2pmvhcg.js → skill-v8p5j567.js} +11 -11
- package/dist/chunks/{bus-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/skill-vkp2jm84.js +247 -0
- package/dist/chunks/{bus-tk7tn7wd.js → skill-vtgzhbby.js} +1 -1
- package/dist/chunks/{bus-qn7x8t5j.js → skill-vxh4pggq.js} +13 -13
- package/dist/chunks/{bus-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-cze4a9ee.js → skill-w068afpb.js} +4 -4
- package/dist/chunks/{bus-akw77m90.js → skill-w3mct6yr.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-fjz9v5g8.js → skill-w8vrm3c2.js} +42 -42
- package/dist/chunks/{bus-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{bus-mkyh9633.js → skill-wg3vs4kv.js} +41 -41
- package/dist/chunks/{bus-7p797550.js → skill-wm0jxkfq.js} +9 -9
- package/dist/chunks/{bus-prbnmmzj.js → skill-wvmhx4nb.js} +2 -2
- package/dist/chunks/{bus-b2xqb8rz.js → skill-wxd2bqfr.js} +9 -9
- package/dist/chunks/{bus-9xhs6jd2.js → skill-wzt2x390.js} +4 -4
- package/dist/chunks/{bus-tmw71etn.js → skill-x0sqs2m3.js} +5 -5
- package/dist/chunks/{bus-4pxgevm9.js → skill-x1cjph1k.js} +4 -4
- package/dist/chunks/{bus-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-dgj0dq1g.js → skill-x3et2xth.js} +8 -8
- package/dist/chunks/{bus-3ry95nek.js → skill-x90pe81c.js} +15 -15
- package/dist/chunks/{bus-ev45yzk9.js → skill-xb86z6zr.js} +10 -10
- package/dist/chunks/{bus-770xh70b.js → skill-xfdj0sbt.js} +16 -16
- package/dist/chunks/{bus-tbj6yr3j.js → skill-xgz7224y.js} +31 -31
- package/dist/chunks/{bus-74hkwjyc.js → skill-xqntknzg.js} +24 -24
- package/dist/chunks/{bus-gm1wa5n1.js → skill-xtx71fwa.js} +20 -20
- package/dist/chunks/{bus-zpp4pmky.js → skill-xw6fw6zr.js} +3 -3
- package/dist/chunks/{bus-xjtkmra5.js → skill-xy495y7n.js} +35 -35
- package/dist/chunks/{bus-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-75ke43vn.js → skill-y50tbcbn.js} +16 -16
- package/dist/chunks/{bus-wp3ra78r.js → skill-y6m4d15s.js} +9 -9
- package/dist/chunks/{bus-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{bus-vet0v4q3.js → skill-ydenpnjr.js} +52 -52
- package/dist/chunks/{bus-55a4dvpq.js → skill-ye0ddrbj.js} +5 -5
- package/dist/chunks/{bus-2wt45vda.js → skill-yqbhe5eh.js} +36 -36
- package/dist/chunks/{bus-x2km63an.js → skill-yr83sm90.js} +14 -14
- package/dist/chunks/{bus-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-d2aac7k2.js → skill-yt0fqk68.js} +5 -5
- package/dist/chunks/{bus-2js4x8sp.js → skill-ywkf7sy3.js} +26 -26
- package/dist/chunks/{bus-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-53qwdxjh.js → skill-z97cmphj.js} +12 -12
- package/dist/chunks/{bus-zcrspsvn.js → skill-zcrspsvn.js} +1 -1
- package/dist/chunks/{bus-c7sjv0xt.js → skill-zdek9qng.js} +17 -17
- package/dist/chunks/{bus-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- 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 +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 +84 -84
- 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 +114 -114
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +99 -99
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- 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 +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +85 -85
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- 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 +118 -118
- 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 +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 +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 +339 -339
- 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 +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- 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 +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 +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +119 -119
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +89 -89
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- 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 +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- 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 +11 -11
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- 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 +74 -74
- 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 +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/bus-5ndkbceg.js +0 -247
- package/dist/chunks/bus-qc068m1q.js +0 -18
- package/dist/chunks/bus-wn48djn2.js +0 -26
- /package/dist/chunks/{bus-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -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 make19 = 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 make19 = 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 description4 = [
|
|
|
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 Plugin7 = {
|
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node82
|
|
10
|
+
} from "./skill-nbddwgy7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node80
|
|
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,22 +34,22 @@ 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
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, 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(Service52, 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(Service52, 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(Service52, 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
|
-
deps: [FSUtil.node,
|
|
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(Service52, Service52.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
9
|
Event17
|
|
10
|
-
} from "./
|
|
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";
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = 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,7 +222,7 @@ var OpenAIPlugin2 = 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
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
|
})
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-g2s4gf6f.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-hr5ztqgm.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin16
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin16 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin42 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID18.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID18.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin42 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID18.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID18.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID18.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin42 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin16, exports_agent };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-djrjkxn1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./skill-b9g7n7ra.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service56,
|
|
13
|
+
node60
|
|
14
|
+
} from "./skill-hr5ztqgm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service20,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node23,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service20 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service56;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service20.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node80, node60] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service20, resolvePath2, node23, exports_file_access };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-k26r7p66.js";
|
|
4
4
|
import {
|
|
5
5
|
Service65,
|
|
6
6
|
Event16
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-dfy6t82j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin4,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin4 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
@@ -45,4 +45,4 @@ var Plugin31 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin4, exports_plugin };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin40,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin40 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("context", (event) => Effect.sync(() => {
|
|
@@ -74,4 +74,4 @@ var Plugin3 = {
|
|
|
74
74
|
})
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export { RenameInput2, MoveInput2,
|
|
77
|
+
export { RenameInput2, MoveInput2, Plugin40, exports_opencode };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID13,
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request3,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -24,7 +24,7 @@ import { Effect, Schema, Struct } from "effect";
|
|
|
24
24
|
import { Provider } from "@opencode/schema/provider";
|
|
25
25
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
26
26
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
27
|
-
var
|
|
27
|
+
var ID13 = Provider.ID;
|
|
28
28
|
var AISDK_PREFIX2 = "aisdk:";
|
|
29
29
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
30
30
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -142,9 +142,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
142
142
|
return result;
|
|
143
143
|
}, new Map).values());
|
|
144
144
|
}
|
|
145
|
-
var
|
|
145
|
+
var Request3 = Provider.Request;
|
|
146
146
|
var Settings2 = Provider.Settings;
|
|
147
|
-
var
|
|
147
|
+
var Info27 = Provider.Info;
|
|
148
148
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
149
149
|
const module = yield* Effect.tryPromise({
|
|
150
150
|
try: () => {
|
|
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
166
166
|
return module;
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
export {
|
|
169
|
+
export { ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, exports_provider3 };
|