@bike4mind/cli 0.2.43-playwright-skill.20538 → 0.2.43
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-EDJCR6PN.js → artifactExtractor-VVPH5Q4K.js} +1 -1
- package/dist/{chunk-NXW2J2GJ.js → chunk-ABHBER4L.js} +25 -6
- package/dist/{chunk-7M7TH5LM.js → chunk-CKDI75JR.js} +6 -6
- package/dist/{chunk-GJ4LVAPU.js → chunk-DSZT2WCO.js} +2 -1
- package/dist/{chunk-32YXNRW7.js → chunk-HK3UOA3W.js} +2 -2
- package/dist/{chunk-DWFBBY24.js → chunk-KMEJIQYC.js} +2 -2
- package/dist/{chunk-BKGBDM5F.js → chunk-R4EINN7L.js} +2 -2
- package/dist/{chunk-DISNZSGC.js → chunk-RHUJOJT5.js} +1 -1
- package/dist/{chunk-DSCC5IWD.js → chunk-SSIEEQNS.js} +3 -2
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/headlessCommand.js +7 -7
- package/dist/commands/mcpCommand.js +2 -2
- package/dist/commands/updateCommand.js +1 -1
- package/dist/{create-ECOQVRJL.js → create-IUA6762E.js} +3 -3
- package/dist/index.js +8 -8
- package/dist/{llmMarkdownGenerator-FJ67JZSS.js → llmMarkdownGenerator-O4H4PIQF.js} +1 -1
- package/dist/{markdownGenerator-7SUTAEIB.js → markdownGenerator-7TUX24VF.js} +1 -1
- package/dist/{mementoService-FSVXLDNG.js → mementoService-6IHJK4UA.js} +3 -3
- package/dist/{src-LAUZXCAK.js → src-4T27TEVC.js} +1 -1
- package/dist/{src-AMMSENRS.js → src-UTUFIV6C.js} +2 -2
- package/dist/{subtractCredits-6IXTYBNJ.js → subtractCredits-OA6YAHP6.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-DSZT2WCO.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;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getOpenWeatherKey,
|
|
5
5
|
getSerperKey,
|
|
6
6
|
getWolframAlphaKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R4EINN7L.js";
|
|
8
8
|
import {
|
|
9
9
|
BFLImageService,
|
|
10
10
|
BaseStorage,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
OpenAIBackend,
|
|
17
17
|
OpenAIImageService,
|
|
18
18
|
XAIImageService
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SSIEEQNS.js";
|
|
20
20
|
import {
|
|
21
21
|
Logger
|
|
22
22
|
} from "./chunk-PFBYGCOW.js";
|
|
23
23
|
import {
|
|
24
24
|
ConfigStore,
|
|
25
25
|
logger
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RHUJOJT5.js";
|
|
27
27
|
import {
|
|
28
28
|
ALERT_THRESHOLDS,
|
|
29
29
|
AiEvents,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
getViewById,
|
|
85
85
|
resolveNavigationIntents,
|
|
86
86
|
sanitizeTelemetryError
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-DSZT2WCO.js";
|
|
88
88
|
|
|
89
89
|
// src/utils/fileSearch.ts
|
|
90
90
|
import * as fs from "fs";
|
|
@@ -13403,7 +13403,14 @@ var generateMcpToolsFromCache = (serverName, cachedTools, callTool) => {
|
|
|
13403
13403
|
};
|
|
13404
13404
|
|
|
13405
13405
|
// ../../b4m-core/packages/services/dist/src/llm/agents/ServerSubagentOrchestrator.js
|
|
13406
|
-
var
|
|
13406
|
+
var SUBAGENT_TIMEOUT_BY_THOROUGHNESS = {
|
|
13407
|
+
quick: 2 * 60 * 1e3,
|
|
13408
|
+
// 2 minutes
|
|
13409
|
+
medium: 5 * 60 * 1e3,
|
|
13410
|
+
// 5 minutes
|
|
13411
|
+
very_thorough: 10 * 60 * 1e3
|
|
13412
|
+
// 10 minutes
|
|
13413
|
+
};
|
|
13407
13414
|
|
|
13408
13415
|
// ../../b4m-core/packages/services/dist/src/llm/ChatCompletionProcess.js
|
|
13409
13416
|
import throttle2 from "lodash/throttle.js";
|
|
@@ -14004,7 +14011,19 @@ var AnomalyAlertService = class _AnomalyAlertService {
|
|
|
14004
14011
|
return this.checkInMemoryDedup(dedupKey, windowMs);
|
|
14005
14012
|
}
|
|
14006
14013
|
/**
|
|
14007
|
-
* In-memory deduplication check and record (fallback)
|
|
14014
|
+
* In-memory deduplication check and record (fallback).
|
|
14015
|
+
*
|
|
14016
|
+
* LIMITATION: This method is NOT atomic and may allow duplicate alerts in
|
|
14017
|
+
* concurrent environments (e.g., multiple Lambda instances). This is acceptable
|
|
14018
|
+
* because:
|
|
14019
|
+
* 1. The primary distributed dedup (MongoDB claimDedup) is atomic and handles
|
|
14020
|
+
* the vast majority of cases
|
|
14021
|
+
* 2. In-memory is only used as a fallback when MongoDB is unavailable
|
|
14022
|
+
* 3. In serverless environments, each instance has isolated memory anyway
|
|
14023
|
+
* 4. Occasional duplicate alerts are preferable to missing critical alerts
|
|
14024
|
+
*
|
|
14025
|
+
* For production deployments, ensure MongoDB cacheRepository is configured
|
|
14026
|
+
* to get true atomic deduplication across instances.
|
|
14008
14027
|
*/
|
|
14009
14028
|
checkInMemoryDedup(dedupKey, windowMs) {
|
|
14010
14029
|
const entry = this.dedupCache.get(dedupKey);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.43
|
|
6
|
+
version: "0.2.43",
|
|
7
7
|
type: "module",
|
|
8
8
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
9
9
|
license: "UNLICENSED",
|
|
@@ -117,10 +117,10 @@ var package_default = {
|
|
|
117
117
|
},
|
|
118
118
|
devDependencies: {
|
|
119
119
|
"@bike4mind/agents": "0.1.0",
|
|
120
|
-
"@bike4mind/common": "2.
|
|
121
|
-
"@bike4mind/mcp": "1.33.5
|
|
122
|
-
"@bike4mind/services": "2.
|
|
123
|
-
"@bike4mind/utils": "2.13.1
|
|
120
|
+
"@bike4mind/common": "2.63.0",
|
|
121
|
+
"@bike4mind/mcp": "1.33.5",
|
|
122
|
+
"@bike4mind/services": "2.59.0",
|
|
123
|
+
"@bike4mind/utils": "2.13.1",
|
|
124
124
|
"@types/better-sqlite3": "^7.6.13",
|
|
125
125
|
"@types/diff": "^5.0.9",
|
|
126
126
|
"@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: "c7d75f1b2be9709731edc2c5bc0984cb390b2b28"
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
// src/utils/updateChecker.ts
|
|
@@ -2874,7 +2874,8 @@ var WHATS_NEW_VALIDATION_LIMITS = {
|
|
|
2874
2874
|
// Model configuration
|
|
2875
2875
|
temperature: { min: 0, max: 2, default: 0.7 },
|
|
2876
2876
|
maxTokens: { min: 100, max: 1e4, default: 2e3 },
|
|
2877
|
-
|
|
2877
|
+
// Max 180000ms (3 min) to leave 2-minute buffer for post-LLM operations within 5-min Lambda timeout
|
|
2878
|
+
timeoutMs: { min: 3e4, max: 18e4, default: 12e4 },
|
|
2878
2879
|
// Modal configuration
|
|
2879
2880
|
modalPriority: { min: 1, max: 100, default: 10 },
|
|
2880
2881
|
modalExpiryDays: { min: 1, max: 365, default: 30 },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SSIEEQNS.js";
|
|
6
6
|
import {
|
|
7
7
|
CompletionApiUsageTransaction,
|
|
8
8
|
GenericCreditDeductTransaction,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ToolUsageTransaction,
|
|
14
14
|
TransferCreditTransaction,
|
|
15
15
|
VideoGenerationUsageTransaction
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DSZT2WCO.js";
|
|
17
17
|
|
|
18
18
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
19
19
|
import { z } from "zod";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SSIEEQNS.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DSZT2WCO.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-SSIEEQNS.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DSZT2WCO.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
extractSnippetMeta,
|
|
21
21
|
isGPTImageModel,
|
|
22
22
|
settingsMap
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DSZT2WCO.js";
|
|
24
24
|
|
|
25
25
|
// ../../b4m-core/packages/utils/dist/src/storage/S3Storage.js
|
|
26
26
|
import { S3Client, PutObjectCommand, DeleteObjectCommand, GetObjectCommand, HeadObjectCommand } from "@aws-sdk/client-s3";
|
|
@@ -12582,7 +12582,8 @@ function isModelAccessible(model, userTags, isAdmin = false) {
|
|
|
12582
12582
|
if (!model.allowedUserTags || model.allowedUserTags.length === 0)
|
|
12583
12583
|
return false;
|
|
12584
12584
|
const normalizedUserTags = userTags.map((tag) => tag.toLowerCase());
|
|
12585
|
-
|
|
12585
|
+
const normalizedAllowedTags = model.allowedUserTags.map((tag) => tag.toLowerCase());
|
|
12586
|
+
return normalizedUserTags.some((tag) => normalizedAllowedTags.includes(tag));
|
|
12586
12587
|
}
|
|
12587
12588
|
|
|
12588
12589
|
// ../../b4m-core/packages/utils/dist/src/tokenCounting.js
|
|
@@ -36,20 +36,20 @@ import {
|
|
|
36
36
|
isReadOnlyTool,
|
|
37
37
|
loadContextFiles,
|
|
38
38
|
setWebSocketToolExecutor
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ABHBER4L.js";
|
|
40
40
|
import "../chunk-BDQBOLYG.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-R4EINN7L.js";
|
|
42
42
|
import "../chunk-GQGOWACU.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-HK3UOA3W.js";
|
|
44
|
+
import "../chunk-KMEJIQYC.js";
|
|
45
|
+
import "../chunk-SSIEEQNS.js";
|
|
46
46
|
import "../chunk-PFBYGCOW.js";
|
|
47
47
|
import "../chunk-BPFEGDC7.js";
|
|
48
48
|
import {
|
|
49
49
|
ConfigStore,
|
|
50
50
|
logger
|
|
51
|
-
} from "../chunk-
|
|
52
|
-
import "../chunk-
|
|
51
|
+
} from "../chunk-RHUJOJT5.js";
|
|
52
|
+
import "../chunk-DSZT2WCO.js";
|
|
53
53
|
import {
|
|
54
54
|
DEFAULT_SANDBOX_CONFIG
|
|
55
55
|
} from "../chunk-4BIBE3J7.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-KMEJIQYC.js";
|
|
6
|
+
import "./chunk-SSIEEQNS.js";
|
|
7
7
|
import "./chunk-PFBYGCOW.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DSZT2WCO.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
|
11
11
|
createFabFileSchema
|
package/dist/index.js
CHANGED
|
@@ -46,23 +46,23 @@ import {
|
|
|
46
46
|
setWebSocketToolExecutor,
|
|
47
47
|
substituteArguments,
|
|
48
48
|
warmFileCache
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ABHBER4L.js";
|
|
50
50
|
import "./chunk-BDQBOLYG.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-R4EINN7L.js";
|
|
52
52
|
import "./chunk-GQGOWACU.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-HK3UOA3W.js";
|
|
54
|
+
import "./chunk-KMEJIQYC.js";
|
|
55
|
+
import "./chunk-SSIEEQNS.js";
|
|
56
56
|
import "./chunk-PFBYGCOW.js";
|
|
57
57
|
import "./chunk-BPFEGDC7.js";
|
|
58
58
|
import {
|
|
59
59
|
ConfigStore,
|
|
60
60
|
logger
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-RHUJOJT5.js";
|
|
62
62
|
import {
|
|
63
63
|
checkForUpdate,
|
|
64
64
|
package_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CKDI75JR.js";
|
|
66
66
|
import {
|
|
67
67
|
selectActiveBackgroundAgents,
|
|
68
68
|
useCliStore
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
CREDIT_DEDUCT_TRANSACTION_TYPES,
|
|
72
72
|
ChatModels
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-DSZT2WCO.js";
|
|
74
74
|
import "./chunk-4BIBE3J7.js";
|
|
75
75
|
|
|
76
76
|
// src/index.tsx
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
findMostSimilarMemento,
|
|
4
4
|
getRelevantMementos
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-R4EINN7L.js";
|
|
6
|
+
import "./chunk-SSIEEQNS.js";
|
|
7
7
|
import "./chunk-PFBYGCOW.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DSZT2WCO.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
11
11
|
getRelevantMementos
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
validateUrlForFetch,
|
|
142
142
|
warmUpSettingsCache,
|
|
143
143
|
withRetry
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-SSIEEQNS.js";
|
|
145
145
|
import {
|
|
146
146
|
Logger,
|
|
147
147
|
NotificationDeduplicator,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
buildRateLimitLogEntry,
|
|
155
155
|
isNearLimit,
|
|
156
156
|
parseRateLimitHeaders
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-DSZT2WCO.js";
|
|
158
158
|
export {
|
|
159
159
|
AIVideoService,
|
|
160
160
|
AWSBackend,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SubtractCreditsSchema,
|
|
4
4
|
subtractCredits
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-HK3UOA3W.js";
|
|
6
|
+
import "./chunk-SSIEEQNS.js";
|
|
7
7
|
import "./chunk-PFBYGCOW.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DSZT2WCO.js";
|
|
9
9
|
export {
|
|
10
10
|
SubtractCreditsSchema,
|
|
11
11
|
subtractCredits
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.43
|
|
3
|
+
"version": "0.2.43",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@bike4mind/agents": "0.1.0",
|
|
117
|
-
"@bike4mind/common": "2.
|
|
118
|
-
"@bike4mind/mcp": "1.33.5
|
|
119
|
-
"@bike4mind/services": "2.
|
|
120
|
-
"@bike4mind/utils": "2.13.1
|
|
117
|
+
"@bike4mind/common": "2.63.0",
|
|
118
|
+
"@bike4mind/mcp": "1.33.5",
|
|
119
|
+
"@bike4mind/services": "2.59.0",
|
|
120
|
+
"@bike4mind/utils": "2.13.1",
|
|
121
121
|
"@types/better-sqlite3": "^7.6.13",
|
|
122
122
|
"@types/diff": "^5.0.9",
|
|
123
123
|
"@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": "c7d75f1b2be9709731edc2c5bc0984cb390b2b28"
|
|
139
139
|
}
|