@ooples/token-optimizer-mcp
Version:
Intelligent context window optimization for Claude Code - store content externally via caching and compression, freeing up your context window for what matters
245 lines • 11 kB
TypeScript
import { z } from 'zod';
export declare const OptimizeTextSchema: z.ZodObject<{
text: z.ZodString;
key: z.ZodString;
quality: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
text: string;
key: string;
quality?: number | undefined;
}, {
text: string;
key: string;
quality?: number | undefined;
}>;
export declare const GetCachedSchema: z.ZodObject<{
key: z.ZodString;
}, "strip", z.ZodTypeAny, {
key: string;
}, {
key: string;
}>;
export declare const CountTokensSchema: z.ZodObject<{
text: z.ZodString;
}, "strip", z.ZodTypeAny, {
text: string;
}, {
text: string;
}>;
export declare const CompressTextSchema: z.ZodObject<{
text: z.ZodString;
quality: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
text: string;
quality?: number | undefined;
}, {
text: string;
quality?: number | undefined;
}>;
export declare const DecompressTextSchema: z.ZodObject<{
compressed: z.ZodString;
}, "strip", z.ZodTypeAny, {
compressed: string;
}, {
compressed: string;
}>;
export declare const GetCacheStatsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const ClearCacheSchema: z.ZodObject<{
confirm: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
}, "strip", z.ZodTypeAny, {
confirm: boolean;
}, {
confirm: boolean;
}>;
export declare const AnalyzeOptimizationSchema: z.ZodObject<{
text: z.ZodString;
}, "strip", z.ZodTypeAny, {
text: string;
}, {
text: string;
}>;
export declare const GetSessionStatsSchema: z.ZodObject<{
sessionId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
sessionId?: string | undefined;
}, {
sessionId?: string | undefined;
}>;
export declare const OptimizeSessionSchema: z.ZodObject<{
sessionId: z.ZodOptional<z.ZodString>;
min_token_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
min_token_threshold: number;
sessionId?: string | undefined;
}, {
sessionId?: string | undefined;
min_token_threshold?: number | undefined;
}>;
export declare const AnalyzeProjectTokensSchema: z.ZodObject<{
projectPath: z.ZodOptional<z.ZodString>;
startDate: z.ZodOptional<z.ZodString>;
endDate: z.ZodOptional<z.ZodString>;
costPerMillionTokens: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
costPerMillionTokens: number;
projectPath?: string | undefined;
startDate?: string | undefined;
endDate?: string | undefined;
}, {
projectPath?: string | undefined;
startDate?: string | undefined;
endDate?: string | undefined;
costPerMillionTokens?: number | undefined;
}>;
export declare const PredictiveCacheSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheWarmupSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartAstGrepSchema: z.ZodObject<{
pattern: z.ZodOptional<z.ZodString>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
pattern: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
pattern: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">>;
export declare const CacheAnalyticsSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheBenchmarkSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheCompressionSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheInvalidationSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheOptimizerSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CachePartitionSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CacheReplicationSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartCacheSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartSqlSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartSchemaSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartApiFetchSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartCacheApiSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartDatabaseSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartGraphQLSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartMigrationSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartOrmSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartRestSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartWebSocketSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartProcessesSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartNetworkSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartLogsSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartLintSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartInstallSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartDockerSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartBuildSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartSystemMetricsSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartTestSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartTypeCheckSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartCronSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartUserSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartDiffSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SmartBranchSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SmartMergeSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SmartStatusSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SmartLogSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SmartReadSchema: z.ZodObject<{
path: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
path: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
path: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const SmartWriteSchema: z.ZodObject<{
path: z.ZodString;
content: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
path: z.ZodString;
content: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
path: z.ZodString;
content: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const SmartEditSchema: z.ZodObject<{
path: z.ZodString;
operations: z.ZodAny;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
path: z.ZodString;
operations: z.ZodAny;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
path: z.ZodString;
operations: z.ZodAny;
}, z.ZodTypeAny, "passthrough">>;
export declare const SmartGlobSchema: z.ZodObject<{
pattern: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
pattern: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
pattern: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const SmartGrepSchema: z.ZodObject<{
pattern: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
pattern: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
pattern: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const AlertManagerSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const MetricCollectorSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const MonitoringIntegrationSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const CustomWidgetSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const DataVisualizerSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const HealthMonitorSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const LogDashboardSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const IntelligentAssistantSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const NaturalLanguageQuerySchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const PatternRecognitionSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const PredictiveAnalyticsSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const RecommendationEngineSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const SmartSummarizationSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
export declare const GetHookAnalyticsSchema: z.ZodObject<{
startDate: z.ZodOptional<z.ZodString>;
endDate: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
startDate?: string | undefined;
endDate?: string | undefined;
}, {
startDate?: string | undefined;
endDate?: string | undefined;
}>;
export declare const GetActionAnalyticsSchema: z.ZodObject<{
startDate: z.ZodOptional<z.ZodString>;
endDate: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
startDate?: string | undefined;
endDate?: string | undefined;
}, {
startDate?: string | undefined;
endDate?: string | undefined;
}>;
export declare const GetMcpServerAnalyticsSchema: z.ZodObject<{
startDate: z.ZodOptional<z.ZodString>;
endDate: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
startDate?: string | undefined;
endDate?: string | undefined;
}, {
startDate?: string | undefined;
endDate?: string | undefined;
}>;
export declare const ExportAnalyticsSchema: z.ZodObject<{
format: z.ZodEnum<["json", "csv"]>;
startDate: z.ZodOptional<z.ZodString>;
endDate: z.ZodOptional<z.ZodString>;
hookPhase: z.ZodOptional<z.ZodEnum<["PreToolUse", "PostToolUse", "SessionStart", "PreCompact", "UserPromptSubmit", "Unknown"]>>;
toolName: z.ZodOptional<z.ZodString>;
mcpServer: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
format: "json" | "csv";
toolName?: string | undefined;
startDate?: string | undefined;
endDate?: string | undefined;
hookPhase?: "PreToolUse" | "PostToolUse" | "SessionStart" | "PreCompact" | "UserPromptSubmit" | "Unknown" | undefined;
mcpServer?: string | undefined;
}, {
format: "json" | "csv";
toolName?: string | undefined;
startDate?: string | undefined;
endDate?: string | undefined;
hookPhase?: "PreToolUse" | "PostToolUse" | "SessionStart" | "PreCompact" | "UserPromptSubmit" | "Unknown" | undefined;
mcpServer?: string | undefined;
}>;
export declare const toolSchemaMap: Record<string, z.ZodType<any>>;
//# sourceMappingURL=tool-schemas.d.ts.map