@bike4mind/cli 0.2.77-fix-sre-agent-failures.22408 → 0.2.77
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-wAhVSD3Z.mjs → ConfigStore-CG7DYbjy.mjs} +5 -5
- 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 +3 -3
- package/dist/{tools-Dt7ArxpM.mjs → tools-D_f5v8aV.mjs} +4 -4
- package/dist/{updateChecker-C-XpmUgu.mjs → updateChecker-l1goRu0N.mjs} +1 -1
- package/package.json +8 -8
|
@@ -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
|
|
10
|
+
import dayjs 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";
|
|
@@ -7852,10 +7852,10 @@ function resolveNavigationIntents(suggestions, isAdmin) {
|
|
|
7852
7852
|
};
|
|
7853
7853
|
}).filter((intent) => intent !== null);
|
|
7854
7854
|
}
|
|
7855
|
-
dayjs
|
|
7856
|
-
dayjs
|
|
7857
|
-
dayjs
|
|
7858
|
-
dayjs
|
|
7855
|
+
dayjs.extend(utc);
|
|
7856
|
+
dayjs.extend(timezone);
|
|
7857
|
+
dayjs.extend(relativeTime);
|
|
7858
|
+
dayjs.extend(localizedFormat);
|
|
7859
7859
|
const logger = class Logger {
|
|
7860
7860
|
static {
|
|
7861
7861
|
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-
|
|
2
|
+
import { i as version, n as fetchLatestVersion, r as forceCheckForUpdate } from "../updateChecker-l1goRu0N.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 { 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-
|
|
3
|
-
import { n as logger, t as ConfigStore } from "../ConfigStore-
|
|
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-D_f5v8aV.mjs";
|
|
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";
|
|
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-l1goRu0N.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-
|
|
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-
|
|
5
|
-
import { i as version, t as checkForUpdate } from "./updateChecker-
|
|
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-D_f5v8aV.mjs";
|
|
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-l1goRu0N.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";
|
|
@@ -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 getViewById, D as GenericCreditAddTransaction, E as GenerateImageToolCallSchema, Et as sanitizeTelemetryError, 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, P as InviteType, Q as RechartsChartTypeList, R as ModalEvents, S as FeedbackEvents, St as getMcpProviderMetadata, T as GEMINI_IMAGE_MODELS, Tt as resolveNavigationIntents, 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 getAccessibleDataLakes, 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, kt as CollectionType, 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 isGPTImageModel, x as FavoriteDocumentType, xt as getDataLakeTags, 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 getViewById, D as GenericCreditAddTransaction, E as GenerateImageToolCallSchema, Et as sanitizeTelemetryError, 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, P as InviteType, Q as RechartsChartTypeList, R as ModalEvents, S as FeedbackEvents, St as getMcpProviderMetadata, T as GEMINI_IMAGE_MODELS, Tt as resolveNavigationIntents, 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 getAccessibleDataLakes, 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, kt as CollectionType, 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 isGPTImageModel, x as FavoriteDocumentType, xt as getDataLakeTags, y as ElabsEvents, yt as b4mLLMTools, z as ModelBackend } from "./ConfigStore-CG7DYbjy.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";
|
|
@@ -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
|
|
18
|
+
import dayjs from "dayjs";
|
|
19
19
|
import timezone from "dayjs/plugin/timezone.js";
|
|
20
20
|
import utc from "dayjs/plugin/utc.js";
|
|
21
21
|
import "jsonwebtoken";
|
|
@@ -13746,8 +13746,8 @@ z.object({
|
|
|
13746
13746
|
reason: z.string().optional()
|
|
13747
13747
|
});
|
|
13748
13748
|
z.object({ keyId: z.string() });
|
|
13749
|
-
dayjs
|
|
13750
|
-
dayjs
|
|
13749
|
+
dayjs.extend(utc);
|
|
13750
|
+
dayjs.extend(timezone);
|
|
13751
13751
|
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;
|
|
13752
13752
|
z.object({
|
|
13753
13753
|
date: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.77
|
|
3
|
+
"version": "0.2.77",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"lodash": "^4.17.21",
|
|
87
87
|
"mammoth": "^1.12.0",
|
|
88
88
|
"marked": "^15.0.11",
|
|
89
|
-
"mathjs": "^
|
|
89
|
+
"mathjs": "^15.2.0",
|
|
90
90
|
"mime-types": "^2.1.35",
|
|
91
91
|
"mongoose": "^8.8.3",
|
|
92
92
|
"ollama": "^0.6.3",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"zustand": "^4.5.4"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@bike4mind/agents": "0.4.14
|
|
119
|
-
"@bike4mind/common": "2.
|
|
120
|
-
"@bike4mind/mcp": "1.34.2
|
|
121
|
-
"@bike4mind/services": "2.
|
|
122
|
-
"@bike4mind/utils": "2.17.1
|
|
118
|
+
"@bike4mind/agents": "0.4.14",
|
|
119
|
+
"@bike4mind/common": "2.85.0",
|
|
120
|
+
"@bike4mind/mcp": "1.34.2",
|
|
121
|
+
"@bike4mind/services": "2.75.0",
|
|
122
|
+
"@bike4mind/utils": "2.17.1",
|
|
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": "d76e6173ab66eb6eca9f865d297f1e6fd2c0e58d"
|
|
140
140
|
}
|