@bike4mind/cli 0.2.79-fix-7825-math-tool-unbalanced-parentheses.22435 → 0.2.79-fix-cli-jimp-missing-dependency.22435

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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-BLhqY-ho.mjs";
2
+ import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-Dr2-ccrC.mjs";
3
3
  import { execSync } from "child_process";
4
4
  import { constants, existsSync, promises } from "fs";
5
5
  import { homedir } from "os";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { B as CustomCommandStore, C as getApiUrl, E as generateCliTools, I as buildCoreSystemPrompt, P as setWebSocketToolExecutor, R as isReadOnlyTool, S as loadContextFiles, T as PermissionManager, U as SessionStore, V as CheckpointStore, _ as ServerLlmBackend, a as createBackgroundAgentTools, c as AgentStore, f as ApiClient, g as WebSocketLlmBackend, h as FallbackLlmBackend, 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, v as McpManager, z as ReActAgent } from "../tools-CrZR3S4S.mjs";
2
+ import { B as CustomCommandStore, C as getApiUrl, E as generateCliTools, I as buildCoreSystemPrompt, P as setWebSocketToolExecutor, R as isReadOnlyTool, S as loadContextFiles, T as PermissionManager, U as SessionStore, V as CheckpointStore, _ as ServerLlmBackend, a as createBackgroundAgentTools, c as AgentStore, f as ApiClient, g as WebSocketLlmBackend, h as FallbackLlmBackend, 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, v as McpManager, z as ReActAgent } from "../tools-DXOCdHv8.mjs";
3
3
  import { n as logger, t as ConfigStore } from "../ConfigStore-CG7DYbjy.mjs";
4
4
  import { t as DEFAULT_SANDBOX_CONFIG } from "../types-DBEjF9YS.mjs";
5
5
  import { t as createSandboxRuntime } from "../SandboxRuntimeAdapter-C1B4t20N.mjs";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as version, r as forceCheckForUpdate } from "../updateChecker-BLhqY-ho.mjs";
2
+ import { i as version, r as forceCheckForUpdate } from "../updateChecker-Dr2-ccrC.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 DEFAULT_RETRY_CONFIG, B as CustomCommandStore, C as getApiUrl, D as ALWAYS_DENIED_FOR_AGENTS, E as generateCliTools, F as OllamaBackend, G as hasFileReferences, H as CommandHistoryStore, I as buildCoreSystemPrompt, J as mergeCommands, K as processFileReferences, L as buildSkillsPromptSection, M as clearFeatureModuleTools, N as registerFeatureModuleTools, O as DEFAULT_AGENT_MODEL, P as setWebSocketToolExecutor, R as isReadOnlyTool, S as loadContextFiles, T as PermissionManager, U as SessionStore, V as CheckpointStore, W as OAuthClient, X as searchFiles, Y as formatFileSize, Z as warmFileCache, _ as ServerLlmBackend, a as createBackgroundAgentTools, b as formatStep, c as AgentStore, d as parseAgentConfig, f as ApiClient, g as WebSocketLlmBackend, h as FallbackLlmBackend, i as createWriteTodosTool, j as DEFAULT_THOROUGHNESS, k as DEFAULT_MAX_ITERATIONS, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, q as searchCommands, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, v as McpManager, w as getEnvironmentName, x as extractCompactInstructions, y as substituteArguments, z as ReActAgent } from "./tools-CrZR3S4S.mjs";
3
+ import { A as DEFAULT_RETRY_CONFIG, B as CustomCommandStore, C as getApiUrl, D as ALWAYS_DENIED_FOR_AGENTS, E as generateCliTools, F as OllamaBackend, G as hasFileReferences, H as CommandHistoryStore, I as buildCoreSystemPrompt, J as mergeCommands, K as processFileReferences, L as buildSkillsPromptSection, M as clearFeatureModuleTools, N as registerFeatureModuleTools, O as DEFAULT_AGENT_MODEL, P as setWebSocketToolExecutor, R as isReadOnlyTool, S as loadContextFiles, T as PermissionManager, U as SessionStore, V as CheckpointStore, W as OAuthClient, X as searchFiles, Y as formatFileSize, Z as warmFileCache, _ as ServerLlmBackend, a as createBackgroundAgentTools, b as formatStep, c as AgentStore, d as parseAgentConfig, f as ApiClient, g as WebSocketLlmBackend, h as FallbackLlmBackend, i as createWriteTodosTool, j as DEFAULT_THOROUGHNESS, k as DEFAULT_MAX_ITERATIONS, l as SubagentOrchestrator, m as WebSocketConnectionManager, n as createFindDefinitionTool, o as BackgroundAgentManager, p as WebSocketToolExecutor, q as searchCommands, r as createTodoStore, s as createAgentDelegateTool, t as createGetFileStructureTool, u as createSkillTool, v as McpManager, w as getEnvironmentName, x as extractCompactInstructions, y as substituteArguments, z as ReActAgent } from "./tools-DXOCdHv8.mjs";
4
4
  import { Dt as validateJupyterKernelName, Ot as validateNotebookPath$1, g as ChatModels, m as CREDIT_DEDUCT_TRANSACTION_TYPES, n as logger, t as ConfigStore } from "./ConfigStore-CG7DYbjy.mjs";
5
- import { i as version, t as checkForUpdate } from "./updateChecker-BLhqY-ho.mjs";
5
+ import { i as version, t as checkForUpdate } from "./updateChecker-Dr2-ccrC.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";
@@ -34,7 +34,6 @@ import "@aws-sdk/client-cloudwatch";
34
34
  import dns from "dns";
35
35
  import { promisify } from "util";
36
36
  import "lodash/invert.js";
37
- import "jimp";
38
37
  import "@aws-sdk/client-bedrock-runtime";
39
38
  import { GoogleGenAI } from "@google/genai";
40
39
  import "lodash/pick.js";
@@ -8299,7 +8298,7 @@ No markdown, no explanation, no code blocks — just the raw JSON object.`;
8299
8298
  "Minimize: sum(error^2)"
8300
8299
  ].join("\n");
8301
8300
  //#endregion
8302
- //#region ../../b4m-core/services/dist/tools-FSbPjezN.mjs
8301
+ //#region ../../b4m-core/services/dist/tools-BNR-uSzM.mjs
8303
8302
  async function performDeepResearch(context, params, config) {
8304
8303
  const maxDepth = config.maxDepth || 7;
8305
8304
  const duration = config.duration || 4.5;
@@ -9008,16 +9007,6 @@ async function evaluateMath(params) {
9008
9007
  expression = expression.replace(/\/\*[\s\S]*?\*\//g, "");
9009
9008
  expression = expression.replace(/\/\/[^\n]*/g, "");
9010
9009
  expression = expression.split("\n").map((line) => line.trim()).filter((line) => line.length > 0).join("\n").replace(/;\s*$/, "");
9011
- let depth = 0;
9012
- for (const char of expression) {
9013
- if (char === "(") depth++;
9014
- if (char === ")") depth--;
9015
- if (depth < 0) break;
9016
- }
9017
- if (depth !== 0) {
9018
- const issue = depth > 0 ? `${depth} unclosed opening parenthesis` : `unexpected closing parenthesis`;
9019
- return `Error: Unbalanced parentheses in expression "${params.expression}". Found ${issue}. Please fix the parentheses and try again.`;
9020
- }
9021
9010
  if (expression.includes(";")) {
9022
9011
  console.log("🔢 Math Tool: Detected multi-statement expression, evaluating with shared scope...");
9023
9012
  const result = math.evaluate(expression);
@@ -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.79-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2";
7
+ var version = "0.2.79-fix-cli-jimp-missing-dependency.22435+6caafc119";
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.79-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
3
+ "version": "0.2.79-fix-cli-jimp-missing-dependency.22435+6caafc119",
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.16-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
119
- "@bike4mind/common": "2.85.2-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
120
- "@bike4mind/mcp": "1.35.1-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
121
- "@bike4mind/services": "2.75.2-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
122
- "@bike4mind/utils": "2.17.3-fix-7825-math-tool-unbalanced-parentheses.22435+a0480e0f2",
118
+ "@bike4mind/agents": "0.4.16-fix-cli-jimp-missing-dependency.22435+6caafc119",
119
+ "@bike4mind/common": "2.85.2-fix-cli-jimp-missing-dependency.22435+6caafc119",
120
+ "@bike4mind/mcp": "1.35.1-fix-cli-jimp-missing-dependency.22435+6caafc119",
121
+ "@bike4mind/services": "2.75.2-fix-cli-jimp-missing-dependency.22435+6caafc119",
122
+ "@bike4mind/utils": "2.17.3-fix-cli-jimp-missing-dependency.22435+6caafc119",
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": "a0480e0f2f60826e62788901fcf38459181d92af"
139
+ "gitHead": "6caafc119009a2b2e462b71b42c2f6495e37a830"
140
140
  }