@bike4mind/cli 0.2.11-fix-extendend-thinking-with-tool-use.17316 → 0.2.11-fix-number-option-recorded.17312
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/{artifactExtractor-3KB44W7B.js → artifactExtractor-JAGU7QRL.js} +1 -1
- package/dist/{chunk-HPYQM2B7.js → chunk-AQBZVAYO.js} +2 -2
- package/dist/{chunk-3OX632TE.js → chunk-DJPXSSP4.js} +0 -3
- package/dist/{chunk-JYH72REB.js → chunk-GCVIRGIN.js} +5 -24
- package/dist/{chunk-7JR6VASX.js → chunk-GO75FMLY.js} +2 -2
- package/dist/{chunk-7ORA6KGN.js → chunk-VZU4Z7WI.js} +2 -2
- package/dist/{create-MSSVWSVO.js → create-ZDOTF7XD.js} +3 -3
- package/dist/index.js +76 -90
- package/dist/{llmMarkdownGenerator-LCCZ76BQ.js → llmMarkdownGenerator-LXUGJ7QH.js} +1 -1
- package/dist/{markdownGenerator-4OF7GEBT.js → markdownGenerator-IMDG6OX6.js} +1 -1
- package/dist/{mementoService-A6UR5AZY.js → mementoService-TURUS3OH.js} +3 -3
- package/dist/{src-GFWGZLJE.js → src-6ZRXGE5J.js} +2 -2
- package/dist/{src-7UYCXFTE.js → src-YNY32ELR.js} +1 -1
- package/dist/{subtractCredits-L52DZ3SP.js → subtractCredits-GOVKM3IR.js} +3 -3
- package/package.json +6 -6
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GCVIRGIN.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DJPXSSP4.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -5901,9 +5901,6 @@ function buildSSEEvent(text, info) {
|
|
|
5901
5901
|
outputTokens: info.outputTokens
|
|
5902
5902
|
};
|
|
5903
5903
|
}
|
|
5904
|
-
if (info?.thinking && info.thinking.length > 0) {
|
|
5905
|
-
event.thinking = info.thinking;
|
|
5906
|
-
}
|
|
5907
5904
|
return event;
|
|
5908
5905
|
}
|
|
5909
5906
|
function formatSSEError(error) {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
dayjsConfig_default,
|
|
17
17
|
extractSnippetMeta,
|
|
18
18
|
settingsMap
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DJPXSSP4.js";
|
|
20
20
|
|
|
21
21
|
// ../../b4m-core/packages/utils/dist/src/storage/S3Storage.js
|
|
22
22
|
import { S3Client, PutObjectCommand, DeleteObjectCommand, GetObjectCommand, HeadObjectCommand } from "@aws-sdk/client-s3";
|
|
@@ -249,17 +249,6 @@ var AnthropicBackend = class {
|
|
|
249
249
|
this._api = new Anthropic({ apiKey });
|
|
250
250
|
this.logger = logger ?? new Logger();
|
|
251
251
|
}
|
|
252
|
-
/**
|
|
253
|
-
* Get thinking blocks from the last assistant content.
|
|
254
|
-
* Filters to only include thinking/redacted_thinking blocks.
|
|
255
|
-
* Returns undefined if thinking is disabled or no blocks are present.
|
|
256
|
-
*/
|
|
257
|
-
getThinkingBlocks() {
|
|
258
|
-
if (!this.isThinkingEnabled)
|
|
259
|
-
return void 0;
|
|
260
|
-
const blocks = this.lastAssistantContent.filter((block) => block?.type === "thinking" || block?.type === "redacted_thinking");
|
|
261
|
-
return blocks.length > 0 ? blocks : void 0;
|
|
262
|
-
}
|
|
263
252
|
async getModelInfo() {
|
|
264
253
|
return [
|
|
265
254
|
{
|
|
@@ -712,12 +701,8 @@ var AnthropicBackend = class {
|
|
|
712
701
|
this.logger.debug(`[Tool Execution] Last few messages:`, JSON.stringify(messages.slice(-3), null, 2));
|
|
713
702
|
await this.complete(model, messages, options, cb, toolsUsed);
|
|
714
703
|
} else {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
await cb([null], {
|
|
718
|
-
toolsUsed,
|
|
719
|
-
thinking: thinkingBlocks
|
|
720
|
-
});
|
|
704
|
+
this.logger.debug(`[Tool Execution] executeTools=false, passing tool calls to callback`);
|
|
705
|
+
await cb([null], { toolsUsed });
|
|
721
706
|
}
|
|
722
707
|
return;
|
|
723
708
|
}
|
|
@@ -789,12 +774,8 @@ var AnthropicBackend = class {
|
|
|
789
774
|
await this.complete(model, messages, { ...options, tools: void 0, _internal: void 0 }, cb, toolsUsed);
|
|
790
775
|
}
|
|
791
776
|
} else {
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
await cb([null], {
|
|
795
|
-
toolsUsed,
|
|
796
|
-
thinking: thinkingBlocks
|
|
797
|
-
});
|
|
777
|
+
this.logger.debug(`[Tool Execution] executeTools=false, passing tool calls to callback`);
|
|
778
|
+
await cb([null], { toolsUsed });
|
|
798
779
|
}
|
|
799
780
|
return;
|
|
800
781
|
}
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GCVIRGIN.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DJPXSSP4.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GCVIRGIN.js";
|
|
6
6
|
import {
|
|
7
7
|
GenericCreditDeductTransaction,
|
|
8
8
|
ImageEditUsageTransaction,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
RealtimeVoiceUsageTransaction,
|
|
11
11
|
TextGenerationUsageTransaction,
|
|
12
12
|
TransferCreditTransaction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DJPXSSP4.js";
|
|
14
14
|
|
|
15
15
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
16
16
|
import { z } from "zod";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AQBZVAYO.js";
|
|
6
|
+
import "./chunk-GCVIRGIN.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DJPXSSP4.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
10
10
|
export {
|
|
11
11
|
createFabFile,
|
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-GO75FMLY.js";
|
|
8
|
+
import "./chunk-VZU4Z7WI.js";
|
|
9
|
+
import "./chunk-AQBZVAYO.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-GCVIRGIN.js";
|
|
19
19
|
import {
|
|
20
20
|
Logger
|
|
21
21
|
} from "./chunk-AMDXHL6S.js";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
XAI_IMAGE_MODELS,
|
|
74
74
|
b4mLLMTools,
|
|
75
75
|
getMcpProviderMetadata
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-DJPXSSP4.js";
|
|
77
77
|
import {
|
|
78
78
|
__require
|
|
79
79
|
} from "./chunk-PDX44BCA.js";
|
|
@@ -107,7 +107,8 @@ function CustomTextInput({
|
|
|
107
107
|
onChange,
|
|
108
108
|
onSubmit,
|
|
109
109
|
placeholder = "",
|
|
110
|
-
showCursor = true
|
|
110
|
+
showCursor = true,
|
|
111
|
+
disabled = false
|
|
111
112
|
}) {
|
|
112
113
|
const [cursorOffset, setCursorOffset] = useState(value.length);
|
|
113
114
|
useInput(
|
|
@@ -188,7 +189,7 @@ function CustomTextInput({
|
|
|
188
189
|
setCursorOffset(cursorOffset + 1);
|
|
189
190
|
}
|
|
190
191
|
},
|
|
191
|
-
{ isActive:
|
|
192
|
+
{ isActive: !disabled }
|
|
192
193
|
);
|
|
193
194
|
const hasValue = value.length > 0;
|
|
194
195
|
if (!hasValue) {
|
|
@@ -827,56 +828,59 @@ function InputPrompt({
|
|
|
827
828
|
useEffect(() => {
|
|
828
829
|
setFileSelectedIndex(0);
|
|
829
830
|
}, [filteredFiles]);
|
|
830
|
-
useInput2(
|
|
831
|
-
|
|
832
|
-
if (
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
831
|
+
useInput2(
|
|
832
|
+
(_input, key) => {
|
|
833
|
+
if (fileAutocomplete?.active && filteredFiles.length > 0) {
|
|
834
|
+
if (key.upArrow) {
|
|
835
|
+
setFileSelectedIndex((prev) => prev > 0 ? prev - 1 : filteredFiles.length - 1);
|
|
836
|
+
return;
|
|
837
|
+
} else if (key.downArrow) {
|
|
838
|
+
setFileSelectedIndex((prev) => prev < filteredFiles.length - 1 ? prev + 1 : 0);
|
|
839
|
+
return;
|
|
840
|
+
} else if (key.tab) {
|
|
841
|
+
const selectedFile = filteredFiles[fileSelectedIndex];
|
|
842
|
+
if (selectedFile) {
|
|
843
|
+
insertSelectedFile(selectedFile);
|
|
844
|
+
}
|
|
845
|
+
return;
|
|
846
|
+
} else if (key.escape) {
|
|
847
|
+
setFileAutocomplete(null);
|
|
848
|
+
return;
|
|
842
849
|
}
|
|
843
|
-
return;
|
|
844
|
-
} else if (key.escape) {
|
|
845
|
-
setFileAutocomplete(null);
|
|
846
|
-
return;
|
|
847
850
|
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
setSelectedIndex((prev) => prev < filteredCommands.length - 1 ? prev + 1 : 0);
|
|
854
|
-
}
|
|
855
|
-
return;
|
|
856
|
-
}
|
|
857
|
-
if (!shouldShowCommandAutocomplete && !fileAutocomplete?.active && history.length > 0) {
|
|
858
|
-
if (key.upArrow) {
|
|
859
|
-
if (historyIndex === -1) {
|
|
860
|
-
setTempInput(value);
|
|
861
|
-
setHistoryIndex(0);
|
|
862
|
-
setValue(history[0]);
|
|
863
|
-
} else if (historyIndex < history.length - 1) {
|
|
864
|
-
const newIndex = historyIndex + 1;
|
|
865
|
-
setHistoryIndex(newIndex);
|
|
866
|
-
setValue(history[newIndex]);
|
|
851
|
+
if (shouldShowCommandAutocomplete && filteredCommands.length > 0) {
|
|
852
|
+
if (key.upArrow) {
|
|
853
|
+
setSelectedIndex((prev) => prev > 0 ? prev - 1 : filteredCommands.length - 1);
|
|
854
|
+
} else if (key.downArrow) {
|
|
855
|
+
setSelectedIndex((prev) => prev < filteredCommands.length - 1 ? prev + 1 : 0);
|
|
867
856
|
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
if (!shouldShowCommandAutocomplete && !fileAutocomplete?.active && history.length > 0) {
|
|
860
|
+
if (key.upArrow) {
|
|
861
|
+
if (historyIndex === -1) {
|
|
862
|
+
setTempInput(value);
|
|
863
|
+
setHistoryIndex(0);
|
|
864
|
+
setValue(history[0]);
|
|
865
|
+
} else if (historyIndex < history.length - 1) {
|
|
866
|
+
const newIndex = historyIndex + 1;
|
|
867
|
+
setHistoryIndex(newIndex);
|
|
868
|
+
setValue(history[newIndex]);
|
|
869
|
+
}
|
|
870
|
+
} else if (key.downArrow) {
|
|
871
|
+
if (historyIndex > 0) {
|
|
872
|
+
const newIndex = historyIndex - 1;
|
|
873
|
+
setHistoryIndex(newIndex);
|
|
874
|
+
setValue(history[newIndex]);
|
|
875
|
+
} else if (historyIndex === 0) {
|
|
876
|
+
setHistoryIndex(-1);
|
|
877
|
+
setValue(tempInput);
|
|
878
|
+
}
|
|
876
879
|
}
|
|
877
880
|
}
|
|
878
|
-
}
|
|
879
|
-
|
|
881
|
+
},
|
|
882
|
+
{ isActive: !disabled }
|
|
883
|
+
);
|
|
880
884
|
const insertSelectedFile = (file) => {
|
|
881
885
|
if (!fileAutocomplete) return;
|
|
882
886
|
const beforeAt = value.slice(0, fileAutocomplete.startIndex);
|
|
@@ -970,7 +974,8 @@ function InputPrompt({
|
|
|
970
974
|
onChange: handleChange,
|
|
971
975
|
onSubmit: handleSubmit,
|
|
972
976
|
placeholder: getPlaceholder(),
|
|
973
|
-
showCursor: !disabled
|
|
977
|
+
showCursor: !disabled,
|
|
978
|
+
disabled
|
|
974
979
|
}
|
|
975
980
|
)), shouldShowCommandAutocomplete && /* @__PURE__ */ React5.createElement(CommandAutocomplete, { commands: filteredCommands, selectedIndex }), fileAutocomplete?.active && /* @__PURE__ */ React5.createElement(FileAutocomplete, { files: filteredFiles, selectedIndex: fileSelectedIndex, query: fileAutocomplete.query }));
|
|
976
981
|
}
|
|
@@ -1538,7 +1543,7 @@ ${errorBlock}`;
|
|
|
1538
1543
|
onSubmit: handleSubmit,
|
|
1539
1544
|
onBashCommand,
|
|
1540
1545
|
onImageDetected,
|
|
1541
|
-
disabled: isThinking,
|
|
1546
|
+
disabled: isThinking || !!permissionPrompt,
|
|
1542
1547
|
history: commandHistory,
|
|
1543
1548
|
commands,
|
|
1544
1549
|
prefillInput,
|
|
@@ -3144,7 +3149,6 @@ ${options.context}` : this.getSystemPrompt()
|
|
|
3144
3149
|
}
|
|
3145
3150
|
if (completionInfo.toolsUsed && completionInfo.toolsUsed.length > 0) {
|
|
3146
3151
|
hadToolCalls = true;
|
|
3147
|
-
const thinkingBlocks = completionInfo.thinking || [];
|
|
3148
3152
|
for (const toolUse of completionInfo.toolsUsed) {
|
|
3149
3153
|
const toolCallId = `${toolUse.name}_${JSON.stringify(toolUse.arguments)}`;
|
|
3150
3154
|
if (processedToolIds.has(toolCallId)) {
|
|
@@ -3177,23 +3181,16 @@ ${options.context}` : this.getSystemPrompt()
|
|
|
3177
3181
|
const params = typeof toolUse.arguments === "string" ? JSON.parse(toolUse.arguments) : toolUse.arguments;
|
|
3178
3182
|
observation = await tool.toolFn(params);
|
|
3179
3183
|
const toolCallId2 = `${toolUse.name}_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
3180
|
-
const assistantContent = [
|
|
3181
|
-
// Include thinking blocks first (required by Anthropic when thinking is enabled)
|
|
3182
|
-
...thinkingBlocks,
|
|
3183
|
-
// Then the tool use
|
|
3184
|
-
{
|
|
3185
|
-
type: "tool_use",
|
|
3186
|
-
id: toolCallId2,
|
|
3187
|
-
name: toolUse.name,
|
|
3188
|
-
input: params
|
|
3189
|
-
}
|
|
3190
|
-
];
|
|
3191
|
-
this.context.logger.debug(
|
|
3192
|
-
`[assistantContent] ${assistantContent.length} blocks (${thinkingBlocks.length} thinking, 1 tool_use)`
|
|
3193
|
-
);
|
|
3194
3184
|
messages.push({
|
|
3195
3185
|
role: "assistant",
|
|
3196
|
-
content:
|
|
3186
|
+
content: [
|
|
3187
|
+
{
|
|
3188
|
+
type: "tool_use",
|
|
3189
|
+
id: toolCallId2,
|
|
3190
|
+
name: toolUse.name,
|
|
3191
|
+
input: params
|
|
3192
|
+
}
|
|
3193
|
+
]
|
|
3197
3194
|
});
|
|
3198
3195
|
messages.push({
|
|
3199
3196
|
role: "user",
|
|
@@ -11142,7 +11139,6 @@ var ServerLlmBackend = class {
|
|
|
11142
11139
|
let accumulatedText = "";
|
|
11143
11140
|
let lastUsageInfo = {};
|
|
11144
11141
|
let toolsUsed = [];
|
|
11145
|
-
let thinkingBlocks = [];
|
|
11146
11142
|
let receivedDone = false;
|
|
11147
11143
|
const parser = createParser({
|
|
11148
11144
|
onEvent: (event) => {
|
|
@@ -11156,12 +11152,9 @@ var ServerLlmBackend = class {
|
|
|
11156
11152
|
if (toolsUsed.length > 0) {
|
|
11157
11153
|
const info = {
|
|
11158
11154
|
toolsUsed,
|
|
11159
|
-
thinking: thinkingBlocks.length > 0 ? thinkingBlocks : void 0,
|
|
11160
11155
|
...lastUsageInfo
|
|
11161
11156
|
};
|
|
11162
|
-
logger.debug(
|
|
11163
|
-
`[ServerLlmBackend] Calling callback with tools, thinking blocks: ${thinkingBlocks.length}`
|
|
11164
|
-
);
|
|
11157
|
+
logger.debug("[ServerLlmBackend] Calling callback with tools, will wait for completion");
|
|
11165
11158
|
callback([cleanedText], info).catch((err) => {
|
|
11166
11159
|
logger.error("[ServerLlmBackend] Callback error:", err);
|
|
11167
11160
|
reject(err);
|
|
@@ -11217,10 +11210,6 @@ var ServerLlmBackend = class {
|
|
|
11217
11210
|
if (parsed.tools && parsed.tools.length > 0) {
|
|
11218
11211
|
toolsUsed = parsed.tools;
|
|
11219
11212
|
}
|
|
11220
|
-
if (parsed.thinking && parsed.thinking.length > 0) {
|
|
11221
|
-
thinkingBlocks = parsed.thinking;
|
|
11222
|
-
logger.debug(`[ServerLlmBackend] Received ${thinkingBlocks.length} thinking blocks`);
|
|
11223
|
-
}
|
|
11224
11213
|
if (parsed.usage) {
|
|
11225
11214
|
lastUsageInfo = {
|
|
11226
11215
|
inputTokens: parsed.usage.inputTokens,
|
|
@@ -11543,7 +11532,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
11543
11532
|
// package.json
|
|
11544
11533
|
var package_default = {
|
|
11545
11534
|
name: "@bike4mind/cli",
|
|
11546
|
-
version: "0.2.11-fix-
|
|
11535
|
+
version: "0.2.11-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
11547
11536
|
type: "module",
|
|
11548
11537
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
11549
11538
|
license: "UNLICENSED",
|
|
@@ -11647,10 +11636,10 @@ var package_default = {
|
|
|
11647
11636
|
},
|
|
11648
11637
|
devDependencies: {
|
|
11649
11638
|
"@bike4mind/agents": "0.1.0",
|
|
11650
|
-
"@bike4mind/common": "2.40.1-fix-
|
|
11651
|
-
"@bike4mind/mcp": "1.20.5-fix-
|
|
11652
|
-
"@bike4mind/services": "2.35.1-fix-
|
|
11653
|
-
"@bike4mind/utils": "2.1.5-fix-
|
|
11639
|
+
"@bike4mind/common": "2.40.1-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
11640
|
+
"@bike4mind/mcp": "1.20.5-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
11641
|
+
"@bike4mind/services": "2.35.1-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
11642
|
+
"@bike4mind/utils": "2.1.5-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
11654
11643
|
"@types/better-sqlite3": "^7.6.13",
|
|
11655
11644
|
"@types/diff": "^5.0.9",
|
|
11656
11645
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -11663,7 +11652,7 @@ var package_default = {
|
|
|
11663
11652
|
typescript: "^5.9.3",
|
|
11664
11653
|
vitest: "^3.2.4"
|
|
11665
11654
|
},
|
|
11666
|
-
gitHead: "
|
|
11655
|
+
gitHead: "3ca5a7c3ca52c4cf2a785e465726baaf81bb9669"
|
|
11667
11656
|
};
|
|
11668
11657
|
|
|
11669
11658
|
// src/config/constants.ts
|
|
@@ -12048,8 +12037,7 @@ function CliApp() {
|
|
|
12048
12037
|
permissionPrompt: null,
|
|
12049
12038
|
trustLocationSelector: null,
|
|
12050
12039
|
rewindSelector: null,
|
|
12051
|
-
sessionSelector: null
|
|
12052
|
-
orchestrator: null
|
|
12040
|
+
sessionSelector: null
|
|
12053
12041
|
});
|
|
12054
12042
|
const [isInitialized, setIsInitialized] = useState8(false);
|
|
12055
12043
|
const [initError, setInitError] = useState8(null);
|
|
@@ -12395,10 +12383,8 @@ Remember: Use context from previous messages to understand follow-up questions.$
|
|
|
12395
12383
|
permissionManager,
|
|
12396
12384
|
config,
|
|
12397
12385
|
// Store config for synchronous access
|
|
12398
|
-
availableModels: models
|
|
12386
|
+
availableModels: models
|
|
12399
12387
|
// Store models for ConfigEditor
|
|
12400
|
-
orchestrator
|
|
12401
|
-
// Store orchestrator for step handler updates
|
|
12402
12388
|
}));
|
|
12403
12389
|
setStoreSession(newSession);
|
|
12404
12390
|
setIsInitialized(true);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GO75FMLY.js";
|
|
6
|
+
import "./chunk-GCVIRGIN.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DJPXSSP4.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
10
10
|
export {
|
|
11
11
|
findMostSimilarMemento,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
validateMermaidSyntax,
|
|
121
121
|
warmUpSettingsCache,
|
|
122
122
|
withRetry
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-GCVIRGIN.js";
|
|
124
124
|
import {
|
|
125
125
|
Logger,
|
|
126
126
|
NotificationDeduplicator,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
postLowCreditsNotificationToSlack,
|
|
130
130
|
postMessageToSlack
|
|
131
131
|
} from "./chunk-AMDXHL6S.js";
|
|
132
|
-
import "./chunk-
|
|
132
|
+
import "./chunk-DJPXSSP4.js";
|
|
133
133
|
import "./chunk-PDX44BCA.js";
|
|
134
134
|
export {
|
|
135
135
|
AWSBackend,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VZU4Z7WI.js";
|
|
6
|
+
import "./chunk-GCVIRGIN.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DJPXSSP4.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
10
10
|
export {
|
|
11
11
|
SubtractCreditsSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.11-fix-
|
|
3
|
+
"version": "0.2.11-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@bike4mind/agents": "0.1.0",
|
|
107
|
-
"@bike4mind/common": "2.40.1-fix-
|
|
108
|
-
"@bike4mind/mcp": "1.20.5-fix-
|
|
109
|
-
"@bike4mind/services": "2.35.1-fix-
|
|
110
|
-
"@bike4mind/utils": "2.1.5-fix-
|
|
107
|
+
"@bike4mind/common": "2.40.1-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
108
|
+
"@bike4mind/mcp": "1.20.5-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
109
|
+
"@bike4mind/services": "2.35.1-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
110
|
+
"@bike4mind/utils": "2.1.5-fix-number-option-recorded.17312+3ca5a7c3c",
|
|
111
111
|
"@types/better-sqlite3": "^7.6.13",
|
|
112
112
|
"@types/diff": "^5.0.9",
|
|
113
113
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"typescript": "^5.9.3",
|
|
121
121
|
"vitest": "^3.2.4"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "3ca5a7c3ca52c4cf2a785e465726baaf81bb9669"
|
|
124
124
|
}
|