@cline/core 0.0.95 → 0.2.0-nightly.1793312794

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 (175) hide show
  1. package/dist/ClineCore.d.ts +6 -1
  2. package/dist/account/rpc.d.ts +3 -1
  3. package/dist/account/types.d.ts +2 -0
  4. package/dist/artifacts/cloud/fetch.d.ts +8 -0
  5. package/dist/artifacts/cloud/publish.d.ts +6 -0
  6. package/dist/artifacts/publish.d.ts +30 -0
  7. package/dist/cline-core/runtime-services.d.ts +4 -2
  8. package/dist/cloud/computer-use-prompt.d.ts +9 -0
  9. package/dist/cloud/controller.d.ts +26 -4
  10. package/dist/cloud/hub-client.d.ts +53 -0
  11. package/dist/cloud/hub-protocol.d.ts +32 -0
  12. package/dist/cloud/index.d.ts +5 -0
  13. package/dist/cloud/index.js +34 -17
  14. package/dist/cloud/types.d.ts +4 -1
  15. package/dist/extensions/context/compaction-shared.d.ts +1 -0
  16. package/dist/extensions/context/compaction.d.ts +7 -0
  17. package/dist/extensions/context/summarize-conversation.d.ts +7 -0
  18. package/dist/extensions/context/summary-generation.d.ts +14 -0
  19. package/dist/extensions/mcp/apps.d.ts +16 -0
  20. package/dist/extensions/mcp/client.d.ts +1 -0
  21. package/dist/extensions/mcp/index.d.ts +5 -1
  22. package/dist/extensions/mcp/manager.d.ts +2 -1
  23. package/dist/extensions/mcp/session-apps.d.ts +28 -0
  24. package/dist/extensions/mcp/types.d.ts +22 -0
  25. package/dist/extensions/plugin/plugin-command-origin.d.ts +8 -0
  26. package/dist/extensions/plugin/plugin-registry.d.ts +1 -0
  27. package/dist/extensions/plugin/plugin-runtime.d.ts +7 -0
  28. package/dist/hub/client/index.d.ts +6 -0
  29. package/dist/hub/client/managed-hub-build-watcher.d.ts +2 -0
  30. package/dist/hub/client/plugin-commands.d.ts +4 -0
  31. package/dist/hub/client/session-client.d.ts +2 -0
  32. package/dist/hub/daemon/entry.js +248 -229
  33. package/dist/hub/daemon/index.d.ts +2 -0
  34. package/dist/hub/index.d.ts +1 -0
  35. package/dist/hub/index.js +238 -219
  36. package/dist/hub/runtime-host/hub-runtime-host.d.ts +6 -0
  37. package/dist/hub/server/cloud-session-service.d.ts +52 -0
  38. package/dist/hub/server/handlers/capability-handlers.d.ts +18 -1
  39. package/dist/hub/server/handlers/context.d.ts +13 -2
  40. package/dist/hub/server/handlers/mcp-apps-handlers.d.ts +5 -0
  41. package/dist/hub/server/handlers/session-handlers.d.ts +4 -0
  42. package/dist/hub/server/hub-server-options.d.ts +3 -0
  43. package/dist/hub/server/hub-server-transport.d.ts +2 -0
  44. package/dist/index.d.ts +10 -5
  45. package/dist/index.js +284 -258
  46. package/dist/plugin-runtime/node_modules/@cline/agents/dist/index.js +76 -0
  47. package/dist/plugin-runtime/node_modules/@cline/agents/package.json +1 -0
  48. package/dist/plugin-runtime/node_modules/@cline/core/dist/ai-sdk-bdvd54cj.js +1 -0
  49. package/dist/plugin-runtime/node_modules/@cline/core/dist/anthropic-d88t4w67.js +1 -0
  50. package/dist/plugin-runtime/node_modules/@cline/core/dist/bedrock-4rh6dw0e.js +1 -0
  51. package/dist/plugin-runtime/node_modules/@cline/core/dist/cline-dex049wz.js +1 -0
  52. package/dist/plugin-runtime/node_modules/@cline/core/dist/cloud/index.js +38 -0
  53. package/dist/plugin-runtime/node_modules/@cline/core/dist/community-adrseffv.js +1 -0
  54. package/dist/plugin-runtime/node_modules/@cline/core/dist/foundation-models-embedding-model-strategy-SAVQFBF4-vf44v1q1.js +1 -0
  55. package/dist/plugin-runtime/node_modules/@cline/core/dist/foundation-models-language-model-strategy-BPQO66W7-np6pavev.js +1 -0
  56. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-bsd-1xg0n8py.js +1 -0
  57. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-bsd-2h2811k3.js +1 -0
  58. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-darwin-918h9zb6.js +2 -0
  59. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-darwin-9g9qz8kw.js +2 -0
  60. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-linux-8p52y0t4.js +1 -0
  61. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-linux-cr4wnstr.js +1 -0
  62. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-unsupported-aa72jh2v.js +1 -0
  63. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-unsupported-k2y10eep.js +1 -0
  64. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-win-1hvm2h6v.js +1 -0
  65. package/dist/plugin-runtime/node_modules/@cline/core/dist/getMachineId-win-7nqbajdc.js +1 -0
  66. package/dist/plugin-runtime/node_modules/@cline/core/dist/google-nqn5r579.js +1 -0
  67. package/dist/plugin-runtime/node_modules/@cline/core/dist/hub/daemon/entry.js +1166 -0
  68. package/dist/plugin-runtime/node_modules/@cline/core/dist/hub/index.js +1153 -0
  69. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-0ahmqye5.js +2 -0
  70. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-1jwj53tz.js +2 -0
  71. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-3qy7846d.js +14 -0
  72. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-418gvd4a.js +2 -0
  73. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-4etvmc8g.js +2 -0
  74. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-4pm9q9we.js +1 -0
  75. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-4tgv599k.js +2 -0
  76. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-5hwscy9s.js +15 -0
  77. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-6dpcn5cw.js +9 -0
  78. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-7ycwqbm0.js +1 -0
  79. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-8qjtgvqw.js +9 -0
  80. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-8zb5grad.js +1210 -0
  81. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-94jdgxt6.js +2 -0
  82. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-9g67p34k.js +2 -0
  83. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-a9d2sjh0.js +85 -0
  84. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-agemt17a.js +3 -0
  85. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-bhf7enwn.js +1 -0
  86. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-bnwxdgvg.js +1 -0
  87. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-brjxtvsh.js +4 -0
  88. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-bvb7f701.js +1 -0
  89. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-bwet95hr.js +2 -0
  90. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-cadyf2yp.js +14 -0
  91. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-cxfnnrmh.js +9 -0
  92. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-cyyvppz9.js +6 -0
  93. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-d4pbedxj.js +137 -0
  94. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-ddwn220p.js +12 -0
  95. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-edf1hmcw.js +62 -0
  96. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-ejyd73x5.js +1 -0
  97. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-f25bf131.js +4 -0
  98. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-f4rfmj6q.js +3 -0
  99. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-fet3kwk6.js +1 -0
  100. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-ffna8yzn.js +121 -0
  101. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-g2y6ptdc.js +213 -0
  102. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-ge184xvn.js +6 -0
  103. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-gevnedsc.js +13 -0
  104. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-hkmarmve.js +190 -0
  105. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-kqacxn3s.js +39 -0
  106. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-m3gtj35r.js +14 -0
  107. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-neczvge6.js +21 -0
  108. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-p5k5hnam.js +75 -0
  109. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-sdvqs19c.js +20 -0
  110. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-t75m2pgm.js +146 -0
  111. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-v4-qqb2kabr.js +1 -0
  112. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-v6mehmme.js +12 -0
  113. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-v80fh3x3.js +16 -0
  114. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-vd605jwp.js +2 -0
  115. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-vryppqt1.js +1 -0
  116. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-w55v4n1n.js +2 -0
  117. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-w9n2kgjk.js +140 -0
  118. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-yjbp9r76.js +142 -0
  119. package/dist/plugin-runtime/node_modules/@cline/core/dist/index-ztb3cjfh.js +3 -0
  120. package/dist/plugin-runtime/node_modules/@cline/core/dist/index.js +1 -0
  121. package/dist/plugin-runtime/node_modules/@cline/core/dist/jiti-static-kj4rdeey.js +473 -0
  122. package/dist/plugin-runtime/node_modules/@cline/core/dist/jiti-y9tt7gmq.js +1 -0
  123. package/dist/plugin-runtime/node_modules/@cline/core/dist/langfuse-stream-telemetry-bg81k3qh.js +1 -0
  124. package/dist/plugin-runtime/node_modules/@cline/core/dist/langfuse-telemetry-tkbfbx5w.js +1 -0
  125. package/dist/plugin-runtime/node_modules/@cline/core/dist/mistral-mkw95amh.js +1 -0
  126. package/dist/plugin-runtime/node_modules/@cline/core/dist/multipart-parser-9z19cm6q.js +2 -0
  127. package/dist/plugin-runtime/node_modules/@cline/core/dist/ollama-sjp09b7p.js +1 -0
  128. package/dist/plugin-runtime/node_modules/@cline/core/dist/openai-1eyn4hw0.js +1 -0
  129. package/dist/plugin-runtime/node_modules/@cline/core/dist/openai-compatible-f99c7syq.js +1 -0
  130. package/dist/plugin-runtime/node_modules/@cline/core/dist/orchestration-embedding-model-strategy-GT27AFII-19936r1a.js +1 -0
  131. package/dist/plugin-runtime/node_modules/@cline/core/dist/orchestration-language-model-strategy-YEQPUCOT-eavx3zc3.js +1 -0
  132. package/dist/plugin-runtime/node_modules/@cline/core/dist/services/feature-flags/posthog.js +2 -0
  133. package/dist/plugin-runtime/node_modules/@cline/core/dist/services/telemetry/index.js +1 -0
  134. package/dist/plugin-runtime/node_modules/@cline/core/dist/token-04d0mwe8.js +1 -0
  135. package/dist/plugin-runtime/node_modules/@cline/core/dist/token-util-mt7pvm61.js +1 -0
  136. package/dist/plugin-runtime/node_modules/@cline/core/dist/vertex-6armtc3s.js +1 -0
  137. package/dist/plugin-runtime/node_modules/@cline/core/package.json +1 -0
  138. package/dist/plugin-runtime/node_modules/@cline/llms/dist/index.browser.js +16 -0
  139. package/dist/plugin-runtime/node_modules/@cline/llms/dist/index.js +1 -0
  140. package/dist/plugin-runtime/node_modules/@cline/llms/package.json +1 -0
  141. package/dist/plugin-runtime/node_modules/@cline/sdk/dist/index.js +1 -0
  142. package/dist/plugin-runtime/node_modules/@cline/sdk/package.json +1 -0
  143. package/dist/plugin-runtime/node_modules/@cline/shared/dist/automation/index.js +57 -0
  144. package/dist/plugin-runtime/node_modules/@cline/shared/dist/db/index.js +127 -0
  145. package/dist/plugin-runtime/node_modules/@cline/shared/dist/index.browser.js +110 -0
  146. package/dist/plugin-runtime/node_modules/@cline/shared/dist/index.js +1 -0
  147. package/dist/plugin-runtime/node_modules/@cline/shared/dist/node.js +1 -0
  148. package/dist/plugin-runtime/node_modules/@cline/shared/dist/remote-config/index.js +68 -0
  149. package/dist/plugin-runtime/node_modules/@cline/shared/dist/storage/index.js +1 -0
  150. package/dist/plugin-runtime/node_modules/@cline/shared/dist/types/index.js +1 -0
  151. package/dist/plugin-runtime/node_modules/@cline/shared/package.json +1 -0
  152. package/dist/plugin-runtime/package.json +1 -0
  153. package/dist/{extensions → plugin-runtime}/plugin-sandbox-bootstrap.js +129 -129
  154. package/dist/remote/remote-environments.d.ts +1 -0
  155. package/dist/runtime/config/agent-runtime-config-builder.d.ts +2 -0
  156. package/dist/runtime/host/local-runtime-host.d.ts +10 -0
  157. package/dist/runtime/host/runtime-host.d.ts +6 -0
  158. package/dist/runtime/orchestration/runtime-oauth-token-manager.d.ts +3 -0
  159. package/dist/runtime/orchestration/session-runtime-orchestrator.d.ts +10 -1
  160. package/dist/runtime/orchestration/session-runtime.d.ts +2 -0
  161. package/dist/runtime/tools/subprocess-sandbox.d.ts +22 -0
  162. package/dist/services/cloud-handoff/git-preparation.d.ts +22 -0
  163. package/dist/services/global-settings.d.ts +6 -0
  164. package/dist/services/llms/cline-recommended-models.d.ts +2 -0
  165. package/dist/services/local-runtime-bootstrap.d.ts +1 -0
  166. package/dist/services/plugin-command-api.d.ts +47 -0
  167. package/dist/services/plugin-commands.d.ts +25 -27
  168. package/dist/services/skills-cli.d.ts +2 -0
  169. package/dist/services/telemetry/core-events.d.ts +26 -0
  170. package/dist/services/telemetry/index.js +1 -1
  171. package/dist/services/telemetry/run-health.d.ts +40 -0
  172. package/dist/services/telemetry/stall-signals.d.ts +12 -0
  173. package/dist/types/config.d.ts +1 -0
  174. package/dist/types/session.d.ts +7 -0
  175. package/package.json +6 -5
@@ -1,7 +1,9 @@
1
1
  import type { AgentResult, ITelemetryService } from "@cline/shared";
2
+ import type { McpAppResourceReadRequest, McpAppToolBinding, McpAppToolCallRequest, McpResourceReadResult, McpToolCallResult } from "../../extensions/mcp";
2
3
  import type { HookEventPayload } from "../../hooks";
3
4
  import type { RuntimeCapabilities } from "../../runtime/capabilities";
4
5
  import type { ListSessionsOptions, PendingPromptsServiceApi, RestoreSessionInput, RestoreSessionResult, RuntimeHost, RuntimeHostSubscribeOptions, SendSessionInput, SessionConnectionUpdate, SessionUsageSummary, StartSessionInput, StartSessionResult } from "../../runtime/host/runtime-host";
6
+ import type { PluginCommandsApi } from "../../services/plugin-command-api";
5
7
  import { type SessionCompactionState } from "../../session/models/session-compaction";
6
8
  import type { CoreSettingsListInput, CoreSettingsMutationResult, CoreSettingsSnapshot, CoreSettingsToggleInput } from "../../settings";
7
9
  import type { CoreSessionEvent } from "../../types/events";
@@ -20,6 +22,7 @@ export interface HubRuntimeHostOptions {
20
22
  export declare class HubRuntimeHost implements RuntimeHost {
21
23
  runtimeAddress: string;
22
24
  readonly pendingPrompts: PendingPromptsServiceApi;
25
+ readonly pluginCommands: PluginCommandsApi;
23
26
  private client;
24
27
  private readonly clientOptions;
25
28
  private readonly clientContext?;
@@ -51,6 +54,9 @@ export declare class HubRuntimeHost implements RuntimeHost {
51
54
  private requestPendingPromptDelete;
52
55
  getAccumulatedUsage(sessionId: string): Promise<SessionUsageSummary | undefined>;
53
56
  abort(sessionId: string, reason?: unknown): Promise<void>;
57
+ resolveMcpAppTool(sessionId: string, toolName: string): Promise<McpAppToolBinding | undefined>;
58
+ readMcpAppResource(sessionId: string, request: McpAppResourceReadRequest): Promise<McpResourceReadResult>;
59
+ callMcpAppTool(sessionId: string, request: McpAppToolCallRequest): Promise<McpToolCallResult>;
54
60
  proceedWhileRunning(sessionId: string, toolCallId?: string): Promise<number>;
55
61
  stopSession(sessionId: string): Promise<void>;
56
62
  dispose(): Promise<void>;
@@ -0,0 +1,52 @@
1
+ import type { BasicLogger, ITelemetryService } from "@cline/shared";
2
+ import { CloudSessionController } from "../../cloud/controller";
3
+ import type { CloudSessionEvent, CloudSessionSnapshot } from "../../cloud/types";
4
+ export interface HubCloudSessionServiceOptions {
5
+ publish: (event: CloudSessionEvent | undefined, version: {
6
+ serviceId: string;
7
+ revision: number;
8
+ scopeGeneration: number;
9
+ }) => void;
10
+ logger?: BasicLogger;
11
+ telemetry?: ITelemetryService;
12
+ /** Test/embedding seams; the daemon uses persisted account credentials. */
13
+ getScope?: () => string | undefined;
14
+ createController?: () => CloudSessionController;
15
+ }
16
+ /** One account-scoped controller per hub, independent of connected viewers. */
17
+ export declare class HubCloudSessionService {
18
+ private readonly options;
19
+ private readonly serviceId;
20
+ private scopeGeneration;
21
+ private revision;
22
+ private organization?;
23
+ private organizationGeneration;
24
+ private controller?;
25
+ private scope?;
26
+ private closed;
27
+ private readonly snapshots;
28
+ private readonly tokenManager;
29
+ private readonly settings;
30
+ private readonly scopeTimer;
31
+ private readonly retiring;
32
+ private readonly publications;
33
+ activeCommands: number;
34
+ constructor(options: HubCloudSessionServiceOptions);
35
+ private currentScope;
36
+ private isCurrentScope;
37
+ private checkScope;
38
+ private getController;
39
+ private createController;
40
+ private publish;
41
+ snapshot(): {
42
+ serviceId: string;
43
+ revision: number;
44
+ scopeGeneration: number;
45
+ snapshots: CloudSessionSnapshot[];
46
+ };
47
+ private invalidateOrganization;
48
+ watch(): ReturnType<HubCloudSessionService["snapshot"]>;
49
+ command(operation: string, rawArgs: unknown, expectedScope: unknown): Promise<Record<string, unknown>>;
50
+ private create;
51
+ dispose(): Promise<void>;
52
+ }
@@ -1,5 +1,22 @@
1
- import type { HubCommandEnvelope, HubReplyEnvelope } from "@cline/shared";
1
+ import type { HubCommandEnvelope, HubEventEnvelope, HubReplyEnvelope } from "@cline/shared";
2
2
  import { type HubTransportContext } from "./context";
3
+ /**
4
+ * Shown to the user when a run fails because the client that owned one of its
5
+ * capabilities (hooks, client tools) went away mid-request. Client ids stay in
6
+ * the hub log (targetClientId), not in this text.
7
+ */
8
+ export declare const CAPABILITY_OWNER_GONE_MESSAGE = "The app running this task disconnected before it could respond. Reopen the task to continue.";
9
+ /**
10
+ * How long a request waits for its owner to reconnect under the same client
11
+ * id before failing: a little over the client's 5s reconnect backoff, so a
12
+ * brief socket drop doesn't end the run.
13
+ */
14
+ export declare const CAPABILITY_OWNER_RECONNECT_GRACE_MS = 7000;
15
+ /**
16
+ * Requests that waited for their owner to reconnect, to deliver to that owner
17
+ * now that it is subscribed again. Each is returned once.
18
+ */
19
+ export declare function takeUndeliveredCapabilityEvents(ctx: HubTransportContext, clientId: string, sessionId?: string): HubEventEnvelope[];
3
20
  export declare function requestCapability(ctx: HubTransportContext, sessionId: string, capabilityName: string, payload: Record<string, unknown>, targetClientId: string, onProgress?: (payload: Record<string, unknown>) => void): Promise<Record<string, unknown> | undefined>;
4
21
  export declare function handleCapabilityProgress(ctx: HubTransportContext, envelope: HubCommandEnvelope): HubReplyEnvelope;
5
22
  export declare function cancelPendingCapabilityRequests(ctx: HubTransportContext, filter: (request: {
@@ -1,5 +1,5 @@
1
1
  import type { AgentExtension, AgentTool, HubClientRecord, HubCommandEnvelope, HubEventEnvelope, HubReplyEnvelope, SessionRecord as HubSessionRecord, ITelemetryService, JsonValue, SessionParticipant } from "@cline/shared";
2
- import type { CommandExecutionRuntimeService, PendingPromptsRuntimeService, RuntimeHost, SessionConnectionRuntimeService, SessionUsageRuntimeService } from "../../../runtime/host/runtime-host";
2
+ import type { CommandExecutionRuntimeService, McpAppsRuntimeService, PendingPromptsRuntimeService, RuntimeHost, SessionConnectionRuntimeService, SessionUsageRuntimeService } from "../../../runtime/host/runtime-host";
3
3
  import type { SessionHistorySearchService } from "../../../session/search";
4
4
  import { type CoreSessionSnapshot } from "../../../session/session-snapshot";
5
5
  import { type HubSessionState } from "../hub-session-records";
@@ -21,6 +21,11 @@ export type PendingCapabilityRequest = {
21
21
  targetClientId: string;
22
22
  capabilityName: string;
23
23
  onProgress?: (payload: Record<string, unknown>) => void;
24
+ /**
25
+ * Set while the owner is disconnected and the request has not reached it
26
+ * yet; delivered once when the owner subscribes again.
27
+ */
28
+ undeliveredEvent?: HubEventEnvelope;
24
29
  resolve: (result: {
25
30
  ok: boolean;
26
31
  payload?: Record<string, unknown>;
@@ -37,6 +42,12 @@ export interface HubTransportContext {
37
42
  readonly sessionState: Map<string, HubSessionState>;
38
43
  readonly pendingApprovals: Map<string, PendingApproval>;
39
44
  readonly pendingCapabilityRequests: Map<string, PendingCapabilityRequest>;
45
+ /**
46
+ * Clients that explicitly detached from a session while staying connected.
47
+ * Capability requests aimed at them fail fast instead of waiting; attaching
48
+ * again clears the entry.
49
+ */
50
+ readonly detachedClientsBySession?: Map<string, Set<string>>;
40
51
  readonly suppressNextTerminalEventBySession: Map<string, string>;
41
52
  /**
42
53
  * Count of RPC-driven turns (`run.start` / session input commands)
@@ -53,7 +64,7 @@ export interface HubTransportContext {
53
64
  readonly sessionTools?: readonly AgentTool[];
54
65
  /** Hub-owned extensions injected into every local session runtime. */
55
66
  readonly sessionExtensions?: readonly AgentExtension[];
56
- readonly sessionHost: RuntimeHost & Partial<CommandExecutionRuntimeService & PendingPromptsRuntimeService & SessionUsageRuntimeService & SessionConnectionRuntimeService>;
67
+ readonly sessionHost: RuntimeHost & Partial<CommandExecutionRuntimeService & PendingPromptsRuntimeService & SessionUsageRuntimeService & SessionConnectionRuntimeService & McpAppsRuntimeService>;
57
68
  /**
58
69
  * While draining, new mutating work (session.create, run.*) is refused
59
70
  * with the retryable `hub_draining` error so the Hub can be replaced at a
@@ -0,0 +1,5 @@
1
+ import type { HubCommandEnvelope, HubReplyEnvelope } from "@cline/shared";
2
+ import { type HubTransportContext } from "./context";
3
+ export declare function handleSessionMcpAppsResolveTool(ctx: HubTransportContext, envelope: HubCommandEnvelope): Promise<HubReplyEnvelope>;
4
+ export declare function handleSessionMcpAppsReadResource(ctx: HubTransportContext, envelope: HubCommandEnvelope): Promise<HubReplyEnvelope>;
5
+ export declare function handleSessionMcpAppsCallTool(ctx: HubTransportContext, envelope: HubCommandEnvelope): Promise<HubReplyEnvelope>;
@@ -12,6 +12,10 @@ export declare function readSessionConnectionUpdate(value: unknown): SessionConn
12
12
  export declare function resolveSessionAutoApproveTools(toolPolicies: unknown, runtimeOptions: Record<string, unknown>): boolean;
13
13
  /** Accepts `{ "*"?: { enabled?: boolean }, [plugin]: { enabled?: boolean } }`. */
14
14
  export declare function parsePluginPolicies(value: unknown): PluginPolicies | undefined;
15
+ export declare function handleSessionResume(ctx: HubTransportContext, envelope: HubCommandEnvelope, requestToolApproval: (request: ToolApprovalRequest) => Promise<{
16
+ approved: boolean;
17
+ reason?: string;
18
+ }>): Promise<HubReplyEnvelope>;
15
19
  export declare function handleSessionCreate(ctx: HubTransportContext, envelope: HubCommandEnvelope, requestToolApproval: (request: ToolApprovalRequest) => Promise<{
16
20
  approved: boolean;
17
21
  reason?: string;
@@ -6,9 +6,12 @@ import type { SessionHistorySearchOptions } from "../../session/search";
6
6
  import type { CoreSettingsService } from "../../settings";
7
7
  import type { AgendaTaskManagerOptions } from "../../tasks";
8
8
  import type { HubOwnerContext } from "../discovery";
9
+ import type { HubCloudSessionServiceOptions } from "./cloud-session-service";
9
10
  import type { HubEventLogOptions } from "./hub-event-log";
10
11
  import type { HubRunQueueOptions } from "./hub-run-queue";
11
12
  export interface HubWebSocketServerOptions {
13
+ /** Override cloud credentials/controller construction for embedded hubs. */
14
+ cloudSessionOptions?: Omit<HubCloudSessionServiceOptions, "publish">;
12
15
  /** Hub-owned full-text session history index configuration. */
13
16
  sessionSearchOptions?: SessionHistorySearchOptions;
14
17
  /** Workspace authority assigned by the Hub to authenticated clients. */
@@ -32,8 +32,10 @@ export declare class HubServerTransport implements NativeHubTransport {
32
32
  private runQueue?;
33
33
  private runExecutor?;
34
34
  private draining;
35
+ private readonly pendingPluginCommands;
35
36
  private readonly plugins;
36
37
  private unsubscribePluginStatus?;
38
+ private readonly cloud;
37
39
  constructor(options: HubWebSocketServerOptions);
38
40
  private startAgendaTaskSession;
39
41
  private runAgendaTaskSession;
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export type { AgentPluginPackageDiagnostic, AgentPluginPackageDiagnosticScope, A
25
25
  export { AGENT_PLUGINS_V1_MANIFEST_SCHEMA, AGENT_PLUGINS_V1_MCP_SCHEMA, CLINE_PLUGIN_BOOTSTRAP_PATH_ENV, discoverPluginModulePaths, formatSessionPluginIssue, getPluginDisplayName, getProcessPluginRegistry, loadAgentPluginFromPath, loadAgentPluginPackages, loadAgentPluginsFromPaths, loadAgentPluginsFromPathsWithDiagnostics, PluginCallTimeoutError, PluginRegistry, parseAgentSkillMarkdown, resolveAgentPluginPaths, resolveAgentPluginPathsWithDiagnostics, resolveAndLoadAgentPlugins, resolvePluginConfigSearchPaths, resolvePluginSkillDirectoriesFromPaths, } from "./extensions";
26
26
  export type { AvailableRuntimeCommand, CreateInstructionWatcherOptions, CreateRulesConfigDefinitionOptions, CreateSkillsConfigDefinitionOptions, CreateUserInstructionConfigServiceOptions, CreateWorkflowsConfigDefinitionOptions, ParseMarkdownFrontmatterResult, ResolveRuntimeSlashCommandOptions, RuleConfig, SkillConfig, UnifiedConfigDefinition, UnifiedConfigFileCandidate, UnifiedConfigFileContext, UnifiedConfigRecord, UnifiedConfigWatcherEvent, UnifiedConfigWatcherOptions, UserInstructionConfig, UserInstructionConfigRecord, UserInstructionConfigService, UserInstructionConfigType, WorkflowConfig, } from "./extensions/config";
27
27
  export { combineUserInstructionConfigServices, createRulesConfigDefinition, createSkillsConfigDefinition, createUserInstructionConfigService, createWorkflowsConfigDefinition, parseRuleConfigFromMarkdown, parseSkillConfigFromMarkdown, parseWorkflowConfigFromMarkdown, RULES_CONFIG_DIRECTORY_NAME, resolveRulesConfigSearchPaths, resolveSkillsConfigSearchPaths, resolveWorkflowsConfigSearchPaths, SKILLS_CONFIG_DIRECTORY_NAME, UnifiedConfigFileWatcher, WORKFLOWS_CONFIG_DIRECTORY_NAME, } from "./extensions/config";
28
- export { type AuthorizeMcpServerOAuthOptions, type AuthorizeMcpServerOAuthResult, augmentMcpTimeoutError, authorizeMcpServerOAuth, type CreateDisabledMcpToolPoliciesOptions, type CreateDisabledMcpToolPolicyOptions, type CreateMcpToolsOptions, createDefaultMcpServerClientFactory, createDisabledMcpToolPolicies, createDisabledMcpToolPolicy, createMcpTools, DEFAULT_MCP_CONNECT_TIMEOUT_MS, type DefaultMcpServerClientFactoryOptions, getMcpServerOAuthState, getMcpServerOAuthStatus, hasMcpSettingsFile, InMemoryMcpManager, type LoadMcpSettingsOptions, listMcpServerOAuthStatuses, loadMcpSettingsFile, type McpConnectionStatus, type McpManager, type McpManagerOptions, McpOAuthClientChangedError, type McpServerClient, type McpServerClientFactory, type McpServerOAuthClientConfig, type McpServerOAuthState, type McpServerOAuthStatus, type McpServerRegistration, type McpServerSnapshot, type McpServerTransportConfig, type McpSettingsFile, type McpSettingsLockOptions, McpSettingsLockTimeoutError, type McpSettingsMutator, McpSettingsMutatorPurityError, McpSettingsUpdateSkippedError, type McpSseTransportConfig, type McpStdioTransportConfig, type McpStreamableHttpTransportConfig, type McpToolCallRequest, type McpToolCallResult, type McpToolDescriptor, type McpToolNameTransform, type McpToolProvider, type ProbeMcpServerConnectionOptions, type ProbeMcpServerConnectionResult, parseMcpServerRegistration, probeMcpServerConnection, type RegisterMcpServersFromSettingsOptions, registerMcpServersFromSettingsFile, resolveDefaultMcpSettingsPath, resolveMcpServerRegistration, resolveMcpServerRegistrations, type SetMcpServerDisabledOptions, setMcpServerDisabled, type UpdateMcpServerOAuthStateOptions, updateMcpServerOAuthState, updateMcpServerOAuthStateAsync, updateMcpSettingsFile, updateMcpSettingsFileSync, } from "./extensions/mcp";
28
+ export { type AuthorizeMcpServerOAuthOptions, type AuthorizeMcpServerOAuthResult, augmentMcpTimeoutError, authorizeMcpServerOAuth, type CreateDisabledMcpToolPoliciesOptions, type CreateDisabledMcpToolPolicyOptions, type CreateMcpAppsRuntimeOptions, type CreateMcpToolsOptions, createDefaultMcpServerClientFactory, createDisabledMcpToolPolicies, createDisabledMcpToolPolicy, createMcpAppsClientCapabilities, createMcpAppsRuntime, createMcpTools, DEFAULT_MCP_CONNECT_TIMEOUT_MS, type DefaultMcpServerClientFactoryOptions, getMcpAppToolMeta, getMcpServerOAuthState, getMcpServerOAuthStatus, hasMcpSettingsFile, InMemoryMcpManager, isMcpAppResourceUri, isMcpToolVisibleToApp, isMcpToolVisibleToModel, type LoadMcpSettingsOptions, listMcpServerOAuthStatuses, loadMcpSettingsFile, MCP_APP_MIME_TYPE, MCP_APPS_EXTENSION_ID, type McpAppResourceReadRequest, type McpAppsRuntime, type McpAppToolBinding, type McpAppToolCallRequest, type McpAppToolMeta, type McpAppToolVisibility, type McpConnectionStatus, type McpManager, type McpManagerOptions, McpOAuthClientChangedError, type McpResourceContents, type McpResourceReadRequest, type McpResourceReadResult, type McpServerClient, type McpServerClientFactory, type McpServerOAuthClientConfig, type McpServerOAuthState, type McpServerOAuthStatus, type McpServerRegistration, type McpServerSnapshot, type McpServerTransportConfig, type McpSettingsFile, type McpSettingsLockOptions, McpSettingsLockTimeoutError, type McpSettingsMutator, McpSettingsMutatorPurityError, McpSettingsUpdateSkippedError, type McpSseTransportConfig, type McpStdioTransportConfig, type McpStreamableHttpTransportConfig, type McpToolCallRequest, type McpToolCallResult, type McpToolDescriptor, type McpToolNameTransform, type McpToolProvider, type ProbeMcpServerConnectionOptions, type ProbeMcpServerConnectionResult, parseMcpServerRegistration, probeMcpServerConnection, type RegisterMcpServersFromSettingsOptions, registerMcpServersFromSettingsFile, resolveDefaultMcpSettingsPath, resolveMcpServerRegistration, resolveMcpServerRegistrations, type SetMcpServerDisabledOptions, setMcpServerDisabled, type UpdateMcpServerOAuthStateOptions, updateMcpServerOAuthState, updateMcpServerOAuthStateAsync, updateMcpSettingsFile, updateMcpSettingsFileSync, } from "./extensions/mcp";
29
29
  export { type AgentTask, AgentTeam, AgentTeamsRuntime, type AgentTeamsRuntimeOptions, type BootstrapAgentTeamsOptions, type BootstrapAgentTeamsResult, bootstrapAgentTeams, buildConfiguredAgentToolDescriptors, buildConfiguredAgentToolName, buildDelegatedAgentConfig, buildTeamProgressSummary, type ConfiguredAgentConfig, type ConfiguredAgentInput, type ConfiguredAgentLoadResult, type ConfiguredAgentReadError, type ConfiguredAgentToolConfig, type ConfiguredAgentToolDescriptor, type CreateAgentTeamsToolsOptions, createAgentTeamsTools, createConfiguredAgentTools, createDelegatedAgent, createDelegatedAgentConfigProvider, createSpawnAgentTool, type DelegatedAgentConfigProvider, type DelegatedAgentConnectionConfig, type DelegatedAgentKind, type DelegatedAgentRuntimeConfig, loadConfiguredAgentConfigs, parseConfiguredAgentConfig, reviveTeamStateDates, type SpawnTeammateOptions, type SubAgentEndContext, type SubAgentStartContext, type TaskResult, type TeamEvent, type TeamMemberConfig, type TeamTeammateRuntimeConfig, toTeamProgressLifecycleEvent, } from "./extensions/tools/team";
30
30
  export { createAgentHooksExtension, createHookAuditHooks, createHookConfigFileExtension, createHookConfigFileHooks, createSubprocessHooks, HOOK_CONFIG_FILE_EVENT_MAP, HOOKS_CONFIG_DIRECTORY_NAME, type HookConfigFileEntry, HookConfigFileName, type HookEventName, HookEventNameSchema, type HookEventPayload, HookEventPayloadSchema, listHookConfigFiles, mergeAgentHooks, parseHookEventPayload, type RunHookOptions, type RunHookResult, type RunSubprocessEventOptions, type RunSubprocessEventResult, resolveHooksConfigSearchPaths, runHook, runSubprocessEvent, type SubprocessHookControl, type SubprocessHooksOptions, toHookConfigFileName, } from "./hooks";
31
31
  export type { CheckpointEntry, CheckpointMetadata, } from "./hooks/checkpoint-hooks";
@@ -60,13 +60,13 @@ export { cleanupConnectorInstanceViaCli } from "./services/connectors/connector-
60
60
  export { ADOPTED_POLL_INTERVAL_MS, ConnectorSupervisor, type ConnectorSupervisorDeps, getActiveConnectorSupervisor, RESTART_BASE_DELAY_MS, RESTART_COUNTER_RESET_MS, RESTART_GIVE_UP_AFTER, RESTART_MAX_DELAY_MS, STOP_SIGKILL_TIMEOUT_MS, STOP_SIGTERM_TIMEOUT_MS, setActiveConnectorSupervisor, } from "./services/connectors/connector-supervisor";
61
61
  export { FeatureFlagsService, type FeatureFlagsServiceOptions, NoOpFeatureFlagsProvider, } from "./services/feature-flags";
62
62
  export type { GlobalCompactionMode, GlobalCompactionStrategy, GlobalPlanActMode, GlobalSettings, } from "./services/global-settings";
63
- export { filterDisabledPluginPaths, filterDisabledTools, filterExtensionToolRegistrations, GlobalSettingsSchema, isAgentPluginDisabledGlobally, isAutoUpdateEnabledGlobally, isModelToolEnabledGlobally, isPluginDisabledGlobally, isTelemetryOptedOutGlobally, isToolDisabledGlobally, readCompactionModeGlobally, readCompactionStrategyGlobally, readGlobalSettings, readPlanActModeGlobally, readToolAutoApproveGlobally, readTuiThemeGlobally, resolveDisabledAgentPluginNames, resolveDisabledPluginPaths, resolveDisabledToolNames, resolveModelToolSettings, setAutoUpdateEnabledGlobally, setCompactionModeGlobally, setCompactionStrategyGlobally, setDisabledAgentPlugin, setDisabledPlugin, setDisabledTools, setModelToolEnabledGlobally, setPlanActModeGlobally, setTelemetryOptOutGlobally, setToolAutoApproveGlobally, setTuiThemeGlobally, toggleDisabledTool, writeGlobalSettings, } from "./services/global-settings";
63
+ export { filterDisabledPluginPaths, filterDisabledTools, filterExtensionToolRegistrations, GlobalSettingsSchema, isAgentPluginDisabledGlobally, isAutoUpdateEnabledGlobally, isModelToolEnabledGlobally, isPluginDisabledGlobally, isTelemetryOptedOutGlobally, isToolDisabledGlobally, readCloudModelIdGlobally, readCompactionModeGlobally, readCompactionStrategyGlobally, readGlobalSettings, readPlanActModeGlobally, readToolAutoApproveGlobally, readTuiThemeGlobally, resolveDisabledAgentPluginNames, resolveDisabledPluginPaths, resolveDisabledToolNames, resolveModelToolSettings, setAutoUpdateEnabledGlobally, setCloudModelIdGlobally, setCompactionModeGlobally, setCompactionStrategyGlobally, setDisabledAgentPlugin, setDisabledPlugin, setDisabledTools, setModelToolEnabledGlobally, setPlanActModeGlobally, setTelemetryOptOutGlobally, setToolAutoApproveGlobally, setTuiThemeGlobally, toggleDisabledTool, writeGlobalSettings, } from "./services/global-settings";
64
64
  export type { MarketplaceActionResult, MarketplaceEntryInput, MarketplacePrimitiveType, MarketplaceSpawnCommand, MarketplaceSpawnResult, UninstallMarketplaceEntryOptions, } from "./services/marketplace";
65
65
  export { findInstalledGlobalMarketplaceSkillName, getGlobalMarketplaceSkillPaths, getMarketplaceSkillCandidates, isMarketplaceSkillInstalled, marketplaceEntryKey, resolveMarketplaceMcpServerName, uninstallMarketplaceEntry, uninstallMarketplaceMcpServerFromSettings, uninstallMarketplacePlugin, uninstallMarketplaceSkill, } from "./services/marketplace";
66
66
  export type { McpInstallOptions, McpInstallResult, McpUninstallOptions, McpUninstallResult, } from "./services/mcp-install";
67
67
  export { buildMcpInstallTransport, installMcpServer, parseMcpHeaders, parseMcpInstallArgs, uninstallMcpServer, } from "./services/mcp-install";
68
- export type { PluginCommandResult, PluginCommandService, PluginSlashCommand, } from "./services/plugin-commands";
69
- export { createPluginCommandService, normalizePluginCommandName, } from "./services/plugin-commands";
68
+ export type { PluginCommandCatalog, PluginCommandResult, PluginCommandsApi, PluginCommandTarget, PluginSlashCommand, } from "./services/plugin-command-api";
69
+ export { normalizePluginCommandName, parsePluginCommand, } from "./services/plugin-command-api";
70
70
  export type { ParsedPluginSource, PluginInstallOptions, PluginInstallResult, PluginInstallSourceType, PluginMcpOAuthCandidate, } from "./services/plugin-install";
71
71
  export { collectPluginMcpOAuthCandidates, installPlugin, isOfficialPluginSlug, parsePluginSource, } from "./services/plugin-install";
72
72
  export type { PluginMcpSettingsMutation, PluginMcpSettingsSyncResult, RemovePluginMcpServersFromSettingsOptions, SyncPluginMcpServersToSettingsOptions, } from "./services/plugin-mcp-settings";
@@ -122,20 +122,25 @@ export type { SessionMessagesArtifactUploader } from "./types/session";
122
122
  export { CORE_BUILD_VERSION } from "./version";
123
123
  export declare function loadOpenTelemetryAdapter(): Promise<typeof import("./services/telemetry")>;
124
124
  export { Agent, createAgentRuntime } from "@cline/agents";
125
+ export { type ArtifactPublicationFile, type ArtifactPublicationResult, type ArtifactPublisher, createPublishArtifactsTool, } from "./artifacts/publish";
125
126
  export type { ConnectorsRequest } from "./extensions/composio/composio-meta-tools";
126
127
  export { resolveComposioConnectionStatePath } from "./extensions/composio/composio-tools-extension";
127
128
  export { createCompactionStateAwarePrepareTurn, createContextCompactionPrepareTurn, } from "./extensions/context/compaction";
129
+ export { summarizeConversation } from "./extensions/context/summarize-conversation";
130
+ export { CLINE_PLUGIN_RUNTIME_DIR_ENV, resolvePluginRuntimeDirectory, setPluginSandboxLauncher, } from "./extensions/plugin/plugin-runtime";
128
131
  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";
132
+ export { createHubPluginCommandsApi } from "./hub/client/plugin-commands";
129
133
  export * from "./remote/remote-environments";
130
134
  export { ensureLoginShellPath } from "./remote/shell-path";
131
135
  export { isClineAccountFeatureEnabled } from "./services/feature-flags/cline-account-feature-flags";
132
136
  export { applyClineFeaturedModels, type ClineRecommendedModel, type ClineRecommendedModelsData, FALLBACK_CLINE_RECOMMENDED_MODELS, type FetchClineRecommendedModelsOptions, fetchClineRecommendedModels, getCachedClineRecommendedModels, peekClineRecommendedModels, resetClineRecommendedModelsCacheForTests, } from "./services/llms/cline-recommended-models";
133
- export { clearLiveModelsCatalogCache, clearPrivateModelsCatalogCache, DEFAULT_MODELS_CATALOG_URL, getLiveModelsCatalog, getProviderConfig, isPrivateModelCatalogProvider, OPENAI_COMPATIBLE_PROVIDERS, resolveProviderConfig, } from "./services/llms/provider-defaults";
137
+ export { clearLiveModelsCatalogCache, clearPrivateModelsCatalogCache, clearPublicModelsCatalogCache, DEFAULT_MODELS_CATALOG_URL, getLiveModelsCatalog, getProviderConfig, isPrivateModelCatalogProvider, OPENAI_COMPATIBLE_PROVIDERS, resolveProviderConfig, } from "./services/llms/provider-defaults";
134
138
  export type { AuthSettings, AwsSettings, AzureSettings, BuiltInProviderId, GcpSettings, ModelCatalogConfig, ModelCatalogSettings, OcaSettings, ProviderCapability, ProviderClient, ProviderConfig, ProviderDefaultsConfig, ProviderId, ProviderProtocol, ProviderSettings, ReasoningSettings, SapSettings, ToProviderConfigOptions, } from "./services/llms/provider-settings";
135
139
  export { AuthSettingsSchema, AwsSettingsSchema, AzureSettingsSchema, BUILT_IN_PROVIDER, BUILT_IN_PROVIDER_IDS, createProviderConfig, GcpSettingsSchema, isBuiltInProviderId, ModelCatalogSettingsSchema, normalizeProviderId, OcaSettingsSchema, ProviderClientSchema, ProviderIdSchema, ProviderProtocolSchema, ProviderSettingsSchema, parseSettings, ReasoningSettingsSchema, SapSettingsSchema, safeCreateProviderConfig, safeParseSettings, toProviderConfig, } from "./services/llms/provider-settings";
136
140
  export { defineLlmsConfig, loadLlmsConfigFromFile, } from "./services/llms/runtime-config";
137
141
  export { createLlmsSdk, DefaultLlmsSdk, } from "./services/llms/runtime-registry";
138
142
  export type { BuiltInProviderSummary, CreateHandlerInput, LlmsConfig, LlmsSdk, ProviderConfigDefaults, ProviderSelectionConfig, RegisterBuiltinProviderInput, RegisteredProviderSummary, RegisterModelInput, RegisterProviderInput, } from "./services/llms/runtime-types";
143
+ export { SKILLS_CLI_PACKAGE, SKILLS_CLI_VERSION } from "./services/skills-cli";
139
144
  export { TelemetryService, type TelemetryServiceOptions, } from "./services/telemetry/TelemetryService";
140
145
  export { createSessionCompactionState, parseSessionCompactionState, projectSessionCompactionState, type SessionCompactionState, } from "./session/models/session-compaction";
141
146
  export type { RuntimeEnvironment } from "./types";