fix: type errors

This commit is contained in:
Tomasz Stefaniak 2025-06-17 13:27:36 -07:00
parent 9c8bbd99e9
commit f976e54dc3
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import {
import { renderChatMessage } from "../../util/messageContent";
import { getCleanUriPath } from "../../util/uri";
import { extractPathsFromCodeBlocks } from "../utils/extractPathsFromCodeBlocks";
import { RulePolicies } from "./types";
/**
* Checks if a path matches any of the provided globs

2
core/llm/rules/types.ts Normal file
View file

@ -0,0 +1,2 @@
export type RulePolicy = "always" | "auto" | "never";
export type RulePolicies = { [ruleName: string]: RulePolicy };