@bike4mind/cli 0.2.55-fix-sre-tracking-missing-fields.21341 → 0.2.55
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/{chunk-GW5TRPEX.js → chunk-25UR2PLZ.js} +25 -25
- package/dist/{chunk-WVV6VBSO.js → chunk-KGAK226I.js} +41 -11
- package/dist/{chunk-HLDLI3VO.js → chunk-S27A7SCI.js} +1 -1
- package/dist/{chunk-WCCLB46N.js → chunk-SA2GRZGG.js} +40 -16
- package/dist/{chunk-7ELVZNRR.js → chunk-VILQBYE6.js} +1 -1
- package/dist/{chunk-655WYP3G.js → chunk-XACIOJZ7.js} +1 -1
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/headlessCommand.js +5 -5
- package/dist/commands/updateCommand.js +1 -1
- package/dist/{create-4PUVKCNA.js → create-72N2ZGVO.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{mementoService-HG56LF67.js → mementoService-H35TY4ZN.js} +2 -2
- package/dist/{src-Z6YVSZDI.js → src-2BN3ALZD.js} +1 -1
- package/dist/{subtractCredits-Y5LD56RZ.js → subtractCredits-XRG2QRZG.js} +2 -2
- package/package.json +25 -25
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.55
|
|
6
|
+
version: "0.2.55",
|
|
7
7
|
type: "module",
|
|
8
8
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
9
9
|
license: "UNLICENSED",
|
|
@@ -44,32 +44,32 @@ var package_default = {
|
|
|
44
44
|
postinstall: `node -e "try { require('better-sqlite3') } catch(e) { if(e.message.includes('bindings')) { console.log('\\n\u26A0\uFE0F Rebuilding better-sqlite3 native bindings...'); require('child_process').execSync('pnpm rebuild better-sqlite3', {stdio:'inherit'}) } }"`
|
|
45
45
|
},
|
|
46
46
|
dependencies: {
|
|
47
|
-
"@anthropic-ai/sdk": "^0.
|
|
48
|
-
"@aws-sdk/client-apigatewaymanagementapi": "3.
|
|
49
|
-
"@aws-sdk/client-bedrock-runtime": "3.
|
|
50
|
-
"@aws-sdk/client-cloudwatch": "3.
|
|
51
|
-
"@aws-sdk/client-lambda": "3.
|
|
52
|
-
"@aws-sdk/client-s3": "3.
|
|
53
|
-
"@aws-sdk/client-sqs": "3.
|
|
54
|
-
"@aws-sdk/client-transcribe": "3.
|
|
55
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
56
|
-
"@aws-sdk/s3-request-presigner": "3.
|
|
47
|
+
"@anthropic-ai/sdk": "^0.78.0",
|
|
48
|
+
"@aws-sdk/client-apigatewaymanagementapi": "3.1009.0",
|
|
49
|
+
"@aws-sdk/client-bedrock-runtime": "3.1009.0",
|
|
50
|
+
"@aws-sdk/client-cloudwatch": "3.1009.0",
|
|
51
|
+
"@aws-sdk/client-lambda": "3.1009.0",
|
|
52
|
+
"@aws-sdk/client-s3": "3.1009.0",
|
|
53
|
+
"@aws-sdk/client-sqs": "3.1009.0",
|
|
54
|
+
"@aws-sdk/client-transcribe": "3.1009.0",
|
|
55
|
+
"@aws-sdk/credential-provider-node": "3.972.21",
|
|
56
|
+
"@aws-sdk/s3-request-presigner": "3.1009.0",
|
|
57
57
|
"@casl/ability": "^6.8.0",
|
|
58
|
-
"@google/genai": "^1.
|
|
58
|
+
"@google/genai": "^1.45.0",
|
|
59
59
|
"@joplin/turndown-plugin-gfm": "^1.0.64",
|
|
60
60
|
"@mendable/firecrawl-js": "^1.29.3",
|
|
61
61
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
62
62
|
"@octokit/rest": "^22.0.1",
|
|
63
63
|
"@opensearch-project/opensearch": "2.11.0",
|
|
64
|
-
"@smithy/node-http-handler": "^4.4.
|
|
64
|
+
"@smithy/node-http-handler": "^4.4.16",
|
|
65
65
|
"async-mutex": "^0.5.0",
|
|
66
66
|
axios: "^1.13.6",
|
|
67
67
|
bcryptjs: "^3.0.2",
|
|
68
|
-
"better-sqlite3": "^12.
|
|
68
|
+
"better-sqlite3": "^12.8.0",
|
|
69
69
|
cheerio: "1.0.0-rc.12",
|
|
70
70
|
"cli-highlight": "^2.1.11",
|
|
71
71
|
"csv-parse": "^6.0.0",
|
|
72
|
-
dayjs: "^1.11.
|
|
72
|
+
dayjs: "^1.11.20",
|
|
73
73
|
diff: "^8.0.2",
|
|
74
74
|
dotenv: "^17.0.0",
|
|
75
75
|
"eventsource-parser": "^3.0.6",
|
|
@@ -86,14 +86,14 @@ var package_default = {
|
|
|
86
86
|
"ink-text-input": "^6.0.0",
|
|
87
87
|
jsonwebtoken: "^9.0.3",
|
|
88
88
|
lodash: "^4.17.21",
|
|
89
|
-
mammoth: "^1.
|
|
89
|
+
mammoth: "^1.12.0",
|
|
90
90
|
marked: "^15.0.11",
|
|
91
91
|
mathjs: "^14.2.0",
|
|
92
92
|
"mime-types": "^2.1.35",
|
|
93
93
|
mongoose: "^8.8.3",
|
|
94
94
|
ollama: "^0.6.3",
|
|
95
95
|
open: "^11.0.0",
|
|
96
|
-
openai: "^6.
|
|
96
|
+
openai: "^6.29.0",
|
|
97
97
|
"p-limit": "^7.3.0",
|
|
98
98
|
picomatch: "^4.0.3",
|
|
99
99
|
qrcode: "^1.5.4",
|
|
@@ -103,7 +103,7 @@ var package_default = {
|
|
|
103
103
|
tiktoken: "^1.0.22",
|
|
104
104
|
"tree-sitter-wasms": "^0.1.13",
|
|
105
105
|
turndown: "^7.2.2",
|
|
106
|
-
undici: "^7.
|
|
106
|
+
undici: "^7.24.4",
|
|
107
107
|
unpdf: "^0.10.0",
|
|
108
108
|
uuid: "^13.0.0",
|
|
109
109
|
voyageai: "^0.0.4",
|
|
@@ -117,11 +117,11 @@ var package_default = {
|
|
|
117
117
|
zustand: "^4.5.4"
|
|
118
118
|
},
|
|
119
119
|
devDependencies: {
|
|
120
|
-
"@bike4mind/agents": "0.2.1
|
|
121
|
-
"@bike4mind/common": "2.70.1
|
|
122
|
-
"@bike4mind/mcp": "1.33.15
|
|
123
|
-
"@bike4mind/services": "2.64.3
|
|
124
|
-
"@bike4mind/utils": "2.15.9
|
|
120
|
+
"@bike4mind/agents": "0.2.1",
|
|
121
|
+
"@bike4mind/common": "2.70.1",
|
|
122
|
+
"@bike4mind/mcp": "1.33.15",
|
|
123
|
+
"@bike4mind/services": "2.64.3",
|
|
124
|
+
"@bike4mind/utils": "2.15.9",
|
|
125
125
|
"@types/better-sqlite3": "^7.6.13",
|
|
126
126
|
"@types/jsonwebtoken": "^9.0.4",
|
|
127
127
|
"@types/node": "^22.9.0",
|
|
@@ -136,9 +136,9 @@ var package_default = {
|
|
|
136
136
|
vitest: "^3.2.4"
|
|
137
137
|
},
|
|
138
138
|
optionalDependencies: {
|
|
139
|
-
"@vscode/ripgrep": "^1.17.
|
|
139
|
+
"@vscode/ripgrep": "^1.17.1"
|
|
140
140
|
},
|
|
141
|
-
gitHead: "
|
|
141
|
+
gitHead: "dfc4dccb344f081dd2c87bc16fb2d27f70c02844"
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
// src/utils/updateChecker.ts
|
|
@@ -4002,6 +4002,26 @@ var BaseBedrockBackend = class {
|
|
|
4002
4002
|
const input = this.getPayload(model, formattedMessages, options);
|
|
4003
4003
|
let inputTokens = 0;
|
|
4004
4004
|
let outputTokens = 0;
|
|
4005
|
+
let cacheReadTokens = 0;
|
|
4006
|
+
let cacheWriteTokens = 0;
|
|
4007
|
+
const buildCompletionInfo = () => {
|
|
4008
|
+
const info = { inputTokens, outputTokens, toolsUsed };
|
|
4009
|
+
if (options.cacheStrategy?.enableCaching && (cacheReadTokens > 0 || cacheWriteTokens > 0)) {
|
|
4010
|
+
const adapter = getCachingAdapter(ModelBackend.Bedrock);
|
|
4011
|
+
const cacheStats = adapter.extractCacheStats({
|
|
4012
|
+
usage: {
|
|
4013
|
+
input_tokens: inputTokens,
|
|
4014
|
+
output_tokens: outputTokens,
|
|
4015
|
+
cache_read_input_tokens: cacheReadTokens,
|
|
4016
|
+
cache_creation_input_tokens: cacheWriteTokens
|
|
4017
|
+
}
|
|
4018
|
+
}, model);
|
|
4019
|
+
if (cacheStats) {
|
|
4020
|
+
info.cacheStats = cacheStats;
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
return info;
|
|
4024
|
+
};
|
|
4005
4025
|
const toolUseCount = formattedMessages.reduce((count, msg) => {
|
|
4006
4026
|
if (msg.role === "assistant" && Array.isArray(msg.content)) {
|
|
4007
4027
|
return count + msg.content.filter((b) => b.type === "tool_use").length;
|
|
@@ -4044,6 +4064,8 @@ var BaseBedrockBackend = class {
|
|
|
4044
4064
|
}
|
|
4045
4065
|
inputTokens = Math.max(inputTokens, choice.usage?.input_tokens || 0);
|
|
4046
4066
|
outputTokens = Math.max(outputTokens, choice.usage?.output_tokens || 0);
|
|
4067
|
+
cacheReadTokens = Math.max(cacheReadTokens, choice.usage?.cache_read_input_tokens || 0);
|
|
4068
|
+
cacheWriteTokens = Math.max(cacheWriteTokens, choice.usage?.cache_creation_input_tokens || 0);
|
|
4047
4069
|
});
|
|
4048
4070
|
if (func.some((f) => f.name)) {
|
|
4049
4071
|
continue;
|
|
@@ -4052,7 +4074,7 @@ var BaseBedrockBackend = class {
|
|
|
4052
4074
|
chunk?.choices.forEach((choice) => {
|
|
4053
4075
|
streamedText[choice.index] = choice.chunkText || "";
|
|
4054
4076
|
});
|
|
4055
|
-
await callback(streamedText,
|
|
4077
|
+
await callback(streamedText, buildCompletionInfo());
|
|
4056
4078
|
}
|
|
4057
4079
|
}
|
|
4058
4080
|
if (func.some((f) => f.name)) {
|
|
@@ -4070,12 +4092,12 @@ var BaseBedrockBackend = class {
|
|
|
4070
4092
|
if (id && name && toolFn) {
|
|
4071
4093
|
const result = await toolFn(JSON.parse(parameters));
|
|
4072
4094
|
await handleToolResultStreaming(name, result, async (results) => {
|
|
4073
|
-
await callback(results,
|
|
4095
|
+
await callback(results, buildCompletionInfo());
|
|
4074
4096
|
});
|
|
4075
4097
|
this.pushToolMessages(messages, { id, name, parameters }, result);
|
|
4076
4098
|
}
|
|
4077
4099
|
}
|
|
4078
|
-
await callback(["\n\n"],
|
|
4100
|
+
await callback(["\n\n"], buildCompletionInfo());
|
|
4079
4101
|
await this.complete(model, messages, {
|
|
4080
4102
|
...options,
|
|
4081
4103
|
thinking: { enabled: false, budget_tokens: 0 },
|
|
@@ -4086,7 +4108,7 @@ var BaseBedrockBackend = class {
|
|
|
4086
4108
|
}, callback, toolsUsed);
|
|
4087
4109
|
} else {
|
|
4088
4110
|
console.log("[BaseBedrockBackend] executeTools=false, passing tool calls to callback");
|
|
4089
|
-
await callback([null],
|
|
4111
|
+
await callback([null], buildCompletionInfo());
|
|
4090
4112
|
}
|
|
4091
4113
|
return;
|
|
4092
4114
|
}
|
|
@@ -4105,6 +4127,8 @@ var BaseBedrockBackend = class {
|
|
|
4105
4127
|
});
|
|
4106
4128
|
inputTokens = chunk?.choices[0].usage?.input_tokens || 0;
|
|
4107
4129
|
outputTokens = chunk?.choices[0].usage?.output_tokens || 0;
|
|
4130
|
+
cacheReadTokens = chunk?.choices[0].usage?.cache_read_input_tokens || 0;
|
|
4131
|
+
cacheWriteTokens = chunk?.choices[0].usage?.cache_creation_input_tokens || 0;
|
|
4108
4132
|
const toolChoice = chunk?.choices.find((choice) => choice.statusEndReason === ChoiceEndReason.TOOL_USE);
|
|
4109
4133
|
if (toolChoice?.tool) {
|
|
4110
4134
|
const { id, name, parameters } = toolChoice.tool;
|
|
@@ -4117,10 +4141,10 @@ var BaseBedrockBackend = class {
|
|
|
4117
4141
|
if (id && name && toolFn) {
|
|
4118
4142
|
const result = await toolFn(JSON.parse(safeParameters));
|
|
4119
4143
|
await handleToolResultStreaming(name, result, async (results) => {
|
|
4120
|
-
await callback(results,
|
|
4144
|
+
await callback(results, buildCompletionInfo());
|
|
4121
4145
|
});
|
|
4122
4146
|
this.pushToolMessages(messages, { id, name, parameters }, result);
|
|
4123
|
-
await callback(["\n\n"],
|
|
4147
|
+
await callback(["\n\n"], buildCompletionInfo());
|
|
4124
4148
|
await this.complete(model, messages, {
|
|
4125
4149
|
...options,
|
|
4126
4150
|
thinking: { enabled: false, budget_tokens: 0 },
|
|
@@ -4133,11 +4157,11 @@ var BaseBedrockBackend = class {
|
|
|
4133
4157
|
}
|
|
4134
4158
|
} else {
|
|
4135
4159
|
console.log("[BaseBedrockBackend] executeTools=false, passing tool calls to callback");
|
|
4136
|
-
await callback([null],
|
|
4160
|
+
await callback([null], buildCompletionInfo());
|
|
4137
4161
|
return;
|
|
4138
4162
|
}
|
|
4139
4163
|
}
|
|
4140
|
-
await callback(streamedText,
|
|
4164
|
+
await callback(streamedText, buildCompletionInfo());
|
|
4141
4165
|
}
|
|
4142
4166
|
} catch (error) {
|
|
4143
4167
|
if (error instanceof Error) {
|
|
@@ -4697,7 +4721,9 @@ ${modelIdentity}` : modelIdentity;
|
|
|
4697
4721
|
chunkText: textContent,
|
|
4698
4722
|
usage: {
|
|
4699
4723
|
input_tokens: response.usage?.input_tokens || 0,
|
|
4700
|
-
output_tokens: response.usage?.output_tokens || 0
|
|
4724
|
+
output_tokens: response.usage?.output_tokens || 0,
|
|
4725
|
+
cache_read_input_tokens: response.usage?.cache_read_input_tokens,
|
|
4726
|
+
cache_creation_input_tokens: response.usage?.cache_creation_input_tokens
|
|
4701
4727
|
},
|
|
4702
4728
|
tool: {
|
|
4703
4729
|
id: toolUseBlocks[0].id,
|
|
@@ -4713,7 +4739,9 @@ ${modelIdentity}` : modelIdentity;
|
|
|
4713
4739
|
chunkText: textContent,
|
|
4714
4740
|
usage: {
|
|
4715
4741
|
input_tokens: response.usage?.input_tokens || 0,
|
|
4716
|
-
output_tokens: response.usage?.output_tokens || 0
|
|
4742
|
+
output_tokens: response.usage?.output_tokens || 0,
|
|
4743
|
+
cache_read_input_tokens: response.usage?.cache_read_input_tokens,
|
|
4744
|
+
cache_creation_input_tokens: response.usage?.cache_creation_input_tokens
|
|
4717
4745
|
}
|
|
4718
4746
|
};
|
|
4719
4747
|
}
|
|
@@ -4742,7 +4770,9 @@ ${modelIdentity}` : modelIdentity;
|
|
|
4742
4770
|
choice = {
|
|
4743
4771
|
chunkText: "",
|
|
4744
4772
|
usage: {
|
|
4745
|
-
input_tokens: chunk.message.usage.input_tokens
|
|
4773
|
+
input_tokens: chunk.message.usage.input_tokens,
|
|
4774
|
+
cache_read_input_tokens: chunk.message.usage.cache_read_input_tokens,
|
|
4775
|
+
cache_creation_input_tokens: chunk.message.usage.cache_creation_input_tokens
|
|
4746
4776
|
}
|
|
4747
4777
|
};
|
|
4748
4778
|
} else if (isContentBlockStart(chunk)) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getOpenWeatherKey,
|
|
5
5
|
getSerperKey,
|
|
6
6
|
getWolframAlphaKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XACIOJZ7.js";
|
|
8
8
|
import {
|
|
9
9
|
BFLImageService,
|
|
10
10
|
BaseStorage,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
OpenAIBackend,
|
|
17
17
|
OpenAIImageService,
|
|
18
18
|
XAIImageService
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KGAK226I.js";
|
|
20
20
|
import {
|
|
21
21
|
Logger
|
|
22
22
|
} from "./chunk-PFBYGCOW.js";
|
|
@@ -5123,16 +5123,27 @@ async function firecrawlFetch(adapters, url) {
|
|
|
5123
5123
|
const timeoutId = setTimeout(() => controller.abort(), 6e4);
|
|
5124
5124
|
try {
|
|
5125
5125
|
console.log("\u{1F4E5} WebFetch Tool: Scraping URL with Firecrawl...");
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5126
|
+
let result;
|
|
5127
|
+
try {
|
|
5128
|
+
result = await app.scrapeUrl(url, {
|
|
5129
|
+
formats: ["markdown"],
|
|
5130
|
+
actions: [
|
|
5131
|
+
{
|
|
5132
|
+
type: "wait",
|
|
5133
|
+
milliseconds: 1e3
|
|
5134
|
+
// Wait for JavaScript to execute
|
|
5135
|
+
}
|
|
5136
|
+
]
|
|
5137
|
+
});
|
|
5138
|
+
} catch (scrapeError) {
|
|
5139
|
+
const msg = scrapeError instanceof Error ? scrapeError.message : "";
|
|
5140
|
+
if (msg.includes("Actions are not supported")) {
|
|
5141
|
+
console.log("\u{1F4E5} WebFetch Tool: Actions not supported, retrying without actions...");
|
|
5142
|
+
result = await app.scrapeUrl(url, { formats: ["markdown"] });
|
|
5143
|
+
} else {
|
|
5144
|
+
throw scrapeError;
|
|
5145
|
+
}
|
|
5146
|
+
}
|
|
5136
5147
|
clearTimeout(timeoutId);
|
|
5137
5148
|
if (!result || result.error) {
|
|
5138
5149
|
const errorMessage = result?.error || "Unknown error";
|
|
@@ -5185,15 +5196,28 @@ var webFetchTool = {
|
|
|
5185
5196
|
return result.markdown;
|
|
5186
5197
|
} catch (error) {
|
|
5187
5198
|
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
5188
|
-
if (error instanceof FirecrawlError &&
|
|
5189
|
-
const
|
|
5190
|
-
|
|
5199
|
+
if (error instanceof FirecrawlError && [400, 403, 408].includes(error.statusCode)) {
|
|
5200
|
+
const statusMessages = {
|
|
5201
|
+
400: {
|
|
5202
|
+
userMessage: `This site requires advanced browser features that are not available. Try using web_search to find the information instead.`,
|
|
5203
|
+
statusLabel: "actions not supported"
|
|
5204
|
+
},
|
|
5205
|
+
403: {
|
|
5206
|
+
userMessage: `This site cannot be accessed by the web scraper \u2014 it blocks automated access or is not supported. Try using web_search to find the information instead.`,
|
|
5207
|
+
statusLabel: "site not supported"
|
|
5208
|
+
},
|
|
5209
|
+
408: {
|
|
5210
|
+
userMessage: `The page timed out before loading completely \u2014 the site may be slow or require heavy JavaScript rendering. Try using web_search to find the information instead.`,
|
|
5211
|
+
statusLabel: "scrape timed out"
|
|
5212
|
+
}
|
|
5213
|
+
};
|
|
5214
|
+
const { userMessage, statusLabel } = statusMessages[error.statusCode];
|
|
5191
5215
|
context.logger.warn("WebFetch expected Firecrawl failure", {
|
|
5192
5216
|
url: params.url,
|
|
5193
5217
|
statusCode: error.statusCode,
|
|
5194
5218
|
error: errorMessage
|
|
5195
5219
|
});
|
|
5196
|
-
await context.statusUpdate({}, `WebFetch: ${
|
|
5220
|
+
await context.statusUpdate({}, `WebFetch: ${statusLabel}`);
|
|
5197
5221
|
return userMessage;
|
|
5198
5222
|
}
|
|
5199
5223
|
context.logger.error("WebFetch error:", error);
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
isReadOnlyTool,
|
|
37
37
|
loadContextFiles,
|
|
38
38
|
setWebSocketToolExecutor
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-SA2GRZGG.js";
|
|
40
40
|
import "../chunk-BDQBOLYG.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-XACIOJZ7.js";
|
|
42
42
|
import "../chunk-GQGOWACU.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-VILQBYE6.js";
|
|
44
|
+
import "../chunk-S27A7SCI.js";
|
|
45
|
+
import "../chunk-KGAK226I.js";
|
|
46
46
|
import "../chunk-PFBYGCOW.js";
|
|
47
47
|
import "../chunk-BPFEGDC7.js";
|
|
48
48
|
import {
|
package/dist/index.js
CHANGED
|
@@ -46,15 +46,15 @@ import {
|
|
|
46
46
|
setWebSocketToolExecutor,
|
|
47
47
|
substituteArguments,
|
|
48
48
|
warmFileCache
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SA2GRZGG.js";
|
|
50
50
|
import "./chunk-BDQBOLYG.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-XACIOJZ7.js";
|
|
52
52
|
import "./chunk-GQGOWACU.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-VILQBYE6.js";
|
|
54
|
+
import "./chunk-S27A7SCI.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaBackend
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KGAK226I.js";
|
|
58
58
|
import "./chunk-PFBYGCOW.js";
|
|
59
59
|
import "./chunk-BPFEGDC7.js";
|
|
60
60
|
import {
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
checkForUpdate,
|
|
66
66
|
package_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-25UR2PLZ.js";
|
|
68
68
|
import {
|
|
69
69
|
selectActiveBackgroundAgents,
|
|
70
70
|
useCliStore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.55
|
|
3
|
+
"version": "0.2.55",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -41,32 +41,32 @@
|
|
|
41
41
|
"postinstall": "node -e \"try { require('better-sqlite3') } catch(e) { if(e.message.includes('bindings')) { console.log('\\n⚠️ Rebuilding better-sqlite3 native bindings...'); require('child_process').execSync('pnpm rebuild better-sqlite3', {stdio:'inherit'}) } }\""
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@anthropic-ai/sdk": "^0.
|
|
45
|
-
"@aws-sdk/client-apigatewaymanagementapi": "3.
|
|
46
|
-
"@aws-sdk/client-bedrock-runtime": "3.
|
|
47
|
-
"@aws-sdk/client-cloudwatch": "3.
|
|
48
|
-
"@aws-sdk/client-lambda": "3.
|
|
49
|
-
"@aws-sdk/client-s3": "3.
|
|
50
|
-
"@aws-sdk/client-sqs": "3.
|
|
51
|
-
"@aws-sdk/client-transcribe": "3.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
53
|
-
"@aws-sdk/s3-request-presigner": "3.
|
|
44
|
+
"@anthropic-ai/sdk": "^0.78.0",
|
|
45
|
+
"@aws-sdk/client-apigatewaymanagementapi": "3.1009.0",
|
|
46
|
+
"@aws-sdk/client-bedrock-runtime": "3.1009.0",
|
|
47
|
+
"@aws-sdk/client-cloudwatch": "3.1009.0",
|
|
48
|
+
"@aws-sdk/client-lambda": "3.1009.0",
|
|
49
|
+
"@aws-sdk/client-s3": "3.1009.0",
|
|
50
|
+
"@aws-sdk/client-sqs": "3.1009.0",
|
|
51
|
+
"@aws-sdk/client-transcribe": "3.1009.0",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "3.972.21",
|
|
53
|
+
"@aws-sdk/s3-request-presigner": "3.1009.0",
|
|
54
54
|
"@casl/ability": "^6.8.0",
|
|
55
|
-
"@google/genai": "^1.
|
|
55
|
+
"@google/genai": "^1.45.0",
|
|
56
56
|
"@joplin/turndown-plugin-gfm": "^1.0.64",
|
|
57
57
|
"@mendable/firecrawl-js": "^1.29.3",
|
|
58
58
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
59
59
|
"@octokit/rest": "^22.0.1",
|
|
60
60
|
"@opensearch-project/opensearch": "2.11.0",
|
|
61
|
-
"@smithy/node-http-handler": "^4.4.
|
|
61
|
+
"@smithy/node-http-handler": "^4.4.16",
|
|
62
62
|
"async-mutex": "^0.5.0",
|
|
63
63
|
"axios": "^1.13.6",
|
|
64
64
|
"bcryptjs": "^3.0.2",
|
|
65
|
-
"better-sqlite3": "^12.
|
|
65
|
+
"better-sqlite3": "^12.8.0",
|
|
66
66
|
"cheerio": "1.0.0-rc.12",
|
|
67
67
|
"cli-highlight": "^2.1.11",
|
|
68
68
|
"csv-parse": "^6.0.0",
|
|
69
|
-
"dayjs": "^1.11.
|
|
69
|
+
"dayjs": "^1.11.20",
|
|
70
70
|
"diff": "^8.0.2",
|
|
71
71
|
"dotenv": "^17.0.0",
|
|
72
72
|
"eventsource-parser": "^3.0.6",
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
"ink-text-input": "^6.0.0",
|
|
84
84
|
"jsonwebtoken": "^9.0.3",
|
|
85
85
|
"lodash": "^4.17.21",
|
|
86
|
-
"mammoth": "^1.
|
|
86
|
+
"mammoth": "^1.12.0",
|
|
87
87
|
"marked": "^15.0.11",
|
|
88
88
|
"mathjs": "^14.2.0",
|
|
89
89
|
"mime-types": "^2.1.35",
|
|
90
90
|
"mongoose": "^8.8.3",
|
|
91
91
|
"ollama": "^0.6.3",
|
|
92
92
|
"open": "^11.0.0",
|
|
93
|
-
"openai": "^6.
|
|
93
|
+
"openai": "^6.29.0",
|
|
94
94
|
"p-limit": "^7.3.0",
|
|
95
95
|
"picomatch": "^4.0.3",
|
|
96
96
|
"qrcode": "^1.5.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"tiktoken": "^1.0.22",
|
|
101
101
|
"tree-sitter-wasms": "^0.1.13",
|
|
102
102
|
"turndown": "^7.2.2",
|
|
103
|
-
"undici": "^7.
|
|
103
|
+
"undici": "^7.24.4",
|
|
104
104
|
"unpdf": "^0.10.0",
|
|
105
105
|
"uuid": "^13.0.0",
|
|
106
106
|
"voyageai": "^0.0.4",
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
"zustand": "^4.5.4"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@bike4mind/agents": "0.2.1
|
|
118
|
-
"@bike4mind/common": "2.70.1
|
|
119
|
-
"@bike4mind/mcp": "1.33.15
|
|
120
|
-
"@bike4mind/services": "2.64.3
|
|
121
|
-
"@bike4mind/utils": "2.15.9
|
|
117
|
+
"@bike4mind/agents": "0.2.1",
|
|
118
|
+
"@bike4mind/common": "2.70.1",
|
|
119
|
+
"@bike4mind/mcp": "1.33.15",
|
|
120
|
+
"@bike4mind/services": "2.64.3",
|
|
121
|
+
"@bike4mind/utils": "2.15.9",
|
|
122
122
|
"@types/better-sqlite3": "^7.6.13",
|
|
123
123
|
"@types/jsonwebtoken": "^9.0.4",
|
|
124
124
|
"@types/node": "^22.9.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"vitest": "^3.2.4"
|
|
134
134
|
},
|
|
135
135
|
"optionalDependencies": {
|
|
136
|
-
"@vscode/ripgrep": "^1.17.
|
|
136
|
+
"@vscode/ripgrep": "^1.17.1"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "dfc4dccb344f081dd2c87bc16fb2d27f70c02844"
|
|
139
139
|
}
|