@bike4mind/cli 0.2.11 → 0.2.12-ja-fix-slack-github-repo-matching.17406
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/ImageStore-RQZ7OF7P.js +0 -0
- package/dist/artifactExtractor-F2VLARCK.js +0 -0
- package/dist/chunk-AMDXHL6S.js +0 -0
- package/dist/chunk-BDQBOLYG.js +0 -0
- package/dist/chunk-BPFEGDC7.js +0 -0
- package/dist/{chunk-BU5TP3BH.js → chunk-DYKGIB6P.js} +9 -0
- package/dist/{chunk-ID4NS6KF.js → chunk-E62KBSGA.js} +1 -1
- package/dist/{chunk-RJFNIMVH.js → chunk-NSMA3BD2.js} +1 -1
- package/dist/chunk-OHR7UCTC.js +0 -0
- package/dist/chunk-PDX44BCA.js +0 -0
- package/dist/{chunk-ZHCX7BLB.js → chunk-SRTCGY6B.js} +1 -1
- package/dist/{create-MXBWYABO.js → create-VYD7RWIS.js} +2 -2
- package/dist/formatConverter-I7EIUVDY.js +0 -0
- package/dist/index.js +14 -12
- package/dist/llmMarkdownGenerator-AVPOXVE5.js +0 -0
- package/dist/markdownGenerator-FBXMTP3B.js +0 -0
- package/dist/{mementoService-4WLVEWPZ.js → mementoService-UH6G7VZS.js} +2 -2
- package/dist/notificationDeduplicator-UW7D75QS.js +0 -0
- package/dist/{src-YU4VN5YG.js → src-JO5RM4HA.js} +1 -1
- package/dist/src-SYE7WXBJ.js +0 -0
- package/dist/{subtractCredits-FGISXF2D.js → subtractCredits-QRK4AYW5.js} +2 -2
- package/dist/utils-JPMDGUBL.js +0 -0
- package/package.json +18 -16
|
File without changes
|
|
File without changes
|
package/dist/chunk-AMDXHL6S.js
CHANGED
|
File without changes
|
package/dist/chunk-BDQBOLYG.js
CHANGED
|
File without changes
|
package/dist/chunk-BPFEGDC7.js
CHANGED
|
File without changes
|
|
@@ -536,6 +536,15 @@ 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
|
+
}
|
|
539
548
|
}
|
|
540
549
|
const modelInfo = await this.getModelInfo();
|
|
541
550
|
const currentModelInfo = modelInfo.find((m) => m.id === model);
|
package/dist/chunk-OHR7UCTC.js
CHANGED
|
File without changes
|
package/dist/chunk-PDX44BCA.js
CHANGED
|
File without changes
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-NSMA3BD2.js";
|
|
6
|
+
import "./chunk-DYKGIB6P.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
8
|
import "./chunk-OHR7UCTC.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
File without changes
|
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-SRTCGY6B.js";
|
|
8
|
+
import "./chunk-E62KBSGA.js";
|
|
9
|
+
import "./chunk-NSMA3BD2.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-DYKGIB6P.js";
|
|
19
19
|
import {
|
|
20
20
|
Logger
|
|
21
21
|
} from "./chunk-AMDXHL6S.js";
|
|
@@ -3106,7 +3106,8 @@ ${options.context}` : this.getSystemPrompt()
|
|
|
3106
3106
|
stream: false,
|
|
3107
3107
|
tools: this.context.tools,
|
|
3108
3108
|
maxTokens,
|
|
3109
|
-
temperature
|
|
3109
|
+
temperature,
|
|
3110
|
+
tool_choice: this.context.toolChoice
|
|
3110
3111
|
},
|
|
3111
3112
|
async (texts, completionInfo) => {
|
|
3112
3113
|
for (const text of texts) {
|
|
@@ -11658,7 +11659,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
11658
11659
|
// package.json
|
|
11659
11660
|
var package_default = {
|
|
11660
11661
|
name: "@bike4mind/cli",
|
|
11661
|
-
version: "0.2.
|
|
11662
|
+
version: "0.2.12-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
11662
11663
|
type: "module",
|
|
11663
11664
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
11664
11665
|
license: "UNLICENSED",
|
|
@@ -11761,11 +11762,11 @@ var package_default = {
|
|
|
11761
11762
|
zustand: "^4.5.4"
|
|
11762
11763
|
},
|
|
11763
11764
|
devDependencies: {
|
|
11764
|
-
"@bike4mind/agents": "
|
|
11765
|
-
"@bike4mind/common": "
|
|
11766
|
-
"@bike4mind/mcp": "
|
|
11767
|
-
"@bike4mind/services": "
|
|
11768
|
-
"@bike4mind/utils": "
|
|
11765
|
+
"@bike4mind/agents": "0.1.0",
|
|
11766
|
+
"@bike4mind/common": "2.41.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
11767
|
+
"@bike4mind/mcp": "1.21.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
11768
|
+
"@bike4mind/services": "2.36.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
11769
|
+
"@bike4mind/utils": "2.1.6-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
11769
11770
|
"@types/better-sqlite3": "^7.6.13",
|
|
11770
11771
|
"@types/diff": "^5.0.9",
|
|
11771
11772
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -11777,7 +11778,8 @@ var package_default = {
|
|
|
11777
11778
|
tsx: "^4.21.0",
|
|
11778
11779
|
typescript: "^5.9.3",
|
|
11779
11780
|
vitest: "^3.2.4"
|
|
11780
|
-
}
|
|
11781
|
+
},
|
|
11782
|
+
gitHead: "5d49240d53420bd5d87da8bb61429bff7817a455"
|
|
11781
11783
|
};
|
|
11782
11784
|
|
|
11783
11785
|
// src/config/constants.ts
|
|
File without changes
|
|
File without changes
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-SRTCGY6B.js";
|
|
6
|
+
import "./chunk-DYKGIB6P.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
8
|
import "./chunk-OHR7UCTC.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
File without changes
|
package/dist/src-SYE7WXBJ.js
CHANGED
|
File without changes
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-E62KBSGA.js";
|
|
6
|
+
import "./chunk-DYKGIB6P.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
8
|
import "./chunk-OHR7UCTC.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
package/dist/utils-JPMDGUBL.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
"dist",
|
|
31
31
|
"bin"
|
|
32
32
|
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "tsx src/index.tsx",
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"start": "node dist/index.js",
|
|
40
|
+
"prepublishOnly": "pnpm build"
|
|
41
|
+
},
|
|
33
42
|
"dependencies": {
|
|
34
43
|
"@anthropic-ai/sdk": "^0.22.0",
|
|
35
44
|
"@aws-sdk/client-apigatewaymanagementapi": "3.654.0",
|
|
@@ -94,6 +103,11 @@
|
|
|
94
103
|
"zustand": "^4.5.4"
|
|
95
104
|
},
|
|
96
105
|
"devDependencies": {
|
|
106
|
+
"@bike4mind/agents": "0.1.0",
|
|
107
|
+
"@bike4mind/common": "2.41.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
108
|
+
"@bike4mind/mcp": "1.21.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
109
|
+
"@bike4mind/services": "2.36.1-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
110
|
+
"@bike4mind/utils": "2.1.6-ja-fix-slack-github-repo-matching.17406+5d49240d5",
|
|
97
111
|
"@types/better-sqlite3": "^7.6.13",
|
|
98
112
|
"@types/diff": "^5.0.9",
|
|
99
113
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -104,19 +118,7 @@
|
|
|
104
118
|
"tsup": "^8.5.1",
|
|
105
119
|
"tsx": "^4.21.0",
|
|
106
120
|
"typescript": "^5.9.3",
|
|
107
|
-
"vitest": "^3.2.4"
|
|
108
|
-
"@bike4mind/agents": "0.1.0",
|
|
109
|
-
"@bike4mind/common": "2.41.0",
|
|
110
|
-
"@bike4mind/mcp": "1.21.0",
|
|
111
|
-
"@bike4mind/services": "2.36.0",
|
|
112
|
-
"@bike4mind/utils": "2.1.5"
|
|
121
|
+
"vitest": "^3.2.4"
|
|
113
122
|
},
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
"build": "tsup",
|
|
117
|
-
"typecheck": "tsc --noEmit",
|
|
118
|
-
"test": "vitest run",
|
|
119
|
-
"test:watch": "vitest",
|
|
120
|
-
"start": "node dist/index.js"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
+
"gitHead": "5d49240d53420bd5d87da8bb61429bff7817a455"
|
|
124
|
+
}
|