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
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
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
af1d5ed3e3
Update createRuleBlock.ts
2025-04-18 11:47:38 -07:00
chezsmithy
e6dfd58c04
fixed test
2025-04-18 07:53:19 -07:00
chezsmithy
c1a4284b68
more cleanup.
2025-04-18 07:53:19 -07:00
chezsmithy
e41f9cdffd
removed square brackets and simplified
2025-04-18 07:53:19 -07:00
chezsmithy
ede4c102cf
adding tests
2025-04-18 07:53:18 -07:00
chezsmithy
3e436448ab
minor cleanup for background processes and prompt
2025-04-18 07:53:18 -07:00
chezsmithy
a8c3fb5e19
Resolve additional comments
2025-04-18 07:53:18 -07:00
chezsmithy
0d49547a36
Inital cleanup based on comments
2025-04-18 07:53:18 -07:00
chezsmithy
324d76f4a8
De-dup protocols
2025-04-18 07:53:18 -07:00
chezsmithy
dba00ccd79
merged in the ultimate terminal changes
2025-04-18 07:53:16 -07:00
Nate
a6817d3986
first pass at terminal tool output ui
2025-04-18 07:53:15 -07:00
Patrick Erichsen
2c8032c339
feat: create_rule_block tool
2025-04-17 21:42:52 -07:00
Dallin Romney
e382cddeed
merge-main
2025-04-04 18:37:05 -07:00
Dallin Romney
f2237c0399
cleanup
2025-04-04 17:10:24 -07:00
Dallin Romney
2efd3ff03a
working and disable input when pending tool call stream
2025-04-04 03:16:18 -07:00
Dallin Romney
8f556c0b01
move to custom edit impl
2025-04-04 01:02:48 -07:00
Dallin Romney
4683a20c2f
cleanup
2025-04-04 00:51:31 -07:00
Dallin Romney
1bc816b1f1
edit file apply state
2025-04-04 00:38:33 -07:00
Dallin Romney
1a63ea756d
hacky apply implementation
2025-04-03 23:41:05 -07:00
Dallin Romney
5014e162cc
error if already exists"
2025-04-03 21:16:23 -07:00
Dallin Romney
e02741cb5e
edit tool first take
2025-04-03 19:04:28 -07:00
Dallin Romney
9a7cebac28
cleanup
2025-04-03 18:44:43 -07:00
Dallin Romney
67888c7cfe
grep search cleanup, glob search tool
2025-04-03 16:04:20 -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
chezsmithy
e740278ce5
fix-stdout-terminal
2025-03-04 20:03:32 -08:00
Nate
0ed8612782
switch repo map tool to show signatures
2025-02-04 17:26:56 -08:00
Dallin Romney
c2a9106349
update all context item descriptions to be consistent
2025-01-29 14:19:02 -08:00
Dallin Romney
1fb430ddb3
convert config json to file url for local config
2025-01-04 18:59:17 +01:00
Nate
1f70c96849
show file in tool context item
2024-12-18 23:05:06 -08:00
Nate
7fe6ac1159
use existing function
2024-12-18 22:50:05 -08:00
Nate
f65704f6ad
resolve relative paths in read_file tool
2024-12-18 22:47:46 -08:00