Commit graph

29 commits

Author SHA1 Message Date
Dallin Romney
ce63eae384
feat: make create/read rule tools disabled by default (#10543)
feat: create/read rule tools disabled by default
2026-02-16 12:15:57 -08:00
xiaohuanxiong3
acbba9c6d2
feat: move tool icon names to tool definitions (#7322)
* feat: Adding the isExecutionResultSearchable property to the Tool indicates whether the tool indicates whether the result is inspectable
fix: 移除 SimpleToolCallUI 中 ToggleWithIcon 重复的 onClick 函数

* feat: Adding the isExecutionResultSearchable property to the Tool indicates whether the tool's execution results are checkable
fix: 移除 SimpleToolCallUI 中 ToggleWithIcon 重复的 onClick 函数

* fix: cleanup file security pr

* fix: ignore .idea etc.

* fix: move .continue from security to indexing ignore

* fix: move ide dirs and venv dirs to indexing not security ignores

* feat: remove isExecutionResultSearchable from Tool

* feat: prettier

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-09-16 12:51:41 -07:00
Dallin Romney
caf5b56db4 merge main 2025-08-05 17:46:21 -07:00
Dallin Romney
af1b6b1bc4 feat: plug and play system message tool frameworks 2025-07-29 15:22:55 -07:00
QiuYang Shen
1c0eaab939 Merge remote-tracking branch 'origin/init-tool-policy-in-tools-definitions' into init-tool-policy-in-tools-definitions
# Conflicts:
#	core/index.d.ts
#	core/tools/definitions/codebaseTool.ts
#	core/tools/definitions/createNewFile.ts
#	core/tools/definitions/createRuleBlock.ts
#	core/tools/definitions/editFile.ts
#	core/tools/definitions/fetchUrlContent.ts
#	core/tools/definitions/globSearch.ts
#	core/tools/definitions/grepSearch.ts
#	core/tools/definitions/ls.ts
#	core/tools/definitions/readCurrentlyOpenFile.ts
#	core/tools/definitions/readFile.ts
#	core/tools/definitions/requestRule.ts
#	core/tools/definitions/runTerminalCommand.ts
#	core/tools/definitions/searchAndReplaceInFile.ts
#	core/tools/definitions/searchWeb.ts
#	core/tools/definitions/viewDiff.ts
#	core/tools/definitions/viewRepoMap.ts
#	core/tools/definitions/viewSubdirectory.ts
2025-07-29 11:34:57 +08:00
QiuYang Shen
1d773e222d feat: change Tool.toolPolicy to Tool.defaultToolPolicy 2025-07-28 11:24:23 +08:00
Dallin Romney
954d816885 merge main 2025-07-23 20:53:42 +07:00
xiaohuanxiong3
ed794ec6ae
Merge branch 'continuedev:main' into init-tool-policy-in-tools-definitions 2025-07-23 12:31:29 +08:00
Dallin Romney
6af35548c8 fix: throw error if tool call args are missing 2025-07-20 14:13:15 +02:00
Dallin Romney
a04dccbc2a feat: custom systemMessageDescription for built in tools 2025-07-20 10:56:38 +02:00
QiuYang Shen
a6ccb6e7cd feat: init tool policy in tools definitions 2025-07-19 10:55:11 +08:00
Patrick Erichsen
fd94ef2b31 feat: move rule type logic into config-yaml 2025-07-02 15:25:48 -07:00
Patrick Erichsen
2e691bfd58 feat: update sys msg 2025-07-02 14:33:13 -07:00
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
Tomasz Stefaniak
7f541da7ec improv: naming 2025-06-23 09:23:00 -07:00
Nate
c39ee8999e Update createRuleBlock tool description for clarity 2025-06-20 16:59:30 -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
Patrick Erichsen
c2571e2a86 feat: create markdown rules in notch 2025-06-02 14:33:51 -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
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
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
Nate
b7b1f1da96 improved UI for tool calls 2025-04-21 09:12:56 -07:00
Patrick Erichsen
6070a645dd feat: dallins feedback 2025-04-18 12:07:41 -07:00
Patrick Erichsen
2c8032c339 feat: create_rule_block tool 2025-04-17 21:42:52 -07:00