Commit graph

93 commits

Author SHA1 Message Date
Patrick Erichsen
15bbf19f2d update tests and remove debugger 2025-07-02 16:06:18 -07:00
Patrick Erichsen
287839ccd8 Merge branch 'main' into pe/rule-dialog 2025-07-02 15:29:07 -07:00
Patrick Erichsen
fd94ef2b31 feat: move rule type logic into config-yaml 2025-07-02 15:25:48 -07:00
Ting-Wai To
287c1fac0a Add @codebase as experimental tool for agent mode 2025-06-30 22:27:50 -07:00
Nate Sesti
d3d201315d
Merge pull request #6221 from continuedev/tomasz/regex-trigger
Regex rule trigger
2025-06-23 10:48:06 -07:00
Tomasz Stefaniak
7f541da7ec improv: naming 2025-06-23 09:23:00 -07:00
Patrick Erichsen
d8887e0a66
Merge branch 'main' into dallin/limit-glob-output 2025-06-20 19:46:54 -07:00
Dallin Romney
2cf2a74646 implement glob limiting in tool 2025-06-19 19:07:59 -07:00
Dallin Romney
26c50d0f9e update grep search tool description 2025-06-19 18:02:14 -07:00
Dallin Romney
d30c357142 improved grep formatting function 2025-06-19 17:41:44 -07:00
Tomasz Stefaniak
c1467f5eca fix: types 2025-06-18 17:34:58 -07:00
Tomasz Stefaniak
ff80ffeb3f fix: missing patterns 2025-06-18 17:33:12 -07:00
Nate Sesti
e310b0634e
Merge pull request #6138 from continuedev/pe/rule-updates-2
feat: move rule parsing to `config-yaml`
2025-06-16 20:35:35 -07:00
Nate
7e1cd0ad8a change rule block creation test to match expected behavior (don't inject a header automatically) 2025-06-16 16:44:50 -07:00
Patrick Erichsen
0b3d388c00 only export markdownToRule 2025-06-16 11:23:15 -07:00
Patrick Erichsen
1a9910f49e fix imports 2025-06-16 09:24:10 -07:00
Patrick Erichsen
aee901f74d
Merge pull request #6001 from chezsmithy/feature-add-terminal-ansi
Feat ✨ Give the terminal color and escape sequence rendering
2025-06-13 11:32:34 -07:00
Dallin Romney
bfca8a17ad Fetch URL Content tool 2025-06-12 10:40:24 -07:00
Dallin Romney
aa7ba35b00 read url tool 2025-06-11 11:22:13 -07:00
Patrick Erichsen
f7b10511bd
Merge pull request #5564 from chezsmithy/fix(files-context)-refresh-on-new-file-and-save
fix: 🐛 Index files from save and tools
2025-06-09 14:30:38 -07:00
Patrick Erichsen
8e9162bf21
Merge pull request #5945 from continuedev/pe/add-rule-format
feat: create markdown rules in notch
2025-06-09 14:17:10 -07:00
chezsmithy
e83290bd3a feat: ✨ Give the terminal color and ansi escape rendering 2025-06-05 01:13:26 -07:00
chezsmithy
2d3bdbe256 refactor: ♻️ Updates to code to remove negative cases first (linting) 2025-06-04 22:23:39 -07:00
chezsmithy
0c7cecd53d Updates to use codebase indexer 2025-06-04 22:02:59 -07:00
chezsmithy
f1a44194fb more cleanup 2025-06-04 20:54:28 -07:00
chezsmithy
0770b21dbf fix(files-context)-refresh-on-new-file-and-save 2025-06-04 20:54:26 -07:00
Patrick Erichsen
67ab058211 fix: linting error 2025-06-04 17:29:11 -07:00
Tomasz Stefaniak
d51e5e159a
Merge pull request #5813 from chezsmithy/feat-terminals-on-more-hosts
feat: 🧱 Enable terminals for additional vscode Remote Host Types
2025-06-04 14:54:54 -07:00
Patrick Erichsen
9b8a333cf3 Update createRuleBlock.test.ts 2025-06-02 17:12:00 -07:00
Patrick Erichsen
24228e6c09 Merge branch 'main' into pe/add-rule-format 2025-06-02 16:40:21 -07:00
Patrick Erichsen
e5f424a736 Update createRuleBlock.ts 2025-06-02 14:44:58 -07:00
Patrick Erichsen
c2571e2a86 feat: create markdown rules in notch 2025-06-02 14:33:51 -07:00
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Nate Sesti
739ebcad3d
Merge pull request #5882 from continuedev/dallin/fix-git-diff-caching
Fix git diff caching
2025-05-31 23:44:01 -07:00
Patrick Erichsen
33b1d39946 feat: dallins feedback 2025-05-28 16:19:11 -07:00
Dallin Romney
34166b6af9 change to 'gitDiffCache' and add tests 2025-05-28 15:31:18 -07:00
Dallin Romney
f32f78c550 fix git diff cache 2025-05-28 14:52:37 -07:00
Patrick Erichsen
af30fbe360 feat: requestRule tool 2025-05-27 10:19:31 -07:00
Patrick Erichsen
1b59411ec1 chore: continue bot feedback 2025-05-25 19:47:12 -07:00
Patrick Erichsen
e2e4f94e8d Add alwaysApply property to rules for better control over rule application
This commit introduces an optional `alwaysApply` boolean property to rules that provides fine-grained control over when rules are included in system messages.

## Behavior

- `alwaysApply: true` - Always include the rule, regardless of file context
- `alwaysApply: false` - Only include if globs exist AND match file context
- `alwaysApply: undefined` - Default behavior: include if no globs OR globs match

## Changes

- Added `alwaysApply?: boolean` to `RuleWithSource` interface
- Updated `parseMarkdownRule` to handle frontmatter `alwaysApply` property
- Enhanced `shouldApplyRule` function with explicit logic for all three states
- Added `alwaysApply` to createRuleBlock tool definition and implementation
- Updated UI logic in RulesPeek component to match backend behavior
- Added comprehensive test coverage for all scenarios
- Updated documentation to mention Markdown file support for rules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 19:27:15 -07:00
Nate
184be8f092 npx prettier --check "core/**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-p
ath .gitignore --ignore-path .prettierignore --write
2025-05-25 18:34:39 -07:00
Shawn Smith
1500281bb5 feat: 🧱 Enable terminals for additional vscode Remote Host Types 2025-05-23 06:35:53 +00:00
Patrick Erichsen
7f30061ffe update tests 2025-05-22 10:17:50 -07:00
Patrick Erichsen
e4b70dbfd8 feat: description in markdown yaml 2025-05-22 10:10:21 -07:00
Tomasz Stefaniak
a21d350ea1 feat: markdown rules
fix: parsing
2025-05-20 13:12:17 -07:00
Patrick Erichsen
1184c94441 test: update rule block tests 2025-04-28 18:14:48 -07:00
Patrick Erichsen
fc1ee33ed9 feat: Dallin's feedback 2025-04-28 17:25:07 -07:00
Patrick Erichsen
6a540e11d5 Update createRuleBlock.test.ts 2025-04-28 14:14:30 -07:00
Patrick Erichsen
687b893512 Update createRuleBlock.ts 2025-04-25 22:43:27 -07:00
Patrick Erichsen
047e4e418b feat: add globs to create rule tool 2025-04-25 22:41:03 -07:00