@bike4mind/cli 0.2.65 → 0.2.66-feat-export-tool-context-type.21880

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.
@@ -7,7 +7,7 @@ import path from "path";
7
7
  import { v4 } from "uuid";
8
8
  import * as z$2 from "zod";
9
9
  import z$1, { z } from "zod";
10
- import dayjs from "dayjs";
10
+ import dayjs$1 from "dayjs";
11
11
  import timezone from "dayjs/plugin/timezone.js";
12
12
  import utc from "dayjs/plugin/utc.js";
13
13
  import relativeTime from "dayjs/plugin/relativeTime.js";
@@ -2744,6 +2744,8 @@ z.enum([
2744
2744
  "githubMcpClientSecret",
2745
2745
  "atlassianClientId",
2746
2746
  "atlassianClientSecret",
2747
+ "notionClientId",
2748
+ "notionClientSecret",
2747
2749
  "qWorkUrl",
2748
2750
  "qWorkToken",
2749
2751
  "FacebookLink",
@@ -3410,6 +3412,14 @@ const API_SERVICE_GROUPS = {
3410
3412
  {
3411
3413
  key: "atlassianClientSecret",
3412
3414
  order: 5
3415
+ },
3416
+ {
3417
+ key: "notionClientId",
3418
+ order: 6
3419
+ },
3420
+ {
3421
+ key: "notionClientSecret",
3422
+ order: 7
3413
3423
  }
3414
3424
  ]
3415
3425
  },
@@ -4448,6 +4458,24 @@ makeStringSetting({
4448
4458
  group: API_SERVICE_GROUPS.MCP.id,
4449
4459
  order: 5,
4450
4460
  isSensitive: true
4461
+ }), makeStringSetting({
4462
+ key: "notionClientId",
4463
+ name: "Notion Client ID",
4464
+ defaultValue: "",
4465
+ description: "The OAuth Client ID for Notion integration.",
4466
+ category: "Tools",
4467
+ group: API_SERVICE_GROUPS.MCP.id,
4468
+ order: 6,
4469
+ isSensitive: false
4470
+ }), makeStringSetting({
4471
+ key: "notionClientSecret",
4472
+ name: "Notion Client Secret",
4473
+ defaultValue: "",
4474
+ description: "The OAuth Client Secret for Notion integration.",
4475
+ category: "Tools",
4476
+ group: API_SERVICE_GROUPS.MCP.id,
4477
+ order: 7,
4478
+ isSensitive: true
4451
4479
  }), makeStringSetting({
4452
4480
  key: "qWorkUrl",
4453
4481
  name: "Q/Work URL",
@@ -7615,10 +7643,10 @@ function resolveNavigationIntents(suggestions, isAdmin) {
7615
7643
  };
7616
7644
  }).filter((intent) => intent !== null);
7617
7645
  }
7618
- dayjs.extend(utc);
7619
- dayjs.extend(timezone);
7620
- dayjs.extend(relativeTime);
7621
- dayjs.extend(localizedFormat);
7646
+ dayjs$1.extend(utc);
7647
+ dayjs$1.extend(timezone);
7648
+ dayjs$1.extend(relativeTime);
7649
+ dayjs$1.extend(localizedFormat);
7622
7650
  const logger = class Logger {
7623
7651
  static {
7624
7652
  this.instance = null;
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-DtQo1_cF.mjs";
2
+ import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-oZj3Zn2k.mjs";
3
3
  import { execSync } from "child_process";
4
4
  import { constants, existsSync, promises } from "fs";
5
5
  import { homedir } from "os";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { I as isReadOnlyTool, L as ReActAgent, M as setWebSocketToolExecutor, P as buildCoreSystemPrompt, R as CustomCommandStore, S as getApiUrl, T as generateCliTools, V as SessionStore, _ as McpManager, a as createBackgroundAgentTools, c as AgentStore, f as ApiClient, g as ServerLlmBackend, h as WebSocketLlmBackend, i as createWriteTodosTool, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, w as PermissionManager, x as loadContextFiles, z as CheckpointStore } from "../tools-LvuONnuT.mjs";
3
- import { n as logger, t as ConfigStore } from "../ConfigStore-uYYzNv7J.mjs";
2
+ import { I as isReadOnlyTool, L as ReActAgent, M as setWebSocketToolExecutor, P as buildCoreSystemPrompt, R as CustomCommandStore, S as getApiUrl, T as generateCliTools, V as SessionStore, _ as McpManager, a as createBackgroundAgentTools, c as AgentStore, f as ApiClient, g as ServerLlmBackend, h as WebSocketLlmBackend, i as createWriteTodosTool, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, w as PermissionManager, x as loadContextFiles, z as CheckpointStore } from "../tools-CjjYvE_y.mjs";
3
+ import { n as logger, t as ConfigStore } from "../ConfigStore-CF_coVoC.mjs";
4
4
  import { t as DEFAULT_SANDBOX_CONFIG } from "../types-DBEjF9YS.mjs";
5
5
  import { t as createSandboxRuntime } from "../SandboxRuntimeAdapter-C1B4t20N.mjs";
6
6
  import { t as SandboxOrchestrator } from "../SandboxOrchestrator-BEW3rqYi.mjs";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as ConfigStore } from "../ConfigStore-uYYzNv7J.mjs";
2
+ import { t as ConfigStore } from "../ConfigStore-CF_coVoC.mjs";
3
3
  //#region src/commands/mcpCommand.ts
4
4
  /**
5
5
  * External MCP commands (b4m mcp list, b4m mcp add, etc.)
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as version, r as forceCheckForUpdate } from "../updateChecker-DtQo1_cF.mjs";
2
+ import { i as version, r as forceCheckForUpdate } from "../updateChecker-oZj3Zn2k.mjs";
3
3
  import { execSync } from "child_process";
4
4
  //#region src/commands/updateCommand.ts
5
5
  /**
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as useCliStore, t as selectActiveBackgroundAgents } from "./store-Dw1nZX2Y.mjs";
3
- import { A as clearFeatureModuleTools, B as CommandHistoryStore, C as getEnvironmentName, D as DEFAULT_AGENT_MODEL, E as ALWAYS_DENIED_FOR_AGENTS, F as buildSkillsPromptSection, G as searchCommands, H as OAuthClient, I as isReadOnlyTool, J as searchFiles, K as mergeCommands, L as ReActAgent, M as setWebSocketToolExecutor, N as OllamaBackend, O as DEFAULT_MAX_ITERATIONS, P as buildCoreSystemPrompt, R as CustomCommandStore, S as getApiUrl, T as generateCliTools, U as hasFileReferences, V as SessionStore, W as processFileReferences, Y as warmFileCache, _ as McpManager, a as createBackgroundAgentTools, b as extractCompactInstructions, c as AgentStore, d as parseAgentConfig, f as ApiClient, g as ServerLlmBackend, h as WebSocketLlmBackend, i as createWriteTodosTool, j as registerFeatureModuleTools, k as DEFAULT_THOROUGHNESS, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, q as formatFileSize, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, v as substituteArguments, w as PermissionManager, x as loadContextFiles, y as formatStep, z as CheckpointStore } from "./tools-LvuONnuT.mjs";
4
- import { Dt as validateNotebookPath$1, Et as validateJupyterKernelName, g as ChatModels, m as CREDIT_DEDUCT_TRANSACTION_TYPES, n as logger, t as ConfigStore } from "./ConfigStore-uYYzNv7J.mjs";
5
- import { i as version, t as checkForUpdate } from "./updateChecker-DtQo1_cF.mjs";
3
+ import { A as clearFeatureModuleTools, B as CommandHistoryStore, C as getEnvironmentName, D as DEFAULT_AGENT_MODEL, E as ALWAYS_DENIED_FOR_AGENTS, F as buildSkillsPromptSection, G as searchCommands, H as OAuthClient, I as isReadOnlyTool, J as searchFiles, K as mergeCommands, L as ReActAgent, M as setWebSocketToolExecutor, N as OllamaBackend, O as DEFAULT_MAX_ITERATIONS, P as buildCoreSystemPrompt, R as CustomCommandStore, S as getApiUrl, T as generateCliTools, U as hasFileReferences, V as SessionStore, W as processFileReferences, Y as warmFileCache, _ as McpManager, a as createBackgroundAgentTools, b as extractCompactInstructions, c as AgentStore, d as parseAgentConfig, f as ApiClient, g as ServerLlmBackend, h as WebSocketLlmBackend, i as createWriteTodosTool, j as registerFeatureModuleTools, k as DEFAULT_THOROUGHNESS, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, q as formatFileSize, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, v as substituteArguments, w as PermissionManager, x as loadContextFiles, y as formatStep, z as CheckpointStore } from "./tools-CjjYvE_y.mjs";
4
+ import { Dt as validateNotebookPath$1, Et as validateJupyterKernelName, g as ChatModels, m as CREDIT_DEDUCT_TRANSACTION_TYPES, n as logger, t as ConfigStore } from "./ConfigStore-CF_coVoC.mjs";
5
+ import { i as version, t as checkForUpdate } from "./updateChecker-oZj3Zn2k.mjs";
6
6
  import React, { useCallback, useEffect, useMemo, useReducer, useRef, useState } from "react";
7
7
  import { Box, Static, Text, render, useApp, useInput } from "ink";
8
8
  import { execSync } from "child_process";
@@ -22,7 +22,7 @@ import jwt from "jsonwebtoken";
22
22
  import open from "open";
23
23
  import axios, { isAxiosError } from "axios";
24
24
  import { get_encoding } from "tiktoken";
25
- import WebSocket from "ws";
25
+ import WsWebSocket from "ws";
26
26
  //#region src/components/StatusBar.tsx
27
27
  const StatusBar = React.memo(function StatusBar({ sessionName, model, tokenUsage, creditsUsage }) {
28
28
  const autoAcceptEdits = useCliStore((state) => state.autoAcceptEdits);
@@ -2798,14 +2798,14 @@ var JupyterClient = class {
2798
2798
  let executionCount = null;
2799
2799
  let hasError = false;
2800
2800
  let errorInfo;
2801
- const ws = new WebSocket(wsUrl);
2801
+ const ws = new WsWebSocket(wsUrl);
2802
2802
  const timeoutHandle = setTimeout(() => {
2803
2803
  cleanup();
2804
2804
  reject(new JupyterClientError(`Cell execution timed out after ${timeoutMs}ms`));
2805
2805
  }, timeoutMs);
2806
2806
  const cleanup = () => {
2807
2807
  clearTimeout(timeoutHandle);
2808
- if (ws.readyState === WebSocket.OPEN || ws.readyState === WebSocket.CONNECTING) ws.close();
2808
+ if (ws.readyState === WsWebSocket.OPEN || ws.readyState === WsWebSocket.CONNECTING) ws.close();
2809
2809
  };
2810
2810
  ws.on("error", (err) => {
2811
2811
  cleanup();
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as RegInviteEvents, A as ImageGenerationUsageTransaction, B as OpenAIEmbeddingModel, C as FileEvents, Ct as isGPTImageModel, D as GenericCreditAddTransaction, E as GenerateImageToolCallSchema, F as KnowledgeType, G as ProjectEvents, H as Permission, I as LLMEvents, J as QuestMasterParamsSchema, K as PromptMetaZodSchema, L as MiscEvents, M as InboxEvents, N as InviteEvents, O as GenericCreditDeductTransaction, Ot as CollectionType, P as InviteType, Q as RechartsChartTypeList, R as ModalEvents, S as FeedbackEvents, St as getViewById, T as GEMINI_IMAGE_MODELS, Tt as sanitizeTelemetryError, U as PermissionDeniedError, V as OpenAIImageGenerationInput, W as ProfileEvents, X as RealtimeVoiceUsageTransaction, Y as REASONING_SUPPORTED_MODELS, Z as ReceivedCreditTransaction, _ as CompletionApiUsageTransaction, _t as VoyageAIEmbeddingModel, a as ApiKeyEvents, at as SpeechToTextModels, b as FIXED_TEMPERATURE_MODELS, bt as getDataLakeTags, c as AppFileEvents, ct as TagType, d as BFL_IMAGE_MODELS, dt as ToolUsageTransaction, et as ResearchModeParamsSchema, f as BFL_SAFETY_TOLERANCE, ft as TransferCreditTransaction, g as ChatModels, gt as VideoModels, h as ChatCompletionCreateInputSchema, ht as VideoGenerationUsageTransaction, i as AiEvents, it as SessionEvents, j as ImageModels, k as ImageEditUsageTransaction, l as ArtifactTypeSchema, lt as TaskScheduleHandler, mt as VIDEO_SIZE_CONSTRAINTS, n as logger, nt as ResearchTaskPeriodicFrequencyType, o as ApiKeyScope, ot as SubscriptionCreditTransaction, p as BedrockEmbeddingModel, pt as UiNavigationEvents, q as PurchaseTransaction, r as ALERT_THRESHOLDS, rt as ResearchTaskType, s as ApiKeyType, st as SupportedFabFileMimeTypes, t as ConfigStore, tt as ResearchTaskExecutionType, u as AuthEvents, ut as TextGenerationUsageTransaction, v as DashboardParamsSchema, vt as XAI_IMAGE_MODELS, w as FriendshipEvents, wt as resolveNavigationIntents, x as FavoriteDocumentType, xt as getMcpProviderMetadata, y as ElabsEvents, yt as b4mLLMTools, z as ModelBackend } from "./ConfigStore-uYYzNv7J.mjs";
2
+ import { $ as RegInviteEvents, A as ImageGenerationUsageTransaction, B as OpenAIEmbeddingModel, C as FileEvents, Ct as isGPTImageModel, D as GenericCreditAddTransaction, E as GenerateImageToolCallSchema, F as KnowledgeType, G as ProjectEvents, H as Permission, I as LLMEvents, J as QuestMasterParamsSchema, K as PromptMetaZodSchema, L as MiscEvents, M as InboxEvents, N as InviteEvents, O as GenericCreditDeductTransaction, Ot as CollectionType, P as InviteType, Q as RechartsChartTypeList, R as ModalEvents, S as FeedbackEvents, St as getViewById, T as GEMINI_IMAGE_MODELS, Tt as sanitizeTelemetryError, U as PermissionDeniedError, V as OpenAIImageGenerationInput, W as ProfileEvents, X as RealtimeVoiceUsageTransaction, Y as REASONING_SUPPORTED_MODELS, Z as ReceivedCreditTransaction, _ as CompletionApiUsageTransaction, _t as VoyageAIEmbeddingModel, a as ApiKeyEvents, at as SpeechToTextModels, b as FIXED_TEMPERATURE_MODELS, bt as getDataLakeTags, c as AppFileEvents, ct as TagType, d as BFL_IMAGE_MODELS, dt as ToolUsageTransaction, et as ResearchModeParamsSchema, f as BFL_SAFETY_TOLERANCE, ft as TransferCreditTransaction, g as ChatModels, gt as VideoModels, h as ChatCompletionCreateInputSchema, ht as VideoGenerationUsageTransaction, i as AiEvents, it as SessionEvents, j as ImageModels, k as ImageEditUsageTransaction, l as ArtifactTypeSchema, lt as TaskScheduleHandler, mt as VIDEO_SIZE_CONSTRAINTS, n as logger, nt as ResearchTaskPeriodicFrequencyType, o as ApiKeyScope, ot as SubscriptionCreditTransaction, p as BedrockEmbeddingModel, pt as UiNavigationEvents, q as PurchaseTransaction, r as ALERT_THRESHOLDS, rt as ResearchTaskType, s as ApiKeyType, st as SupportedFabFileMimeTypes, t as ConfigStore, tt as ResearchTaskExecutionType, u as AuthEvents, ut as TextGenerationUsageTransaction, v as DashboardParamsSchema, vt as XAI_IMAGE_MODELS, w as FriendshipEvents, wt as resolveNavigationIntents, x as FavoriteDocumentType, xt as getMcpProviderMetadata, y as ElabsEvents, yt as b4mLLMTools, z as ModelBackend } from "./ConfigStore-CF_coVoC.mjs";
3
3
  import { n as isPathAllowed, t as assertPathAllowed } from "./pathValidation-Cgjh5WQO-DiCZTcq6.mjs";
4
4
  import { execFile, execFileSync, spawn } from "child_process";
5
5
  import { createHash, randomBytes } from "crypto";
@@ -15,7 +15,7 @@ import ignore from "ignore";
15
15
  import Fuse from "fuse.js";
16
16
  import "marked";
17
17
  import { ZodError, z } from "zod";
18
- import dayjs from "dayjs";
18
+ import dayjs$1 from "dayjs";
19
19
  import timezone from "dayjs/plugin/timezone.js";
20
20
  import utc from "dayjs/plugin/utc.js";
21
21
  import "jsonwebtoken";
@@ -81,7 +81,7 @@ import { homedir as homedir$1 } from "node:os";
81
81
  import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
82
82
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
83
83
  import { fileURLToPath } from "url";
84
- import WebSocket from "ws";
84
+ import WsWebSocket from "ws";
85
85
  import { createParser } from "eventsource-parser";
86
86
  import { createRequire } from "module";
87
87
  //#region src/utils/fileSearch.ts
@@ -6354,9 +6354,9 @@ z.object({
6354
6354
  riskAssessment: z.string(),
6355
6355
  affectedFiles: z.array(z.object({
6356
6356
  filePath: z.string(),
6357
- before: z.string(),
6357
+ before: z.string().min(1),
6358
6358
  after: z.string()
6359
- }))
6359
+ })).max(10)
6360
6360
  });
6361
6361
  //#endregion
6362
6362
  //#region ../../b4m-core/packages/quantum/dist/index.mjs
@@ -8268,6 +8268,7 @@ const updateUserSchema = z.object({
8268
8268
  preferences: z.object({
8269
8269
  language: z.string().optional(),
8270
8270
  favoriteTags: z.array(z.string()).optional(),
8271
+ favoriteModelIds: z.array(z.string()).optional(),
8271
8272
  fileBrowserViewMode: z.enum([
8272
8273
  "home",
8273
8274
  "list",
@@ -8285,7 +8286,8 @@ const updateUserSchema = z.object({
8285
8286
  enableAutoScroll: z.boolean().optional(),
8286
8287
  scrollbarWidth: z.number().optional(),
8287
8288
  experimentalFeatures: z.record(z.string(), z.boolean()).optional(),
8288
- rechartsDisplayMode: z.enum(["inline", "artifact"]).optional()
8289
+ rechartsDisplayMode: z.enum(["inline", "artifact"]).optional(),
8290
+ docxTemplateFileId: z.string().nullable().optional()
8289
8291
  }).nullable().optional()
8290
8292
  });
8291
8293
  z.object({
@@ -8391,8 +8393,8 @@ z.object({
8391
8393
  reason: z.string().optional()
8392
8394
  });
8393
8395
  z.object({ keyId: z.string() });
8394
- dayjs.extend(utc);
8395
- dayjs.extend(timezone);
8396
+ dayjs$1.extend(utc);
8397
+ dayjs$1.extend(timezone);
8396
8398
  AuthEvents.REGISTER, AuthEvents.RESET_PASSWORD, AuthEvents.RESET_LAND_PASSWORD, AuthEvents.RESET_PASSWORD_TOKEN_EXPIRED, ApiKeyEvents.CREATE_API_KEY, ApiKeyEvents.DELETE_API_KEY, ApiKeyEvents.SET_API_KEY, SessionEvents.CREATE_SESSION, SessionEvents.UPDATE_SESSION, SessionEvents.DELETE_SESSION, SessionEvents.DELETE_ALL_SESSIONS, SessionEvents.CLONE_SESSION, FileEvents.CREATE_FILE, FileEvents.UPDATE_FILE, FileEvents.DELETE_FILE, FileEvents.DELETE_ALL_FILES, FileEvents.CREATE_FILE_URL, FileEvents.FILE_UPLOADED, FileEvents.FILE_DOWNLOADED, FileEvents.GENERATE_FILE_PRESIGNED_URL, AppFileEvents.CREATE_APP_FILE, AppFileEvents.DELETE_APP_FILE, AppFileEvents.UPDATE_APP_FILE_TAGS, LLMEvents.QUEUE_HANDLER_START_MODEL, LLMEvents.QUEUE_HANDLER_START_HEARD_PROMPT, LLMEvents.QUEUE_HANDLER_START_AUTO_NAMED_SESSION, LLMEvents.QUEUE_HANDLER_IMAGE_GENERATE, AiEvents.AI_GENERATE_IMAGE, AiEvents.NOTEBOOK_SUMMARIZATION, ElabsEvents.CREATE_ELABS_VOICE, ElabsEvents.DELETE_ELABS_VOICE, ElabsEvents.SET_ACTIVE_ELABS_VOICE, ProjectEvents.CREATE_PROJECT, ProjectEvents.UPDATE_PROJECT, ProjectEvents.DELETE_PROJECT, ProjectEvents.VIEW_PROJECT, ProjectEvents.ADD_SESSION, ProjectEvents.REMOVE_SESSION, ProjectEvents.ADD_FILE, ProjectEvents.REMOVE_FILE, ProjectEvents.ADD_SYSTEM_PROMPT, ProjectEvents.REMOVE_SYSTEM_PROMPT, ProjectEvents.ADD_MEMBER, ProjectEvents.REMOVE_MEMBER, ProjectEvents.UPDATE_MEMBER_ROLE, ProjectEvents.ADD_GROUP, ProjectEvents.REMOVE_GROUP, ProjectEvents.UPDATE_GROUP_ROLE, ProjectEvents.PROJECT_JOINED, ProjectEvents.PROJECT_LEAVED, ProjectEvents.UPDATE_SHARING, ProfileEvents.PROFILE_VIEW, FriendshipEvents.FRIENDSHIP_REQUEST, FriendshipEvents.FRIENDSHIP_ACCEPT, FriendshipEvents.FRIENDSHIP_REJECT, FriendshipEvents.FRIENDSHIP_CANCEL, InviteEvents.CREATE_INVITE, InviteEvents.DELETE_INVITE, RegInviteEvents.CREATE_REGINVITE, RegInviteEvents.DELETE_REGINVITE, RegInviteEvents.UPDATE_REGINVITE, RegInviteEvents.REFER_REGINVITE, RegInviteEvents.REGINVITE_USER_INVITE, RegInviteEvents.MIGRATE_REGINVITE, FeedbackEvents.CREATE_FEEDBACK, FeedbackEvents.UPDATE_FEEDBACK, FeedbackEvents.DELETE_FEEDBACK, FeedbackEvents.FEEDBACK_SENT, InboxEvents.CREATE_INBOX, InboxEvents.DELETE_INBOX, InboxEvents.READ_INBOX, ModalEvents.VIEW_MODAL, ModalEvents.AGREE_MODAL, ModalEvents.VIEW_BANNER, MiscEvents.ROLLED_DICE, LLMEvents.MEMENTO_CREATION_ERROR, LLMEvents.QUEST_MASTER_ERROR, LLMEvents.AUTO_NAMING_ERROR, MiscEvents.DOWNLOAD_FAILED, UiNavigationEvents.MORE_CREDITS_CLICKED, UiNavigationEvents.SUBSCRIBE_CLICKED, UiNavigationEvents.PROFILE_CLICKED, UiNavigationEvents.WHATS_NEW_CLICKED;
8397
8399
  z.object({
8398
8400
  date: z.string(),
@@ -18716,7 +18718,7 @@ var WebSocketLlmBackend = class {
18716
18718
  //#endregion
18717
18719
  //#region src/ws/WebSocketConnectionManager.ts
18718
18720
  const useWsPolyfill = typeof globalThis.WebSocket === "undefined";
18719
- const WS = useWsPolyfill ? WebSocket : globalThis.WebSocket;
18721
+ const WS = useWsPolyfill ? WsWebSocket : globalThis.WebSocket;
18720
18722
  /**
18721
18723
  * Manages a persistent WebSocket connection for CLI ↔ server communication.
18722
18724
  * Handles heartbeat, reconnection, and message routing by requestId.
@@ -18753,7 +18755,7 @@ var WebSocketConnectionManager = class {
18753
18755
  }
18754
18756
  return new Promise((resolve, reject) => {
18755
18757
  logger.debug(`[WS] Connecting to ${this.wsUrl}...`);
18756
- if (useWsPolyfill) this.ws = new WebSocket(this.wsUrl, { headers: { "Sec-WebSocket-Protocol": `access_token.${token}` } });
18758
+ if (useWsPolyfill) this.ws = new WsWebSocket(this.wsUrl, { headers: { "Sec-WebSocket-Protocol": `access_token.${token}` } });
18757
18759
  else this.ws = new WS(this.wsUrl, [`access_token.${token}`]);
18758
18760
  this.ws.onopen = () => {
18759
18761
  logger.debug("[WS] Connected");
@@ -4,7 +4,7 @@ import { homedir } from "os";
4
4
  import path from "path";
5
5
  import axios from "axios";
6
6
  //#region package.json
7
- var version = "0.2.65";
7
+ var version = "0.2.66-feat-export-tool-context-type.21880+edde3c069";
8
8
  //#endregion
9
9
  //#region src/utils/updateChecker.ts
10
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.65",
3
+ "version": "0.2.66-feat-export-tool-context-type.21880+edde3c069",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -115,11 +115,11 @@
115
115
  "zustand": "^4.5.4"
116
116
  },
117
117
  "devDependencies": {
118
- "@bike4mind/agents": "0.4.3",
119
- "@bike4mind/common": "2.75.2",
120
- "@bike4mind/mcp": "1.33.22",
121
- "@bike4mind/services": "2.69.2",
122
- "@bike4mind/utils": "2.16.4",
118
+ "@bike4mind/agents": "0.4.4-feat-export-tool-context-type.21880+edde3c069",
119
+ "@bike4mind/common": "2.75.3-feat-export-tool-context-type.21880+edde3c069",
120
+ "@bike4mind/mcp": "1.33.23-feat-export-tool-context-type.21880+edde3c069",
121
+ "@bike4mind/services": "2.70.1-feat-export-tool-context-type.21880+edde3c069",
122
+ "@bike4mind/utils": "2.16.5-feat-export-tool-context-type.21880+edde3c069",
123
123
  "@types/better-sqlite3": "^7.6.13",
124
124
  "@types/jsonwebtoken": "^9.0.4",
125
125
  "@types/node": "^22.9.0",
@@ -136,5 +136,5 @@
136
136
  "optionalDependencies": {
137
137
  "@vscode/ripgrep": "^1.17.1"
138
138
  },
139
- "gitHead": "222fe0507f4d23385001853b57e914f245439944"
139
+ "gitHead": "edde3c069fd06dcc284ec1aa6bd3b6c11a4ea3b2"
140
140
  }