fix trans tool

This commit is contained in:
duanfuxiang
2025-06-29 08:28:50 +08:00
parent 772270863c
commit f3a0252ab6
25 changed files with 1173 additions and 441 deletions

View File

@@ -112,43 +112,11 @@ export type DataviewQueryToolArgs = {
finish?: boolean;
}
export type AnalyzePaperToolArgs = {
type: 'analyze_paper';
export type CallTransformationsToolArgs = {
type: 'call_transformations';
path: string;
transformation: string;
finish?: boolean;
}
export type KeyInsightsToolArgs = {
type: 'key_insights';
path: string;
finish?: boolean;
}
export type DenseSummaryToolArgs = {
type: 'dense_summary';
path: string;
finish?: boolean;
}
export type ReflectionsToolArgs = {
type: 'reflections';
path: string;
finish?: boolean;
}
export type TableOfContentsToolArgs = {
type: 'table_of_contents';
path: string;
depth?: number;
format?: string;
include_summary?: boolean;
finish?: boolean;
}
export type SimpleSummaryToolArgs = {
type: 'simple_summary';
path: string;
finish?: boolean;
}
export type ToolArgs = ReadFileToolArgs | WriteToFileToolArgs | InsertContentToolArgs | SearchAndReplaceToolArgs | ListFilesToolArgs | MatchSearchFilesToolArgs | RegexSearchFilesToolArgs | SemanticSearchFilesToolArgs | SearchWebToolArgs | FetchUrlsContentToolArgs | SwitchModeToolArgs | ApplyDiffToolArgs | UseMcpToolArgs | DataviewQueryToolArgs | AnalyzePaperToolArgs | KeyInsightsToolArgs | DenseSummaryToolArgs | ReflectionsToolArgs | TableOfContentsToolArgs | SimpleSummaryToolArgs;
export type ToolArgs = ReadFileToolArgs | WriteToFileToolArgs | InsertContentToolArgs | SearchAndReplaceToolArgs | ListFilesToolArgs | MatchSearchFilesToolArgs | RegexSearchFilesToolArgs | SemanticSearchFilesToolArgs | SearchWebToolArgs | FetchUrlsContentToolArgs | SwitchModeToolArgs | ApplyDiffToolArgs | UseMcpToolArgs | DataviewQueryToolArgs | CallTransformationsToolArgs;