@bike4mind/cli 0.2.55-fix-sre-tracking-missing-fields.21342 → 0.2.55-fix-cli-missing-exceljs-dependency.21356

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.
@@ -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, { inputTokens, outputTokens, toolsUsed });
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, { inputTokens, outputTokens, toolsUsed });
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"], { inputTokens, outputTokens, toolsUsed });
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], { inputTokens, outputTokens, toolsUsed });
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, { inputTokens, outputTokens, toolsUsed });
4144
+ await callback(results, buildCompletionInfo());
4121
4145
  });
4122
4146
  this.pushToolMessages(messages, { id, name, parameters }, result);
4123
- await callback(["\n\n"], { inputTokens, outputTokens, toolsUsed });
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], { inputTokens, outputTokens, toolsUsed });
4160
+ await callback([null], buildCompletionInfo());
4137
4161
  return;
4138
4162
  }
4139
4163
  }
4140
- await callback(streamedText, { inputTokens, outputTokens, toolsUsed });
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)) {
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@bike4mind/cli",
6
- version: "0.2.55-fix-sre-tracking-missing-fields.21342+03757806f",
6
+ version: "0.2.55-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
7
7
  type: "module",
8
8
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
9
9
  license: "UNLICENSED",
@@ -44,35 +44,36 @@ 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.71.2",
48
- "@aws-sdk/client-apigatewaymanagementapi": "3.654.0",
49
- "@aws-sdk/client-bedrock-runtime": "3.654.0",
50
- "@aws-sdk/client-cloudwatch": "3.654.0",
51
- "@aws-sdk/client-lambda": "3.654.0",
52
- "@aws-sdk/client-s3": "3.654.0",
53
- "@aws-sdk/client-sqs": "3.654.0",
54
- "@aws-sdk/client-transcribe": "3.654.0",
55
- "@aws-sdk/credential-provider-node": "3.654.0",
56
- "@aws-sdk/s3-request-presigner": "3.654.0",
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.44.0",
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.14",
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.6.2",
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.19",
72
+ dayjs: "^1.11.20",
73
73
  diff: "^8.0.2",
74
74
  dotenv: "^17.0.0",
75
75
  "eventsource-parser": "^3.0.6",
76
+ exceljs: "^4.4.0",
76
77
  fdir: "^6.5.0",
77
78
  "file-type": "^18.7.0",
78
79
  "fuse.js": "^7.1.0",
@@ -86,14 +87,14 @@ var package_default = {
86
87
  "ink-text-input": "^6.0.0",
87
88
  jsonwebtoken: "^9.0.3",
88
89
  lodash: "^4.17.21",
89
- mammoth: "^1.11.0",
90
+ mammoth: "^1.12.0",
90
91
  marked: "^15.0.11",
91
92
  mathjs: "^14.2.0",
92
93
  "mime-types": "^2.1.35",
93
94
  mongoose: "^8.8.3",
94
95
  ollama: "^0.6.3",
95
96
  open: "^11.0.0",
96
- openai: "^6.27.0",
97
+ openai: "^6.29.0",
97
98
  "p-limit": "^7.3.0",
98
99
  picomatch: "^4.0.3",
99
100
  qrcode: "^1.5.4",
@@ -103,7 +104,7 @@ var package_default = {
103
104
  tiktoken: "^1.0.22",
104
105
  "tree-sitter-wasms": "^0.1.13",
105
106
  turndown: "^7.2.2",
106
- undici: "^7.0.0",
107
+ undici: "^7.24.4",
107
108
  unpdf: "^0.10.0",
108
109
  uuid: "^13.0.0",
109
110
  voyageai: "^0.0.4",
@@ -117,11 +118,11 @@ var package_default = {
117
118
  zustand: "^4.5.4"
118
119
  },
119
120
  devDependencies: {
120
- "@bike4mind/agents": "0.2.1-fix-sre-tracking-missing-fields.21342+03757806f",
121
- "@bike4mind/common": "2.70.1-fix-sre-tracking-missing-fields.21342+03757806f",
122
- "@bike4mind/mcp": "1.33.15-fix-sre-tracking-missing-fields.21342+03757806f",
123
- "@bike4mind/services": "2.64.3-fix-sre-tracking-missing-fields.21342+03757806f",
124
- "@bike4mind/utils": "2.15.9-fix-sre-tracking-missing-fields.21342+03757806f",
121
+ "@bike4mind/agents": "0.2.1-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
122
+ "@bike4mind/common": "2.70.1-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
123
+ "@bike4mind/mcp": "1.33.15-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
124
+ "@bike4mind/services": "2.64.3-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
125
+ "@bike4mind/utils": "2.15.9-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
125
126
  "@types/better-sqlite3": "^7.6.13",
126
127
  "@types/jsonwebtoken": "^9.0.4",
127
128
  "@types/node": "^22.9.0",
@@ -136,9 +137,9 @@ var package_default = {
136
137
  vitest: "^3.2.4"
137
138
  },
138
139
  optionalDependencies: {
139
- "@vscode/ripgrep": "^1.17.0"
140
+ "@vscode/ripgrep": "^1.17.1"
140
141
  },
141
- gitHead: "03757806f30ea353a6cfdbfee2fd0c2fa950c412"
142
+ gitHead: "2ab2098bddfcfb3607e62486795b3cecbe4c836c"
142
143
  };
143
144
 
144
145
  // src/utils/updateChecker.ts
@@ -7,7 +7,7 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-WVV6VBSO.js";
10
+ } from "./chunk-KGAK226I.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
@@ -4,7 +4,7 @@ import {
4
4
  getOpenWeatherKey,
5
5
  getSerperKey,
6
6
  getWolframAlphaKey
7
- } from "./chunk-655WYP3G.js";
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-WVV6VBSO.js";
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
- const result = await app.scrapeUrl(url, {
5127
- formats: ["markdown"],
5128
- actions: [
5129
- {
5130
- type: "wait",
5131
- milliseconds: 1e3
5132
- // Wait for JavaScript to execute
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 && (error.statusCode === 403 || error.statusCode === 408)) {
5189
- const isUnsupported = error.statusCode === 403;
5190
- const userMessage = isUnsupported ? `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.` : `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.`;
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: ${isUnsupported ? "site not supported" : "scrape timed out"}`);
5220
+ await context.statusUpdate({}, `WebFetch: ${statusLabel}`);
5197
5221
  return userMessage;
5198
5222
  }
5199
5223
  context.logger.error("WebFetch error:", error);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-WVV6VBSO.js";
5
+ } from "./chunk-KGAK226I.js";
6
6
  import {
7
7
  CompletionApiUsageTransaction,
8
8
  GenericCreditDeductTransaction,
@@ -6,7 +6,7 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-WVV6VBSO.js";
9
+ } from "./chunk-KGAK226I.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
@@ -3,7 +3,7 @@ import {
3
3
  fetchLatestVersion,
4
4
  forceCheckForUpdate,
5
5
  package_default
6
- } from "../chunk-BUD25X6P.js";
6
+ } from "../chunk-O3MDI4S2.js";
7
7
 
8
8
  // src/commands/doctorCommand.ts
9
9
  import { execSync } from "child_process";
@@ -36,13 +36,13 @@ import {
36
36
  isReadOnlyTool,
37
37
  loadContextFiles,
38
38
  setWebSocketToolExecutor
39
- } from "../chunk-WCCLB46N.js";
39
+ } from "../chunk-SA2GRZGG.js";
40
40
  import "../chunk-BDQBOLYG.js";
41
- import "../chunk-655WYP3G.js";
41
+ import "../chunk-XACIOJZ7.js";
42
42
  import "../chunk-GQGOWACU.js";
43
- import "../chunk-7ELVZNRR.js";
44
- import "../chunk-HLDLI3VO.js";
45
- import "../chunk-WVV6VBSO.js";
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 {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  forceCheckForUpdate,
4
4
  package_default
5
- } from "../chunk-BUD25X6P.js";
5
+ } from "../chunk-O3MDI4S2.js";
6
6
 
7
7
  // src/commands/updateCommand.ts
8
8
  import { execSync } from "child_process";
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-HLDLI3VO.js";
6
- import "./chunk-WVV6VBSO.js";
5
+ } from "./chunk-S27A7SCI.js";
6
+ import "./chunk-KGAK226I.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
8
  import "./chunk-I5ZF2OVL.js";
9
9
  export {
package/dist/index.js CHANGED
@@ -46,15 +46,15 @@ import {
46
46
  setWebSocketToolExecutor,
47
47
  substituteArguments,
48
48
  warmFileCache
49
- } from "./chunk-WCCLB46N.js";
49
+ } from "./chunk-SA2GRZGG.js";
50
50
  import "./chunk-BDQBOLYG.js";
51
- import "./chunk-655WYP3G.js";
51
+ import "./chunk-XACIOJZ7.js";
52
52
  import "./chunk-GQGOWACU.js";
53
- import "./chunk-7ELVZNRR.js";
54
- import "./chunk-HLDLI3VO.js";
53
+ import "./chunk-VILQBYE6.js";
54
+ import "./chunk-S27A7SCI.js";
55
55
  import {
56
56
  OllamaBackend
57
- } from "./chunk-WVV6VBSO.js";
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-BUD25X6P.js";
67
+ } from "./chunk-O3MDI4S2.js";
68
68
  import {
69
69
  selectActiveBackgroundAgents,
70
70
  useCliStore
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-655WYP3G.js";
6
- import "./chunk-WVV6VBSO.js";
5
+ } from "./chunk-XACIOJZ7.js";
6
+ import "./chunk-KGAK226I.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
8
  import "./chunk-I5ZF2OVL.js";
9
9
  export {
@@ -143,7 +143,7 @@ import {
143
143
  validateUrlForFetch,
144
144
  warmUpSettingsCache,
145
145
  withRetry
146
- } from "./chunk-WVV6VBSO.js";
146
+ } from "./chunk-KGAK226I.js";
147
147
  import {
148
148
  Logger,
149
149
  NotificationDeduplicator,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-7ELVZNRR.js";
6
- import "./chunk-WVV6VBSO.js";
5
+ } from "./chunk-VILQBYE6.js";
6
+ import "./chunk-KGAK226I.js";
7
7
  import "./chunk-PFBYGCOW.js";
8
8
  import "./chunk-I5ZF2OVL.js";
9
9
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.55-fix-sre-tracking-missing-fields.21342+03757806f",
3
+ "version": "0.2.55-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -41,35 +41,36 @@
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.71.2",
45
- "@aws-sdk/client-apigatewaymanagementapi": "3.654.0",
46
- "@aws-sdk/client-bedrock-runtime": "3.654.0",
47
- "@aws-sdk/client-cloudwatch": "3.654.0",
48
- "@aws-sdk/client-lambda": "3.654.0",
49
- "@aws-sdk/client-s3": "3.654.0",
50
- "@aws-sdk/client-sqs": "3.654.0",
51
- "@aws-sdk/client-transcribe": "3.654.0",
52
- "@aws-sdk/credential-provider-node": "3.654.0",
53
- "@aws-sdk/s3-request-presigner": "3.654.0",
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.44.0",
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.14",
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.6.2",
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.19",
69
+ "dayjs": "^1.11.20",
70
70
  "diff": "^8.0.2",
71
71
  "dotenv": "^17.0.0",
72
72
  "eventsource-parser": "^3.0.6",
73
+ "exceljs": "^4.4.0",
73
74
  "fdir": "^6.5.0",
74
75
  "file-type": "^18.7.0",
75
76
  "fuse.js": "^7.1.0",
@@ -83,14 +84,14 @@
83
84
  "ink-text-input": "^6.0.0",
84
85
  "jsonwebtoken": "^9.0.3",
85
86
  "lodash": "^4.17.21",
86
- "mammoth": "^1.11.0",
87
+ "mammoth": "^1.12.0",
87
88
  "marked": "^15.0.11",
88
89
  "mathjs": "^14.2.0",
89
90
  "mime-types": "^2.1.35",
90
91
  "mongoose": "^8.8.3",
91
92
  "ollama": "^0.6.3",
92
93
  "open": "^11.0.0",
93
- "openai": "^6.27.0",
94
+ "openai": "^6.29.0",
94
95
  "p-limit": "^7.3.0",
95
96
  "picomatch": "^4.0.3",
96
97
  "qrcode": "^1.5.4",
@@ -100,7 +101,7 @@
100
101
  "tiktoken": "^1.0.22",
101
102
  "tree-sitter-wasms": "^0.1.13",
102
103
  "turndown": "^7.2.2",
103
- "undici": "^7.0.0",
104
+ "undici": "^7.24.4",
104
105
  "unpdf": "^0.10.0",
105
106
  "uuid": "^13.0.0",
106
107
  "voyageai": "^0.0.4",
@@ -114,11 +115,11 @@
114
115
  "zustand": "^4.5.4"
115
116
  },
116
117
  "devDependencies": {
117
- "@bike4mind/agents": "0.2.1-fix-sre-tracking-missing-fields.21342+03757806f",
118
- "@bike4mind/common": "2.70.1-fix-sre-tracking-missing-fields.21342+03757806f",
119
- "@bike4mind/mcp": "1.33.15-fix-sre-tracking-missing-fields.21342+03757806f",
120
- "@bike4mind/services": "2.64.3-fix-sre-tracking-missing-fields.21342+03757806f",
121
- "@bike4mind/utils": "2.15.9-fix-sre-tracking-missing-fields.21342+03757806f",
118
+ "@bike4mind/agents": "0.2.1-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
119
+ "@bike4mind/common": "2.70.1-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
120
+ "@bike4mind/mcp": "1.33.15-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
121
+ "@bike4mind/services": "2.64.3-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
122
+ "@bike4mind/utils": "2.15.9-fix-cli-missing-exceljs-dependency.21356+2ab2098bd",
122
123
  "@types/better-sqlite3": "^7.6.13",
123
124
  "@types/jsonwebtoken": "^9.0.4",
124
125
  "@types/node": "^22.9.0",
@@ -133,7 +134,7 @@
133
134
  "vitest": "^3.2.4"
134
135
  },
135
136
  "optionalDependencies": {
136
- "@vscode/ripgrep": "^1.17.0"
137
+ "@vscode/ripgrep": "^1.17.1"
137
138
  },
138
- "gitHead": "03757806f30ea353a6cfdbfee2fd0c2fa950c412"
139
+ "gitHead": "2ab2098bddfcfb3607e62486795b3cecbe4c836c"
139
140
  }