feat: make create/read rule tools disabled by default (#10543)
feat: create/read rule tools disabled by default
This commit is contained in:
parent
86a37f916b
commit
ce63eae384
2 changed files with 2 additions and 1 deletions
1
core/index.d.ts
vendored
1
core/index.d.ts
vendored
|
|
@ -4,6 +4,7 @@ import {
|
|||
PromptTemplates,
|
||||
ToolOverrideConfig,
|
||||
} from "@continuedev/config-yaml";
|
||||
import { ToolPolicy } from "@continuedev/terminal-security";
|
||||
import { McpUiResourceMeta } from "@modelcontextprotocol/ext-apps";
|
||||
import { TextResourceContents } from "@modelcontextprotocol/sdk/types.js";
|
||||
import Parser from "web-tree-sitter";
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ export const createRuleBlock: Tool = {
|
|||
},
|
||||
},
|
||||
},
|
||||
defaultToolPolicy: "allowedWithPermission",
|
||||
defaultToolPolicy: "disabled",
|
||||
systemMessageDescription: {
|
||||
prefix: `Sometimes the user will provide feedback or guidance on your output. If you were not aware of these "rules", consider using the ${BuiltInToolNames.CreateRuleBlock} tool to persist the rule for future interactions.
|
||||
This tool cannot be used to edit existing rules, but you can search in the ".continue/rules" folder and use the edit tool to manage rules.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue