@bike4mind/cli 0.2.17 → 0.2.18-cj-GH6131.17754
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/ImageStore-MMUOUPI2.js +0 -0
- package/dist/{artifactExtractor-MNVIKVBH.js → artifactExtractor-BSHP6WO2.js} +1 -1
- package/dist/{chunk-CHBAKX4C.js → chunk-4OFHBIBO.js} +3 -2
- package/dist/chunk-BDQBOLYG.js +0 -0
- package/dist/chunk-BPFEGDC7.js +0 -0
- package/dist/chunk-FFJX3FF3.js +0 -0
- package/dist/chunk-OCYRD7D6.js +0 -0
- package/dist/{chunk-WULZDTLD.js → chunk-OJTIUHJ5.js} +2 -2
- package/dist/{chunk-NMWRXDTN.js → chunk-RX6FJNYV.js} +2 -2
- package/dist/{chunk-QDWMIP2Q.js → chunk-SUFMB67Z.js} +1 -1
- package/dist/{chunk-6EEN6XHK.js → chunk-ZLNJ2AH4.js} +2 -2
- package/dist/commands/mcpCommand.js +0 -0
- package/dist/{create-SR7Q7HAF.js → create-XLLOOSZ2.js} +3 -3
- package/dist/formatConverter-5QEJDW24.js +0 -0
- package/dist/index.js +13 -12
- package/dist/{llmMarkdownGenerator-2APZC4H3.js → llmMarkdownGenerator-SPI6BFFB.js} +1 -1
- package/dist/{markdownGenerator-S7OHONSP.js → markdownGenerator-TCDXRBQ4.js} +1 -1
- package/dist/{mementoService-UMJ5BYDO.js → mementoService-MYOKWS7O.js} +3 -3
- package/dist/notificationDeduplicator-UTHJHMSZ.js +0 -0
- package/dist/{src-NBBLECSQ.js → src-KVYHJ23T.js} +1 -1
- package/dist/{src-VEJGC5KU.js → src-UUCN5KH2.js} +2 -2
- package/dist/{subtractCredits-N7Y27C34.js → subtractCredits-S2OGAIPP.js} +3 -3
- package/dist/utils-JCHWDM4Z.js +0 -0
- package/package.json +19 -17
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CurationArtifactType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4OFHBIBO.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;
|
|
@@ -4504,10 +4504,11 @@ function formatPageResponse(page, siteUrl) {
|
|
|
4504
4504
|
link = `${baseUrl}/pages/${page.id}`;
|
|
4505
4505
|
}
|
|
4506
4506
|
return {
|
|
4507
|
-
|
|
4507
|
+
pageId: page.id,
|
|
4508
4508
|
title: page.title,
|
|
4509
4509
|
status: page.status,
|
|
4510
4510
|
spaceId: page.spaceId,
|
|
4511
|
+
spaceKey: page.space?.key,
|
|
4511
4512
|
body: stripHtmlAndNormalizeWhitespace(page.body?.storage?.value || page.body?.view?.value),
|
|
4512
4513
|
version: page.version?.number,
|
|
4513
4514
|
parentId: page.parentId,
|
|
@@ -4577,7 +4578,7 @@ function formatPageList(pagesResponse, siteUrl) {
|
|
|
4577
4578
|
return pagesResponse;
|
|
4578
4579
|
}
|
|
4579
4580
|
const results = Array.isArray(pagesResponse.results) ? pagesResponse.results.map((page) => ({
|
|
4580
|
-
|
|
4581
|
+
pageId: page.id,
|
|
4581
4582
|
title: page.title,
|
|
4582
4583
|
status: page.status,
|
|
4583
4584
|
parentId: page.parentId,
|
package/dist/chunk-BDQBOLYG.js
CHANGED
|
File without changes
|
package/dist/chunk-BPFEGDC7.js
CHANGED
|
File without changes
|
package/dist/chunk-FFJX3FF3.js
CHANGED
|
File without changes
|
package/dist/chunk-OCYRD7D6.js
CHANGED
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SUFMB67Z.js";
|
|
6
6
|
import {
|
|
7
7
|
CompletionApiUsageTransaction,
|
|
8
8
|
GenericCreditDeductTransaction,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
RealtimeVoiceUsageTransaction,
|
|
12
12
|
TextGenerationUsageTransaction,
|
|
13
13
|
TransferCreditTransaction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OFHBIBO.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.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-SUFMB67Z.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OFHBIBO.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-SUFMB67Z.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OFHBIBO.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
File without changes
|
|
@@ -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-ZLNJ2AH4.js";
|
|
6
|
+
import "./chunk-SUFMB67Z.js";
|
|
7
|
+
import "./chunk-4OFHBIBO.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
getEffectiveApiKey,
|
|
5
5
|
getOpenWeatherKey,
|
|
6
6
|
getSerperKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RX6FJNYV.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfigStore
|
|
10
10
|
} from "./chunk-FFJX3FF3.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OJTIUHJ5.js";
|
|
12
|
+
import "./chunk-ZLNJ2AH4.js";
|
|
13
13
|
import {
|
|
14
14
|
BFLImageService,
|
|
15
15
|
BaseStorage,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
OpenAIBackend,
|
|
22
22
|
OpenAIImageService,
|
|
23
23
|
XAIImageService
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SUFMB67Z.js";
|
|
25
25
|
import {
|
|
26
26
|
AiEvents,
|
|
27
27
|
ApiKeyEvents,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
XAI_IMAGE_MODELS,
|
|
76
76
|
b4mLLMTools,
|
|
77
77
|
getMcpProviderMetadata
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-4OFHBIBO.js";
|
|
79
79
|
import {
|
|
80
80
|
Logger
|
|
81
81
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -11471,7 +11471,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
11471
11471
|
// package.json
|
|
11472
11472
|
var package_default = {
|
|
11473
11473
|
name: "@bike4mind/cli",
|
|
11474
|
-
version: "0.2.
|
|
11474
|
+
version: "0.2.18-cj-GH6131.17754+22ab67e90",
|
|
11475
11475
|
type: "module",
|
|
11476
11476
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
11477
11477
|
license: "UNLICENSED",
|
|
@@ -11577,11 +11577,11 @@ var package_default = {
|
|
|
11577
11577
|
zustand: "^4.5.4"
|
|
11578
11578
|
},
|
|
11579
11579
|
devDependencies: {
|
|
11580
|
-
"@bike4mind/agents": "
|
|
11581
|
-
"@bike4mind/common": "
|
|
11582
|
-
"@bike4mind/mcp": "
|
|
11583
|
-
"@bike4mind/services": "
|
|
11584
|
-
"@bike4mind/utils": "
|
|
11580
|
+
"@bike4mind/agents": "0.1.0",
|
|
11581
|
+
"@bike4mind/common": "2.43.1-cj-GH6131.17754+22ab67e90",
|
|
11582
|
+
"@bike4mind/mcp": "1.22.4-cj-GH6131.17754+22ab67e90",
|
|
11583
|
+
"@bike4mind/services": "2.41.1-cj-GH6131.17754+22ab67e90",
|
|
11584
|
+
"@bike4mind/utils": "2.2.1-cj-GH6131.17754+22ab67e90",
|
|
11585
11585
|
"@types/better-sqlite3": "^7.6.13",
|
|
11586
11586
|
"@types/diff": "^5.0.9",
|
|
11587
11587
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -11597,7 +11597,8 @@ var package_default = {
|
|
|
11597
11597
|
},
|
|
11598
11598
|
optionalDependencies: {
|
|
11599
11599
|
"@vscode/ripgrep": "^1.17.0"
|
|
11600
|
-
}
|
|
11600
|
+
},
|
|
11601
|
+
gitHead: "22ab67e90741cead451cc50d87c3eecf5522f9ab"
|
|
11601
11602
|
};
|
|
11602
11603
|
|
|
11603
11604
|
// 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-RX6FJNYV.js";
|
|
6
|
+
import "./chunk-SUFMB67Z.js";
|
|
7
|
+
import "./chunk-4OFHBIBO.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
File without changes
|
|
@@ -129,8 +129,8 @@ import {
|
|
|
129
129
|
validateMermaidSyntax,
|
|
130
130
|
warmUpSettingsCache,
|
|
131
131
|
withRetry
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-
|
|
132
|
+
} from "./chunk-SUFMB67Z.js";
|
|
133
|
+
import "./chunk-4OFHBIBO.js";
|
|
134
134
|
import {
|
|
135
135
|
Logger,
|
|
136
136
|
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-OJTIUHJ5.js";
|
|
6
|
+
import "./chunk-SUFMB67Z.js";
|
|
7
|
+
import "./chunk-4OFHBIBO.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
SubtractCreditsSchema,
|
package/dist/utils-JCHWDM4Z.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18-cj-GH6131.17754+22ab67e90",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -30,6 +30,16 @@
|
|
|
30
30
|
"dist",
|
|
31
31
|
"bin"
|
|
32
32
|
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "tsx src/index.tsx",
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"start": "node dist/index.js",
|
|
40
|
+
"prepublishOnly": "pnpm build",
|
|
41
|
+
"postinstall": "node -e \"try { require('better-sqlite3') } catch(e) { if(e.message.includes('bindings')) { console.log('\\n⚠️ Rebuilding better-sqlite3 native bindings...'); require('child_process').execSync('pnpm rebuild better-sqlite3', {stdio:'inherit'}) } }\""
|
|
42
|
+
},
|
|
33
43
|
"dependencies": {
|
|
34
44
|
"@anthropic-ai/sdk": "^0.22.0",
|
|
35
45
|
"@aws-sdk/client-apigatewaymanagementapi": "3.654.0",
|
|
@@ -96,6 +106,11 @@
|
|
|
96
106
|
"zustand": "^4.5.4"
|
|
97
107
|
},
|
|
98
108
|
"devDependencies": {
|
|
109
|
+
"@bike4mind/agents": "0.1.0",
|
|
110
|
+
"@bike4mind/common": "2.43.1-cj-GH6131.17754+22ab67e90",
|
|
111
|
+
"@bike4mind/mcp": "1.22.4-cj-GH6131.17754+22ab67e90",
|
|
112
|
+
"@bike4mind/services": "2.41.1-cj-GH6131.17754+22ab67e90",
|
|
113
|
+
"@bike4mind/utils": "2.2.1-cj-GH6131.17754+22ab67e90",
|
|
99
114
|
"@types/better-sqlite3": "^7.6.13",
|
|
100
115
|
"@types/diff": "^5.0.9",
|
|
101
116
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -107,23 +122,10 @@
|
|
|
107
122
|
"tsup": "^8.5.1",
|
|
108
123
|
"tsx": "^4.21.0",
|
|
109
124
|
"typescript": "^5.9.3",
|
|
110
|
-
"vitest": "^3.2.4"
|
|
111
|
-
"@bike4mind/agents": "0.1.0",
|
|
112
|
-
"@bike4mind/common": "2.43.0",
|
|
113
|
-
"@bike4mind/mcp": "1.22.3",
|
|
114
|
-
"@bike4mind/services": "2.41.0",
|
|
115
|
-
"@bike4mind/utils": "2.2.0"
|
|
125
|
+
"vitest": "^3.2.4"
|
|
116
126
|
},
|
|
117
127
|
"optionalDependencies": {
|
|
118
128
|
"@vscode/ripgrep": "^1.17.0"
|
|
119
129
|
},
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
"build": "tsup",
|
|
123
|
-
"typecheck": "tsc --noEmit",
|
|
124
|
-
"test": "vitest run",
|
|
125
|
-
"test:watch": "vitest",
|
|
126
|
-
"start": "node dist/index.js",
|
|
127
|
-
"postinstall": "node -e \"try { require('better-sqlite3') } catch(e) { if(e.message.includes('bindings')) { console.log('\\n⚠️ Rebuilding better-sqlite3 native bindings...'); require('child_process').execSync('pnpm rebuild better-sqlite3', {stdio:'inherit'}) } }\""
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
+
"gitHead": "22ab67e90741cead451cc50d87c3eecf5522f9ab"
|
|
131
|
+
}
|