Elffuss BraidHub

kikocis/continue public

feat: add invokable option to markdown rule creation (#7824)

* feat: add invokable option to markdown rule creation

* Apply suggestion from @cubic-dev-ai[bot]

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Changesetd4eec0630c2ebab1a9f0eca67392aa010229db41d8003acddfcfce86a3950d4d
AuthorNate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-17 23:06 -07:00
CommitterGitHub <noreply@github.com> · 2025-09-17 23:06 -07:00
Parentsf67954d2bf34

Browse the files at this changeset

1 file changed

modified packages/config-yaml/src/markdown/createMarkdownRule.ts +5 −0
@@ -36,6 +36,7 @@
3636 globs?: string | string[];
3737 regex?: string | string[];
3838 alwaysApply?: boolean;
39+ invokable?: boolean;
3940 } = {},
4041 ): string {
4142 const frontmatter: RuleFrontmatter = {};
@@ -54,6 +55,10 @@
5455 frontmatter.description = options.description.trim();
5556 }
5657
58+ if (options.invokable !== undefined) {
59+ frontmatter.invokable = options.invokable;
60+ }
61+
5762 if (options.alwaysApply !== undefined) {
5863 frontmatter.alwaysApply = options.alwaysApply;
5964 }