@cline/core 0.0.86 → 0.0.87

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.
Files changed (36) hide show
  1. package/dist/cloud/api.d.ts +32 -5
  2. package/dist/cloud/controller.d.ts +32 -4
  3. package/dist/cloud/index.d.ts +3 -1
  4. package/dist/cloud/index.js +21 -11
  5. package/dist/cloud/models.d.ts +9 -0
  6. package/dist/cloud/types.d.ts +11 -1
  7. package/dist/extensions/plugin-sandbox-bootstrap.js +1 -1
  8. package/dist/extensions/tools/executors/bash.d.ts +26 -0
  9. package/dist/extensions/tools/executors/index.d.ts +1 -1
  10. package/dist/extensions/tools/index.d.ts +1 -1
  11. package/dist/hub/daemon/bind-diagnostics.d.ts +16 -0
  12. package/dist/hub/daemon/entry.js +304 -304
  13. package/dist/hub/daemon/index.d.ts +8 -0
  14. package/dist/hub/discovery/index.d.ts +1 -0
  15. package/dist/hub/index.js +293 -294
  16. package/dist/index.d.ts +5 -3
  17. package/dist/index.js +339 -334
  18. package/dist/remote/remote-helper-entry.js +4 -4
  19. package/dist/remote/remote-helper.js +4 -4
  20. package/dist/runtime/host/local-runtime-host.d.ts +2 -0
  21. package/dist/runtime/host/runtime-host.d.ts +5 -0
  22. package/dist/services/agent-events.d.ts +1 -0
  23. package/dist/services/cloud-handoff/git-preflight.d.ts +24 -0
  24. package/dist/services/cloud-handoff/index.d.ts +4 -0
  25. package/dist/services/cloud-handoff/metadata.d.ts +7 -0
  26. package/dist/services/cloud-handoff/transcript.d.ts +5 -0
  27. package/dist/services/cloud-handoff/types.d.ts +35 -0
  28. package/dist/services/feature-flags/posthog.js +1 -1
  29. package/dist/services/telemetry/core-events.d.ts +3 -0
  30. package/dist/services/telemetry/index.js +1 -1
  31. package/dist/services/workspace/workspace-manifest.d.ts +34 -0
  32. package/dist/session/fork-metadata.d.ts +7 -0
  33. package/dist/session/services/persistence-service.d.ts +1 -0
  34. package/dist/types/chat-schema.d.ts +2 -2
  35. package/dist/types/provider-settings.d.ts +11 -0
  36. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -51,6 +51,7 @@ export { getProcessStartToken, getProcessStartTokenAsync, type ProcessStartToken
51
51
  export { formatRulesForSystemPrompt, isRuleEnabled, mergeRulesForSystemPrompt, } from "./runtime/safety/rules";
52
52
  export { type SandboxCallOptions, SubprocessSandbox, type SubprocessSandboxOptions, } from "./runtime/tools/subprocess-sandbox";
53
53
  export { type DesktopToolApprovalOptions, requestDesktopToolApproval, } from "./runtime/tools/tool-approval";
54
+ export * from "./services/cloud-handoff";
54
55
  export { listActiveConnectors } from "./services/connectors/active-connectors";
55
56
  export { disableConnectorAutostart, getPersistedConnectorConnection, persistConnectorConnection, type ReconnectAttempt, type ReconnectPersistedConnectorsOptions, type ReconnectTarget, reconnectPersistedConnectors, removePersistedConnectorConnection, } from "./services/connectors/connector-autostart";
56
57
  export { buildConnectorChildEnv } from "./services/connectors/connector-child-env";
@@ -63,12 +64,12 @@ export type { MarketplaceActionResult, MarketplaceEntryInput, MarketplacePrimiti
63
64
  export { findInstalledGlobalMarketplaceSkillName, getGlobalMarketplaceSkillPaths, getMarketplaceSkillCandidates, isMarketplaceSkillInstalled, marketplaceEntryKey, resolveMarketplaceMcpServerName, uninstallMarketplaceEntry, uninstallMarketplaceMcpServerFromSettings, uninstallMarketplacePlugin, uninstallMarketplaceSkill, } from "./services/marketplace";
64
65
  export type { McpInstallOptions, McpInstallResult, McpUninstallOptions, McpUninstallResult, } from "./services/mcp-install";
65
66
  export { buildMcpInstallTransport, installMcpServer, parseMcpInstallArgs, uninstallMcpServer, } from "./services/mcp-install";
67
+ export type { PluginCommandResult, PluginCommandService, PluginSlashCommand, } from "./services/plugin-commands";
68
+ export { createPluginCommandService, normalizePluginCommandName, } from "./services/plugin-commands";
66
69
  export type { ParsedPluginSource, PluginInstallOptions, PluginInstallResult, PluginInstallSourceType, PluginMcpOAuthCandidate, } from "./services/plugin-install";
67
70
  export { collectPluginMcpOAuthCandidates, installPlugin, isOfficialPluginSlug, parsePluginSource, } from "./services/plugin-install";
68
71
  export type { PluginMcpSettingsMutation, PluginMcpSettingsSyncResult, RemovePluginMcpServersFromSettingsOptions, SyncPluginMcpServersToSettingsOptions, } from "./services/plugin-mcp-settings";
69
72
  export { disablePluginMcpServersInSettings, removePluginMcpServersFromSettings, syncPluginMcpServersToSettings, } from "./services/plugin-mcp-settings";
70
- export type { PluginCommandResult, PluginCommandService, PluginSlashCommand, } from "./services/plugin-commands";
71
- export { createPluginCommandService, normalizePluginCommandName, } from "./services/plugin-commands";
72
73
  export type { ListPluginToolsResult, PluginContributionSummary, PluginToolSummary, } from "./services/plugin-tools";
73
74
  export { listPluginTools, listPluginToolsWithDiagnostics, } from "./services/plugin-tools";
74
75
  export type { PluginUninstallOptions, PluginUninstallResult, } from "./services/plugin-uninstall";
@@ -98,6 +99,7 @@ export { buildWorkspaceMetadata, generateWorkspaceInfo, generateWorkspaceInfoWit
98
99
  export { buildCheckpointWorkspaceDiff, type CheckpointComparePlan, type CheckpointContentDiff, type CheckpointWorkspaceCompareResult, compareCheckpointToWorkspace, createCheckpointComparePlan, } from "./session/checkpoint-diff";
99
100
  export { createRestoredCheckpointMetadata, findCheckpointForRun, readSessionCheckpointHistory, trimMessagesBeforeUserRun, } from "./session/checkpoint-restore";
100
101
  export { projectSessionMessagesForDisplay, type SessionDisplayMessage, } from "./session/display-messages";
102
+ export { createForkSessionMetadata } from "./session/fork-metadata";
101
103
  export { deriveSubsessionStatus, makeSubSessionId, makeTeamTaskSubSessionId, sanitizeSessionToken, } from "./session/models/session-graph";
102
104
  export type { SessionManifest } from "./session/models/session-manifest";
103
105
  export type { SessionRow } from "./session/models/session-row";
@@ -121,7 +123,7 @@ export declare function loadOpenTelemetryAdapter(): Promise<typeof import("./ser
121
123
  export { Agent, createAgentRuntime } from "@cline/agents";
122
124
  export { resolveComposioToolsStatePath } from "./extensions/composio/composio-tools-extension";
123
125
  export { createCompactionStateAwarePrepareTurn, createContextCompactionPrepareTurn, } from "./extensions/context/compaction";
124
- export { ALL_DEFAULT_TOOL_NAMES, type ApplyPatchExecutor, type ApplyPatchInput, type AskQuestionExecutor, type BuiltinToolAvailabilityContext, CommandExitError, type CreateBuiltinToolsOptions, type CreateDefaultToolsOptions, computePatchChanges, createApplyPatchExecutor, createBuiltinTools, createDefaultExecutors, createDefaultShellExecutor, createDefaultTools, createDefaultToolsWithPreset, createEditorExecutor, createShellExecutor, createShellTool, createToolPoliciesWithPreset, type DefaultExecutorsOptions, type DefaultToolName, DefaultToolNames, type DefaultToolsConfig, type EditFileInput, type EditorExecutor, type EditorExecutorOptions, getCoreAcpToolNames, getCoreBuiltinToolCatalog, getCoreDefaultEnabledToolIds, getCoreHeadlessToolNames, isCoreBuiltinToolAvailable, isSkillsToolAvailable, MAX_COMMAND_OUTPUT_CHARS, PATCH_MARKERS, PatchActionType, type PatchFileChange, resolveCoreSelectedToolIds, resolveToolClientType, type ShellExecutor, type ShellExecutorOptions, type StructuredCommandInput, StructuredCommandInputSchema, TEAM_TOOL_NAMES, type ToolCatalogEntry, type ToolClientType, type ToolExecutors, type ToolPolicyPresetName, type ToolPresetName, ToolPresets, truncateCommandOutput, } from "./extensions/tools";
126
+ export { ALL_DEFAULT_TOOL_NAMES, type ApplyPatchExecutor, type ApplyPatchInput, type AskQuestionExecutor, type BuiltinToolAvailabilityContext, CommandExitError, CommandSpawnError, CommandTerminationError, type CreateBuiltinToolsOptions, type CreateDefaultToolsOptions, computePatchChanges, createApplyPatchExecutor, createBuiltinTools, createDefaultExecutors, createDefaultShellExecutor, createDefaultTools, createDefaultToolsWithPreset, createEditorExecutor, createShellExecutor, createShellTool, createToolPoliciesWithPreset, type DefaultExecutorsOptions, type DefaultToolName, DefaultToolNames, type DefaultToolsConfig, type EditFileInput, type EditorExecutor, type EditorExecutorOptions, getCoreAcpToolNames, getCoreBuiltinToolCatalog, getCoreDefaultEnabledToolIds, getCoreHeadlessToolNames, isCoreBuiltinToolAvailable, isSkillsToolAvailable, MAX_COMMAND_OUTPUT_CHARS, PATCH_MARKERS, PatchActionType, type PatchFileChange, resolveCoreSelectedToolIds, resolveToolClientType, type ShellExecutor, type ShellExecutorOptions, type StructuredCommandInput, StructuredCommandInputSchema, TEAM_TOOL_NAMES, type ToolCatalogEntry, type ToolClientType, type ToolExecutors, type ToolPolicyPresetName, type ToolPresetName, ToolPresets, truncateCommandOutput, } from "./extensions/tools";
125
127
  export * from "./remote/remote-environments";
126
128
  export { ensureLoginShellPath } from "./remote/shell-path";
127
129
  export { isClineAccountFeatureEnabled } from "./services/feature-flags/cline-account-feature-flags";