ccjk 13.6.7 → 14.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/api-cli.mjs +4 -2
- package/dist/chunks/api-config-selector.mjs +2 -4
- package/dist/chunks/auto-fix.mjs +3 -1
- package/dist/chunks/ccjk-all.mjs +5 -2
- package/dist/chunks/ccjk-mcp.mjs +5 -2
- package/dist/chunks/ccjk-setup.mjs +4 -1
- package/dist/chunks/ccr.mjs +5 -8
- package/dist/chunks/check-updates.mjs +1 -4
- package/dist/chunks/claude-code-incremental-manager.mjs +4 -6
- package/dist/chunks/code-type-resolver.mjs +878 -0
- package/dist/chunks/codex-config-switch.mjs +0 -1
- package/dist/chunks/codex-provider-manager.mjs +0 -1
- package/dist/chunks/codex.mjs +2 -2
- package/dist/chunks/config-switch.mjs +2 -4
- package/dist/chunks/config.mjs +1144 -5
- package/dist/chunks/config2.mjs +6 -4
- package/dist/chunks/config3.mjs +4 -2
- package/dist/chunks/doctor.mjs +1 -1
- package/dist/chunks/evolution.mjs +47 -27
- package/dist/chunks/features.mjs +2 -3
- package/dist/chunks/index10.mjs +115 -12
- package/dist/chunks/init.mjs +44 -17
- package/dist/chunks/installer.mjs +2 -2
- package/dist/chunks/mcp-cli.mjs +18 -19
- package/dist/chunks/mcp.mjs +6 -7
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/platform.mjs +1 -1
- package/dist/chunks/quick-setup.mjs +2 -5
- package/dist/chunks/slash-commands.mjs +1 -1
- package/dist/chunks/status.mjs +63 -16
- package/dist/chunks/uninstall.mjs +1 -3
- package/dist/chunks/update.mjs +4 -5
- package/dist/cli.mjs +58 -17
- package/dist/i18n/locales/en/configuration.json +6 -2
- package/dist/i18n/locales/en/menu.json +7 -0
- package/dist/i18n/locales/zh-CN/configuration.json +6 -2
- package/dist/i18n/locales/zh-CN/menu.json +7 -0
- package/dist/index.d.mts +64 -17
- package/dist/index.d.ts +64 -17
- package/dist/index.mjs +12 -720
- package/dist/shared/{ccjk.DHaUdzX3.mjs → ccjk.B6VCKdyy.mjs} +2 -2
- package/dist/shared/ccjk.BO45TPXJ.mjs +807 -0
- package/dist/shared/{ccjk.B4aXNclK.mjs → ccjk.CVjfbEIj.mjs} +1 -1
- package/dist/shared/{ccjk.Dz0ssUQx.mjs → ccjk.Dh6Be-ef.mjs} +1 -1
- package/package.json +1 -1
- package/dist/chunks/claude-code-config-manager.mjs +0 -811
- package/dist/chunks/claude-config.mjs +0 -286
- package/dist/chunks/intent-engine.mjs +0 -142
- package/dist/chunks/smart-defaults.mjs +0 -425
- package/dist/shared/ccjk.DJuyfrlL.mjs +0 -348
- package/dist/shared/ccjk.yYQMbHH3.mjs +0 -115
package/dist/index.d.mts
CHANGED
|
@@ -2691,9 +2691,27 @@ declare class FallbackCloudClient {
|
|
|
2691
2691
|
*/
|
|
2692
2692
|
declare function createCompleteCloudClient(config?: Partial<CloudClientConfig>): FallbackCloudClient;
|
|
2693
2693
|
|
|
2694
|
+
declare const CODE_TOOL_TYPES: readonly ["claude-code", "myclaude", "codex", "aider", "continue", "cline", "cursor"];
|
|
2695
|
+
type CodeToolType = (typeof CODE_TOOL_TYPES)[number];
|
|
2696
|
+
declare const SUPPORTED_LANGS: readonly ["zh-CN", "en"];
|
|
2697
|
+
type SupportedLang = (typeof SUPPORTED_LANGS)[number];
|
|
2698
|
+
declare const AI_OUTPUT_LANGUAGES: {
|
|
2699
|
+
readonly 'zh-CN': {
|
|
2700
|
+
readonly directive: "Always respond in Chinese-simplified";
|
|
2701
|
+
};
|
|
2702
|
+
readonly en: {
|
|
2703
|
+
readonly directive: "Always respond in English";
|
|
2704
|
+
};
|
|
2705
|
+
readonly custom: {
|
|
2706
|
+
readonly directive: "";
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
type AiOutputLanguage = keyof typeof AI_OUTPUT_LANGUAGES;
|
|
2710
|
+
|
|
2694
2711
|
/**
|
|
2695
2712
|
* Core types for the code tool abstraction layer
|
|
2696
2713
|
*/
|
|
2714
|
+
|
|
2697
2715
|
/**
|
|
2698
2716
|
* Configuration for a code tool
|
|
2699
2717
|
*/
|
|
@@ -2758,6 +2776,42 @@ interface ToolCapabilities {
|
|
|
2758
2776
|
/** Custom capabilities */
|
|
2759
2777
|
custom?: Record<string, boolean>;
|
|
2760
2778
|
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Runtime-native capability set exposed by the host tool
|
|
2781
|
+
*/
|
|
2782
|
+
interface RuntimeNativeCapabilities {
|
|
2783
|
+
agentLoop: boolean;
|
|
2784
|
+
planTask: boolean;
|
|
2785
|
+
subagents: boolean;
|
|
2786
|
+
slashCommands: boolean;
|
|
2787
|
+
mcp: boolean;
|
|
2788
|
+
permissions: boolean;
|
|
2789
|
+
memory: boolean;
|
|
2790
|
+
ideIntegration: boolean;
|
|
2791
|
+
worktree: boolean;
|
|
2792
|
+
statusline: boolean;
|
|
2793
|
+
}
|
|
2794
|
+
/**
|
|
2795
|
+
* Capability set that CCJK should continue to manage for a runtime
|
|
2796
|
+
*/
|
|
2797
|
+
interface RuntimeManagedCapabilities {
|
|
2798
|
+
providerProfiles: boolean;
|
|
2799
|
+
modelRouting: boolean;
|
|
2800
|
+
configSync: boolean;
|
|
2801
|
+
permissionRepair: boolean;
|
|
2802
|
+
mcpBundles: boolean;
|
|
2803
|
+
doctor: boolean;
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Runtime capability descriptor used by status/menu/doctor surfaces
|
|
2807
|
+
*/
|
|
2808
|
+
interface RuntimeCapabilityDescriptor {
|
|
2809
|
+
runtime: CodeToolType;
|
|
2810
|
+
ownership: 'host-native' | 'hybrid' | 'ccjk-managed';
|
|
2811
|
+
configBackend: 'claude-family' | 'tool-specific';
|
|
2812
|
+
native: RuntimeNativeCapabilities;
|
|
2813
|
+
managedByCcjk: RuntimeManagedCapabilities;
|
|
2814
|
+
}
|
|
2761
2815
|
/**
|
|
2762
2816
|
* Tool metadata
|
|
2763
2817
|
*/
|
|
@@ -2776,6 +2830,8 @@ interface ToolMetadata {
|
|
|
2776
2830
|
documentation?: string;
|
|
2777
2831
|
/** Tool capabilities */
|
|
2778
2832
|
capabilities: ToolCapabilities;
|
|
2833
|
+
/** Runtime capability descriptor */
|
|
2834
|
+
runtime?: RuntimeCapabilityDescriptor;
|
|
2779
2835
|
}
|
|
2780
2836
|
|
|
2781
2837
|
/**
|
|
@@ -3276,6 +3332,12 @@ declare class ToolFactory {
|
|
|
3276
3332
|
*/
|
|
3277
3333
|
declare function createTool(name: string, config?: Partial<ToolConfig>): ICodeTool;
|
|
3278
3334
|
|
|
3335
|
+
/**
|
|
3336
|
+
* Main entry point for code-tools module
|
|
3337
|
+
*/
|
|
3338
|
+
|
|
3339
|
+
declare function getRuntimeCapabilityDescriptor(name: CodeToolType | string): RuntimeCapabilityDescriptor | undefined;
|
|
3340
|
+
|
|
3279
3341
|
/**
|
|
3280
3342
|
* Array Utilities
|
|
3281
3343
|
* Array manipulation and transformation functions
|
|
@@ -3810,21 +3872,6 @@ declare namespace index$4 {
|
|
|
3810
3872
|
export type { index$4_CommandOptions as CommandOptions, index$4_CommandResult as CommandResult };
|
|
3811
3873
|
}
|
|
3812
3874
|
|
|
3813
|
-
declare const SUPPORTED_LANGS: readonly ["zh-CN", "en"];
|
|
3814
|
-
type SupportedLang = (typeof SUPPORTED_LANGS)[number];
|
|
3815
|
-
declare const AI_OUTPUT_LANGUAGES: {
|
|
3816
|
-
readonly 'zh-CN': {
|
|
3817
|
-
readonly directive: "Always respond in Chinese-simplified";
|
|
3818
|
-
};
|
|
3819
|
-
readonly en: {
|
|
3820
|
-
readonly directive: "Always respond in English";
|
|
3821
|
-
};
|
|
3822
|
-
readonly custom: {
|
|
3823
|
-
readonly directive: "";
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
type AiOutputLanguage = keyof typeof AI_OUTPUT_LANGUAGES;
|
|
3827
|
-
|
|
3828
3875
|
/**
|
|
3829
3876
|
* Claude Code settings.json configuration types
|
|
3830
3877
|
* Supports Claude Code CLI 2.0-2.1 configuration schema
|
|
@@ -5578,5 +5625,5 @@ declare function assertDefined<T>(value: T | null | undefined, message?: string)
|
|
|
5578
5625
|
*/
|
|
5579
5626
|
declare function assert(condition: boolean, message?: string): asserts condition;
|
|
5580
5627
|
|
|
5581
|
-
export { AiderTool, BaseCodeTool, BaseError, CachedCloudClient, ClaudeCodeTool, ClineTool, CloudCache, CloudClient, CloudClientError, CloudError, CloudErrorCode, CloudErrorFactory, CodexTool, ConfigManager, ConfigValidator, ConfigurationError, ContinueTool, CursorTool, FallbackCloudClient, InternalError, Logger, Mutex, NotFoundError, ProjectAnalyzer, RatingsApiError, RatingsApiErrorCode, RetryableCloudClient, Semaphore, TelemetryReporter, TemplatesClient, TimeoutError, ToolFactory, ToolRegistry, UnauthorizedError, ValidationError, analyzeDependencies, analyzeProject, index$6 as array, assert, assertDefined, index$5 as async, batchAnalyze, batchProcessFiles, camelCase, canInstallMore, capitalize, chunk, index$4 as command, commandExists$1 as commandExists, config, convertBatchTemplateResponse, convertConfig, convertParameterDefault, convertProjectAnalysisResponse, convertRecommendation, convertTemplate, convertTemplateParameter, copyFile, countLines, createCloudClient, createCompleteCloudClient, createConfigManager, createLogger, createRating, createTemplatesClient, createTool, createValidator, debounce, deepClone, deepMerge, deleteDir, deleteFile, detectProject, detectProjectType, difference, ensureDir, index$3 as error, executeCommand, executeCommandStream, exists, extractDisplayName, extractString, flatten, flatten$1 as flattenArray, formatError, formatErrorForLogging, index$2 as fs, generateCompactWelcome, generateRecommendations, generateWelcome, get, getArchitecture, getCacheDir, getCapabilitiesByType, getCapability, getCloudMcpRecommendations, getCloudRecommendations, getCloudSkillRecommendations, getCommandPath, getCommandVersion, getConfigDir, getDataDir, getDisabledSkills, getEnabledSkills, getErrorMessage, getFileInfo, getFileSize, getHomeDir, getPlatform, getPlatformInfo, getQuotaUsagePercentage, getRecommendations, getRegistry, getRetryDelay, getSkillRatings, getTelemetry, getTempDir, getTemplatesClient, getUserQuota, getUserSkills, handleCloudError, has, i18nHelpers, initializeTelemetry, installSkill, intersection, isArray, isAuthError, isBoolean, isDefined, isDirectory, isDuplicateRatingError, isEmail, isFile, isLargeFile, isLinux, isMacOS, isNumber, isObject, isRateLimitError, isRecommendationConfig, isRetryableError, isRetryableErrorCode, isSkillInstalled, isSkillNotFoundError, isString, isTelemetryEventData, isTemplateParameterValue, isURL, isUnauthorizedError, isUnix, isWindows, kebabCase, listDirs, listFiles, logger, logger$2 as loggerUtils, moveFile, normalizeRecommendation, normalizeRecommendations, index$1 as object, omit, parallelLimit, partition, pascalCase, pick, platform, processLargeFile, processLineByLine, ratingsApi, readFile, readJSON, retry, retryUtils, scanCapabilities, sequence, set, shuffle, skillsMarketplaceApi, sleep, slugify, snakeCase, sortByLastUsed, sortByUsage, stopTelemetry, streamJSON, streamWriteJSON, index as string, telemetryUtils, template, throttle, timeout, trackEvent, truncate, tryCatch, tryCatchAsync, unflatten, uninstallSkill, union, unique, updateSkill, userSkillsApi, validateBatchTemplateRequest, validateProjectAnalysisRequest, validateUsageReport, validation, validators, waitFor, withRetry, wrapError, writeFile, writeJSON };
|
|
5582
|
-
export type { AgentConfig, AnalysisCompletedData, AnalysisMetadata, AuthRequestOptions, BatchTelemetryData, BatchTemplateRequest, BatchTemplateResponse$1 as BatchTemplateResponse, BuildSystem, CacheEntry, Capability, CapabilityScanResult, CapabilityStatus, CapabilityType, ChunkProcessorOptions, CloudErrorMetadata, CreateRatingData, CreateRatingResponse, DependencyAnalysis, DependencyConflict, DependencyNode, DependencyType, DetectorConfig, ErrorOccurredData, ExecutionResult, FileInfo, FrameworkDetectionResult, GetSkillRatingsParams, GetSkillRatingsResponse, HealthCheckResponse, HookConfig, IChatTool, ICodeGenTool, ICodeTool, IFileEditTool, InstallStatus, InstallationCommands, InstallationPlan, LanguageDetection, McpServerConfig$1 as McpServerConfig, MetricType, MultilingualString, PackageManager, ProjectAnalysis, ProjectAnalysisRequest, ProjectAnalysisResponse, RatingSortOption, RawBatchTemplateResponse, RawProjectAnalysisResponse, RawRecommendation, RawTemplate, Recommendation, RecommendationAcceptedData, RecommendationConfig, RecommendationShownData, SkillConfig, StreamProcessorOptions, TelemetryEventData, TemplateDownloadData, TemplateParameter, TemplateParameterValue, TemplateResponse, TemplateType$1 as TemplateType, ToolCapabilities, ToolConfig, ToolMetadata, UsageReport, UsageReportResponse, WelcomeOptions, WorkflowConfig };
|
|
5628
|
+
export { AiderTool, BaseCodeTool, BaseError, CachedCloudClient, ClaudeCodeTool, ClineTool, CloudCache, CloudClient, CloudClientError, CloudError, CloudErrorCode, CloudErrorFactory, CodexTool, ConfigManager, ConfigValidator, ConfigurationError, ContinueTool, CursorTool, FallbackCloudClient, InternalError, Logger, Mutex, NotFoundError, ProjectAnalyzer, RatingsApiError, RatingsApiErrorCode, RetryableCloudClient, Semaphore, TelemetryReporter, TemplatesClient, TimeoutError, ToolFactory, ToolRegistry, UnauthorizedError, ValidationError, analyzeDependencies, analyzeProject, index$6 as array, assert, assertDefined, index$5 as async, batchAnalyze, batchProcessFiles, camelCase, canInstallMore, capitalize, chunk, index$4 as command, commandExists$1 as commandExists, config, convertBatchTemplateResponse, convertConfig, convertParameterDefault, convertProjectAnalysisResponse, convertRecommendation, convertTemplate, convertTemplateParameter, copyFile, countLines, createCloudClient, createCompleteCloudClient, createConfigManager, createLogger, createRating, createTemplatesClient, createTool, createValidator, debounce, deepClone, deepMerge, deleteDir, deleteFile, detectProject, detectProjectType, difference, ensureDir, index$3 as error, executeCommand, executeCommandStream, exists, extractDisplayName, extractString, flatten, flatten$1 as flattenArray, formatError, formatErrorForLogging, index$2 as fs, generateCompactWelcome, generateRecommendations, generateWelcome, get, getArchitecture, getCacheDir, getCapabilitiesByType, getCapability, getCloudMcpRecommendations, getCloudRecommendations, getCloudSkillRecommendations, getCommandPath, getCommandVersion, getConfigDir, getDataDir, getDisabledSkills, getEnabledSkills, getErrorMessage, getFileInfo, getFileSize, getHomeDir, getPlatform, getPlatformInfo, getQuotaUsagePercentage, getRecommendations, getRegistry, getRetryDelay, getRuntimeCapabilityDescriptor, getSkillRatings, getTelemetry, getTempDir, getTemplatesClient, getUserQuota, getUserSkills, handleCloudError, has, i18nHelpers, initializeTelemetry, installSkill, intersection, isArray, isAuthError, isBoolean, isDefined, isDirectory, isDuplicateRatingError, isEmail, isFile, isLargeFile, isLinux, isMacOS, isNumber, isObject, isRateLimitError, isRecommendationConfig, isRetryableError, isRetryableErrorCode, isSkillInstalled, isSkillNotFoundError, isString, isTelemetryEventData, isTemplateParameterValue, isURL, isUnauthorizedError, isUnix, isWindows, kebabCase, listDirs, listFiles, logger, logger$2 as loggerUtils, moveFile, normalizeRecommendation, normalizeRecommendations, index$1 as object, omit, parallelLimit, partition, pascalCase, pick, platform, processLargeFile, processLineByLine, ratingsApi, readFile, readJSON, retry, retryUtils, scanCapabilities, sequence, set, shuffle, skillsMarketplaceApi, sleep, slugify, snakeCase, sortByLastUsed, sortByUsage, stopTelemetry, streamJSON, streamWriteJSON, index as string, telemetryUtils, template, throttle, timeout, trackEvent, truncate, tryCatch, tryCatchAsync, unflatten, uninstallSkill, union, unique, updateSkill, userSkillsApi, validateBatchTemplateRequest, validateProjectAnalysisRequest, validateUsageReport, validation, validators, waitFor, withRetry, wrapError, writeFile, writeJSON };
|
|
5629
|
+
export type { AgentConfig, AnalysisCompletedData, AnalysisMetadata, AuthRequestOptions, BatchTelemetryData, BatchTemplateRequest, BatchTemplateResponse$1 as BatchTemplateResponse, BuildSystem, CacheEntry, Capability, CapabilityScanResult, CapabilityStatus, CapabilityType, ChunkProcessorOptions, CloudErrorMetadata, CreateRatingData, CreateRatingResponse, DependencyAnalysis, DependencyConflict, DependencyNode, DependencyType, DetectorConfig, ErrorOccurredData, ExecutionResult, FileInfo, FrameworkDetectionResult, GetSkillRatingsParams, GetSkillRatingsResponse, HealthCheckResponse, HookConfig, IChatTool, ICodeGenTool, ICodeTool, IFileEditTool, InstallStatus, InstallationCommands, InstallationPlan, LanguageDetection, McpServerConfig$1 as McpServerConfig, MetricType, MultilingualString, PackageManager, ProjectAnalysis, ProjectAnalysisRequest, ProjectAnalysisResponse, RatingSortOption, RawBatchTemplateResponse, RawProjectAnalysisResponse, RawRecommendation, RawTemplate, Recommendation, RecommendationAcceptedData, RecommendationConfig, RecommendationShownData, RuntimeCapabilityDescriptor, RuntimeManagedCapabilities, RuntimeNativeCapabilities, SkillConfig, StreamProcessorOptions, TelemetryEventData, TemplateDownloadData, TemplateParameter, TemplateParameterValue, TemplateResponse, TemplateType$1 as TemplateType, ToolCapabilities, ToolConfig, ToolMetadata, UsageReport, UsageReportResponse, WelcomeOptions, WorkflowConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -2691,9 +2691,27 @@ declare class FallbackCloudClient {
|
|
|
2691
2691
|
*/
|
|
2692
2692
|
declare function createCompleteCloudClient(config?: Partial<CloudClientConfig>): FallbackCloudClient;
|
|
2693
2693
|
|
|
2694
|
+
declare const CODE_TOOL_TYPES: readonly ["claude-code", "myclaude", "codex", "aider", "continue", "cline", "cursor"];
|
|
2695
|
+
type CodeToolType = (typeof CODE_TOOL_TYPES)[number];
|
|
2696
|
+
declare const SUPPORTED_LANGS: readonly ["zh-CN", "en"];
|
|
2697
|
+
type SupportedLang = (typeof SUPPORTED_LANGS)[number];
|
|
2698
|
+
declare const AI_OUTPUT_LANGUAGES: {
|
|
2699
|
+
readonly 'zh-CN': {
|
|
2700
|
+
readonly directive: "Always respond in Chinese-simplified";
|
|
2701
|
+
};
|
|
2702
|
+
readonly en: {
|
|
2703
|
+
readonly directive: "Always respond in English";
|
|
2704
|
+
};
|
|
2705
|
+
readonly custom: {
|
|
2706
|
+
readonly directive: "";
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
type AiOutputLanguage = keyof typeof AI_OUTPUT_LANGUAGES;
|
|
2710
|
+
|
|
2694
2711
|
/**
|
|
2695
2712
|
* Core types for the code tool abstraction layer
|
|
2696
2713
|
*/
|
|
2714
|
+
|
|
2697
2715
|
/**
|
|
2698
2716
|
* Configuration for a code tool
|
|
2699
2717
|
*/
|
|
@@ -2758,6 +2776,42 @@ interface ToolCapabilities {
|
|
|
2758
2776
|
/** Custom capabilities */
|
|
2759
2777
|
custom?: Record<string, boolean>;
|
|
2760
2778
|
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Runtime-native capability set exposed by the host tool
|
|
2781
|
+
*/
|
|
2782
|
+
interface RuntimeNativeCapabilities {
|
|
2783
|
+
agentLoop: boolean;
|
|
2784
|
+
planTask: boolean;
|
|
2785
|
+
subagents: boolean;
|
|
2786
|
+
slashCommands: boolean;
|
|
2787
|
+
mcp: boolean;
|
|
2788
|
+
permissions: boolean;
|
|
2789
|
+
memory: boolean;
|
|
2790
|
+
ideIntegration: boolean;
|
|
2791
|
+
worktree: boolean;
|
|
2792
|
+
statusline: boolean;
|
|
2793
|
+
}
|
|
2794
|
+
/**
|
|
2795
|
+
* Capability set that CCJK should continue to manage for a runtime
|
|
2796
|
+
*/
|
|
2797
|
+
interface RuntimeManagedCapabilities {
|
|
2798
|
+
providerProfiles: boolean;
|
|
2799
|
+
modelRouting: boolean;
|
|
2800
|
+
configSync: boolean;
|
|
2801
|
+
permissionRepair: boolean;
|
|
2802
|
+
mcpBundles: boolean;
|
|
2803
|
+
doctor: boolean;
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Runtime capability descriptor used by status/menu/doctor surfaces
|
|
2807
|
+
*/
|
|
2808
|
+
interface RuntimeCapabilityDescriptor {
|
|
2809
|
+
runtime: CodeToolType;
|
|
2810
|
+
ownership: 'host-native' | 'hybrid' | 'ccjk-managed';
|
|
2811
|
+
configBackend: 'claude-family' | 'tool-specific';
|
|
2812
|
+
native: RuntimeNativeCapabilities;
|
|
2813
|
+
managedByCcjk: RuntimeManagedCapabilities;
|
|
2814
|
+
}
|
|
2761
2815
|
/**
|
|
2762
2816
|
* Tool metadata
|
|
2763
2817
|
*/
|
|
@@ -2776,6 +2830,8 @@ interface ToolMetadata {
|
|
|
2776
2830
|
documentation?: string;
|
|
2777
2831
|
/** Tool capabilities */
|
|
2778
2832
|
capabilities: ToolCapabilities;
|
|
2833
|
+
/** Runtime capability descriptor */
|
|
2834
|
+
runtime?: RuntimeCapabilityDescriptor;
|
|
2779
2835
|
}
|
|
2780
2836
|
|
|
2781
2837
|
/**
|
|
@@ -3276,6 +3332,12 @@ declare class ToolFactory {
|
|
|
3276
3332
|
*/
|
|
3277
3333
|
declare function createTool(name: string, config?: Partial<ToolConfig>): ICodeTool;
|
|
3278
3334
|
|
|
3335
|
+
/**
|
|
3336
|
+
* Main entry point for code-tools module
|
|
3337
|
+
*/
|
|
3338
|
+
|
|
3339
|
+
declare function getRuntimeCapabilityDescriptor(name: CodeToolType | string): RuntimeCapabilityDescriptor | undefined;
|
|
3340
|
+
|
|
3279
3341
|
/**
|
|
3280
3342
|
* Array Utilities
|
|
3281
3343
|
* Array manipulation and transformation functions
|
|
@@ -3810,21 +3872,6 @@ declare namespace index$4 {
|
|
|
3810
3872
|
export type { index$4_CommandOptions as CommandOptions, index$4_CommandResult as CommandResult };
|
|
3811
3873
|
}
|
|
3812
3874
|
|
|
3813
|
-
declare const SUPPORTED_LANGS: readonly ["zh-CN", "en"];
|
|
3814
|
-
type SupportedLang = (typeof SUPPORTED_LANGS)[number];
|
|
3815
|
-
declare const AI_OUTPUT_LANGUAGES: {
|
|
3816
|
-
readonly 'zh-CN': {
|
|
3817
|
-
readonly directive: "Always respond in Chinese-simplified";
|
|
3818
|
-
};
|
|
3819
|
-
readonly en: {
|
|
3820
|
-
readonly directive: "Always respond in English";
|
|
3821
|
-
};
|
|
3822
|
-
readonly custom: {
|
|
3823
|
-
readonly directive: "";
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
type AiOutputLanguage = keyof typeof AI_OUTPUT_LANGUAGES;
|
|
3827
|
-
|
|
3828
3875
|
/**
|
|
3829
3876
|
* Claude Code settings.json configuration types
|
|
3830
3877
|
* Supports Claude Code CLI 2.0-2.1 configuration schema
|
|
@@ -5578,5 +5625,5 @@ declare function assertDefined<T>(value: T | null | undefined, message?: string)
|
|
|
5578
5625
|
*/
|
|
5579
5626
|
declare function assert(condition: boolean, message?: string): asserts condition;
|
|
5580
5627
|
|
|
5581
|
-
export { AiderTool, BaseCodeTool, BaseError, CachedCloudClient, ClaudeCodeTool, ClineTool, CloudCache, CloudClient, CloudClientError, CloudError, CloudErrorCode, CloudErrorFactory, CodexTool, ConfigManager, ConfigValidator, ConfigurationError, ContinueTool, CursorTool, FallbackCloudClient, InternalError, Logger, Mutex, NotFoundError, ProjectAnalyzer, RatingsApiError, RatingsApiErrorCode, RetryableCloudClient, Semaphore, TelemetryReporter, TemplatesClient, TimeoutError, ToolFactory, ToolRegistry, UnauthorizedError, ValidationError, analyzeDependencies, analyzeProject, index$6 as array, assert, assertDefined, index$5 as async, batchAnalyze, batchProcessFiles, camelCase, canInstallMore, capitalize, chunk, index$4 as command, commandExists$1 as commandExists, config, convertBatchTemplateResponse, convertConfig, convertParameterDefault, convertProjectAnalysisResponse, convertRecommendation, convertTemplate, convertTemplateParameter, copyFile, countLines, createCloudClient, createCompleteCloudClient, createConfigManager, createLogger, createRating, createTemplatesClient, createTool, createValidator, debounce, deepClone, deepMerge, deleteDir, deleteFile, detectProject, detectProjectType, difference, ensureDir, index$3 as error, executeCommand, executeCommandStream, exists, extractDisplayName, extractString, flatten, flatten$1 as flattenArray, formatError, formatErrorForLogging, index$2 as fs, generateCompactWelcome, generateRecommendations, generateWelcome, get, getArchitecture, getCacheDir, getCapabilitiesByType, getCapability, getCloudMcpRecommendations, getCloudRecommendations, getCloudSkillRecommendations, getCommandPath, getCommandVersion, getConfigDir, getDataDir, getDisabledSkills, getEnabledSkills, getErrorMessage, getFileInfo, getFileSize, getHomeDir, getPlatform, getPlatformInfo, getQuotaUsagePercentage, getRecommendations, getRegistry, getRetryDelay, getSkillRatings, getTelemetry, getTempDir, getTemplatesClient, getUserQuota, getUserSkills, handleCloudError, has, i18nHelpers, initializeTelemetry, installSkill, intersection, isArray, isAuthError, isBoolean, isDefined, isDirectory, isDuplicateRatingError, isEmail, isFile, isLargeFile, isLinux, isMacOS, isNumber, isObject, isRateLimitError, isRecommendationConfig, isRetryableError, isRetryableErrorCode, isSkillInstalled, isSkillNotFoundError, isString, isTelemetryEventData, isTemplateParameterValue, isURL, isUnauthorizedError, isUnix, isWindows, kebabCase, listDirs, listFiles, logger, logger$2 as loggerUtils, moveFile, normalizeRecommendation, normalizeRecommendations, index$1 as object, omit, parallelLimit, partition, pascalCase, pick, platform, processLargeFile, processLineByLine, ratingsApi, readFile, readJSON, retry, retryUtils, scanCapabilities, sequence, set, shuffle, skillsMarketplaceApi, sleep, slugify, snakeCase, sortByLastUsed, sortByUsage, stopTelemetry, streamJSON, streamWriteJSON, index as string, telemetryUtils, template, throttle, timeout, trackEvent, truncate, tryCatch, tryCatchAsync, unflatten, uninstallSkill, union, unique, updateSkill, userSkillsApi, validateBatchTemplateRequest, validateProjectAnalysisRequest, validateUsageReport, validation, validators, waitFor, withRetry, wrapError, writeFile, writeJSON };
|
|
5582
|
-
export type { AgentConfig, AnalysisCompletedData, AnalysisMetadata, AuthRequestOptions, BatchTelemetryData, BatchTemplateRequest, BatchTemplateResponse$1 as BatchTemplateResponse, BuildSystem, CacheEntry, Capability, CapabilityScanResult, CapabilityStatus, CapabilityType, ChunkProcessorOptions, CloudErrorMetadata, CreateRatingData, CreateRatingResponse, DependencyAnalysis, DependencyConflict, DependencyNode, DependencyType, DetectorConfig, ErrorOccurredData, ExecutionResult, FileInfo, FrameworkDetectionResult, GetSkillRatingsParams, GetSkillRatingsResponse, HealthCheckResponse, HookConfig, IChatTool, ICodeGenTool, ICodeTool, IFileEditTool, InstallStatus, InstallationCommands, InstallationPlan, LanguageDetection, McpServerConfig$1 as McpServerConfig, MetricType, MultilingualString, PackageManager, ProjectAnalysis, ProjectAnalysisRequest, ProjectAnalysisResponse, RatingSortOption, RawBatchTemplateResponse, RawProjectAnalysisResponse, RawRecommendation, RawTemplate, Recommendation, RecommendationAcceptedData, RecommendationConfig, RecommendationShownData, SkillConfig, StreamProcessorOptions, TelemetryEventData, TemplateDownloadData, TemplateParameter, TemplateParameterValue, TemplateResponse, TemplateType$1 as TemplateType, ToolCapabilities, ToolConfig, ToolMetadata, UsageReport, UsageReportResponse, WelcomeOptions, WorkflowConfig };
|
|
5628
|
+
export { AiderTool, BaseCodeTool, BaseError, CachedCloudClient, ClaudeCodeTool, ClineTool, CloudCache, CloudClient, CloudClientError, CloudError, CloudErrorCode, CloudErrorFactory, CodexTool, ConfigManager, ConfigValidator, ConfigurationError, ContinueTool, CursorTool, FallbackCloudClient, InternalError, Logger, Mutex, NotFoundError, ProjectAnalyzer, RatingsApiError, RatingsApiErrorCode, RetryableCloudClient, Semaphore, TelemetryReporter, TemplatesClient, TimeoutError, ToolFactory, ToolRegistry, UnauthorizedError, ValidationError, analyzeDependencies, analyzeProject, index$6 as array, assert, assertDefined, index$5 as async, batchAnalyze, batchProcessFiles, camelCase, canInstallMore, capitalize, chunk, index$4 as command, commandExists$1 as commandExists, config, convertBatchTemplateResponse, convertConfig, convertParameterDefault, convertProjectAnalysisResponse, convertRecommendation, convertTemplate, convertTemplateParameter, copyFile, countLines, createCloudClient, createCompleteCloudClient, createConfigManager, createLogger, createRating, createTemplatesClient, createTool, createValidator, debounce, deepClone, deepMerge, deleteDir, deleteFile, detectProject, detectProjectType, difference, ensureDir, index$3 as error, executeCommand, executeCommandStream, exists, extractDisplayName, extractString, flatten, flatten$1 as flattenArray, formatError, formatErrorForLogging, index$2 as fs, generateCompactWelcome, generateRecommendations, generateWelcome, get, getArchitecture, getCacheDir, getCapabilitiesByType, getCapability, getCloudMcpRecommendations, getCloudRecommendations, getCloudSkillRecommendations, getCommandPath, getCommandVersion, getConfigDir, getDataDir, getDisabledSkills, getEnabledSkills, getErrorMessage, getFileInfo, getFileSize, getHomeDir, getPlatform, getPlatformInfo, getQuotaUsagePercentage, getRecommendations, getRegistry, getRetryDelay, getRuntimeCapabilityDescriptor, getSkillRatings, getTelemetry, getTempDir, getTemplatesClient, getUserQuota, getUserSkills, handleCloudError, has, i18nHelpers, initializeTelemetry, installSkill, intersection, isArray, isAuthError, isBoolean, isDefined, isDirectory, isDuplicateRatingError, isEmail, isFile, isLargeFile, isLinux, isMacOS, isNumber, isObject, isRateLimitError, isRecommendationConfig, isRetryableError, isRetryableErrorCode, isSkillInstalled, isSkillNotFoundError, isString, isTelemetryEventData, isTemplateParameterValue, isURL, isUnauthorizedError, isUnix, isWindows, kebabCase, listDirs, listFiles, logger, logger$2 as loggerUtils, moveFile, normalizeRecommendation, normalizeRecommendations, index$1 as object, omit, parallelLimit, partition, pascalCase, pick, platform, processLargeFile, processLineByLine, ratingsApi, readFile, readJSON, retry, retryUtils, scanCapabilities, sequence, set, shuffle, skillsMarketplaceApi, sleep, slugify, snakeCase, sortByLastUsed, sortByUsage, stopTelemetry, streamJSON, streamWriteJSON, index as string, telemetryUtils, template, throttle, timeout, trackEvent, truncate, tryCatch, tryCatchAsync, unflatten, uninstallSkill, union, unique, updateSkill, userSkillsApi, validateBatchTemplateRequest, validateProjectAnalysisRequest, validateUsageReport, validation, validators, waitFor, withRetry, wrapError, writeFile, writeJSON };
|
|
5629
|
+
export type { AgentConfig, AnalysisCompletedData, AnalysisMetadata, AuthRequestOptions, BatchTelemetryData, BatchTemplateRequest, BatchTemplateResponse$1 as BatchTemplateResponse, BuildSystem, CacheEntry, Capability, CapabilityScanResult, CapabilityStatus, CapabilityType, ChunkProcessorOptions, CloudErrorMetadata, CreateRatingData, CreateRatingResponse, DependencyAnalysis, DependencyConflict, DependencyNode, DependencyType, DetectorConfig, ErrorOccurredData, ExecutionResult, FileInfo, FrameworkDetectionResult, GetSkillRatingsParams, GetSkillRatingsResponse, HealthCheckResponse, HookConfig, IChatTool, ICodeGenTool, ICodeTool, IFileEditTool, InstallStatus, InstallationCommands, InstallationPlan, LanguageDetection, McpServerConfig$1 as McpServerConfig, MetricType, MultilingualString, PackageManager, ProjectAnalysis, ProjectAnalysisRequest, ProjectAnalysisResponse, RatingSortOption, RawBatchTemplateResponse, RawProjectAnalysisResponse, RawRecommendation, RawTemplate, Recommendation, RecommendationAcceptedData, RecommendationConfig, RecommendationShownData, RuntimeCapabilityDescriptor, RuntimeManagedCapabilities, RuntimeNativeCapabilities, SkillConfig, StreamProcessorOptions, TelemetryEventData, TemplateDownloadData, TemplateParameter, TemplateParameterValue, TemplateResponse, TemplateType$1 as TemplateType, ToolCapabilities, ToolConfig, ToolMetadata, UsageReport, UsageReportResponse, WelcomeOptions, WorkflowConfig };
|