@bike4mind/cli 0.2.30 → 0.2.31-feat-python-playground.19300
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-JQMWU272.js → artifactExtractor-OXWUMHDM.js} +1 -1
- package/dist/{chunk-T4VPCTBM.js → chunk-A6RZZCUV.js} +27 -1
- package/dist/{chunk-LLA44SW7.js → chunk-ECHYFI4L.js} +2 -2
- package/dist/{chunk-BQAPZP5Y.js → chunk-PPJAR2ZZ.js} +1 -1
- package/dist/{chunk-U63VANTQ.js → chunk-R3656M2L.js} +2 -2
- package/dist/{chunk-WIB75EEX.js → chunk-RIHZH5XT.js} +2 -2
- package/dist/{create-4WOBQ5JM.js → create-B3Q4CGLN.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{llmMarkdownGenerator-2O24TMGD.js → llmMarkdownGenerator-HPNTTELP.js} +1 -1
- package/dist/{markdownGenerator-6LAK3FQM.js → markdownGenerator-3SNUTKFH.js} +1 -1
- package/dist/{mementoService-NRR7NQ4C.js → mementoService-KKUQGYPQ.js} +3 -3
- package/dist/{src-VMQ5TKYR.js → src-56VNIQUM.js} +7 -1
- package/dist/{src-3FQBHGOM.js → src-BV55KFRP.js} +2 -2
- package/dist/{subtractCredits-HK72MSDY.js → subtractCredits-XFFZGLDZ.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-A6RZZCUV.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;
|
|
@@ -473,6 +473,15 @@ var LatticeArtifactSchema = ArtifactSchema.extend({
|
|
|
473
473
|
lastComputedAt: z6.date().optional()
|
|
474
474
|
})
|
|
475
475
|
});
|
|
476
|
+
var PythonArtifactSchema = ArtifactSchema.extend({
|
|
477
|
+
type: z6.literal("python"),
|
|
478
|
+
metadata: ArtifactMetadataSchema.extend({
|
|
479
|
+
packages: z6.array(z6.string()).default([]),
|
|
480
|
+
hasOutput: z6.boolean().default(false),
|
|
481
|
+
executionState: z6.enum(["idle", "running", "completed", "error"]).optional(),
|
|
482
|
+
lastExecutionTime: z6.number().optional()
|
|
483
|
+
})
|
|
484
|
+
});
|
|
476
485
|
var MermaidChartMetadataSchema = z6.object({
|
|
477
486
|
chartType: z6.enum([
|
|
478
487
|
"flowchart",
|
|
@@ -507,7 +516,8 @@ var ClaudeArtifactMimeTypes = {
|
|
|
507
516
|
RECHARTS: "application/vnd.ant.recharts",
|
|
508
517
|
CODE: "application/vnd.ant.code",
|
|
509
518
|
MARKDOWN: "text/markdown",
|
|
510
|
-
LATTICE: "application/vnd.b4m.lattice"
|
|
519
|
+
LATTICE: "application/vnd.b4m.lattice",
|
|
520
|
+
PYTHON: "application/vnd.ant.python"
|
|
511
521
|
};
|
|
512
522
|
|
|
513
523
|
// ../../b4m-core/packages/common/dist/src/types/entities/AppFileTypes.js
|
|
@@ -8962,6 +8972,16 @@ var MermaidArtifactV2Schema = BaseArtifactSchema.extend({
|
|
|
8962
8972
|
description: z28.string().optional()
|
|
8963
8973
|
})
|
|
8964
8974
|
});
|
|
8975
|
+
var PythonArtifactV2Schema = BaseArtifactSchema.extend({
|
|
8976
|
+
type: z28.literal("python"),
|
|
8977
|
+
content: z28.string(),
|
|
8978
|
+
metadata: EnhancedArtifactMetadataSchema.extend({
|
|
8979
|
+
packages: z28.array(z28.string()).default([]),
|
|
8980
|
+
hasOutput: z28.boolean().default(false),
|
|
8981
|
+
executionState: z28.enum(["idle", "running", "completed", "error"]).optional(),
|
|
8982
|
+
lastExecutionTime: z28.number().optional()
|
|
8983
|
+
})
|
|
8984
|
+
});
|
|
8965
8985
|
var ArtifactStatuses;
|
|
8966
8986
|
(function(ArtifactStatuses2) {
|
|
8967
8987
|
ArtifactStatuses2["DRAFT"] = "draft";
|
|
@@ -8985,6 +9005,9 @@ var validateSvgArtifactV2 = (data) => {
|
|
|
8985
9005
|
var validateMermaidArtifactV2 = (data) => {
|
|
8986
9006
|
return MermaidArtifactV2Schema.parse(data);
|
|
8987
9007
|
};
|
|
9008
|
+
var validatePythonArtifactV2 = (data) => {
|
|
9009
|
+
return PythonArtifactV2Schema.parse(data);
|
|
9010
|
+
};
|
|
8988
9011
|
|
|
8989
9012
|
// ../../b4m-core/packages/common/dist/src/schemas/questmaster.js
|
|
8990
9013
|
import { z as z29 } from "zod";
|
|
@@ -9354,6 +9377,7 @@ export {
|
|
|
9354
9377
|
MermaidArtifactSchema,
|
|
9355
9378
|
RechartsArtifactSchema,
|
|
9356
9379
|
LatticeArtifactSchema,
|
|
9380
|
+
PythonArtifactSchema,
|
|
9357
9381
|
MermaidChartMetadataSchema,
|
|
9358
9382
|
ChatHistoryItemWithArtifactsSchema,
|
|
9359
9383
|
ArtifactOperationSchema,
|
|
@@ -9694,12 +9718,14 @@ export {
|
|
|
9694
9718
|
HtmlArtifactV2Schema,
|
|
9695
9719
|
SvgArtifactV2Schema,
|
|
9696
9720
|
MermaidArtifactV2Schema,
|
|
9721
|
+
PythonArtifactV2Schema,
|
|
9697
9722
|
ArtifactStatuses,
|
|
9698
9723
|
validateBaseArtifact,
|
|
9699
9724
|
validateReactArtifactV2,
|
|
9700
9725
|
validateHtmlArtifactV2,
|
|
9701
9726
|
validateSvgArtifactV2,
|
|
9702
9727
|
validateMermaidArtifactV2,
|
|
9728
|
+
validatePythonArtifactV2,
|
|
9703
9729
|
QuestStatusSchema,
|
|
9704
9730
|
QuestSchema,
|
|
9705
9731
|
QuestResourceSchema,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PPJAR2ZZ.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-A6RZZCUV.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PPJAR2ZZ.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A6RZZCUV.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-PPJAR2ZZ.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A6RZZCUV.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-R3656M2L.js";
|
|
6
|
+
import "./chunk-PPJAR2ZZ.js";
|
|
7
|
+
import "./chunk-A6RZZCUV.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-RIHZH5XT.js";
|
|
9
9
|
import "./chunk-RUI6HNLO.js";
|
|
10
10
|
import {
|
|
11
11
|
ConfigStore,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
selectActiveBackgroundAgents,
|
|
16
16
|
useCliStore
|
|
17
17
|
} from "./chunk-BYXFQJYT.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ECHYFI4L.js";
|
|
19
|
+
import "./chunk-R3656M2L.js";
|
|
20
20
|
import {
|
|
21
21
|
BFLImageService,
|
|
22
22
|
BaseStorage,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
OpenAIBackend,
|
|
29
29
|
OpenAIImageService,
|
|
30
30
|
XAIImageService
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PPJAR2ZZ.js";
|
|
32
32
|
import {
|
|
33
33
|
AiEvents,
|
|
34
34
|
ApiKeyEvents,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
XAI_IMAGE_MODELS,
|
|
85
85
|
b4mLLMTools,
|
|
86
86
|
getMcpProviderMetadata
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-A6RZZCUV.js";
|
|
88
88
|
import {
|
|
89
89
|
Logger
|
|
90
90
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -14701,7 +14701,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
14701
14701
|
// package.json
|
|
14702
14702
|
var package_default = {
|
|
14703
14703
|
name: "@bike4mind/cli",
|
|
14704
|
-
version: "0.2.
|
|
14704
|
+
version: "0.2.31-feat-python-playground.19300+47277bf0f",
|
|
14705
14705
|
type: "module",
|
|
14706
14706
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
14707
14707
|
license: "UNLICENSED",
|
|
@@ -14812,10 +14812,10 @@ var package_default = {
|
|
|
14812
14812
|
},
|
|
14813
14813
|
devDependencies: {
|
|
14814
14814
|
"@bike4mind/agents": "0.1.0",
|
|
14815
|
-
"@bike4mind/common": "2.52.
|
|
14816
|
-
"@bike4mind/mcp": "1.31.
|
|
14817
|
-
"@bike4mind/services": "2.50.
|
|
14818
|
-
"@bike4mind/utils": "2.7.
|
|
14815
|
+
"@bike4mind/common": "2.52.1-feat-python-playground.19300+47277bf0f",
|
|
14816
|
+
"@bike4mind/mcp": "1.31.1-feat-python-playground.19300+47277bf0f",
|
|
14817
|
+
"@bike4mind/services": "2.50.1-feat-python-playground.19300+47277bf0f",
|
|
14818
|
+
"@bike4mind/utils": "2.7.1-feat-python-playground.19300+47277bf0f",
|
|
14819
14819
|
"@types/better-sqlite3": "^7.6.13",
|
|
14820
14820
|
"@types/diff": "^5.0.9",
|
|
14821
14821
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -14836,7 +14836,7 @@ var package_default = {
|
|
|
14836
14836
|
optionalDependencies: {
|
|
14837
14837
|
"@vscode/ripgrep": "^1.17.0"
|
|
14838
14838
|
},
|
|
14839
|
-
gitHead: "
|
|
14839
|
+
gitHead: "47277bf0fedfaa736c90d29fca1295c7a4fd26e0"
|
|
14840
14840
|
};
|
|
14841
14841
|
|
|
14842
14842
|
// src/agents/toolFilter.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-RIHZH5XT.js";
|
|
6
|
+
import "./chunk-PPJAR2ZZ.js";
|
|
7
|
+
import "./chunk-A6RZZCUV.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -221,6 +221,8 @@ import {
|
|
|
221
221
|
ProjectEvents,
|
|
222
222
|
PromptMetaZodSchema,
|
|
223
223
|
PurchaseTransaction,
|
|
224
|
+
PythonArtifactSchema,
|
|
225
|
+
PythonArtifactV2Schema,
|
|
224
226
|
QueryComplexity,
|
|
225
227
|
QueryFilters,
|
|
226
228
|
QueryPaginate,
|
|
@@ -429,12 +431,13 @@ import {
|
|
|
429
431
|
validateMermaidArtifactV2,
|
|
430
432
|
validatePassword,
|
|
431
433
|
validatePasswordServer,
|
|
434
|
+
validatePythonArtifactV2,
|
|
432
435
|
validateQuest,
|
|
433
436
|
validateQuestMasterArtifactV2,
|
|
434
437
|
validateReactArtifactV2,
|
|
435
438
|
validateSvgArtifactV2,
|
|
436
439
|
wikiMarkupToAdf
|
|
437
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-A6RZZCUV.js";
|
|
438
441
|
export {
|
|
439
442
|
ALL_IMAGE_MODELS,
|
|
440
443
|
ALL_IMAGE_SIZES,
|
|
@@ -658,6 +661,8 @@ export {
|
|
|
658
661
|
ProjectEvents,
|
|
659
662
|
PromptMetaZodSchema,
|
|
660
663
|
PurchaseTransaction,
|
|
664
|
+
PythonArtifactSchema,
|
|
665
|
+
PythonArtifactV2Schema,
|
|
661
666
|
QueryComplexity,
|
|
662
667
|
QueryFilters,
|
|
663
668
|
QueryPaginate,
|
|
@@ -867,6 +872,7 @@ export {
|
|
|
867
872
|
validateMermaidArtifactV2,
|
|
868
873
|
validatePassword,
|
|
869
874
|
validatePasswordServer,
|
|
875
|
+
validatePythonArtifactV2,
|
|
870
876
|
validateQuest,
|
|
871
877
|
validateQuestMasterArtifactV2,
|
|
872
878
|
validateReactArtifactV2,
|
|
@@ -134,12 +134,12 @@ import {
|
|
|
134
134
|
validateMermaidSyntax,
|
|
135
135
|
warmUpSettingsCache,
|
|
136
136
|
withRetry
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-PPJAR2ZZ.js";
|
|
138
138
|
import {
|
|
139
139
|
buildRateLimitLogEntry,
|
|
140
140
|
isNearLimit,
|
|
141
141
|
parseRateLimitHeaders
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-A6RZZCUV.js";
|
|
143
143
|
import {
|
|
144
144
|
Logger,
|
|
145
145
|
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-ECHYFI4L.js";
|
|
6
|
+
import "./chunk-PPJAR2ZZ.js";
|
|
7
|
+
import "./chunk-A6RZZCUV.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.
|
|
3
|
+
"version": "0.2.31-feat-python-playground.19300+47277bf0f",
|
|
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.
|
|
115
|
-
"@bike4mind/mcp": "1.31.
|
|
116
|
-
"@bike4mind/services": "2.50.
|
|
117
|
-
"@bike4mind/utils": "2.7.
|
|
114
|
+
"@bike4mind/common": "2.52.1-feat-python-playground.19300+47277bf0f",
|
|
115
|
+
"@bike4mind/mcp": "1.31.1-feat-python-playground.19300+47277bf0f",
|
|
116
|
+
"@bike4mind/services": "2.50.1-feat-python-playground.19300+47277bf0f",
|
|
117
|
+
"@bike4mind/utils": "2.7.1-feat-python-playground.19300+47277bf0f",
|
|
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": "47277bf0fedfaa736c90d29fca1295c7a4fd26e0"
|
|
139
139
|
}
|