@bike4mind/cli 0.2.29-feat-quantum-optimize-architecture.18870 → 0.2.29-feat-quantum-optimize-architecture.18871
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-QGUEWOFS.js → artifactExtractor-5XQR4EQF.js} +1 -1
- package/dist/{chunk-LNXAJTXS.js → chunk-547RJT7E.js} +1 -1
- package/dist/{chunk-TAEL5CAS.js → chunk-EOI7PPLF.js} +2 -2
- package/dist/{chunk-PY7XRQ25.js → chunk-FEFLQUYE.js} +2 -2
- package/dist/{chunk-KWFQVBM5.js → chunk-GH7WML2Y.js} +10 -3
- package/dist/{chunk-SZ243CHW.js → chunk-NHJWP54K.js} +2 -2
- package/dist/{create-WJ2PFGGF.js → create-3D57JCG6.js} +3 -3
- package/dist/index.js +12 -12
- package/dist/{llmMarkdownGenerator-GQO4STQM.js → llmMarkdownGenerator-PSIYEA5C.js} +1 -1
- package/dist/{markdownGenerator-Y4QNRXD7.js → markdownGenerator-BASVVZX2.js} +1 -1
- package/dist/{mementoService-CA7VPNNE.js → mementoService-LZJUV5AE.js} +3 -3
- package/dist/{src-YBOHIGIH.js → src-PLOFZOXK.js} +1 -1
- package/dist/{src-5WN7WYJ3.js → src-ZWF6W44U.js} +2 -2
- package/dist/{subtractCredits-BM2YFHBW.js → subtractCredits-O3GG7GSL.js} +3 -3
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GH7WML2Y.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;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-547RJT7E.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GH7WML2Y.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-547RJT7E.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GH7WML2Y.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -8383,9 +8383,16 @@ function getViewSummaryForLLM(options) {
|
|
|
8383
8383
|
}
|
|
8384
8384
|
const sections = Object.entries(grouped).map(([section, lines]) => `[${section}]
|
|
8385
8385
|
${lines.join("\n")}`).join("\n\n");
|
|
8386
|
-
return
|
|
8387
|
-
|
|
8388
|
-
|
|
8386
|
+
return [
|
|
8387
|
+
"You have a navigate_view tool that renders inline navigation buttons in your response.",
|
|
8388
|
+
"ALWAYS call navigate_view when your answer relates to a topic that has a dedicated view below.",
|
|
8389
|
+
"For example: if the user asks about scheduling, call navigate_view with opti.scheduling.",
|
|
8390
|
+
"If the user asks about user management, call navigate_view with admin.users.",
|
|
8391
|
+
"The user sees clickable buttons \u2014 they choose whether to navigate. You are suggesting, not forcing.",
|
|
8392
|
+
"Call navigate_view IN ADDITION TO your normal text answer \u2014 answer the question AND suggest navigation.",
|
|
8393
|
+
"",
|
|
8394
|
+
sections
|
|
8395
|
+
].join("\n");
|
|
8389
8396
|
}
|
|
8390
8397
|
function resolveNavigationIntents(suggestions, isAdmin) {
|
|
8391
8398
|
return suggestions.map((s) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-547RJT7E.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-GH7WML2Y.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
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-FEFLQUYE.js";
|
|
6
|
+
import "./chunk-547RJT7E.js";
|
|
7
|
+
import "./chunk-GH7WML2Y.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-EOI7PPLF.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigStore,
|
|
11
11
|
logger
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
selectActiveBackgroundAgents,
|
|
15
15
|
useCliStore
|
|
16
16
|
} from "./chunk-TVW4ZESU.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-NHJWP54K.js";
|
|
18
|
+
import "./chunk-FEFLQUYE.js";
|
|
19
19
|
import {
|
|
20
20
|
BFLImageService,
|
|
21
21
|
BaseStorage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
OpenAIBackend,
|
|
28
28
|
OpenAIImageService,
|
|
29
29
|
XAIImageService
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-547RJT7E.js";
|
|
31
31
|
import {
|
|
32
32
|
AiEvents,
|
|
33
33
|
ApiKeyEvents,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
getMcpProviderMetadata,
|
|
86
86
|
getViewById,
|
|
87
87
|
resolveNavigationIntents
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-GH7WML2Y.js";
|
|
89
89
|
import {
|
|
90
90
|
Logger
|
|
91
91
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -10944,7 +10944,7 @@ var navigateViewTool = {
|
|
|
10944
10944
|
},
|
|
10945
10945
|
toolSchema: {
|
|
10946
10946
|
name: "navigate_view",
|
|
10947
|
-
description: "Suggest navigation to relevant app views
|
|
10947
|
+
description: "Suggest navigation to relevant app views. Returns inline action buttons the user can click. ALWAYS use this tool when your response discusses a topic that has a matching view (e.g., scheduling \u2192 opti.scheduling, user management \u2192 admin.users). Call this tool alongside your text answer \u2014 answer the question AND suggest where to go.",
|
|
10948
10948
|
parameters: {
|
|
10949
10949
|
type: "object",
|
|
10950
10950
|
properties: {
|
|
@@ -14800,7 +14800,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
14800
14800
|
// package.json
|
|
14801
14801
|
var package_default = {
|
|
14802
14802
|
name: "@bike4mind/cli",
|
|
14803
|
-
version: "0.2.29-feat-quantum-optimize-architecture.
|
|
14803
|
+
version: "0.2.29-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
14804
14804
|
type: "module",
|
|
14805
14805
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
14806
14806
|
license: "UNLICENSED",
|
|
@@ -14910,10 +14910,10 @@ var package_default = {
|
|
|
14910
14910
|
},
|
|
14911
14911
|
devDependencies: {
|
|
14912
14912
|
"@bike4mind/agents": "0.1.0",
|
|
14913
|
-
"@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.
|
|
14914
|
-
"@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.
|
|
14915
|
-
"@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.
|
|
14916
|
-
"@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.
|
|
14913
|
+
"@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
14914
|
+
"@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
14915
|
+
"@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
14916
|
+
"@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
14917
14917
|
"@types/better-sqlite3": "^7.6.13",
|
|
14918
14918
|
"@types/diff": "^5.0.9",
|
|
14919
14919
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -14930,7 +14930,7 @@ var package_default = {
|
|
|
14930
14930
|
optionalDependencies: {
|
|
14931
14931
|
"@vscode/ripgrep": "^1.17.0"
|
|
14932
14932
|
},
|
|
14933
|
-
gitHead: "
|
|
14933
|
+
gitHead: "3669c40b5167f563b4c4207045320159f2316981"
|
|
14934
14934
|
};
|
|
14935
14935
|
|
|
14936
14936
|
// 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-EOI7PPLF.js";
|
|
6
|
+
import "./chunk-547RJT7E.js";
|
|
7
|
+
import "./chunk-GH7WML2Y.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -134,8 +134,8 @@ import {
|
|
|
134
134
|
validateMermaidSyntax,
|
|
135
135
|
warmUpSettingsCache,
|
|
136
136
|
withRetry
|
|
137
|
-
} from "./chunk-
|
|
138
|
-
import "./chunk-
|
|
137
|
+
} from "./chunk-547RJT7E.js";
|
|
138
|
+
import "./chunk-GH7WML2Y.js";
|
|
139
139
|
import {
|
|
140
140
|
Logger,
|
|
141
141
|
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-NHJWP54K.js";
|
|
6
|
+
import "./chunk-547RJT7E.js";
|
|
7
|
+
import "./chunk-GH7WML2Y.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.29-feat-quantum-optimize-architecture.
|
|
3
|
+
"version": "0.2.29-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@bike4mind/agents": "0.1.0",
|
|
113
|
-
"@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.
|
|
114
|
-
"@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.
|
|
115
|
-
"@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.
|
|
116
|
-
"@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.
|
|
113
|
+
"@bike4mind/common": "2.50.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
114
|
+
"@bike4mind/mcp": "1.29.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
115
|
+
"@bike4mind/services": "2.48.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
116
|
+
"@bike4mind/utils": "2.5.1-feat-quantum-optimize-architecture.18871+3669c40b5",
|
|
117
117
|
"@types/better-sqlite3": "^7.6.13",
|
|
118
118
|
"@types/diff": "^5.0.9",
|
|
119
119
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"optionalDependencies": {
|
|
131
131
|
"@vscode/ripgrep": "^1.17.0"
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "3669c40b5167f563b4c4207045320159f2316981"
|
|
134
134
|
}
|