@bike4mind/cli 0.2.68-fix-anthropic-timeout-error-handling.21913 → 0.2.68-fix-opus-isSlowModel-flags.21926

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-ZGJ9ljhZ.mjs";
2
+ import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-Be4Tethj.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 { 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-BOIfbjii.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-CuOD_EmG.mjs";
3
3
  import { n as logger, t as ConfigStore } from "../ConfigStore-ChOlZu1G.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-ZGJ9ljhZ.mjs";
2
+ import { i as version, r as forceCheckForUpdate } from "../updateChecker-Be4Tethj.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-BOIfbjii.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-CuOD_EmG.mjs";
4
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-ChOlZu1G.mjs";
5
- import { i as version, t as checkForUpdate } from "./updateChecker-ZGJ9ljhZ.mjs";
5
+ import { i as version, t as checkForUpdate } from "./updateChecker-Be4Tethj.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";
@@ -8080,7 +8080,7 @@ No markdown, no explanation, no code blocks — just the raw JSON object.`;
8080
8080
  "Minimize: sum(error^2)"
8081
8081
  ].join("\n");
8082
8082
  //#endregion
8083
- //#region ../../b4m-core/services/dist/tools-Cc3Su03g.mjs
8083
+ //#region ../../b4m-core/services/dist/tools-Cfd2eXZL.mjs
8084
8084
  async function performDeepResearch(context, params, config) {
8085
8085
  const maxDepth = config.maxDepth || 7;
8086
8086
  const duration = config.duration || 4.5;
@@ -8706,11 +8706,12 @@ async function wolframAlphaQuery(adapters, params, logger) {
8706
8706
  errorText
8707
8707
  });
8708
8708
  if (response.status === 501) return `Wolfram Alpha could not interpret this query. This typically happens when:
8709
- 1. The query asks about Wolfram Alpha's capabilities (meta-queries are not supported)
8709
+ 1. The query combines multiple concepts that should be broken into simpler parts
8710
8710
  2. The query is too vague or conversational
8711
8711
  3. The query doesn't contain a specific computation or data lookup
8712
+ 4. The query asks about Wolfram Alpha's capabilities (meta-queries are not supported)
8712
8713
 
8713
- Try sending a concrete computational query like "integrate x^2 dx", "population of Japan 2023", or "convert 100 USD to EUR".`;
8714
+ Try breaking compound queries into simpler steps, or send a concrete computational query like "integrate x^2 dx", "population of Japan 2023", or "convert 100 USD to EUR".${errorText ? `\n\nWolfram Alpha responded: ${errorText}` : ""}`;
8714
8715
  if (response.status === 403) return `Wolfram Alpha API key is invalid or missing. Please contact your administrator.`;
8715
8716
  return `Wolfram Alpha error: ${response.statusText}`;
8716
8717
  }
@@ -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.68-fix-anthropic-timeout-error-handling.21913+041dc53b5";
7
+ var version = "0.2.68-fix-opus-isSlowModel-flags.21926+c1d6e79d2";
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.68-fix-anthropic-timeout-error-handling.21913+041dc53b5",
3
+ "version": "0.2.68-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
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.6-fix-anthropic-timeout-error-handling.21913+041dc53b5",
119
- "@bike4mind/common": "2.76.2-fix-anthropic-timeout-error-handling.21913+041dc53b5",
120
- "@bike4mind/mcp": "1.33.25-fix-anthropic-timeout-error-handling.21913+041dc53b5",
121
- "@bike4mind/services": "2.70.2-fix-anthropic-timeout-error-handling.21913+041dc53b5",
122
- "@bike4mind/utils": "2.16.7-fix-anthropic-timeout-error-handling.21913+041dc53b5",
118
+ "@bike4mind/agents": "0.4.6-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
119
+ "@bike4mind/common": "2.76.2-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
120
+ "@bike4mind/mcp": "1.33.25-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
121
+ "@bike4mind/services": "2.70.2-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
122
+ "@bike4mind/utils": "2.16.7-fix-opus-isSlowModel-flags.21926+c1d6e79d2",
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": "041dc53b5d4448b9c45be5d02fd70998908dc370"
139
+ "gitHead": "c1d6e79d275c20cc36e32443c9213f04707f3654"
140
140
  }