@cline/core 0.0.64 → 0.0.65-nightly.1784776435

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.
@@ -1,4 +1,4 @@
1
- import type { ITelemetryService } from "@cline/shared";
1
+ import type { BasicLogger, ITelemetryService } from "@cline/shared";
2
2
  import type { CronServiceOptions } from "../../cron/service/cron-service";
3
3
  import type { HubScheduleRuntimeHandlers, HubScheduleServiceOptions } from "../../cron/service/schedule-service";
4
4
  import type { PendingPromptsRuntimeService, RuntimeHost } from "../../runtime/host/runtime-host";
@@ -36,6 +36,11 @@ export interface HubWebSocketServerOptions {
36
36
  * Ignored when `sessionHost` is supplied.
37
37
  */
38
38
  telemetry?: ITelemetryService;
39
+ /**
40
+ * Structured logger forwarded to the internally-constructed local runtime.
41
+ * Ignored when `sessionHost` is supplied.
42
+ */
43
+ logger?: BasicLogger;
39
44
  }
40
45
  export interface HubWebSocketServer {
41
46
  host: string;
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ export { LocalRuntimeHost } from "./runtime/host/local-runtime-host";
44
44
  export type { PendingPromptMutationResult, PendingPromptsDeleteInput, PendingPromptsListInput, PendingPromptsRuntimeService, PendingPromptsServiceApi, PendingPromptsUpdateInput, RestoreSessionInput, RestoreSessionResult, RuntimeHost, RuntimeHost as SessionHost, RuntimeHostMode, RuntimeHostSubscribeOptions, SendSessionInput, SessionAccumulatedUsage, SessionUsageSummary, StartSessionInput, StartSessionResult, } from "./runtime/host/runtime-host";
45
45
  export { isSessionNotFoundError, SESSION_NOT_FOUND_ERROR_CODE, SessionNotFoundError, splitCoreSessionConfig, } from "./runtime/host/runtime-host";
46
46
  export { createTeamName, DefaultRuntimeBuilder, } from "./runtime/orchestration/runtime-builder";
47
+ export { OAuthReauthRequiredError, type RuntimeOAuthResolution, RuntimeOAuthTokenManager, } from "./runtime/orchestration/runtime-oauth-token-manager";
47
48
  export type { BuiltRuntime, RuntimeBuilder, RuntimeBuilderInput, SessionRuntime, } from "./runtime/orchestration/session-runtime";
48
49
  export { formatRulesForSystemPrompt, isRuleEnabled, mergeRulesForSystemPrompt, } from "./runtime/safety/rules";
49
50
  export { type SandboxCallOptions, SubprocessSandbox, type SubprocessSandboxOptions, } from "./runtime/tools/subprocess-sandbox";