@opencode/core 0.0.0-dev-19462 → 0.0.0-dev-19465
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-3akyt0ax.js → skill-069yxdfj.js} +6 -6
- package/dist/chunks/{repository-pcmc1zwr.js → skill-0cvx4fb4.js} +32 -32
- package/dist/chunks/{repository-ahgcj67e.js → skill-0gaj4617.js} +6 -6
- package/dist/chunks/{repository-s0hza5ac.js → skill-0gr7cw0d.js} +4 -4
- package/dist/chunks/{repository-k7w803fk.js → skill-0hk96bqy.js} +20 -20
- package/dist/chunks/{repository-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-pcsmqseq.js → skill-0se4te34.js} +12 -12
- package/dist/chunks/{repository-jnt9jbpr.js → skill-0snr5brg.js} +39 -39
- package/dist/chunks/{repository-fnm2rd37.js → skill-0vm6v74g.js} +86 -86
- package/dist/chunks/{repository-d98chebz.js → skill-0x18acnr.js} +9 -9
- package/dist/chunks/{repository-hhbh3w1t.js → skill-15bxkz3b.js} +1 -1
- package/dist/chunks/{repository-2shxgy61.js → skill-18xez9vh.js} +13 -13
- package/dist/chunks/{repository-0psa96yy.js → skill-19hqt04n.js} +25 -25
- package/dist/chunks/{repository-62zv3r2w.js → skill-1av7y6ck.js} +4 -4
- package/dist/chunks/{repository-2ddb8vnf.js → skill-1c3k8t0n.js} +9 -9
- package/dist/chunks/{repository-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-ebd9479t.js → skill-1e10pjx7.js} +4 -4
- package/dist/chunks/{repository-0e6dpvm0.js → skill-1jkts21f.js} +9 -9
- package/dist/chunks/{repository-efj7rby6.js → skill-1t1mgs64.js} +20 -20
- package/dist/chunks/{repository-2tvtcs34.js → skill-1td1xm27.js} +25 -25
- package/dist/chunks/{repository-f8pdk657.js → skill-1wt8hjjs.js} +5 -5
- package/dist/chunks/{repository-mfqp6xfm.js → skill-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{repository-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-498fxtd6.js → skill-2c62gqdw.js} +9 -9
- package/dist/chunks/{repository-yvm9rc9x.js → skill-2cskqjna.js} +65 -65
- package/dist/chunks/{repository-jxxmrcps.js → skill-2csnqqmz.js} +6 -6
- package/dist/chunks/{repository-5jtdmvnp.js → skill-2dchnhcv.js} +1 -1
- package/dist/chunks/{repository-dqmwfghx.js → skill-2f0bjgcj.js} +5 -5
- package/dist/chunks/{repository-t45hg38h.js → skill-2jehf6nr.js} +11 -11
- package/dist/chunks/{repository-9ggdqdtw.js → skill-2vn5f1ze.js} +11 -11
- package/dist/chunks/{repository-65vrzz3w.js → skill-2x1yjhp7.js} +14 -14
- package/dist/chunks/{repository-4sk0y4xd.js → skill-34m4bwv1.js} +26 -26
- package/dist/chunks/{repository-a4exdnt3.js → skill-34xb35w3.js} +4 -4
- package/dist/chunks/{repository-b9jb5emj.js → skill-38tw1je5.js} +3 -3
- package/dist/chunks/{repository-v8ch97zc.js → skill-3dqftnvs.js} +1 -1
- package/dist/chunks/{repository-fxy4734q.js → skill-3eys84td.js} +4 -4
- package/dist/chunks/{repository-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-gh7jcff5.js → skill-3k3gsxc1.js} +17 -17
- package/dist/chunks/{repository-n2nfwst7.js → skill-3sm8xmq4.js} +18 -18
- package/dist/chunks/{repository-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-y4za65ce.js → skill-3t76bxvw.js} +15 -15
- package/dist/chunks/{repository-1jp9w2wz.js → skill-3tkevmyj.js} +3 -3
- package/dist/chunks/{repository-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-xdmp4stv.js → skill-3z75at8f.js} +46 -46
- package/dist/chunks/{repository-f9bavhm2.js → skill-45796egf.js} +1 -1
- package/dist/chunks/{repository-1q3whged.js → skill-45hw2ke2.js} +6 -6
- package/dist/chunks/{repository-3302fwks.js → skill-469x8pwq.js} +18 -18
- package/dist/chunks/{repository-c33k41yq.js → skill-4g5n3egt.js} +7 -7
- package/dist/chunks/{repository-fh173wkb.js → skill-4gt7sksm.js} +5 -5
- package/dist/chunks/{repository-s4kjwg47.js → skill-4vgrg3f6.js} +22 -22
- package/dist/chunks/{repository-n94hx6h0.js → skill-4wrn400e.js} +22 -22
- package/dist/chunks/{repository-w6jjpet8.js → skill-4xpnnbkh.js} +12 -12
- package/dist/chunks/{repository-0ajdgxne.js → skill-4y66k410.js} +5 -5
- package/dist/chunks/{repository-7b86q5ey.js → skill-4zrd4qtz.js} +13 -13
- package/dist/chunks/{repository-6t6y07ce.js → skill-50c06mfy.js} +9 -9
- package/dist/chunks/{repository-a2fztt6w.js → skill-50cmcpy7.js} +20 -20
- package/dist/chunks/{repository-7sezzb4e.js → skill-572ar5e8.js} +23 -23
- package/dist/chunks/{repository-a1bz86dw.js → skill-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-jks25yqs.js → skill-5gkf2rhx.js} +15 -15
- package/dist/chunks/{repository-b9ank1ts.js → skill-5n0a55p7.js} +16 -16
- package/dist/chunks/{repository-n5bzxk2f.js → skill-5rqhfc6t.js} +10 -10
- package/dist/chunks/{repository-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-3821feyt.js → skill-5xtt40bq.js} +15 -15
- package/dist/chunks/{repository-q5zafh14.js → skill-62bvnefr.js} +6 -6
- package/dist/chunks/{repository-22m95qs7.js → skill-64kphnzf.js} +4 -4
- package/dist/chunks/{repository-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{repository-ky6ecvvs.js → skill-68nf50f2.js} +6 -6
- package/dist/chunks/{repository-7b7gh2z5.js → skill-69nkh73y.js} +15 -15
- package/dist/chunks/{repository-4vj8kpqd.js → skill-6mkm26he.js} +8 -8
- package/dist/chunks/{repository-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-kd9v8sax.js → skill-6x1znnnc.js} +6 -6
- package/dist/chunks/{repository-6jtzn1qx.js → skill-6yd676b3.js} +22 -22
- package/dist/chunks/{repository-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{repository-qr27hz8v.js → skill-7t3xhesx.js} +4 -4
- package/dist/chunks/{repository-ztncjpjx.js → skill-80whd3p3.js} +30 -30
- package/dist/chunks/{repository-sabycmh3.js → skill-81rrwt6s.js} +6 -6
- package/dist/chunks/{repository-7tvdhtw8.js → skill-87ggqk1h.js} +20 -20
- package/dist/chunks/{repository-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-bw1aan46.js → skill-8dd76x14.js} +13 -13
- package/dist/chunks/{repository-n5aza2pa.js → skill-8hphmtdy.js} +10 -10
- package/dist/chunks/{repository-e4t9qac1.js → skill-8jmjfxwe.js} +14 -14
- package/dist/chunks/{repository-j8jb84gn.js → skill-8jnw4rf9.js} +18 -18
- package/dist/chunks/{repository-915t83ht.js → skill-8n1nmt6r.js} +11 -11
- package/dist/chunks/{repository-sv9bpgvh.js → skill-8nv6ekx5.js} +5 -5
- package/dist/chunks/{repository-fm1pn3h6.js → skill-9b4fcb9s.js} +28 -28
- package/dist/chunks/{repository-c9e2w61w.js → skill-9b920320.js} +8 -8
- package/dist/chunks/{repository-5ezjrh81.js → skill-9h6kjrdz.js} +29 -29
- package/dist/chunks/{repository-81swgkk7.js → skill-9pv0dm11.js} +9 -9
- package/dist/chunks/{repository-3h2aaj0a.js → skill-9qet1afg.js} +33 -33
- package/dist/chunks/{repository-8ayndkwh.js → skill-9se4e465.js} +20 -20
- package/dist/chunks/{repository-dv250zvr.js → skill-9vs0xtad.js} +3 -3
- package/dist/chunks/{repository-5he1xn5b.js → skill-9x874j65.js} +19 -19
- package/dist/chunks/{repository-y56ehv6b.js → skill-9zswys26.js} +9 -9
- package/dist/chunks/{repository-fa0hz4rj.js → skill-a1mw03ee.js} +27 -27
- package/dist/chunks/{repository-gvjwy1ww.js → skill-a5sptd3n.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-wsxzptys.js → skill-afs7fbce.js} +4 -4
- package/dist/chunks/{repository-h31ehzq9.js → skill-ahhdnpew.js} +4 -4
- package/dist/chunks/{repository-0df5qb80.js → skill-ajv9mbft.js} +49 -49
- package/dist/chunks/{repository-y5qrxrza.js → skill-ak2r15zw.js} +36 -36
- package/dist/chunks/{repository-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-ehgmx3s2.js → skill-b6h7cdrm.js} +40 -40
- package/dist/chunks/{repository-1a6p2twq.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{repository-8a737tnd.js → skill-bdqrk2vk.js} +6 -6
- package/dist/chunks/{repository-cr0em44r.js → skill-bsp2w84h.js} +20 -20
- package/dist/chunks/{repository-hwzvcses.js → skill-bzdcy8yq.js} +17 -17
- package/dist/chunks/{repository-06fb0e13.js → skill-c3486t2n.js} +41 -41
- package/dist/chunks/{repository-aty0eeer.js → skill-c3pg4f1a.js} +6 -6
- package/dist/chunks/{repository-m8bbpje0.js → skill-ccyhfr0b.js} +8 -8
- package/dist/chunks/{repository-epjkq198.js → skill-cgswjz6e.js} +13 -13
- package/dist/chunks/{repository-sg3ay6jr.js → skill-ckdh4t9b.js} +9 -9
- package/dist/chunks/{repository-h53fs6we.js → skill-cxp3r8sb.js} +11 -11
- package/dist/chunks/{repository-ekzy4a15.js → skill-d1j3kr65.js} +9 -9
- package/dist/chunks/{repository-8p4f9s12.js → skill-dj2t23y0.js} +2 -2
- package/dist/chunks/{repository-439dx3w9.js → skill-dkgmj00c.js} +18 -18
- package/dist/chunks/{repository-nywkrfb7.js → skill-dxdqcvte.js} +27 -27
- package/dist/chunks/skill-dxj72tfx.js +18 -0
- package/dist/chunks/{repository-2ghmk56m.js → skill-e0sp47gf.js} +38 -38
- package/dist/chunks/{repository-hjt4xg1x.js → skill-e82z9tr0.js} +7 -7
- package/dist/chunks/{repository-hx3323mz.js → skill-edvearje.js} +38 -38
- package/dist/chunks/{repository-6h0p2839.js → skill-egs27rwx.js} +23 -23
- package/dist/chunks/{repository-pwv7z67e.js → skill-ena93r8b.js} +14 -14
- package/dist/chunks/{repository-1bbkgx8g.js → skill-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/skill-exykx48p.js +22 -0
- package/dist/chunks/{repository-g47hgwy1.js → skill-f0dsah6w.js} +17 -17
- package/dist/chunks/{repository-r8xr0va3.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-t7dkn34m.js → skill-f41b5hh0.js} +15 -15
- package/dist/chunks/{repository-vrx4yh84.js → skill-f96dtzc8.js} +24 -24
- package/dist/chunks/{repository-b0ysmz6y.js → skill-fcz02341.js} +26 -26
- package/dist/chunks/{repository-6ck2t1rv.js → skill-fjmrr6sh.js} +9 -9
- package/dist/chunks/{repository-8nw6zpr4.js → skill-fry6bjf0.js} +36 -36
- package/dist/chunks/{repository-73x54sz1.js → skill-fvcmx4mc.js} +22 -22
- package/dist/chunks/{repository-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-kz381zv4.js → skill-fycn36cb.js} +5 -5
- package/dist/chunks/{repository-cva88qnv.js → skill-fzc97bae.js} +9 -9
- package/dist/chunks/{repository-d8z6v07t.js → skill-gb7vzwag.js} +7 -7
- package/dist/chunks/{repository-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-8ypn74s0.js → skill-gx1zhcta.js} +1 -1
- package/dist/chunks/{repository-sq8adhhz.js → skill-gzhzaa5p.js} +11 -11
- package/dist/chunks/{repository-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-faq7vhys.js → skill-h23w9p7f.js} +11 -11
- package/dist/chunks/{repository-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-fhs97t90.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{repository-92a4ap4w.js → skill-hcz3zddy.js} +5 -5
- package/dist/chunks/{repository-f828m53h.js → skill-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-3f6etdc1.js → skill-hpc1gdm0.js} +27 -27
- package/dist/chunks/{repository-qfapmvwx.js → skill-j24bqw62.js} +33 -33
- package/dist/chunks/{repository-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-veeq5evv.js → skill-j8hnd7cg.js} +24 -24
- package/dist/chunks/{repository-sqnjsewz.js → skill-j9d8easd.js} +14 -14
- package/dist/chunks/{repository-jfqtm2ew.js → skill-jfqtm2ew.js} +1 -1
- package/dist/chunks/{repository-vxp3kcg3.js → skill-jgttmm4a.js} +5 -5
- package/dist/chunks/{repository-hfdr1yjj.js → skill-jmphe03k.js} +4 -4
- package/dist/chunks/{repository-q5j1bp2v.js → skill-k52252t7.js} +4 -4
- package/dist/chunks/{repository-bpqahvg7.js → skill-ka2k270b.js} +8 -8
- package/dist/chunks/{repository-1ynvz20k.js → skill-kcct59d9.js} +21 -21
- package/dist/chunks/{repository-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-cfpkc3c9.js → skill-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-9b5bbgrx.js → skill-m23k9y15.js} +9 -9
- package/dist/chunks/{repository-dxmjzr1r.js → skill-m8xvr7s3.js} +16 -16
- package/dist/chunks/{repository-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-ek5z2msw.js → skill-m9xxtaj4.js} +24 -24
- package/dist/chunks/{repository-b1fx07ep.js → skill-maqcvqg3.js} +12 -12
- package/dist/chunks/{repository-34yfzwwr.js → skill-mcaz09sj.js} +24 -24
- package/dist/chunks/{repository-3zbcr0s0.js → skill-mdzsfjay.js} +21 -21
- package/dist/chunks/{repository-18cztcj7.js → skill-mgtytz9t.js} +3 -3
- package/dist/chunks/{repository-qybb80ke.js → skill-mj2pgv42.js} +163 -163
- package/dist/chunks/{repository-mkcjrzeh.js → skill-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-rsvg5qe3.js → skill-mw5sgvh1.js} +28 -28
- package/dist/chunks/{repository-c742vz2c.js → skill-mx527x43.js} +37 -37
- package/dist/chunks/{repository-9er5p002.js → skill-n64b6sp6.js} +24 -24
- package/dist/chunks/{repository-gs48f12t.js → skill-n8zwenhw.js} +5 -5
- package/dist/chunks/{repository-x359c73n.js → skill-n970r1wx.js} +15 -15
- package/dist/chunks/{repository-r9s20qyb.js → skill-narbeh08.js} +13 -13
- package/dist/chunks/{repository-kt5w8vxh.js → skill-nbddwgy7.js} +10 -10
- package/dist/chunks/{repository-dvjn987s.js → skill-p4eqt7gw.js} +53 -53
- package/dist/chunks/{repository-4qr204ms.js → skill-p9abtgfw.js} +19 -19
- package/dist/chunks/{repository-f8hx9dgc.js → skill-pc65svd3.js} +35 -35
- package/dist/chunks/{repository-757ayx98.js → skill-pfpk0zf4.js} +26 -26
- package/dist/chunks/{repository-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{repository-rrfg73gn.js → skill-qfh0g8bm.js} +16 -16
- package/dist/chunks/{repository-z7dhvtda.js → skill-qg8mtbnf.js} +24 -24
- package/dist/chunks/{repository-z1ycjdcc.js → skill-qhtt8cq2.js} +9 -9
- package/dist/chunks/{repository-edpf80fc.js → skill-qk1s35sc.js} +6 -6
- package/dist/chunks/{repository-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-7m5f9412.js → skill-qtkzm0vp.js} +8 -8
- package/dist/chunks/{repository-2d6j2h4j.js → skill-r2qzv5a7.js} +6 -6
- package/dist/chunks/{repository-fzceatkk.js → skill-r2s3jpjh.js} +15 -15
- package/dist/chunks/{repository-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-1ah30sey.js → skill-ras7gexc.js} +5 -5
- package/dist/chunks/{repository-rqx8c1bj.js → skill-rkvfcyy6.js} +20 -20
- package/dist/chunks/{repository-me7cqgqr.js → skill-rwa70r0w.js} +10 -10
- package/dist/chunks/{repository-cep4v9kk.js → skill-rzbdrxpw.js} +36 -36
- package/dist/chunks/{repository-4yg7xpeb.js → skill-rzxn8jq1.js} +2 -2
- package/dist/chunks/{repository-sgwh5nyn.js → skill-s0agc963.js} +8 -8
- package/dist/chunks/{repository-qmr73083.js → skill-s1a57xgp.js} +1 -1
- package/dist/chunks/{repository-zvrsfabp.js → skill-s3q1dfb5.js} +292 -292
- package/dist/chunks/{repository-s4enseaf.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-a7qvktew.js → skill-s4m6ffrn.js} +11 -11
- package/dist/chunks/{repository-qnvtssqj.js → skill-s8rwmjr0.js} +9 -9
- package/dist/chunks/{repository-j3gkf22j.js → skill-spamftm3.js} +16 -16
- package/dist/chunks/{repository-kc7gkhnn.js → skill-spxyers1.js} +15 -15
- package/dist/chunks/{repository-h4e9v6cf.js → skill-svdcpqwj.js} +16 -16
- package/dist/chunks/{repository-31dz7cp4.js → skill-t3w9f47z.js} +1 -1
- package/dist/chunks/{repository-zepncfka.js → skill-t51qk8jz.js} +4 -4
- package/dist/chunks/{repository-s8d7rejh.js → skill-t550f9t1.js} +4 -4
- package/dist/chunks/{repository-pg7njcxf.js → skill-t638bs47.js} +16 -16
- package/dist/chunks/{repository-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-1h7x1mz2.js → skill-tb0hthqf.js} +20 -20
- package/dist/chunks/{repository-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{repository-gv6a8nnw.js → skill-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-zf9sx82p.js → skill-thceg08k.js} +20 -20
- package/dist/chunks/{repository-67qaz902.js → skill-tqj0t39a.js} +47 -47
- package/dist/chunks/{repository-v3qpsh98.js → skill-trm52gcm.js} +41 -41
- package/dist/chunks/{repository-s301d4t7.js → skill-tsh7pk9n.js} +2 -2
- package/dist/chunks/{repository-tds63m58.js → skill-ttepvpk4.js} +11 -11
- package/dist/chunks/{repository-80e0yyk8.js → skill-tveepnm1.js} +10 -10
- package/dist/chunks/{repository-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-zpd6x7fe.js → skill-v2f6dcv3.js} +2 -2
- package/dist/chunks/{repository-t7qd3f94.js → skill-v2jh4czv.js} +20 -20
- package/dist/chunks/{repository-jy16bfac.js → skill-v71xcev7.js} +1 -1
- package/dist/chunks/{repository-ewbp23zb.js → skill-v7jdwsmt.js} +27 -27
- package/dist/chunks/{repository-585pw9ae.js → skill-v8p5j567.js} +20 -20
- package/dist/chunks/skill-vagyftv9.js +247 -0
- package/dist/chunks/{repository-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-j4yfb19a.js → skill-vmmty49e.js} +11 -11
- package/dist/chunks/{repository-g8bfx21a.js → skill-vnfb9jgg.js} +26 -26
- package/dist/chunks/{repository-aj2fadgq.js → skill-vpd9vakt.js} +22 -22
- package/dist/chunks/{repository-2rykfwh7.js → skill-vwjkge68.js} +4 -4
- package/dist/chunks/{repository-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-4h9e19ph.js → skill-w20nd3yt.js} +24 -24
- package/dist/chunks/{repository-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-tcsyqj73.js → skill-w6ax7cqs.js} +11 -11
- package/dist/chunks/{repository-es1pjgb0.js → skill-w70fs397.js} +5 -5
- package/dist/chunks/{repository-t9c3e8bq.js → skill-wbj903yc.js} +7 -7
- package/dist/chunks/{repository-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{repository-1mv714b0.js → skill-wg3vs4kv.js} +41 -41
- package/dist/chunks/{repository-psywnqq9.js → skill-wwct6c52.js} +9 -9
- package/dist/chunks/{repository-7qhfbrat.js → skill-wxd2bqfr.js} +9 -9
- package/dist/chunks/{repository-qhc60h7n.js → skill-wxy7rra6.js} +21 -21
- package/dist/chunks/{repository-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-8z17e00v.js → skill-x3a3e1nt.js} +8 -8
- package/dist/chunks/{repository-5xtgfte3.js → skill-x3et2xth.js} +4 -4
- package/dist/chunks/{repository-q3n10r91.js → skill-x90pe81c.js} +17 -17
- package/dist/chunks/{repository-zpchy40n.js → skill-x91q163v.js} +24 -24
- package/dist/chunks/{repository-js2yt1nz.js → skill-xayds21m.js} +76 -76
- package/dist/chunks/{repository-2f140qw9.js → skill-xb86z6zr.js} +10 -10
- package/dist/chunks/{repository-w0a2h48p.js → skill-xt6s5a9c.js} +16 -16
- package/dist/chunks/{repository-f6ytka93.js → skill-xw6fw6zr.js} +8 -8
- package/dist/chunks/{repository-d230r5q8.js → skill-y09x1tcz.js} +6 -6
- package/dist/chunks/{repository-s54pw8rz.js → skill-y0yjhn21.js} +11 -11
- package/dist/chunks/{repository-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-pe9eppf5.js → skill-y4pxrj14.js} +20 -20
- package/dist/chunks/{repository-0q56t1d9.js → skill-y5v9wk3k.js} +10 -10
- package/dist/chunks/{repository-dpkg50ah.js → skill-y71avatq.js} +4 -4
- package/dist/chunks/{repository-kx6qnvmq.js → skill-yh2vsnhs.js} +41 -41
- package/dist/chunks/{repository-ne7s8sw8.js → skill-ymty78va.js} +7 -7
- package/dist/chunks/{repository-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-nezgc4ey.js → skill-yrpprw9r.js} +6 -6
- package/dist/chunks/{repository-sra9araw.js → skill-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-7ht1e3b7.js → skill-yv8e5dfz.js} +16 -16
- package/dist/chunks/{repository-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-anty3ns2.js → skill-z0sgkz7q.js} +11 -11
- package/dist/chunks/{repository-q5asdkn4.js → skill-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-dmv09vgm.js → skill-zd1r38ht.js} +26 -26
- package/dist/chunks/{repository-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-a7v51dbc.js → skill-zv8vnbs5.js} +35 -35
- package/dist/chunks/{repository-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- 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 +118 -118
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +88 -88
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- 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 +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +81 -81
- 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 +83 -83
- 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 +3 -3
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.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 +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- 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 +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- 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 +344 -344
- 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 +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +5 -5
- 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 +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +78 -78
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- 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 +112 -112
- package/dist/session/model-transport.js +7 -7
- 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 +111 -111
- 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 +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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- 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 +101 -101
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/repository-4v7qdvcn.js +0 -18
- package/dist/chunks/repository-thkcmnfe.js +0 -22
- package/dist/chunks/repository-wpdhr89c.js +0 -247
- /package/dist/chunks/{repository-0mesazry.js → skill-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-j935v87r.js → skill-j935v87r.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-s4m6ffrn.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin5 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin23 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin23 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin5, exports_firecrawl };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-ahhdnpew.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Service: () => Service50,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node54
|
|
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
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service50, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service39, 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 Service50.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service39, 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 NotFoundError4({ 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:
|
|
74
|
+
var node54 = makeLocationNode({
|
|
75
|
+
service: Service50,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError4, ExecutionError2, Service50, layer20, node54, exports_command4, Event10 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./skill-e82z9tr0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
368
368
|
`;
|
|
369
369
|
|
|
370
370
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
371
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
372
372
|
const id = model.id.toLowerCase();
|
|
373
373
|
if (!id.includes("gpt"))
|
|
374
374
|
return;
|
|
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
397
|
return;
|
|
398
398
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
399
|
});
|
|
400
|
-
var Plugins2 = [
|
|
400
|
+
var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
401
401
|
function make(id, optimize) {
|
|
402
402
|
return define({
|
|
403
403
|
id,
|
|
@@ -412,7 +412,7 @@ function make(id, optimize) {
|
|
|
412
412
|
const system = event.system[0];
|
|
413
413
|
if (!system)
|
|
414
414
|
return;
|
|
415
|
-
event.system[0] = { ...system, text:
|
|
415
|
+
event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
|
|
416
416
|
}).pipe(Effect.catch(() => Effect.void));
|
|
417
417
|
yield* ctx.session.hook("context", hook);
|
|
418
418
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -421,4 +421,4 @@ function make(id, optimize) {
|
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
export {
|
|
424
|
+
export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
19
|
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service4,
|
|
32
|
+
export { Service4, node7, bound2, exports_instance2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-38tw1je5.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info11,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service57.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node61 = makeGlobalNode({ service: Service57, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info11, ListInput4, AddInput2, Service57, node61, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-ahhdnpew.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-ajv9mbft.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event13,
|
|
21
|
+
ID: () => ID7,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service55,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node59,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event13 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID7 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service55 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID7.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID7.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID7.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID7.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service55.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node59 = makeLocationNode({
|
|
112
|
+
service: Service55,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID7, Name2, available2, toModelOutput3, prepare3, Service55, node59, exports_skill5, Event13 };
|