@cline/core 0.0.76 → 0.0.77
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/extensions/tools/index.d.ts +1 -1
- package/dist/extensions/tools/runtime.d.ts +5 -0
- package/dist/hub/daemon/entry.js +185 -185
- package/dist/hub/index.js +178 -178
- package/dist/hub/server/handlers/session-handlers.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +177 -177
- package/dist/types.d.ts +1 -1
- package/package.json +4 -4
|
@@ -11,7 +11,7 @@ export { type ApplyPatchExecutorOptions, CommandExitError, computePatchChanges,
|
|
|
11
11
|
export { MAX_COMMAND_OUTPUT_CHARS, truncateCommandOutput, } from "./executors/output-limits";
|
|
12
12
|
export { DEFAULT_MODEL_TOOL_ROUTING_RULES, resolveToolRoutingConfig, type ToolRoutingRule, } from "./model-tool-routing";
|
|
13
13
|
export { createDefaultToolsWithPreset, createToolPoliciesWithPreset, resolveToolPresetName, type ToolPolicyPresetName, type ToolPresetName, ToolPresets, } from "./presets";
|
|
14
|
-
export { type BuiltinToolAvailabilityContext, getCoreAcpToolNames, getCoreBuiltinToolCatalog, getCoreDefaultEnabledToolIds, getCoreHeadlessToolNames, isSkillsToolAvailable, resolveCoreSelectedToolIds, type ToolCatalogEntry, } from "./runtime";
|
|
14
|
+
export { type BuiltinToolAvailabilityContext, getCoreAcpToolNames, getCoreBuiltinToolCatalog, getCoreDefaultEnabledToolIds, getCoreHeadlessToolNames, isCoreBuiltinToolAvailable, isSkillsToolAvailable, resolveCoreSelectedToolIds, resolveToolClientType, type ToolCatalogEntry, type ToolClientType, } from "./runtime";
|
|
15
15
|
export { type ApplyPatchInput, ApplyPatchInputSchema, type AskQuestionInput, AskQuestionInputSchema, type EditFileInput, EditFileInputSchema, type FetchWebContentInput, FetchWebContentInputSchema, type ReadFileRequest, ReadFileRequestSchema, type ReadFilesInput, ReadFilesInputSchema, type RunCommandsInput, RunCommandsInputSchema, type SearchCodebaseInput, SearchCodebaseInputSchema, type SkillsInput, SkillsInputSchema, type StructuredCommandInput, StructuredCommandInputSchema, type SubmitInput, SubmitInputSchema, type WebFetchRequest, WebFetchRequestSchema, } from "./schemas";
|
|
16
16
|
export { TEAM_TOOL_NAMES } from "./team/team-tools";
|
|
17
17
|
export type { ApplyPatchExecutor, AskQuestionExecutor, CreateDefaultToolsOptions, DefaultToolName, DefaultToolsConfig, EditorExecutor, FileReadExecutor, SearchExecutor, ShellExecutor, SkillsExecutor, SkillsExecutorSkillMetadata, SkillsExecutorWithMetadata, ToolExecutors, ToolOperationResult, VerifySubmitExecutor, WebFetchExecutor, } from "./types";
|
|
@@ -4,9 +4,13 @@ export interface ToolCatalogEntry {
|
|
|
4
4
|
description: string;
|
|
5
5
|
defaultEnabled: boolean;
|
|
6
6
|
headlessToolNames: string[];
|
|
7
|
+
unavailableClientTypes?: readonly ToolClientType[];
|
|
7
8
|
}
|
|
9
|
+
export type ToolClientType = "cli" | "vscode";
|
|
10
|
+
export declare function resolveToolClientType(source?: string): ToolClientType | undefined;
|
|
8
11
|
export interface BuiltinToolAvailabilityContext {
|
|
9
12
|
mode?: CoreAgentMode;
|
|
13
|
+
clientType?: ToolClientType;
|
|
10
14
|
providerId?: string;
|
|
11
15
|
modelId?: string;
|
|
12
16
|
enableSpawnAgent?: boolean;
|
|
@@ -14,6 +18,7 @@ export interface BuiltinToolAvailabilityContext {
|
|
|
14
18
|
disabledToolIds?: ReadonlySet<string>;
|
|
15
19
|
enabledModelToolIds?: ReadonlySet<string>;
|
|
16
20
|
}
|
|
21
|
+
export declare function isCoreBuiltinToolAvailable(toolName: string, clientType?: ToolClientType): boolean;
|
|
17
22
|
export declare function getCoreBuiltinToolCatalog(context?: BuiltinToolAvailabilityContext): ToolCatalogEntry[];
|
|
18
23
|
/**
|
|
19
24
|
* Whether the `skills` tool is part of a session's default toolset for this
|