mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-08 16:10:09 +00:00
update workspace
This commit is contained in:
@@ -105,4 +105,50 @@ export type UseMcpToolArgs = {
|
||||
parameters: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export type ToolArgs = ReadFileToolArgs | WriteToFileToolArgs | InsertContentToolArgs | SearchAndReplaceToolArgs | ListFilesToolArgs | MatchSearchFilesToolArgs | RegexSearchFilesToolArgs | SemanticSearchFilesToolArgs | SearchWebToolArgs | FetchUrlsContentToolArgs | SwitchModeToolArgs | ApplyDiffToolArgs | UseMcpToolArgs;
|
||||
export type DataviewQueryToolArgs = {
|
||||
type: 'dataview_query';
|
||||
query: string;
|
||||
outputFormat: string;
|
||||
finish?: boolean;
|
||||
}
|
||||
|
||||
export type AnalyzePaperToolArgs = {
|
||||
type: 'analyze_paper';
|
||||
path: 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;
|
||||
|
||||
@@ -289,6 +289,8 @@ export const InfioSettingsSchema = z.object({
|
||||
// multiSearchReplaceDiffStrategy
|
||||
multiSearchReplaceDiffStrategy: z.boolean().catch(true),
|
||||
|
||||
// Workspace
|
||||
workspace: z.string().catch(''),
|
||||
// Mode
|
||||
mode: z.string().catch('ask'),
|
||||
defaultMention: z.enum(['none', 'current-file', 'vault']).catch('none'),
|
||||
|
||||
Reference in New Issue
Block a user