@bike4mind/cli 0.2.49-fix-cli-stream-resilience-v2.21033 → 0.2.49-fix-cli-stream-resilience-v2.21034
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-2WNNPZZS.js → chunk-23TGZ6N5.js} +4 -4
- package/dist/{chunk-7VEI22BF.js → chunk-2JIF5XRA.js} +1 -1
- package/dist/{chunk-AINGID72.js → chunk-IIZOOF6Y.js} +6 -6
- package/dist/{chunk-MP3FYWMR.js → chunk-IQ7YLDB3.js} +1 -1
- package/dist/{chunk-UDBM5N7V.js → chunk-QVLM2SPH.js} +5 -8
- package/dist/{chunk-X26VCD3A.js → chunk-ZRPYKOGY.js} +1 -1
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/headlessCommand.js +5 -5
- package/dist/commands/updateCommand.js +1 -1
- package/dist/{create-PA2DIVCF.js → create-HESERR22.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{mementoService-W76KVRGE.js → mementoService-SN66CF7P.js} +2 -2
- package/dist/{src-XUTQ6N2T.js → src-T2NKBHHO.js} +1 -1
- package/dist/{subtractCredits-3V5REXEH.js → subtractCredits-TW7H7B6I.js} +2 -2
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getOpenWeatherKey,
|
|
5
5
|
getSerperKey,
|
|
6
6
|
getWolframAlphaKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2JIF5XRA.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-
|
|
19
|
+
} from "./chunk-QVLM2SPH.js";
|
|
20
20
|
import {
|
|
21
21
|
Logger
|
|
22
22
|
} from "./chunk-PFBYGCOW.js";
|
|
@@ -16397,9 +16397,9 @@ var ServerLlmBackend = class _ServerLlmBackend {
|
|
|
16397
16397
|
thinking: thinkingBlocks.length > 0 ? thinkingBlocks : void 0,
|
|
16398
16398
|
...lastUsageInfo
|
|
16399
16399
|
};
|
|
16400
|
-
callback([cleanedText], info).
|
|
16400
|
+
callback([cleanedText], info).then(() => resolve3(), reject);
|
|
16401
16401
|
} else if (cleanedText) {
|
|
16402
|
-
callback([cleanedText], lastUsageInfo).
|
|
16402
|
+
callback([cleanedText], lastUsageInfo).then(() => resolve3(), reject);
|
|
16403
16403
|
} else {
|
|
16404
16404
|
resolve3();
|
|
16405
16405
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.49-fix-cli-stream-resilience-v2.
|
|
6
|
+
version: "0.2.49-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
7
7
|
type: "module",
|
|
8
8
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
9
9
|
license: "UNLICENSED",
|
|
@@ -118,10 +118,10 @@ var package_default = {
|
|
|
118
118
|
},
|
|
119
119
|
devDependencies: {
|
|
120
120
|
"@bike4mind/agents": "0.1.0",
|
|
121
|
-
"@bike4mind/common": "2.67.1-fix-cli-stream-resilience-v2.
|
|
122
|
-
"@bike4mind/mcp": "1.33.11-fix-cli-stream-resilience-v2.
|
|
123
|
-
"@bike4mind/services": "2.63.1-fix-cli-stream-resilience-v2.
|
|
124
|
-
"@bike4mind/utils": "2.15.4-fix-cli-stream-resilience-v2.
|
|
121
|
+
"@bike4mind/common": "2.67.1-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
122
|
+
"@bike4mind/mcp": "1.33.11-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
123
|
+
"@bike4mind/services": "2.63.1-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
124
|
+
"@bike4mind/utils": "2.15.4-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
125
125
|
"@types/better-sqlite3": "^7.6.13",
|
|
126
126
|
"@types/diff": "^5.0.9",
|
|
127
127
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -140,7 +140,7 @@ var package_default = {
|
|
|
140
140
|
optionalDependencies: {
|
|
141
141
|
"@vscode/ripgrep": "^1.17.0"
|
|
142
142
|
},
|
|
143
|
-
gitHead: "
|
|
143
|
+
gitHead: "97b5949c30c0a41a50fbfec604371ebff4c029a2"
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
// src/utils/updateChecker.ts
|
|
@@ -6580,15 +6580,12 @@ import { Ollama } from "ollama";
|
|
|
6580
6580
|
import { Agent as Agent2 } from "undici";
|
|
6581
6581
|
|
|
6582
6582
|
// ../../b4m-core/packages/utils/dist/src/llm/messageFormatConverter.js
|
|
6583
|
+
function hasToolCalls(msg) {
|
|
6584
|
+
return msg.role === "assistant" && "tool_calls" in msg;
|
|
6585
|
+
}
|
|
6583
6586
|
function convertMessageToOpenAIFormat(msg) {
|
|
6584
|
-
if (msg
|
|
6585
|
-
return [
|
|
6586
|
-
{
|
|
6587
|
-
...msg,
|
|
6588
|
-
content: null,
|
|
6589
|
-
tool_calls: msg.tool_calls
|
|
6590
|
-
}
|
|
6591
|
-
];
|
|
6587
|
+
if (hasToolCalls(msg)) {
|
|
6588
|
+
return [{ role: "assistant", content: null, tool_calls: msg.tool_calls }];
|
|
6592
6589
|
}
|
|
6593
6590
|
if (msg.role === "assistant" && Array.isArray(msg.content)) {
|
|
6594
6591
|
const contentBlocks = msg.content;
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
isReadOnlyTool,
|
|
37
37
|
loadContextFiles,
|
|
38
38
|
setWebSocketToolExecutor
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-23TGZ6N5.js";
|
|
40
40
|
import "../chunk-BDQBOLYG.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-2JIF5XRA.js";
|
|
42
42
|
import "../chunk-GQGOWACU.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-ZRPYKOGY.js";
|
|
44
|
+
import "../chunk-IQ7YLDB3.js";
|
|
45
|
+
import "../chunk-QVLM2SPH.js";
|
|
46
46
|
import "../chunk-PFBYGCOW.js";
|
|
47
47
|
import "../chunk-BPFEGDC7.js";
|
|
48
48
|
import {
|
package/dist/index.js
CHANGED
|
@@ -46,15 +46,15 @@ import {
|
|
|
46
46
|
setWebSocketToolExecutor,
|
|
47
47
|
substituteArguments,
|
|
48
48
|
warmFileCache
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-23TGZ6N5.js";
|
|
50
50
|
import "./chunk-BDQBOLYG.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-2JIF5XRA.js";
|
|
52
52
|
import "./chunk-GQGOWACU.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-ZRPYKOGY.js";
|
|
54
|
+
import "./chunk-IQ7YLDB3.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaBackend
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-QVLM2SPH.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-
|
|
67
|
+
} from "./chunk-IIZOOF6Y.js";
|
|
68
68
|
import {
|
|
69
69
|
selectActiveBackgroundAgents,
|
|
70
70
|
useCliStore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.49-fix-cli-stream-resilience-v2.
|
|
3
|
+
"version": "0.2.49-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@bike4mind/agents": "0.1.0",
|
|
118
|
-
"@bike4mind/common": "2.67.1-fix-cli-stream-resilience-v2.
|
|
119
|
-
"@bike4mind/mcp": "1.33.11-fix-cli-stream-resilience-v2.
|
|
120
|
-
"@bike4mind/services": "2.63.1-fix-cli-stream-resilience-v2.
|
|
121
|
-
"@bike4mind/utils": "2.15.4-fix-cli-stream-resilience-v2.
|
|
118
|
+
"@bike4mind/common": "2.67.1-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
119
|
+
"@bike4mind/mcp": "1.33.11-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
120
|
+
"@bike4mind/services": "2.63.1-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
121
|
+
"@bike4mind/utils": "2.15.4-fix-cli-stream-resilience-v2.21034+97b5949c3",
|
|
122
122
|
"@types/better-sqlite3": "^7.6.13",
|
|
123
123
|
"@types/diff": "^5.0.9",
|
|
124
124
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"optionalDependencies": {
|
|
138
138
|
"@vscode/ripgrep": "^1.17.0"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "97b5949c30c0a41a50fbfec604371ebff4c029a2"
|
|
141
141
|
}
|