@bike4mind/cli 0.2.28-ja-feat-agent-model-config.18748 → 0.2.28
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-AAM43T6H.js → artifactExtractor-36XHJYOZ.js} +1 -1
- package/dist/{chunk-OM4Y3JFS.js → chunk-JJBDHUGY.js} +2 -2
- package/dist/{chunk-YSNRLZXR.js → chunk-UNOJBVD2.js} +5 -5
- package/dist/{chunk-LFX4UHSY.js → chunk-VGYTNJXN.js} +2 -2
- package/dist/{chunk-3GT7XO7H.js → chunk-ZEMWV6IR.js} +2 -2
- package/dist/{create-KRRCQTYE.js → create-NGI7IIQ4.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{llmMarkdownGenerator-2K6DZ3FZ.js → llmMarkdownGenerator-JDYKJUEC.js} +1 -1
- package/dist/{markdownGenerator-GRJOH56D.js → markdownGenerator-QXBC2EW5.js} +1 -1
- package/dist/{mementoService-OH6UULUS.js → mementoService-X35OMHVC.js} +3 -3
- package/dist/{src-I5M3QFCD.js → src-6NIYIWZD.js} +1 -1
- package/dist/{src-VTDGS4TR.js → src-CBU6EAO3.js} +2 -2
- package/dist/{subtractCredits-B45MIYWU.js → subtractCredits-RL6JVDMI.js} +3 -3
- package/package.json +6 -6
- /package/dist/{chunk-HVL6OD3I.js → chunk-XJRPAAUS.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XJRPAAUS.js";
|
|
5
5
|
|
|
6
6
|
// ../../b4m-core/packages/services/dist/src/notebookCurationService/artifactExtractor.js
|
|
7
7
|
var ARTIFACT_TAG_REGEX = /<artifact\s+(.*?)>([\s\S]*?)<\/artifact>/gi;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UNOJBVD2.js";
|
|
6
6
|
import {
|
|
7
7
|
CompletionApiUsageTransaction,
|
|
8
8
|
GenericCreditDeductTransaction,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TextGenerationUsageTransaction,
|
|
13
13
|
TransferCreditTransaction,
|
|
14
14
|
VideoGenerationUsageTransaction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XJRPAAUS.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
dayjsConfig_default,
|
|
16
16
|
extractSnippetMeta,
|
|
17
17
|
settingsMap
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XJRPAAUS.js";
|
|
19
19
|
import {
|
|
20
20
|
Logger
|
|
21
21
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -9181,7 +9181,7 @@ var QuestMaster = class {
|
|
|
9181
9181
|
if (!this.quest) {
|
|
9182
9182
|
throw new Error("No quest context available");
|
|
9183
9183
|
}
|
|
9184
|
-
await this.onStatusUpdate(this.quest, "
|
|
9184
|
+
await this.onStatusUpdate(this.quest, "Step 2/4: Organizing quests and sub-tasks...");
|
|
9185
9185
|
const defaultResponse = {
|
|
9186
9186
|
type: "narrative",
|
|
9187
9187
|
meta: {
|
|
@@ -9263,7 +9263,7 @@ var QuestMaster = class {
|
|
|
9263
9263
|
}
|
|
9264
9264
|
if (extracted.length > 0) {
|
|
9265
9265
|
this.logger.log("Successfully extracted QuestMaster data:", extracted);
|
|
9266
|
-
await this.onStatusUpdate(this.quest, "
|
|
9266
|
+
await this.onStatusUpdate(this.quest, "Step 3/4: Validating quest structure...");
|
|
9267
9267
|
const validQuests = extracted.filter((quest) => quest !== null && typeof quest === "object" && quest.id && quest.title && quest.description);
|
|
9268
9268
|
if (validQuests.length === 0) {
|
|
9269
9269
|
throw new Error("No valid quests found after filtering");
|
|
@@ -9356,7 +9356,7 @@ var QuestMaster = class {
|
|
|
9356
9356
|
questResponse = defaultResponse;
|
|
9357
9357
|
this.logger.error("Invalid quest response structure, using default");
|
|
9358
9358
|
}
|
|
9359
|
-
await this.onStatusUpdate(this.quest, "Saving quest plan...");
|
|
9359
|
+
await this.onStatusUpdate(this.quest, "Step 4/4: Saving quest plan...");
|
|
9360
9360
|
console.log("\u{1F3AF} Creating QuestMasterPlan with userId:", this.userId);
|
|
9361
9361
|
const questMasterPlan = await this.db.questMasterPlans.create({
|
|
9362
9362
|
notebookId: this.quest.sessionId,
|
|
@@ -9678,7 +9678,7 @@ HANDLING VERBOSE INPUT:
|
|
|
9678
9678
|
}
|
|
9679
9679
|
const { history = [] } = options;
|
|
9680
9680
|
this.logger.log(`Creating quest plan with ${history.length} history messages for context`);
|
|
9681
|
-
await this.onStatusUpdate(this.quest, "
|
|
9681
|
+
await this.onStatusUpdate(this.quest, "Step 1/4: Analyzing your request...");
|
|
9682
9682
|
if (isGPT5ModelWithToolSupport(model)) {
|
|
9683
9683
|
this.logger.log(`Using function calling approach for GPT-5 model: ${model}`);
|
|
9684
9684
|
try {
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UNOJBVD2.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XJRPAAUS.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UNOJBVD2.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XJRPAAUS.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZEMWV6IR.js";
|
|
6
|
+
import "./chunk-UNOJBVD2.js";
|
|
7
|
+
import "./chunk-XJRPAAUS.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getEffectiveApiKey,
|
|
6
6
|
getOpenWeatherKey,
|
|
7
7
|
getSerperKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VGYTNJXN.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigStore
|
|
11
11
|
} from "./chunk-23T2XGSZ.js";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
selectActiveBackgroundAgents,
|
|
14
14
|
useCliStore
|
|
15
15
|
} from "./chunk-TVW4ZESU.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JJBDHUGY.js";
|
|
17
|
+
import "./chunk-ZEMWV6IR.js";
|
|
18
18
|
import {
|
|
19
19
|
BFLImageService,
|
|
20
20
|
BaseStorage,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
OpenAIBackend,
|
|
27
27
|
OpenAIImageService,
|
|
28
28
|
XAIImageService
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UNOJBVD2.js";
|
|
30
30
|
import {
|
|
31
31
|
AiEvents,
|
|
32
32
|
ApiKeyEvents,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
XAI_IMAGE_MODELS,
|
|
83
83
|
b4mLLMTools,
|
|
84
84
|
getMcpProviderMetadata
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-XJRPAAUS.js";
|
|
86
86
|
import {
|
|
87
87
|
Logger
|
|
88
88
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -13801,7 +13801,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
13801
13801
|
// package.json
|
|
13802
13802
|
var package_default = {
|
|
13803
13803
|
name: "@bike4mind/cli",
|
|
13804
|
-
version: "0.2.28
|
|
13804
|
+
version: "0.2.28",
|
|
13805
13805
|
type: "module",
|
|
13806
13806
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
13807
13807
|
license: "UNLICENSED",
|
|
@@ -13909,10 +13909,10 @@ var package_default = {
|
|
|
13909
13909
|
},
|
|
13910
13910
|
devDependencies: {
|
|
13911
13911
|
"@bike4mind/agents": "0.1.0",
|
|
13912
|
-
"@bike4mind/common": "2.
|
|
13913
|
-
"@bike4mind/mcp": "1.
|
|
13914
|
-
"@bike4mind/services": "2.
|
|
13915
|
-
"@bike4mind/utils": "2.
|
|
13912
|
+
"@bike4mind/common": "2.50.0",
|
|
13913
|
+
"@bike4mind/mcp": "1.29.0",
|
|
13914
|
+
"@bike4mind/services": "2.48.0",
|
|
13915
|
+
"@bike4mind/utils": "2.5.0",
|
|
13916
13916
|
"@types/better-sqlite3": "^7.6.13",
|
|
13917
13917
|
"@types/diff": "^5.0.9",
|
|
13918
13918
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -13929,7 +13929,7 @@ var package_default = {
|
|
|
13929
13929
|
optionalDependencies: {
|
|
13930
13930
|
"@vscode/ripgrep": "^1.17.0"
|
|
13931
13931
|
},
|
|
13932
|
-
gitHead: "
|
|
13932
|
+
gitHead: "28d4afd2bd097efcd751a14cbda1eee68cae2ad2"
|
|
13933
13933
|
};
|
|
13934
13934
|
|
|
13935
13935
|
// src/config/constants.ts
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VGYTNJXN.js";
|
|
6
|
+
import "./chunk-UNOJBVD2.js";
|
|
7
|
+
import "./chunk-XJRPAAUS.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -133,8 +133,8 @@ import {
|
|
|
133
133
|
validateMermaidSyntax,
|
|
134
134
|
warmUpSettingsCache,
|
|
135
135
|
withRetry
|
|
136
|
-
} from "./chunk-
|
|
137
|
-
import "./chunk-
|
|
136
|
+
} from "./chunk-UNOJBVD2.js";
|
|
137
|
+
import "./chunk-XJRPAAUS.js";
|
|
138
138
|
import {
|
|
139
139
|
Logger,
|
|
140
140
|
NotificationDeduplicator,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JJBDHUGY.js";
|
|
6
|
+
import "./chunk-UNOJBVD2.js";
|
|
7
|
+
import "./chunk-XJRPAAUS.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
SubtractCreditsSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.28
|
|
3
|
+
"version": "0.2.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@bike4mind/agents": "0.1.0",
|
|
111
|
-
"@bike4mind/common": "2.
|
|
112
|
-
"@bike4mind/mcp": "1.
|
|
113
|
-
"@bike4mind/services": "2.
|
|
114
|
-
"@bike4mind/utils": "2.
|
|
111
|
+
"@bike4mind/common": "2.50.0",
|
|
112
|
+
"@bike4mind/mcp": "1.29.0",
|
|
113
|
+
"@bike4mind/services": "2.48.0",
|
|
114
|
+
"@bike4mind/utils": "2.5.0",
|
|
115
115
|
"@types/better-sqlite3": "^7.6.13",
|
|
116
116
|
"@types/diff": "^5.0.9",
|
|
117
117
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"optionalDependencies": {
|
|
129
129
|
"@vscode/ripgrep": "^1.17.0"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "28d4afd2bd097efcd751a14cbda1eee68cae2ad2"
|
|
132
132
|
}
|
|
File without changes
|