@bike4mind/cli 0.2.12-ja-fix-slack-github-repo-matching.17426 → 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.
- package/dist/{chunk-ZKN6OUCK.js → chunk-BU5TP3BH.js} +0 -25
- package/dist/{chunk-XQ5A3NKV.js → chunk-ID4NS6KF.js} +1 -1
- package/dist/{chunk-4C5IJXWZ.js → chunk-RJFNIMVH.js} +1 -1
- package/dist/{chunk-ONFGEFE2.js → chunk-ZHCX7BLB.js} +1 -1
- package/dist/{create-VCKVXNHJ.js → create-MXBWYABO.js} +2 -2
- package/dist/index.js +11 -12
- package/dist/{mementoService-FITRJKNS.js → mementoService-4WLVEWPZ.js} +2 -2
- package/dist/{src-USSOS3FS.js → src-YU4VN5YG.js} +1 -1
- package/dist/{subtractCredits-QH2MGQTW.js → subtractCredits-FGISXF2D.js} +2 -2
- package/package.json +6 -6
|
@@ -536,17 +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
|
-
this.logger.info("[AnthropicBackend] tool_choice received", { tool_choice: options.tool_choice });
|
|
541
|
-
if (options.tool_choice === "auto") {
|
|
542
|
-
apiParams.tool_choice = { type: "auto" };
|
|
543
|
-
} else if (options.tool_choice === "required") {
|
|
544
|
-
apiParams.tool_choice = { type: "any" };
|
|
545
|
-
} else if (typeof options.tool_choice === "object" && options.tool_choice.function?.name) {
|
|
546
|
-
apiParams.tool_choice = { type: "tool", name: options.tool_choice.function.name };
|
|
547
|
-
this.logger.info("[AnthropicBackend] Forcing tool", { tool: options.tool_choice.function.name });
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
539
|
}
|
|
551
540
|
const modelInfo = await this.getModelInfo();
|
|
552
541
|
const currentModelInfo = modelInfo.find((m) => m.id === model);
|
|
@@ -753,20 +742,6 @@ var AnthropicBackend = class {
|
|
|
753
742
|
}
|
|
754
743
|
}
|
|
755
744
|
}
|
|
756
|
-
for (const tool of func) {
|
|
757
|
-
if (tool?.name && tool?.parameters) {
|
|
758
|
-
toolsUsed.push({
|
|
759
|
-
name: tool.name,
|
|
760
|
-
arguments: tool.parameters
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
if (toolsUsed.length > 0) {
|
|
765
|
-
this.logger.info("[AnthropicBackend] Non-streaming toolsUsed populated", {
|
|
766
|
-
count: toolsUsed.length,
|
|
767
|
-
tools: toolsUsed.map((t) => t.name)
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
745
|
await cb(streamedText, { toolsUsed });
|
|
771
746
|
if (func.some((f) => f && f.name)) {
|
|
772
747
|
if (options.executeTools !== false) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
11896
|
-
"@bike4mind/mcp": "1.21.1-
|
|
11897
|
-
"@bike4mind/services": "2.36.1-
|
|
11898
|
-
"@bike4mind/utils": "2.1.6-
|
|
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: "
|
|
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-
|
|
6
|
-
import "./chunk-
|
|
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";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
109
|
-
"@bike4mind/mcp": "1.21.1-
|
|
110
|
-
"@bike4mind/services": "2.36.1-
|
|
111
|
-
"@bike4mind/utils": "2.1.6-
|
|
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": "
|
|
124
|
+
"gitHead": "ae8801bbe418b5047a42104f8aa2bb56c198e4b5"
|
|
125
125
|
}
|