cascade-ai 0.16.0 → 0.18.0

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/index.d.cts CHANGED
@@ -1090,6 +1090,14 @@ declare class WorldStateDB {
1090
1090
  * the raw linear log — this replaces replaying the whole log during planning.
1091
1091
  */
1092
1092
  getFormattedKnowledge(prompt?: string, limit?: number): string;
1093
+ /**
1094
+ * Delete one fact by its (normalized) entity + relation key. Returns whether
1095
+ * a row was actually removed. Powers the desktop Knowledge tab's per-fact
1096
+ * delete — users can prune what the planner remembers about their project.
1097
+ */
1098
+ deleteFact(entity: string, relation: string): boolean;
1099
+ /** Delete every fact. Returns how many were removed. */
1100
+ clearFacts(): number;
1093
1101
  exportKnowledge(): {
1094
1102
  facts: WorldFact[];
1095
1103
  worldLog: WorldStateEntry[];
@@ -2324,7 +2332,8 @@ declare class ConfigManager {
2324
2332
  private cascadeMd;
2325
2333
  private workspacePath;
2326
2334
  private globalDir;
2327
- constructor(workspacePath?: string);
2335
+ /** `globalDirOverride` exists for tests — never point it at the real home dir there. */
2336
+ constructor(workspacePath?: string, globalDirOverride?: string);
2328
2337
  load(): Promise<void>;
2329
2338
  getConfig(): CascadeConfig;
2330
2339
  getKeystore(): Keystore;
@@ -2361,6 +2370,17 @@ declare class DashboardSocket {
2361
2370
  private setupHandlers;
2362
2371
  onSessionRate(callback: (sessionId: string, rating: 'good' | 'bad') => void): void;
2363
2372
  onSessionHalt(callback: (sessionId: string) => void): void;
2373
+ /**
2374
+ * Boardroom plan decisions from a connected client. The desktop shows a
2375
+ * plan-review modal on `plan:approval-required` and answers here; the
2376
+ * server routes the decision into the paused run via resolvePlanApproval.
2377
+ */
2378
+ onPlanDecision(callback: (data: {
2379
+ sessionId: string;
2380
+ approved: boolean;
2381
+ note?: string;
2382
+ editedPlan?: unknown;
2383
+ }) => void): void;
2364
2384
  onSessionSteer(callback: (message: string, sessionId?: string, nodeId?: string) => void): void;
2365
2385
  onConfigUpdate(callback: (data: {
2366
2386
  keys?: Record<string, string>;
@@ -2400,6 +2420,14 @@ declare class DashboardServer {
2400
2420
  * map is how that answer reaches the run that's blocked on it.
2401
2421
  */
2402
2422
  private pendingApprovals;
2423
+ /**
2424
+ * The orchestration decision trail ("why") of each session's most recent
2425
+ * run — captured when the run ends so the desktop's Why panel can show it
2426
+ * after the fact. Bounded: oldest entry evicted past 50 sessions.
2427
+ */
2428
+ private whyBySession;
2429
+ /** Cron scheduler for the Schedules UI — runs tasks while this server is up. */
2430
+ private scheduler;
2403
2431
  private port;
2404
2432
  private host;
2405
2433
  private workspacePath;
@@ -2440,6 +2468,12 @@ declare class DashboardServer {
2440
2468
  private persistRunStart;
2441
2469
  /** Record run end: the assistant reply (when there is one) and the runtime row's final status. */
2442
2470
  private persistRunEnd;
2471
+ /**
2472
+ * Capture the run's decision trail + router economics ("why") and broadcast
2473
+ * it so the desktop's Why panel updates live; kept per-session for the
2474
+ * GET /api/sessions/:id/why fallback (panel opened after the run).
2475
+ */
2476
+ private captureWhy;
2443
2477
  /**
2444
2478
  * Route steering text into running Cascade instances. Targets the given
2445
2479
  * session, or every active session when none is specified (the desktop
@@ -2457,6 +2491,13 @@ declare class DashboardServer {
2457
2491
  * timeout denies it.
2458
2492
  */
2459
2493
  private makeApprovalCallback;
2494
+ /**
2495
+ * Execute one scheduled task firing. Runs headless (like `cascade run -p`):
2496
+ * tool approvals are auto-granted since nobody may be watching when the cron
2497
+ * fires — the Schedules UI states this. Events broadcast to every connected
2498
+ * client so an open desktop sees the run appear live.
2499
+ */
2500
+ private runScheduledTask;
2460
2501
  /** Deny + clear any approvals still pending for a session (run end / abort). */
2461
2502
  private denyPendingApprovals;
2462
2503
  private persistRuntimeRow;
@@ -2636,6 +2677,8 @@ declare const CASCADE_DASHBOARD_SECRET_FILE = ".cascade/dashboard-secret";
2636
2677
  declare const GLOBAL_CONFIG_DIR = ".cascade-ai";
2637
2678
  declare const GLOBAL_DB_FILE = "memory.db";
2638
2679
  declare const GLOBAL_KEYSTORE_FILE = "keystore.enc";
2680
+ /** Machine-global provider credentials (API keys, Azure deployments) — chmod 600. */
2681
+ declare const GLOBAL_CREDENTIALS_FILE = "credentials.json";
2639
2682
  declare const GLOBAL_RUNTIME_DB_FILE = "runtime.db";
2640
2683
  declare const DEFAULT_DASHBOARD_PORT = 4891;
2641
2684
  declare const DEFAULT_API_PORT = 4892;
@@ -2700,4 +2743,4 @@ declare class CascadeToolError extends Error {
2700
2743
  declare function preferIpv4Host(url: string | undefined): string | undefined;
2701
2744
  declare function nodeHttpFetch(input: string | URL | Request, init?: RequestInit, redirectCount?: number): Promise<Response>;
2702
2745
 
2703
- export { AZURE_BASE_URL_TEMPLATE, type ApprovalRequest, type ApprovalResponse, type AuditEntry, AuditLogger, type BenchmarksConfig, type BudgetConfig, CASCADE_AUDIT_FILE, CASCADE_CONFIG_DIR, CASCADE_CONFIG_FILE, CASCADE_DASHBOARD_SECRET_FILE, CASCADE_DB_FILE, CASCADE_IGNORE_FILE, CASCADE_KEYSTORE_FILE, CASCADE_MD_FILE, CASCADE_VERSION, COMPLEXITY_T2_COUNT, Cascade, CascadeCancelledError, type CascadeConfig, type CascadeEvent, type CascadeEventType, CascadeIgnore, type CascadeMessage, CascadeRouter, type CascadeRunOptions, type CascadeRunResult, type CascadeThemeName, CascadeToolError, ConfigManager, type ConversationMessage, DEFAULT_API_PORT, DEFAULT_APPROVAL_REQUIRED, DEFAULT_AUTO_SUMMARIZE_AT, DEFAULT_CONTEXT_LIMIT, DEFAULT_DASHBOARD_PORT, DEFAULT_MAX_SESSION_MESSAGES, DEFAULT_RETENTION_DAYS, DEFAULT_THEME, type DashboardConfig, DashboardServer, type EscalationPayload, GLOBAL_CONFIG_DIR, GLOBAL_DB_FILE, GLOBAL_KEYSTORE_FILE, GLOBAL_RUNTIME_DB_FILE, type GenerateOptions, type GenerateResult, type HookDefinition, type HooksConfig, HooksRunner, type Identity, type ImageAttachment, Keystore, LM_STUDIO_BASE_URL, type LegacyThemeName, MODELS, McpClient, type McpServerConfig$1 as McpServerConfig, type MemoryConfig, MemoryStore, type Message, type MessageContent, type MessagePayload, type MessageStatus, type MessageType, type ModelInfo, type ModelOverrides, OLLAMA_BASE_URL, PROVIDER_DISPLAY_NAMES, type PeerMessage, type PeerMessageEvent, type PeerSyncPayload, type PeerSyncType, type PermissionDecision, type PermissionDecisionPayload, type PermissionRequest, type PermissionTrailEntry, type PlanReviewConfig, type ProviderConfig, type ProviderType, type RuntimeNode, type RuntimeNodeLog, type RuntimeRefreshPayload, type RuntimeScope, type RuntimeSession, type RuntimeSnapshotPayload, type ScheduledTask, type Session, type SessionCheckpoint, type SessionMetadata, type SessionSubscriptionPayload, type StatusUpdate, type StoredMessage, type StreamChunk, T1Administrator, type T1ToT2Assignment, T1_MODEL_PRIORITY, T2Manager, type T2Result, type T2ToT3Assignment, T2_MODEL_PRIORITY, type T3Result, type T3ResultPayload, type T3SubtaskSpec, T3Worker, T3_MODEL_PRIORITY, THEME_NAMES, TOOL_NAMES, type TaskComplexity, TaskScheduler, Telemetry, type TelemetryConfig, type Theme, type ThemeColors, type ThemeName, type TierConfig, type TierLimits, type TierRole, type TierStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolExecuteOptions, ToolRegistry, type ToolResult, type ToolsConfig, VISION_MODEL_PRIORITY, type WebSearchConfig, type WebhookConfig, type WorkspaceConfig, createCascade, nodeHttpFetch, preferIpv4Host, runCascade, streamCascade };
2746
+ export { AZURE_BASE_URL_TEMPLATE, type ApprovalRequest, type ApprovalResponse, type AuditEntry, AuditLogger, type BenchmarksConfig, type BudgetConfig, CASCADE_AUDIT_FILE, CASCADE_CONFIG_DIR, CASCADE_CONFIG_FILE, CASCADE_DASHBOARD_SECRET_FILE, CASCADE_DB_FILE, CASCADE_IGNORE_FILE, CASCADE_KEYSTORE_FILE, CASCADE_MD_FILE, CASCADE_VERSION, COMPLEXITY_T2_COUNT, Cascade, CascadeCancelledError, type CascadeConfig, type CascadeEvent, type CascadeEventType, CascadeIgnore, type CascadeMessage, CascadeRouter, type CascadeRunOptions, type CascadeRunResult, type CascadeThemeName, CascadeToolError, ConfigManager, type ConversationMessage, DEFAULT_API_PORT, DEFAULT_APPROVAL_REQUIRED, DEFAULT_AUTO_SUMMARIZE_AT, DEFAULT_CONTEXT_LIMIT, DEFAULT_DASHBOARD_PORT, DEFAULT_MAX_SESSION_MESSAGES, DEFAULT_RETENTION_DAYS, DEFAULT_THEME, type DashboardConfig, DashboardServer, type EscalationPayload, GLOBAL_CONFIG_DIR, GLOBAL_CREDENTIALS_FILE, GLOBAL_DB_FILE, GLOBAL_KEYSTORE_FILE, GLOBAL_RUNTIME_DB_FILE, type GenerateOptions, type GenerateResult, type HookDefinition, type HooksConfig, HooksRunner, type Identity, type ImageAttachment, Keystore, LM_STUDIO_BASE_URL, type LegacyThemeName, MODELS, McpClient, type McpServerConfig$1 as McpServerConfig, type MemoryConfig, MemoryStore, type Message, type MessageContent, type MessagePayload, type MessageStatus, type MessageType, type ModelInfo, type ModelOverrides, OLLAMA_BASE_URL, PROVIDER_DISPLAY_NAMES, type PeerMessage, type PeerMessageEvent, type PeerSyncPayload, type PeerSyncType, type PermissionDecision, type PermissionDecisionPayload, type PermissionRequest, type PermissionTrailEntry, type PlanReviewConfig, type ProviderConfig, type ProviderType, type RuntimeNode, type RuntimeNodeLog, type RuntimeRefreshPayload, type RuntimeScope, type RuntimeSession, type RuntimeSnapshotPayload, type ScheduledTask, type Session, type SessionCheckpoint, type SessionMetadata, type SessionSubscriptionPayload, type StatusUpdate, type StoredMessage, type StreamChunk, T1Administrator, type T1ToT2Assignment, T1_MODEL_PRIORITY, T2Manager, type T2Result, type T2ToT3Assignment, T2_MODEL_PRIORITY, type T3Result, type T3ResultPayload, type T3SubtaskSpec, T3Worker, T3_MODEL_PRIORITY, THEME_NAMES, TOOL_NAMES, type TaskComplexity, TaskScheduler, Telemetry, type TelemetryConfig, type Theme, type ThemeColors, type ThemeName, type TierConfig, type TierLimits, type TierRole, type TierStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolExecuteOptions, ToolRegistry, type ToolResult, type ToolsConfig, VISION_MODEL_PRIORITY, type WebSearchConfig, type WebhookConfig, type WorkspaceConfig, createCascade, nodeHttpFetch, preferIpv4Host, runCascade, streamCascade };
package/dist/index.d.ts CHANGED
@@ -1090,6 +1090,14 @@ declare class WorldStateDB {
1090
1090
  * the raw linear log — this replaces replaying the whole log during planning.
1091
1091
  */
1092
1092
  getFormattedKnowledge(prompt?: string, limit?: number): string;
1093
+ /**
1094
+ * Delete one fact by its (normalized) entity + relation key. Returns whether
1095
+ * a row was actually removed. Powers the desktop Knowledge tab's per-fact
1096
+ * delete — users can prune what the planner remembers about their project.
1097
+ */
1098
+ deleteFact(entity: string, relation: string): boolean;
1099
+ /** Delete every fact. Returns how many were removed. */
1100
+ clearFacts(): number;
1093
1101
  exportKnowledge(): {
1094
1102
  facts: WorldFact[];
1095
1103
  worldLog: WorldStateEntry[];
@@ -2324,7 +2332,8 @@ declare class ConfigManager {
2324
2332
  private cascadeMd;
2325
2333
  private workspacePath;
2326
2334
  private globalDir;
2327
- constructor(workspacePath?: string);
2335
+ /** `globalDirOverride` exists for tests — never point it at the real home dir there. */
2336
+ constructor(workspacePath?: string, globalDirOverride?: string);
2328
2337
  load(): Promise<void>;
2329
2338
  getConfig(): CascadeConfig;
2330
2339
  getKeystore(): Keystore;
@@ -2361,6 +2370,17 @@ declare class DashboardSocket {
2361
2370
  private setupHandlers;
2362
2371
  onSessionRate(callback: (sessionId: string, rating: 'good' | 'bad') => void): void;
2363
2372
  onSessionHalt(callback: (sessionId: string) => void): void;
2373
+ /**
2374
+ * Boardroom plan decisions from a connected client. The desktop shows a
2375
+ * plan-review modal on `plan:approval-required` and answers here; the
2376
+ * server routes the decision into the paused run via resolvePlanApproval.
2377
+ */
2378
+ onPlanDecision(callback: (data: {
2379
+ sessionId: string;
2380
+ approved: boolean;
2381
+ note?: string;
2382
+ editedPlan?: unknown;
2383
+ }) => void): void;
2364
2384
  onSessionSteer(callback: (message: string, sessionId?: string, nodeId?: string) => void): void;
2365
2385
  onConfigUpdate(callback: (data: {
2366
2386
  keys?: Record<string, string>;
@@ -2400,6 +2420,14 @@ declare class DashboardServer {
2400
2420
  * map is how that answer reaches the run that's blocked on it.
2401
2421
  */
2402
2422
  private pendingApprovals;
2423
+ /**
2424
+ * The orchestration decision trail ("why") of each session's most recent
2425
+ * run — captured when the run ends so the desktop's Why panel can show it
2426
+ * after the fact. Bounded: oldest entry evicted past 50 sessions.
2427
+ */
2428
+ private whyBySession;
2429
+ /** Cron scheduler for the Schedules UI — runs tasks while this server is up. */
2430
+ private scheduler;
2403
2431
  private port;
2404
2432
  private host;
2405
2433
  private workspacePath;
@@ -2440,6 +2468,12 @@ declare class DashboardServer {
2440
2468
  private persistRunStart;
2441
2469
  /** Record run end: the assistant reply (when there is one) and the runtime row's final status. */
2442
2470
  private persistRunEnd;
2471
+ /**
2472
+ * Capture the run's decision trail + router economics ("why") and broadcast
2473
+ * it so the desktop's Why panel updates live; kept per-session for the
2474
+ * GET /api/sessions/:id/why fallback (panel opened after the run).
2475
+ */
2476
+ private captureWhy;
2443
2477
  /**
2444
2478
  * Route steering text into running Cascade instances. Targets the given
2445
2479
  * session, or every active session when none is specified (the desktop
@@ -2457,6 +2491,13 @@ declare class DashboardServer {
2457
2491
  * timeout denies it.
2458
2492
  */
2459
2493
  private makeApprovalCallback;
2494
+ /**
2495
+ * Execute one scheduled task firing. Runs headless (like `cascade run -p`):
2496
+ * tool approvals are auto-granted since nobody may be watching when the cron
2497
+ * fires — the Schedules UI states this. Events broadcast to every connected
2498
+ * client so an open desktop sees the run appear live.
2499
+ */
2500
+ private runScheduledTask;
2460
2501
  /** Deny + clear any approvals still pending for a session (run end / abort). */
2461
2502
  private denyPendingApprovals;
2462
2503
  private persistRuntimeRow;
@@ -2636,6 +2677,8 @@ declare const CASCADE_DASHBOARD_SECRET_FILE = ".cascade/dashboard-secret";
2636
2677
  declare const GLOBAL_CONFIG_DIR = ".cascade-ai";
2637
2678
  declare const GLOBAL_DB_FILE = "memory.db";
2638
2679
  declare const GLOBAL_KEYSTORE_FILE = "keystore.enc";
2680
+ /** Machine-global provider credentials (API keys, Azure deployments) — chmod 600. */
2681
+ declare const GLOBAL_CREDENTIALS_FILE = "credentials.json";
2639
2682
  declare const GLOBAL_RUNTIME_DB_FILE = "runtime.db";
2640
2683
  declare const DEFAULT_DASHBOARD_PORT = 4891;
2641
2684
  declare const DEFAULT_API_PORT = 4892;
@@ -2700,4 +2743,4 @@ declare class CascadeToolError extends Error {
2700
2743
  declare function preferIpv4Host(url: string | undefined): string | undefined;
2701
2744
  declare function nodeHttpFetch(input: string | URL | Request, init?: RequestInit, redirectCount?: number): Promise<Response>;
2702
2745
 
2703
- export { AZURE_BASE_URL_TEMPLATE, type ApprovalRequest, type ApprovalResponse, type AuditEntry, AuditLogger, type BenchmarksConfig, type BudgetConfig, CASCADE_AUDIT_FILE, CASCADE_CONFIG_DIR, CASCADE_CONFIG_FILE, CASCADE_DASHBOARD_SECRET_FILE, CASCADE_DB_FILE, CASCADE_IGNORE_FILE, CASCADE_KEYSTORE_FILE, CASCADE_MD_FILE, CASCADE_VERSION, COMPLEXITY_T2_COUNT, Cascade, CascadeCancelledError, type CascadeConfig, type CascadeEvent, type CascadeEventType, CascadeIgnore, type CascadeMessage, CascadeRouter, type CascadeRunOptions, type CascadeRunResult, type CascadeThemeName, CascadeToolError, ConfigManager, type ConversationMessage, DEFAULT_API_PORT, DEFAULT_APPROVAL_REQUIRED, DEFAULT_AUTO_SUMMARIZE_AT, DEFAULT_CONTEXT_LIMIT, DEFAULT_DASHBOARD_PORT, DEFAULT_MAX_SESSION_MESSAGES, DEFAULT_RETENTION_DAYS, DEFAULT_THEME, type DashboardConfig, DashboardServer, type EscalationPayload, GLOBAL_CONFIG_DIR, GLOBAL_DB_FILE, GLOBAL_KEYSTORE_FILE, GLOBAL_RUNTIME_DB_FILE, type GenerateOptions, type GenerateResult, type HookDefinition, type HooksConfig, HooksRunner, type Identity, type ImageAttachment, Keystore, LM_STUDIO_BASE_URL, type LegacyThemeName, MODELS, McpClient, type McpServerConfig$1 as McpServerConfig, type MemoryConfig, MemoryStore, type Message, type MessageContent, type MessagePayload, type MessageStatus, type MessageType, type ModelInfo, type ModelOverrides, OLLAMA_BASE_URL, PROVIDER_DISPLAY_NAMES, type PeerMessage, type PeerMessageEvent, type PeerSyncPayload, type PeerSyncType, type PermissionDecision, type PermissionDecisionPayload, type PermissionRequest, type PermissionTrailEntry, type PlanReviewConfig, type ProviderConfig, type ProviderType, type RuntimeNode, type RuntimeNodeLog, type RuntimeRefreshPayload, type RuntimeScope, type RuntimeSession, type RuntimeSnapshotPayload, type ScheduledTask, type Session, type SessionCheckpoint, type SessionMetadata, type SessionSubscriptionPayload, type StatusUpdate, type StoredMessage, type StreamChunk, T1Administrator, type T1ToT2Assignment, T1_MODEL_PRIORITY, T2Manager, type T2Result, type T2ToT3Assignment, T2_MODEL_PRIORITY, type T3Result, type T3ResultPayload, type T3SubtaskSpec, T3Worker, T3_MODEL_PRIORITY, THEME_NAMES, TOOL_NAMES, type TaskComplexity, TaskScheduler, Telemetry, type TelemetryConfig, type Theme, type ThemeColors, type ThemeName, type TierConfig, type TierLimits, type TierRole, type TierStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolExecuteOptions, ToolRegistry, type ToolResult, type ToolsConfig, VISION_MODEL_PRIORITY, type WebSearchConfig, type WebhookConfig, type WorkspaceConfig, createCascade, nodeHttpFetch, preferIpv4Host, runCascade, streamCascade };
2746
+ export { AZURE_BASE_URL_TEMPLATE, type ApprovalRequest, type ApprovalResponse, type AuditEntry, AuditLogger, type BenchmarksConfig, type BudgetConfig, CASCADE_AUDIT_FILE, CASCADE_CONFIG_DIR, CASCADE_CONFIG_FILE, CASCADE_DASHBOARD_SECRET_FILE, CASCADE_DB_FILE, CASCADE_IGNORE_FILE, CASCADE_KEYSTORE_FILE, CASCADE_MD_FILE, CASCADE_VERSION, COMPLEXITY_T2_COUNT, Cascade, CascadeCancelledError, type CascadeConfig, type CascadeEvent, type CascadeEventType, CascadeIgnore, type CascadeMessage, CascadeRouter, type CascadeRunOptions, type CascadeRunResult, type CascadeThemeName, CascadeToolError, ConfigManager, type ConversationMessage, DEFAULT_API_PORT, DEFAULT_APPROVAL_REQUIRED, DEFAULT_AUTO_SUMMARIZE_AT, DEFAULT_CONTEXT_LIMIT, DEFAULT_DASHBOARD_PORT, DEFAULT_MAX_SESSION_MESSAGES, DEFAULT_RETENTION_DAYS, DEFAULT_THEME, type DashboardConfig, DashboardServer, type EscalationPayload, GLOBAL_CONFIG_DIR, GLOBAL_CREDENTIALS_FILE, GLOBAL_DB_FILE, GLOBAL_KEYSTORE_FILE, GLOBAL_RUNTIME_DB_FILE, type GenerateOptions, type GenerateResult, type HookDefinition, type HooksConfig, HooksRunner, type Identity, type ImageAttachment, Keystore, LM_STUDIO_BASE_URL, type LegacyThemeName, MODELS, McpClient, type McpServerConfig$1 as McpServerConfig, type MemoryConfig, MemoryStore, type Message, type MessageContent, type MessagePayload, type MessageStatus, type MessageType, type ModelInfo, type ModelOverrides, OLLAMA_BASE_URL, PROVIDER_DISPLAY_NAMES, type PeerMessage, type PeerMessageEvent, type PeerSyncPayload, type PeerSyncType, type PermissionDecision, type PermissionDecisionPayload, type PermissionRequest, type PermissionTrailEntry, type PlanReviewConfig, type ProviderConfig, type ProviderType, type RuntimeNode, type RuntimeNodeLog, type RuntimeRefreshPayload, type RuntimeScope, type RuntimeSession, type RuntimeSnapshotPayload, type ScheduledTask, type Session, type SessionCheckpoint, type SessionMetadata, type SessionSubscriptionPayload, type StatusUpdate, type StoredMessage, type StreamChunk, T1Administrator, type T1ToT2Assignment, T1_MODEL_PRIORITY, T2Manager, type T2Result, type T2ToT3Assignment, T2_MODEL_PRIORITY, type T3Result, type T3ResultPayload, type T3SubtaskSpec, T3Worker, T3_MODEL_PRIORITY, THEME_NAMES, TOOL_NAMES, type TaskComplexity, TaskScheduler, Telemetry, type TelemetryConfig, type Theme, type ThemeColors, type ThemeName, type TierConfig, type TierLimits, type TierRole, type TierStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolExecuteOptions, ToolRegistry, type ToolResult, type ToolsConfig, VISION_MODEL_PRIORITY, type WebSearchConfig, type WebhookConfig, type WorkspaceConfig, createCascade, nodeHttpFetch, preferIpv4Host, runCascade, streamCascade };