@bike4mind/cli 0.2.31-feat-ui-side-effect-protocol.19578 → 0.2.31-feat-ui-side-effect-protocol.19580
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-W3MGRRCC.js → artifactExtractor-I6IE6VEQ.js} +1 -1
- package/dist/{chunk-ESPLGHLK.js → chunk-5DI4ETBR.js} +6 -1
- package/dist/{chunk-QR45CNCM.js → chunk-7KLKYZFS.js} +2 -2
- package/dist/{chunk-ILVSGB7R.js → chunk-KVOFAWVA.js} +1 -1
- package/dist/{chunk-6PST6ZSR.js → chunk-OXCZIC6H.js} +6 -6
- package/dist/{chunk-YKRJFQBG.js → chunk-SLTFGIMB.js} +2 -2
- package/dist/{chunk-SZDM3SPY.js → chunk-U44WHBF6.js} +2 -2
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/updateCommand.js +1 -1
- package/dist/{create-K7E7VJTH.js → create-A23GYGCF.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/{llmMarkdownGenerator-I2AJNKES.js → llmMarkdownGenerator-45TPXKV3.js} +1 -1
- package/dist/{markdownGenerator-72S3C26M.js → markdownGenerator-WWIR3RQC.js} +1 -1
- package/dist/{mementoService-35P7UPCT.js → mementoService-TAPU5T4Y.js} +3 -3
- package/dist/{src-WJEPAOKC.js → src-EGBYTXFY.js} +2 -2
- package/dist/{src-JTPQK3RY.js → src-MP7JWYWY.js} +1 -1
- package/dist/{subtractCredits-43OTYF2T.js → subtractCredits-YZJCYMDF.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-5DI4ETBR.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;
|
|
@@ -1459,7 +1459,12 @@ var StreamedChatCompletionAction = z10.object({
|
|
|
1459
1459
|
endTime: z10.number().optional()
|
|
1460
1460
|
}).optional(),
|
|
1461
1461
|
// Add fallback info to support backend fallback mechanism
|
|
1462
|
-
fallbackInfo: FallbackInfoSchema.optional()
|
|
1462
|
+
fallbackInfo: FallbackInfoSchema.optional(),
|
|
1463
|
+
// UI side-effects dispatched on the client when streaming completes
|
|
1464
|
+
uiSideEffects: z10.array(z10.object({
|
|
1465
|
+
type: z10.string(),
|
|
1466
|
+
payload: z10.unknown()
|
|
1467
|
+
})).optional()
|
|
1463
1468
|
}).partial().nullable()
|
|
1464
1469
|
});
|
|
1465
1470
|
var StreamedRapidReplyAction = z10.object({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KVOFAWVA.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-5DI4ETBR.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.31-feat-ui-side-effect-protocol.
|
|
6
|
+
version: "0.2.31-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
7
7
|
type: "module",
|
|
8
8
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
9
9
|
license: "UNLICENSED",
|
|
@@ -114,10 +114,10 @@ var package_default = {
|
|
|
114
114
|
},
|
|
115
115
|
devDependencies: {
|
|
116
116
|
"@bike4mind/agents": "0.1.0",
|
|
117
|
-
"@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.
|
|
118
|
-
"@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.
|
|
119
|
-
"@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.
|
|
120
|
-
"@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.
|
|
117
|
+
"@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
118
|
+
"@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
119
|
+
"@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
120
|
+
"@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
121
121
|
"@types/better-sqlite3": "^7.6.13",
|
|
122
122
|
"@types/diff": "^5.0.9",
|
|
123
123
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -138,7 +138,7 @@ var package_default = {
|
|
|
138
138
|
optionalDependencies: {
|
|
139
139
|
"@vscode/ripgrep": "^1.17.0"
|
|
140
140
|
},
|
|
141
|
-
gitHead: "
|
|
141
|
+
gitHead: "a3842a51b1a3db364eaa0a3d7a40dd51838596a4"
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
// src/utils/updateChecker.ts
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KVOFAWVA.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5DI4ETBR.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KVOFAWVA.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5DI4ETBR.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.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-SLTFGIMB.js";
|
|
6
|
+
import "./chunk-KVOFAWVA.js";
|
|
7
|
+
import "./chunk-5DI4ETBR.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-GQGOWACU.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-7KLKYZFS.js";
|
|
4
|
+
import "./chunk-SLTFGIMB.js";
|
|
5
5
|
import "./chunk-BPFEGDC7.js";
|
|
6
6
|
import "./chunk-BDQBOLYG.js";
|
|
7
7
|
import {
|
|
8
8
|
getEffectiveApiKey,
|
|
9
9
|
getOpenWeatherKey,
|
|
10
10
|
getSerperKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U44WHBF6.js";
|
|
12
12
|
import {
|
|
13
13
|
ConfigStore,
|
|
14
14
|
logger
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
checkForUpdate,
|
|
18
18
|
package_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OXCZIC6H.js";
|
|
20
20
|
import {
|
|
21
21
|
selectActiveBackgroundAgents,
|
|
22
22
|
useCliStore
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
OpenAIBackend,
|
|
33
33
|
OpenAIImageService,
|
|
34
34
|
XAIImageService
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KVOFAWVA.js";
|
|
36
36
|
import {
|
|
37
37
|
AiEvents,
|
|
38
38
|
ApiKeyEvents,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
getMcpProviderMetadata,
|
|
91
91
|
getViewById,
|
|
92
92
|
resolveNavigationIntents
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-5DI4ETBR.js";
|
|
94
94
|
import {
|
|
95
95
|
Logger
|
|
96
96
|
} from "./chunk-PFBYGCOW.js";
|
|
@@ -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-U44WHBF6.js";
|
|
6
|
+
import "./chunk-KVOFAWVA.js";
|
|
7
|
+
import "./chunk-5DI4ETBR.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -139,12 +139,12 @@ import {
|
|
|
139
139
|
validateUrlForFetch,
|
|
140
140
|
warmUpSettingsCache,
|
|
141
141
|
withRetry
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-KVOFAWVA.js";
|
|
143
143
|
import {
|
|
144
144
|
buildRateLimitLogEntry,
|
|
145
145
|
isNearLimit,
|
|
146
146
|
parseRateLimitHeaders
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-5DI4ETBR.js";
|
|
148
148
|
import {
|
|
149
149
|
Logger,
|
|
150
150
|
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-7KLKYZFS.js";
|
|
6
|
+
import "./chunk-KVOFAWVA.js";
|
|
7
|
+
import "./chunk-5DI4ETBR.js";
|
|
8
8
|
import "./chunk-PFBYGCOW.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.31-feat-ui-side-effect-protocol.
|
|
3
|
+
"version": "0.2.31-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@bike4mind/agents": "0.1.0",
|
|
114
|
-
"@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.
|
|
115
|
-
"@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.
|
|
116
|
-
"@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.
|
|
117
|
-
"@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.
|
|
114
|
+
"@bike4mind/common": "2.52.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
115
|
+
"@bike4mind/mcp": "1.31.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
116
|
+
"@bike4mind/services": "2.50.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
117
|
+
"@bike4mind/utils": "2.7.1-feat-ui-side-effect-protocol.19580+a3842a51b",
|
|
118
118
|
"@types/better-sqlite3": "^7.6.13",
|
|
119
119
|
"@types/diff": "^5.0.9",
|
|
120
120
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"optionalDependencies": {
|
|
136
136
|
"@vscode/ripgrep": "^1.17.0"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "a3842a51b1a3db364eaa0a3d7a40dd51838596a4"
|
|
139
139
|
}
|