@bike4mind/cli 0.2.30-fix-mobile-chat-scroll.19211 → 0.2.30-fix-client-no-case-declarations.19216

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.
@@ -2493,13 +2493,7 @@ var AnthropicBackend = class {
2493
2493
  const rawTools = options.tools;
2494
2494
  const normalizedTools = Array.isArray(rawTools) ? rawTools : rawTools ? [rawTools] : void 0;
2495
2495
  options.tools = normalizedTools;
2496
- let system = this.consolidateSystemMessages(messages);
2497
- if (system) {
2498
- system += `
2499
- IMPORTANT! Only when someone asks, remember that you are specifically the ${model} model.`;
2500
- } else {
2501
- system = `IMPORTANT! Only when someone asks, remember that you are specifically the ${model} model.`;
2502
- }
2496
+ const system = this.consolidateSystemMessages(messages);
2503
2497
  let filteredMessages = ensureToolPairingIntegrity(this.filterRelevantMessages(messages), this.logger);
2504
2498
  const countToolBlocks = (msgs) => {
2505
2499
  let useCount = 0;
@@ -3858,10 +3852,7 @@ var AnthropicBedrockBackend = class extends BaseBedrockBackend {
3858
3852
  }
3859
3853
  return { ...m, content: "" };
3860
3854
  }).filter((m) => m.content !== "" && (Array.isArray(m.content) ? m.content.length > 0 : true));
3861
- let systemMessage = messages.filter((m) => m.role === "system" && m.content).map((m) => typeof m.content === "string" ? m.content : JSON.stringify(m.content)).join("\n");
3862
- const modelIdentity = `IMPORTANT! Only when someone asks, remember that you are specifically the ${model} model.`;
3863
- systemMessage = systemMessage ? `${systemMessage}
3864
- ${modelIdentity}` : modelIdentity;
3855
+ const systemMessage = messages.filter((m) => m.role === "system" && m.content).map((m) => typeof m.content === "string" ? m.content : JSON.stringify(m.content)).join("\n");
3865
3856
  console.log(`[AnthropicBedrockBackend] Preparing payload for model: ${model}`);
3866
3857
  const hasVendorPrefix = model.includes(":") || model.startsWith("global.") || model.startsWith("us.");
3867
3858
  const modelId = hasVendorPrefix ? model : `anthropic.${model}`;
@@ -6,7 +6,7 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-2J3SWEOX.js";
9
+ } from "./chunk-5HA4JEOV.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
@@ -7,7 +7,7 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-2J3SWEOX.js";
10
+ } from "./chunk-5HA4JEOV.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-2J3SWEOX.js";
5
+ } from "./chunk-5HA4JEOV.js";
6
6
  import {
7
7
  CompletionApiUsageTransaction,
8
8
  GenericCreditDeductTransaction,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-Y3UNQA2C.js";
6
- import "./chunk-2J3SWEOX.js";
5
+ } from "./chunk-B7Z2QQMD.js";
6
+ import "./chunk-5HA4JEOV.js";
7
7
  import "./chunk-C3K7SH2V.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  getEffectiveApiKey,
6
6
  getOpenWeatherKey,
7
7
  getSerperKey
8
- } from "./chunk-V73352YM.js";
8
+ } from "./chunk-65DLNQY2.js";
9
9
  import "./chunk-RUI6HNLO.js";
10
10
  import {
11
11
  ConfigStore,
@@ -15,8 +15,8 @@ import {
15
15
  selectActiveBackgroundAgents,
16
16
  useCliStore
17
17
  } from "./chunk-TVW4ZESU.js";
18
- import "./chunk-GQSW2JBL.js";
19
- import "./chunk-Y3UNQA2C.js";
18
+ import "./chunk-BYLWQZ5S.js";
19
+ import "./chunk-B7Z2QQMD.js";
20
20
  import {
21
21
  BFLImageService,
22
22
  BaseStorage,
@@ -28,7 +28,7 @@ import {
28
28
  OpenAIBackend,
29
29
  OpenAIImageService,
30
30
  XAIImageService
31
- } from "./chunk-2J3SWEOX.js";
31
+ } from "./chunk-5HA4JEOV.js";
32
32
  import {
33
33
  AiEvents,
34
34
  ApiKeyEvents,
@@ -14636,7 +14636,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
14636
14636
  // package.json
14637
14637
  var package_default = {
14638
14638
  name: "@bike4mind/cli",
14639
- version: "0.2.30-fix-mobile-chat-scroll.19211+aad85b2e3",
14639
+ version: "0.2.30-fix-client-no-case-declarations.19216+dd3ad798a",
14640
14640
  type: "module",
14641
14641
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
14642
14642
  license: "UNLICENSED",
@@ -14747,10 +14747,10 @@ var package_default = {
14747
14747
  },
14748
14748
  devDependencies: {
14749
14749
  "@bike4mind/agents": "0.1.0",
14750
- "@bike4mind/common": "2.51.1-fix-mobile-chat-scroll.19211+aad85b2e3",
14751
- "@bike4mind/mcp": "1.30.1-fix-mobile-chat-scroll.19211+aad85b2e3",
14752
- "@bike4mind/services": "2.49.1-fix-mobile-chat-scroll.19211+aad85b2e3",
14753
- "@bike4mind/utils": "2.6.1-fix-mobile-chat-scroll.19211+aad85b2e3",
14750
+ "@bike4mind/common": "2.51.1-fix-client-no-case-declarations.19216+dd3ad798a",
14751
+ "@bike4mind/mcp": "1.30.1-fix-client-no-case-declarations.19216+dd3ad798a",
14752
+ "@bike4mind/services": "2.49.1-fix-client-no-case-declarations.19216+dd3ad798a",
14753
+ "@bike4mind/utils": "2.6.1-fix-client-no-case-declarations.19216+dd3ad798a",
14754
14754
  "@types/better-sqlite3": "^7.6.13",
14755
14755
  "@types/diff": "^5.0.9",
14756
14756
  "@types/jsonwebtoken": "^9.0.4",
@@ -14771,7 +14771,7 @@ var package_default = {
14771
14771
  optionalDependencies: {
14772
14772
  "@vscode/ripgrep": "^1.17.0"
14773
14773
  },
14774
- gitHead: "aad85b2e356b593db7584b9477f91e814fa7dc06"
14774
+ gitHead: "dd3ad798a81116729325cd878892e97d01a16ef4"
14775
14775
  };
14776
14776
 
14777
14777
  // src/config/constants.ts
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-V73352YM.js";
6
- import "./chunk-2J3SWEOX.js";
5
+ } from "./chunk-65DLNQY2.js";
6
+ import "./chunk-5HA4JEOV.js";
7
7
  import "./chunk-C3K7SH2V.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
@@ -134,7 +134,7 @@ import {
134
134
  validateMermaidSyntax,
135
135
  warmUpSettingsCache,
136
136
  withRetry
137
- } from "./chunk-2J3SWEOX.js";
137
+ } from "./chunk-5HA4JEOV.js";
138
138
  import {
139
139
  buildRateLimitLogEntry,
140
140
  isNearLimit,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-GQSW2JBL.js";
6
- import "./chunk-2J3SWEOX.js";
5
+ } from "./chunk-BYLWQZ5S.js";
6
+ import "./chunk-5HA4JEOV.js";
7
7
  import "./chunk-C3K7SH2V.js";
8
8
  import "./chunk-OCYRD7D6.js";
9
9
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.30-fix-mobile-chat-scroll.19211+aad85b2e3",
3
+ "version": "0.2.30-fix-client-no-case-declarations.19216+dd3ad798a",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -111,10 +111,10 @@
111
111
  },
112
112
  "devDependencies": {
113
113
  "@bike4mind/agents": "0.1.0",
114
- "@bike4mind/common": "2.51.1-fix-mobile-chat-scroll.19211+aad85b2e3",
115
- "@bike4mind/mcp": "1.30.1-fix-mobile-chat-scroll.19211+aad85b2e3",
116
- "@bike4mind/services": "2.49.1-fix-mobile-chat-scroll.19211+aad85b2e3",
117
- "@bike4mind/utils": "2.6.1-fix-mobile-chat-scroll.19211+aad85b2e3",
114
+ "@bike4mind/common": "2.51.1-fix-client-no-case-declarations.19216+dd3ad798a",
115
+ "@bike4mind/mcp": "1.30.1-fix-client-no-case-declarations.19216+dd3ad798a",
116
+ "@bike4mind/services": "2.49.1-fix-client-no-case-declarations.19216+dd3ad798a",
117
+ "@bike4mind/utils": "2.6.1-fix-client-no-case-declarations.19216+dd3ad798a",
118
118
  "@types/better-sqlite3": "^7.6.13",
119
119
  "@types/diff": "^5.0.9",
120
120
  "@types/jsonwebtoken": "^9.0.4",
@@ -135,5 +135,5 @@
135
135
  "optionalDependencies": {
136
136
  "@vscode/ripgrep": "^1.17.0"
137
137
  },
138
- "gitHead": "aad85b2e356b593db7584b9477f91e814fa7dc06"
138
+ "gitHead": "dd3ad798a81116729325cd878892e97d01a16ef4"
139
139
  }