Commit graph

150 commits

Author SHA1 Message Date
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
Dallin Romney
f4233aebdd merge main 2025-06-09 10:10:05 -07:00
Dallin Romney
68ce00ec5c llm pre-fetch tests: nested dependency mocks for continue fetch 2025-06-06 17:39:28 -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
Dallin Romney
156248133f run terminal command formatting 2025-06-04 16:52:47 -07:00
Dallin Romney
fd21b80f59 Revert "BROKEN: mcp conversion utils, tool name updates"
This reverts commit cd6e2ab23f.
2025-06-04 16:52:14 -07:00
Dallin Romney
cd6e2ab23f BROKEN: mcp conversion utils, tool name updates 2025-06-04 16:48:27 -07:00
Dallin Romney
0f2cb9417c include mcp server names in tool names 2025-06-04 15:47:19 -07:00
Dallin Romney
dcdc04f0ba JSON parsing progress 2025-06-04 15:16:41 -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
fe5bcfe367
Merge pull request #5867 from continuedev/pe/agent-requested-rule
feat: `requestRule` tool
2025-05-29 09:28:23 -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
Nate
aa6450950c fix typo 2025-05-27 19:42:37 -07:00
Patrick Erichsen
4f66d94d68
Merge pull request #5814 from chezsmithy/feat-terminal-with-platform-and-shell
feat: ✨ Make the terminal command aware of its OS, platform and shell
2025-05-27 15:11:21 -07:00
Patrick Erichsen
03e75521cd Create requestRule.test.ts 2025-05-27 14:50:59 -07:00
Patrick Erichsen
ae5b18b10d Update requestRule.ts 2025-05-27 14:45:58 -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
1a786f605d feat: ✨ Make the terminal command aware of its OS, platform and shell 2025-05-23 07:06:18 +00: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
Dallin Romney
8fab79e5fc Merge branch 'main' of https://github.com/continuedev/continue into pe/rule-tool-update 2025-05-19 17:04:02 -07:00
Dallin Romney
c62180f721 remove let 2025-05-16 12:29:31 -07:00
Patrick Erichsen
c2bfcff957 Update createRuleBlock.ts 2025-05-14 21:52:21 -07:00
Dallin Romney
d40fc96346 better URI tool errors and no hanging for nonexistent tool 2025-05-14 10:59:34 -07:00
Dallin Romney
319e20ad06 iteration on system prompt and edit file description 2025-05-01 22:37:04 -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