@bike4mind/cli 0.2.12-ja-fix-slack-github-repo-matching.17428 → 0.2.12-refactor-github-mcp.17405

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.
@@ -536,15 +536,6 @@ var AnthropicBackend = class {
536
536
  };
537
537
  if (options.tools?.length) {
538
538
  apiParams.tools = this.formatTools(options.tools);
539
- if (options.tool_choice) {
540
- if (options.tool_choice === "auto") {
541
- apiParams.tool_choice = { type: "auto" };
542
- } else if (options.tool_choice === "required") {
543
- apiParams.tool_choice = { type: "any" };
544
- } else if (typeof options.tool_choice === "object" && options.tool_choice.function?.name) {
545
- apiParams.tool_choice = { type: "tool", name: options.tool_choice.function.name };
546
- }
547
- }
548
539
  }
549
540
  const modelInfo = await this.getModelInfo();
550
541
  const currentModelInfo = modelInfo.find((m) => m.id === model);
@@ -751,14 +742,6 @@ var AnthropicBackend = class {
751
742
  }
752
743
  }
753
744
  }
754
- for (const tool of func) {
755
- if (tool?.name && tool?.parameters) {
756
- toolsUsed.push({
757
- name: tool.name,
758
- arguments: tool.parameters
759
- });
760
- }
761
- }
762
745
  await cb(streamedText, { toolsUsed });
763
746
  if (func.some((f) => f && f.name)) {
764
747
  if (options.executeTools !== false) {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-KKYUZIAR.js";
5
+ } from "./chunk-BU5TP3BH.js";
6
6
  import {
7
7
  GenericCreditDeductTransaction,
8
8
  ImageEditUsageTransaction,
@@ -7,7 +7,7 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-KKYUZIAR.js";
10
+ } from "./chunk-BU5TP3BH.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
@@ -6,7 +6,7 @@ import {
6
6
  getSettingsByNames,
7
7
  obfuscateApiKey,
8
8
  secureParameters
9
- } from "./chunk-KKYUZIAR.js";
9
+ } from "./chunk-BU5TP3BH.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  createFabFile,
4
4
  createFabFileSchema
5
- } from "./chunk-TSL6XWBP.js";
6
- import "./chunk-KKYUZIAR.js";
5
+ } from "./chunk-RJFNIMVH.js";
6
+ import "./chunk-BU5TP3BH.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
8
  import "./chunk-OHR7UCTC.js";
9
9
  import "./chunk-PDX44BCA.js";
package/dist/index.js CHANGED
@@ -4,9 +4,9 @@ import {
4
4
  getEffectiveApiKey,
5
5
  getOpenWeatherKey,
6
6
  getSerperKey
7
- } from "./chunk-SUX7CM3M.js";
8
- import "./chunk-KRVKVP5N.js";
9
- import "./chunk-TSL6XWBP.js";
7
+ } from "./chunk-ZHCX7BLB.js";
8
+ import "./chunk-ID4NS6KF.js";
9
+ import "./chunk-RJFNIMVH.js";
10
10
  import {
11
11
  BFLImageService,
12
12
  BaseStorage,
@@ -15,7 +15,7 @@ import {
15
15
  OpenAIBackend,
16
16
  OpenAIImageService,
17
17
  XAIImageService
18
- } from "./chunk-KKYUZIAR.js";
18
+ } from "./chunk-BU5TP3BH.js";
19
19
  import {
20
20
  Logger
21
21
  } from "./chunk-AMDXHL6S.js";
@@ -3140,8 +3140,7 @@ ${options.context}` : this.getSystemPrompt()
3140
3140
  tools: this.context.tools,
3141
3141
  maxTokens,
3142
3142
  temperature,
3143
- abortSignal: options.signal,
3144
- tool_choice: this.context.toolChoice
3143
+ abortSignal: options.signal
3145
3144
  },
3146
3145
  async (texts, completionInfo) => {
3147
3146
  for (const text of texts) {
@@ -11787,7 +11786,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
11787
11786
  // package.json
11788
11787
  var package_default = {
11789
11788
  name: "@bike4mind/cli",
11790
- version: "0.2.12-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
11789
+ version: "0.2.12-refactor-github-mcp.17405+ae8801bbe",
11791
11790
  type: "module",
11792
11791
  description: "Interactive CLI tool for Bike4Mind with ReAct agents",
11793
11792
  license: "UNLICENSED",
@@ -11892,10 +11891,10 @@ var package_default = {
11892
11891
  },
11893
11892
  devDependencies: {
11894
11893
  "@bike4mind/agents": "0.1.0",
11895
- "@bike4mind/common": "2.41.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
11896
- "@bike4mind/mcp": "1.21.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
11897
- "@bike4mind/services": "2.36.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
11898
- "@bike4mind/utils": "2.1.6-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
11894
+ "@bike4mind/common": "2.41.1-refactor-github-mcp.17405+ae8801bbe",
11895
+ "@bike4mind/mcp": "1.21.1-refactor-github-mcp.17405+ae8801bbe",
11896
+ "@bike4mind/services": "2.36.1-refactor-github-mcp.17405+ae8801bbe",
11897
+ "@bike4mind/utils": "2.1.6-refactor-github-mcp.17405+ae8801bbe",
11899
11898
  "@types/better-sqlite3": "^7.6.13",
11900
11899
  "@types/diff": "^5.0.9",
11901
11900
  "@types/jsonwebtoken": "^9.0.4",
@@ -11908,7 +11907,7 @@ var package_default = {
11908
11907
  typescript: "^5.9.3",
11909
11908
  vitest: "^3.2.4"
11910
11909
  },
11911
- gitHead: "e58dba2ec406a51c01acee154913c40c02c8ebf2"
11910
+ gitHead: "ae8801bbe418b5047a42104f8aa2bb56c198e4b5"
11912
11911
  };
11913
11912
 
11914
11913
  // src/config/constants.ts
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-SUX7CM3M.js";
6
- import "./chunk-KKYUZIAR.js";
5
+ } from "./chunk-ZHCX7BLB.js";
6
+ import "./chunk-BU5TP3BH.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
8
  import "./chunk-OHR7UCTC.js";
9
9
  import "./chunk-PDX44BCA.js";
@@ -120,7 +120,7 @@ import {
120
120
  validateMermaidSyntax,
121
121
  warmUpSettingsCache,
122
122
  withRetry
123
- } from "./chunk-KKYUZIAR.js";
123
+ } from "./chunk-BU5TP3BH.js";
124
124
  import {
125
125
  Logger,
126
126
  NotificationDeduplicator,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-KRVKVP5N.js";
6
- import "./chunk-KKYUZIAR.js";
5
+ } from "./chunk-ID4NS6KF.js";
6
+ import "./chunk-BU5TP3BH.js";
7
7
  import "./chunk-AMDXHL6S.js";
8
8
  import "./chunk-OHR7UCTC.js";
9
9
  import "./chunk-PDX44BCA.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bike4mind/cli",
3
- "version": "0.2.12-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
3
+ "version": "0.2.12-refactor-github-mcp.17405+ae8801bbe",
4
4
  "type": "module",
5
5
  "description": "Interactive CLI tool for Bike4Mind with ReAct agents",
6
6
  "license": "UNLICENSED",
@@ -105,10 +105,10 @@
105
105
  },
106
106
  "devDependencies": {
107
107
  "@bike4mind/agents": "0.1.0",
108
- "@bike4mind/common": "2.41.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
109
- "@bike4mind/mcp": "1.21.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
110
- "@bike4mind/services": "2.36.1-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
111
- "@bike4mind/utils": "2.1.6-ja-fix-slack-github-repo-matching.17428+e58dba2ec",
108
+ "@bike4mind/common": "2.41.1-refactor-github-mcp.17405+ae8801bbe",
109
+ "@bike4mind/mcp": "1.21.1-refactor-github-mcp.17405+ae8801bbe",
110
+ "@bike4mind/services": "2.36.1-refactor-github-mcp.17405+ae8801bbe",
111
+ "@bike4mind/utils": "2.1.6-refactor-github-mcp.17405+ae8801bbe",
112
112
  "@types/better-sqlite3": "^7.6.13",
113
113
  "@types/diff": "^5.0.9",
114
114
  "@types/jsonwebtoken": "^9.0.4",
@@ -121,5 +121,5 @@
121
121
  "typescript": "^5.9.3",
122
122
  "vitest": "^3.2.4"
123
123
  },
124
- "gitHead": "e58dba2ec406a51c01acee154913c40c02c8ebf2"
124
+ "gitHead": "ae8801bbe418b5047a42104f8aa2bb56c198e4b5"
125
125
  }