@bike4mind/cli 0.2.70 → 0.2.71-feat-jupyter-execution-ui.22041
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/{ConfigStore-DH64GYfC.mjs → ConfigStore-CotmM0UY.mjs} +2 -1
- package/dist/commands/doctorCommand.mjs +1 -1
- package/dist/commands/headlessCommand.mjs +2 -2
- package/dist/commands/mcpCommand.mjs +1 -1
- package/dist/commands/updateCommand.mjs +1 -1
- package/dist/index.mjs +177 -4
- package/dist/{tools-CJquAyBq.mjs → tools-Dh09ArUH.mjs} +1 -1
- package/dist/{updateChecker-BEb2EBef.mjs → updateChecker-CI3jjPnC.mjs} +1 -1
- package/package.json +8 -8
|
@@ -1568,7 +1568,8 @@ const KeepCommandType = z.enum([
|
|
|
1568
1568
|
"jupyter_start_kernel",
|
|
1569
1569
|
"jupyter_execute_cell",
|
|
1570
1570
|
"jupyter_stop_kernel",
|
|
1571
|
-
"jupyter_get_kernelspecs"
|
|
1571
|
+
"jupyter_get_kernelspecs",
|
|
1572
|
+
"jupyter_execute_notebook"
|
|
1572
1573
|
]);
|
|
1573
1574
|
/** Web HUD → Server: request a command be sent to the Keep (CLI) */
|
|
1574
1575
|
const KeepCommandRequestAction = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-
|
|
2
|
+
import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-CI3jjPnC.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-
|
|
3
|
-
import { n as logger, t as ConfigStore } from "../ConfigStore-
|
|
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-Dh09ArUH.mjs";
|
|
3
|
+
import { n as logger, t as ConfigStore } from "../ConfigStore-CotmM0UY.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 { i as version, r as forceCheckForUpdate } from "../updateChecker-
|
|
2
|
+
import { i as version, r as forceCheckForUpdate } from "../updateChecker-CI3jjPnC.mjs";
|
|
3
3
|
import { execSync } from "child_process";
|
|
4
4
|
//#region src/commands/updateCommand.ts
|
|
5
5
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
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-
|
|
5
|
-
import { i as version, t as checkForUpdate } from "./updateChecker-
|
|
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-Dh09ArUH.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-CotmM0UY.mjs";
|
|
5
|
+
import { i as version, t as checkForUpdate } from "./updateChecker-CI3jjPnC.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";
|
|
9
|
-
import { randomBytes } from "crypto";
|
|
9
|
+
import { randomBytes, randomUUID } from "crypto";
|
|
10
10
|
import { existsSync, promises, readFileSync, statSync } from "fs";
|
|
11
11
|
import { homedir } from "os";
|
|
12
12
|
import path, { extname } from "path";
|
|
@@ -2931,6 +2931,171 @@ function createJupyterClientFromEnv() {
|
|
|
2931
2931
|
});
|
|
2932
2932
|
}
|
|
2933
2933
|
//#endregion
|
|
2934
|
+
//#region src/commands/executeNotebookHandler.ts
|
|
2935
|
+
/**
|
|
2936
|
+
* Jupyter Notebook Execution Handler
|
|
2937
|
+
*
|
|
2938
|
+
* Handles the jupyter_execute_notebook Keep command.
|
|
2939
|
+
* Orchestrates cell-by-cell execution of a notebook via local Jupyter server.
|
|
2940
|
+
*/
|
|
2941
|
+
/**
|
|
2942
|
+
* Zod schema for validating execute notebook parameters.
|
|
2943
|
+
* Replaces unsafe `as` casts with proper runtime validation.
|
|
2944
|
+
*/
|
|
2945
|
+
const ExecuteNotebookParams = z.object({
|
|
2946
|
+
notebookJson: z.string().min(1, "notebookJson is required"),
|
|
2947
|
+
sessionId: z.string().min(1, "sessionId is required"),
|
|
2948
|
+
kernelName: z.string().default("python3"),
|
|
2949
|
+
timeoutPerCell: z.number().default(3e4)
|
|
2950
|
+
});
|
|
2951
|
+
/**
|
|
2952
|
+
* Get cell source as string (handles both string and string[] formats).
|
|
2953
|
+
*/
|
|
2954
|
+
function getCellSource(cell) {
|
|
2955
|
+
return Array.isArray(cell.source) ? cell.source.join("") : cell.source;
|
|
2956
|
+
}
|
|
2957
|
+
/**
|
|
2958
|
+
* Execute a Jupyter notebook cell by cell.
|
|
2959
|
+
*
|
|
2960
|
+
* @param params - Validated notebook execution parameters
|
|
2961
|
+
* @param deps - Dependencies (jupyter client, websocket manager, logger)
|
|
2962
|
+
* @returns Execution result with success status and executed notebook
|
|
2963
|
+
*/
|
|
2964
|
+
async function executeNotebook(params, deps) {
|
|
2965
|
+
const { jupyterClient, wsManager, logger, requestId } = deps;
|
|
2966
|
+
const { notebookJson, sessionId, kernelName, timeoutPerCell } = ExecuteNotebookParams.parse(params);
|
|
2967
|
+
let notebook;
|
|
2968
|
+
try {
|
|
2969
|
+
notebook = JSON.parse(notebookJson);
|
|
2970
|
+
if (!notebook.cells || !Array.isArray(notebook.cells)) throw new Error("Invalid notebook: missing cells array");
|
|
2971
|
+
} catch (parseErr) {
|
|
2972
|
+
throw new Error(`Failed to parse notebook JSON: ${parseErr instanceof Error ? parseErr.message : String(parseErr)}`);
|
|
2973
|
+
}
|
|
2974
|
+
const totalCodeCells = notebook.cells.filter((c) => c.cell_type === "code").length;
|
|
2975
|
+
logger.info(`[Keep] Starting notebook execution: ${totalCodeCells} code cells, kernel: ${kernelName}`);
|
|
2976
|
+
const tempNotebookPath = `/tmp/b4m-notebook-${randomUUID()}.ipynb`;
|
|
2977
|
+
await promises.writeFile(tempNotebookPath, notebookJson, "utf-8");
|
|
2978
|
+
let jupyterSession = null;
|
|
2979
|
+
let cellsExecuted = 0;
|
|
2980
|
+
let cellsFailed = 0;
|
|
2981
|
+
try {
|
|
2982
|
+
logger.info(`[Keep] Starting Jupyter kernel: ${kernelName}`);
|
|
2983
|
+
jupyterSession = await jupyterClient.startSession(tempNotebookPath, kernelName);
|
|
2984
|
+
const kernelId = jupyterSession.kernel.id;
|
|
2985
|
+
const jupyterSessionId = jupyterSession.id;
|
|
2986
|
+
logger.info(`[Keep] Kernel started: session=${jupyterSessionId}, kernel=${kernelId}`);
|
|
2987
|
+
let codeCellIndex = 0;
|
|
2988
|
+
for (let i = 0; i < notebook.cells.length; i++) {
|
|
2989
|
+
const cell = notebook.cells[i];
|
|
2990
|
+
if (cell.cell_type !== "code") continue;
|
|
2991
|
+
const cellCode = getCellSource(cell);
|
|
2992
|
+
if (!cellCode.trim()) {
|
|
2993
|
+
codeCellIndex++;
|
|
2994
|
+
continue;
|
|
2995
|
+
}
|
|
2996
|
+
logger.info(`[Keep] Executing cell ${codeCellIndex + 1}/${totalCodeCells}`);
|
|
2997
|
+
wsManager?.send({
|
|
2998
|
+
action: "jupyter_cell_output",
|
|
2999
|
+
requestId,
|
|
3000
|
+
sessionId,
|
|
3001
|
+
jupyterSessionId,
|
|
3002
|
+
cellIndex: codeCellIndex,
|
|
3003
|
+
outputType: "stream",
|
|
3004
|
+
content: {
|
|
3005
|
+
text: `Executing cell ${codeCellIndex + 1}/${totalCodeCells}...`,
|
|
3006
|
+
name: "stdout"
|
|
3007
|
+
},
|
|
3008
|
+
executionCount: null,
|
|
3009
|
+
isComplete: false
|
|
3010
|
+
});
|
|
3011
|
+
try {
|
|
3012
|
+
const cellResult = await jupyterClient.executeCell(kernelId, cellCode, timeoutPerCell);
|
|
3013
|
+
cell.outputs = cellResult.outputs;
|
|
3014
|
+
cell.execution_count = cellResult.executionCount;
|
|
3015
|
+
if (cellResult.success) {
|
|
3016
|
+
cellsExecuted++;
|
|
3017
|
+
wsManager?.send({
|
|
3018
|
+
action: "jupyter_cell_output",
|
|
3019
|
+
requestId,
|
|
3020
|
+
sessionId,
|
|
3021
|
+
jupyterSessionId,
|
|
3022
|
+
cellIndex: codeCellIndex,
|
|
3023
|
+
outputType: "execute_result",
|
|
3024
|
+
content: {
|
|
3025
|
+
text: cellResult.outputs.map((o) => {
|
|
3026
|
+
if (o.text) return Array.isArray(o.text) ? o.text.join("") : o.text;
|
|
3027
|
+
if (o.data && typeof o.data === "object" && "text/plain" in o.data) {
|
|
3028
|
+
const textPlain = o.data["text/plain"];
|
|
3029
|
+
return Array.isArray(textPlain) ? textPlain.join("") : String(textPlain);
|
|
3030
|
+
}
|
|
3031
|
+
return "";
|
|
3032
|
+
}).join(""),
|
|
3033
|
+
data: cellResult.outputs.find((o) => o.data)?.data
|
|
3034
|
+
},
|
|
3035
|
+
executionCount: cellResult.executionCount,
|
|
3036
|
+
isComplete: true
|
|
3037
|
+
});
|
|
3038
|
+
} else {
|
|
3039
|
+
cellsFailed++;
|
|
3040
|
+
wsManager?.send({
|
|
3041
|
+
action: "jupyter_cell_output",
|
|
3042
|
+
requestId,
|
|
3043
|
+
sessionId,
|
|
3044
|
+
jupyterSessionId,
|
|
3045
|
+
cellIndex: codeCellIndex,
|
|
3046
|
+
outputType: "error",
|
|
3047
|
+
content: {
|
|
3048
|
+
ename: cellResult.error?.ename || "ExecutionError",
|
|
3049
|
+
evalue: cellResult.error?.evalue || "Cell execution failed",
|
|
3050
|
+
traceback: cellResult.error?.traceback || []
|
|
3051
|
+
},
|
|
3052
|
+
executionCount: cellResult.executionCount,
|
|
3053
|
+
isComplete: true
|
|
3054
|
+
});
|
|
3055
|
+
logger.warn(`[Keep] Cell ${codeCellIndex + 1} failed: ${cellResult.error?.ename}: ${cellResult.error?.evalue}`);
|
|
3056
|
+
}
|
|
3057
|
+
} catch (cellErr) {
|
|
3058
|
+
cellsFailed++;
|
|
3059
|
+
const errMsg = cellErr instanceof Error ? cellErr.message : String(cellErr);
|
|
3060
|
+
wsManager?.send({
|
|
3061
|
+
action: "jupyter_cell_output",
|
|
3062
|
+
requestId,
|
|
3063
|
+
sessionId,
|
|
3064
|
+
jupyterSessionId,
|
|
3065
|
+
cellIndex: codeCellIndex,
|
|
3066
|
+
outputType: "error",
|
|
3067
|
+
content: {
|
|
3068
|
+
ename: "ExecutionError",
|
|
3069
|
+
evalue: errMsg,
|
|
3070
|
+
traceback: []
|
|
3071
|
+
},
|
|
3072
|
+
executionCount: null,
|
|
3073
|
+
isComplete: true
|
|
3074
|
+
});
|
|
3075
|
+
logger.error(`[Keep] Cell ${codeCellIndex + 1} threw error: ${errMsg}`);
|
|
3076
|
+
}
|
|
3077
|
+
codeCellIndex++;
|
|
3078
|
+
}
|
|
3079
|
+
return {
|
|
3080
|
+
success: cellsFailed === 0,
|
|
3081
|
+
cellsExecuted,
|
|
3082
|
+
cellsFailed,
|
|
3083
|
+
totalCodeCells,
|
|
3084
|
+
executedNotebook: JSON.stringify(notebook)
|
|
3085
|
+
};
|
|
3086
|
+
} finally {
|
|
3087
|
+
if (jupyterSession) try {
|
|
3088
|
+
logger.info(`[Keep] Stopping Jupyter session: ${jupyterSession.id}`);
|
|
3089
|
+
await jupyterClient.stopSession(jupyterSession.id);
|
|
3090
|
+
} catch (stopErr) {
|
|
3091
|
+
logger.warn(`[Keep] Failed to stop session: ${stopErr instanceof Error ? stopErr.message : String(stopErr)}`);
|
|
3092
|
+
}
|
|
3093
|
+
try {
|
|
3094
|
+
await promises.unlink(tempNotebookPath);
|
|
3095
|
+
} catch {}
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
//#endregion
|
|
2934
3099
|
//#region src/llm/NotifyingLlmBackend.ts
|
|
2935
3100
|
/**
|
|
2936
3101
|
* LLM backend wrapper that injects background agent notifications
|
|
@@ -4408,6 +4573,14 @@ function CliApp() {
|
|
|
4408
4573
|
};
|
|
4409
4574
|
break;
|
|
4410
4575
|
}
|
|
4576
|
+
case "jupyter_execute_notebook":
|
|
4577
|
+
result = await executeNotebook(params, {
|
|
4578
|
+
jupyterClient: getRequiredJupyterClient(),
|
|
4579
|
+
wsManager,
|
|
4580
|
+
logger,
|
|
4581
|
+
requestId
|
|
4582
|
+
});
|
|
4583
|
+
break;
|
|
4411
4584
|
default: throw new Error(`Unknown command type: ${commandType}`);
|
|
4412
4585
|
}
|
|
4413
4586
|
} catch (err) {
|
|
@@ -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-
|
|
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-CotmM0UY.mjs";
|
|
3
3
|
import { n as isPathAllowed, t as assertPathAllowed } from "./pathValidation-CIytuhr3-Dt5dntLx.mjs";
|
|
4
4
|
import { execFile, execFileSync, spawn } from "child_process";
|
|
5
5
|
import { createHash, randomBytes } from "crypto";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.71-feat-jupyter-execution-ui.22041+5beb08309",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@opensearch-project/opensearch": "2.11.0",
|
|
61
61
|
"@smithy/node-http-handler": "^4.5.0",
|
|
62
62
|
"async-mutex": "^0.5.0",
|
|
63
|
-
"axios": "
|
|
63
|
+
"axios": "1.14.0",
|
|
64
64
|
"bcryptjs": "^3.0.2",
|
|
65
65
|
"better-sqlite3": "^12.8.0",
|
|
66
66
|
"cheerio": "1.0.0-rc.12",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"zustand": "^4.5.4"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@bike4mind/agents": "0.4.
|
|
119
|
-
"@bike4mind/common": "2.78.
|
|
120
|
-
"@bike4mind/mcp": "1.33.
|
|
121
|
-
"@bike4mind/services": "2.71.
|
|
122
|
-
"@bike4mind/utils": "2.16.
|
|
118
|
+
"@bike4mind/agents": "0.4.8-feat-jupyter-execution-ui.22041+5beb08309",
|
|
119
|
+
"@bike4mind/common": "2.78.1-feat-jupyter-execution-ui.22041+5beb08309",
|
|
120
|
+
"@bike4mind/mcp": "1.33.27-feat-jupyter-execution-ui.22041+5beb08309",
|
|
121
|
+
"@bike4mind/services": "2.71.2-feat-jupyter-execution-ui.22041+5beb08309",
|
|
122
|
+
"@bike4mind/utils": "2.16.9-feat-jupyter-execution-ui.22041+5beb08309",
|
|
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": "
|
|
139
|
+
"gitHead": "5beb083097aef380c4f7580fff829123587366e6"
|
|
140
140
|
}
|