Commit graph

64 commits

Author SHA1 Message Date
Alessandro Manno
3685b07536
Removed alwaysApply from the required fields in createRuleBlock.ts
Removed alwaysApply from the required fields in createRuleBlock.ts because there are no alwaysApply property in properties
2025-06-24 09:08:01 +02:00
Patrick Erichsen
4c161b45e2
Merge pull request #6232 from continuedev/nate/update-create-rule-block-description
Make the new rule tool slightly more clear + aggressive
2025-06-23 15:29:52 -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
Nate
c39ee8999e Update createRuleBlock tool description for clarity 2025-06-20 16:59:30 -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
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
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
24228e6c09 Merge branch 'main' into pe/add-rule-format 2025-06-02 16:40:21 -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
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
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
Patrick Erichsen
e4b70dbfd8 feat: description in markdown yaml 2025-05-22 10:10:21 -07:00
Patrick Erichsen
c2bfcff957 Update createRuleBlock.ts 2025-05-14 21:52:21 -07:00
Dallin Romney
319e20ad06 iteration on system prompt and edit file description 2025-05-01 22:37:04 -07:00
Patrick Erichsen
fc1ee33ed9 feat: Dallin's feedback 2025-04-28 17:25:07 -07:00
Patrick Erichsen
047e4e418b feat: add globs to create rule tool 2025-04-25 22:41:03 -07:00
Dallin Romney
a1bbd2d45a iteration on edit file lazy tool 2025-04-24 21:44:39 -07:00
Dallin Romney
3101127df6 fix args bugs, iterate on lazy description 2025-04-24 21:40:13 -07:00
Nate
b7b1f1da96 improved UI for tool calls 2025-04-21 09:12:56 -07:00
Dallin Romney
14198bc84f
Merge pull request #5220 from continuedev/pe/create-rule-tool
feat: `create_rule_block` tool
2025-04-18 18:01:10 -07:00
Patrick Erichsen
6070a645dd feat: dallins feedback 2025-04-18 12:07:41 -07:00
chezsmithy
3e436448ab minor cleanup for background processes and prompt 2025-04-18 07:53:18 -07:00
chezsmithy
3578aa62b7 Updated runTerminal description to avoid suggesting keyboard input. 2025-04-18 07:53:18 -07:00
chezsmithy
a8c3fb5e19 Resolve additional comments 2025-04-18 07:53:18 -07:00
chezsmithy
dba00ccd79 merged in the ultimate terminal changes 2025-04-18 07:53:16 -07:00
Patrick Erichsen
2c8032c339 feat: create_rule_block tool 2025-04-17 21:42:52 -07:00
chezsmithy
305dc937ea fix/web-search-typo 2025-04-07 23:09:14 -07:00
Dallin Romney
e382cddeed merge-main 2025-04-04 18:37:05 -07:00
Dallin Romney
ebe9c5c3b9 typo 2025-04-04 15:46:15 -07:00
Dallin Romney
2efd3ff03a working and disable input when pending tool call stream 2025-04-04 03:16:18 -07:00
Dallin Romney
9c0f43342e edit tool ui take zero 2025-04-03 21:08:48 -07:00
Dallin Romney
e02741cb5e edit tool first take 2025-04-03 19:04:28 -07:00
Dallin Romney
b9e4737c77 glob search 2025-04-03 15:19:34 -07:00
Dallin Romney
f58469ffc9 lstool 2025-04-02 13:48:50 -07:00
Dallin Romney
c12bc10b8d tweaks 2025-03-26 17:11:19 -07:00