@bike4mind/cli 0.2.19-add-confluence-comments.17813 → 0.2.19-add-confluence-comments.17815
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-KD7BMBAS.js → artifactExtractor-4VFC22HF.js} +1 -1
- package/dist/{chunk-AIZXH5PH.js → chunk-J6UUPVZO.js} +2 -2
- package/dist/{chunk-HKO5WZKH.js → chunk-K55TAC7W.js} +16 -3
- package/dist/{chunk-4YARLZEY.js → chunk-L475FFIT.js} +2 -2
- package/dist/{chunk-7YNFLTKQ.js → chunk-OVL3JXVL.js} +2 -2
- package/dist/{chunk-QMVVUXOP.js → chunk-SDDAUZRD.js} +1 -1
- package/dist/{create-2MUVULSY.js → create-SCYNRY2Z.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{llmMarkdownGenerator-6IGWXDSB.js → llmMarkdownGenerator-GWVKYP3X.js} +1 -1
- package/dist/{markdownGenerator-EOIVPKJV.js → markdownGenerator-ELF55F4Q.js} +1 -1
- package/dist/{mementoService-H6YUBXNQ.js → mementoService-NFLIF7P6.js} +3 -3
- package/dist/{src-TPEKK25V.js → src-25WTUFGS.js} +2 -2
- package/dist/{src-MH4YDJIU.js → src-3V45RHE4.js} +1 -1
- package/dist/{subtractCredits-DGEXI4BD.js → subtractCredits-B2EXEB5J.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-K55TAC7W.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-SDDAUZRD.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K55TAC7W.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -5021,8 +5021,19 @@ var ConfluenceApi = class {
|
|
|
5021
5021
|
representation: "storage"
|
|
5022
5022
|
}
|
|
5023
5023
|
};
|
|
5024
|
-
|
|
5025
|
-
|
|
5024
|
+
try {
|
|
5025
|
+
const result = await this.post("/footer-comments", payload);
|
|
5026
|
+
return formatCommentResponse(result, this.config.siteUrl);
|
|
5027
|
+
} catch (error) {
|
|
5028
|
+
if (error.message?.includes("403") || error.message?.includes("Permission")) {
|
|
5029
|
+
throw new Error(`Permission Denied: The app cannot create comments. This usually means the OAuth scope 'write:confluence-content' is missing or the user does not have permission to comment on this page. Please ask the admin to update the app scopes or grant comment permissions.`);
|
|
5030
|
+
}
|
|
5031
|
+
if (error.message?.includes("404") || error.message?.includes("410")) {
|
|
5032
|
+
console.warn("Confluence v2 footer-comments failed, trying v1 fallback...", error.message);
|
|
5033
|
+
} else {
|
|
5034
|
+
throw error;
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5026
5037
|
}
|
|
5027
5038
|
try {
|
|
5028
5039
|
const payload = {
|
|
@@ -5031,7 +5042,6 @@ var ConfluenceApi = class {
|
|
|
5031
5042
|
id: pageId,
|
|
5032
5043
|
type: "page"
|
|
5033
5044
|
},
|
|
5034
|
-
ancestors: [{ id: parentId }],
|
|
5035
5045
|
body: {
|
|
5036
5046
|
storage: {
|
|
5037
5047
|
value: content,
|
|
@@ -5039,6 +5049,9 @@ var ConfluenceApi = class {
|
|
|
5039
5049
|
}
|
|
5040
5050
|
}
|
|
5041
5051
|
};
|
|
5052
|
+
if (parentId) {
|
|
5053
|
+
payload.ancestors = [{ id: parentId }];
|
|
5054
|
+
}
|
|
5042
5055
|
const result = await this.postV1("/content", payload);
|
|
5043
5056
|
return formatCommentResponse(result, this.config.siteUrl);
|
|
5044
5057
|
} catch (error) {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SDDAUZRD.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K55TAC7W.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BadRequestError,
|
|
4
4
|
secureParameters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SDDAUZRD.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-K55TAC7W.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.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-L475FFIT.js";
|
|
6
|
+
import "./chunk-SDDAUZRD.js";
|
|
7
|
+
import "./chunk-K55TAC7W.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
createFabFile,
|
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-J6UUPVZO.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfigStore
|
|
10
10
|
} from "./chunk-FFJX3FF3.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OVL3JXVL.js";
|
|
12
|
+
import "./chunk-L475FFIT.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-SDDAUZRD.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-K55TAC7W.js";
|
|
79
79
|
import {
|
|
80
80
|
Logger
|
|
81
81
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -11563,7 +11563,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
11563
11563
|
// package.json
|
|
11564
11564
|
var package_default = {
|
|
11565
11565
|
name: "@bike4mind/cli",
|
|
11566
|
-
version: "0.2.19-add-confluence-comments.
|
|
11566
|
+
version: "0.2.19-add-confluence-comments.17815+cd35e429d",
|
|
11567
11567
|
type: "module",
|
|
11568
11568
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
11569
11569
|
license: "UNLICENSED",
|
|
@@ -11670,10 +11670,10 @@ var package_default = {
|
|
|
11670
11670
|
},
|
|
11671
11671
|
devDependencies: {
|
|
11672
11672
|
"@bike4mind/agents": "0.1.0",
|
|
11673
|
-
"@bike4mind/common": "2.43.1-add-confluence-comments.
|
|
11674
|
-
"@bike4mind/mcp": "1.23.1-add-confluence-comments.
|
|
11675
|
-
"@bike4mind/services": "2.41.2-add-confluence-comments.
|
|
11676
|
-
"@bike4mind/utils": "2.2.1-add-confluence-comments.
|
|
11673
|
+
"@bike4mind/common": "2.43.1-add-confluence-comments.17815+cd35e429d",
|
|
11674
|
+
"@bike4mind/mcp": "1.23.1-add-confluence-comments.17815+cd35e429d",
|
|
11675
|
+
"@bike4mind/services": "2.41.2-add-confluence-comments.17815+cd35e429d",
|
|
11676
|
+
"@bike4mind/utils": "2.2.1-add-confluence-comments.17815+cd35e429d",
|
|
11677
11677
|
"@types/better-sqlite3": "^7.6.13",
|
|
11678
11678
|
"@types/diff": "^5.0.9",
|
|
11679
11679
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -11690,7 +11690,7 @@ var package_default = {
|
|
|
11690
11690
|
optionalDependencies: {
|
|
11691
11691
|
"@vscode/ripgrep": "^1.17.0"
|
|
11692
11692
|
},
|
|
11693
|
-
gitHead: "
|
|
11693
|
+
gitHead: "cd35e429d8285aa33b08ff776601202c74638eb5"
|
|
11694
11694
|
};
|
|
11695
11695
|
|
|
11696
11696
|
// 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-J6UUPVZO.js";
|
|
6
|
+
import "./chunk-SDDAUZRD.js";
|
|
7
|
+
import "./chunk-K55TAC7W.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -129,8 +129,8 @@ import {
|
|
|
129
129
|
validateMermaidSyntax,
|
|
130
130
|
warmUpSettingsCache,
|
|
131
131
|
withRetry
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import "./chunk-
|
|
132
|
+
} from "./chunk-SDDAUZRD.js";
|
|
133
|
+
import "./chunk-K55TAC7W.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-OVL3JXVL.js";
|
|
6
|
+
import "./chunk-SDDAUZRD.js";
|
|
7
|
+
import "./chunk-K55TAC7W.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.19-add-confluence-comments.
|
|
3
|
+
"version": "0.2.19-add-confluence-comments.17815+cd35e429d",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@bike4mind/agents": "0.1.0",
|
|
110
|
-
"@bike4mind/common": "2.43.1-add-confluence-comments.
|
|
111
|
-
"@bike4mind/mcp": "1.23.1-add-confluence-comments.
|
|
112
|
-
"@bike4mind/services": "2.41.2-add-confluence-comments.
|
|
113
|
-
"@bike4mind/utils": "2.2.1-add-confluence-comments.
|
|
110
|
+
"@bike4mind/common": "2.43.1-add-confluence-comments.17815+cd35e429d",
|
|
111
|
+
"@bike4mind/mcp": "1.23.1-add-confluence-comments.17815+cd35e429d",
|
|
112
|
+
"@bike4mind/services": "2.41.2-add-confluence-comments.17815+cd35e429d",
|
|
113
|
+
"@bike4mind/utils": "2.2.1-add-confluence-comments.17815+cd35e429d",
|
|
114
114
|
"@types/better-sqlite3": "^7.6.13",
|
|
115
115
|
"@types/diff": "^5.0.9",
|
|
116
116
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"optionalDependencies": {
|
|
128
128
|
"@vscode/ripgrep": "^1.17.0"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "cd35e429d8285aa33b08ff776601202c74638eb5"
|
|
131
131
|
}
|