@bike4mind/cli 0.2.19-add-confluence-comments.17815 → 0.2.19-add-confluence-comments.17816

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-K55TAC7W.js";
4
+ } from "./chunk-COI6KWNH.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;
@@ -7,11 +7,11 @@ import {
7
7
  getSettingsMap,
8
8
  getSettingsValue,
9
9
  secureParameters
10
- } from "./chunk-SDDAUZRD.js";
10
+ } from "./chunk-D4HHYMVC.js";
11
11
  import {
12
12
  KnowledgeType,
13
13
  SupportedFabFileMimeTypes
14
- } from "./chunk-K55TAC7W.js";
14
+ } from "./chunk-COI6KWNH.js";
15
15
 
16
16
  // ../../b4m-core/packages/services/dist/src/fabFileService/create.js
17
17
  import { z } from "zod";
@@ -5025,14 +5025,10 @@ var ConfluenceApi = class {
5025
5025
  const result = await this.post("/footer-comments", payload);
5026
5026
  return formatCommentResponse(result, this.config.siteUrl);
5027
5027
  } catch (error) {
5028
+ console.warn(`Confluence v2 footer-comments failed: ${error.message}. Attempting v1 fallback.`);
5028
5029
  if (error.message?.includes("403") || error.message?.includes("Permission")) {
5029
5030
  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
  }
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
5032
  }
5037
5033
  }
5038
5034
  try {
@@ -13,7 +13,7 @@ import {
13
13
  dayjsConfig_default,
14
14
  extractSnippetMeta,
15
15
  settingsMap
16
- } from "./chunk-K55TAC7W.js";
16
+ } from "./chunk-COI6KWNH.js";
17
17
  import {
18
18
  Logger
19
19
  } from "./chunk-OCYRD7D6.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  BadRequestError,
4
4
  secureParameters
5
- } from "./chunk-SDDAUZRD.js";
5
+ } from "./chunk-D4HHYMVC.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-K55TAC7W.js";
14
+ } from "./chunk-COI6KWNH.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-SDDAUZRD.js";
9
+ } from "./chunk-D4HHYMVC.js";
10
10
  import {
11
11
  ApiKeyType,
12
12
  MementoTier,
13
13
  isSupportedEmbeddingModel
14
- } from "./chunk-K55TAC7W.js";
14
+ } from "./chunk-COI6KWNH.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-L475FFIT.js";
6
- import "./chunk-SDDAUZRD.js";
7
- import "./chunk-K55TAC7W.js";
5
+ } from "./chunk-4G3MVV4Z.js";
6
+ import "./chunk-D4HHYMVC.js";
7
+ import "./chunk-COI6KWNH.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-J6UUPVZO.js";
7
+ } from "./chunk-VXPKOKIP.js";
8
8
  import {
9
9
  ConfigStore
10
10
  } from "./chunk-FFJX3FF3.js";
11
- import "./chunk-OVL3JXVL.js";
12
- import "./chunk-L475FFIT.js";
11
+ import "./chunk-JA5GUWOA.js";
12
+ import "./chunk-4G3MVV4Z.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-SDDAUZRD.js";
24
+ } from "./chunk-D4HHYMVC.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-K55TAC7W.js";
78
+ } from "./chunk-COI6KWNH.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.17815+cd35e429d",
11566
+ version: "0.2.19-add-confluence-comments.17816+2adb71de8",
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.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",
11673
+ "@bike4mind/common": "2.43.1-add-confluence-comments.17816+2adb71de8",
11674
+ "@bike4mind/mcp": "1.23.1-add-confluence-comments.17816+2adb71de8",
11675
+ "@bike4mind/services": "2.41.2-add-confluence-comments.17816+2adb71de8",
11676
+ "@bike4mind/utils": "2.2.1-add-confluence-comments.17816+2adb71de8",
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: "cd35e429d8285aa33b08ff776601202c74638eb5"
11693
+ gitHead: "2adb71de899522b4cae4208523cc13b2a8667ab6"
11694
11694
  };
11695
11695
 
11696
11696
  // src/config/constants.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-K55TAC7W.js";
4
+ } from "./chunk-COI6KWNH.js";
5
5
 
6
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/llmMarkdownGenerator.js
7
7
  var DEFAULT_OPTIONS = {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CurationArtifactType
4
- } from "./chunk-K55TAC7W.js";
4
+ } from "./chunk-COI6KWNH.js";
5
5
 
6
6
  // ../../b4m-core/packages/services/dist/src/notebookCurationService/markdownGenerator.js
7
7
  var DEFAULT_OPTIONS = {
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  findMostSimilarMemento,
4
4
  getRelevantMementos
5
- } from "./chunk-J6UUPVZO.js";
6
- import "./chunk-SDDAUZRD.js";
7
- import "./chunk-K55TAC7W.js";
5
+ } from "./chunk-VXPKOKIP.js";
6
+ import "./chunk-D4HHYMVC.js";
7
+ import "./chunk-COI6KWNH.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-SDDAUZRD.js";
133
- import "./chunk-K55TAC7W.js";
132
+ } from "./chunk-D4HHYMVC.js";
133
+ import "./chunk-COI6KWNH.js";
134
134
  import {
135
135
  Logger,
136
136
  NotificationDeduplicator,
@@ -299,7 +299,7 @@ import {
299
299
  validateReactArtifactV2,
300
300
  validateSvgArtifactV2,
301
301
  wikiMarkupToAdf
302
- } from "./chunk-K55TAC7W.js";
302
+ } from "./chunk-COI6KWNH.js";
303
303
  export {
304
304
  ALL_IMAGE_MODELS,
305
305
  ALL_IMAGE_SIZES,
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  SubtractCreditsSchema,
4
4
  subtractCredits
5
- } from "./chunk-OVL3JXVL.js";
6
- import "./chunk-SDDAUZRD.js";
7
- import "./chunk-K55TAC7W.js";
5
+ } from "./chunk-JA5GUWOA.js";
6
+ import "./chunk-D4HHYMVC.js";
7
+ import "./chunk-COI6KWNH.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.17815+cd35e429d",
3
+ "version": "0.2.19-add-confluence-comments.17816+2adb71de8",
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.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",
110
+ "@bike4mind/common": "2.43.1-add-confluence-comments.17816+2adb71de8",
111
+ "@bike4mind/mcp": "1.23.1-add-confluence-comments.17816+2adb71de8",
112
+ "@bike4mind/services": "2.41.2-add-confluence-comments.17816+2adb71de8",
113
+ "@bike4mind/utils": "2.2.1-add-confluence-comments.17816+2adb71de8",
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": "cd35e429d8285aa33b08ff776601202c74638eb5"
130
+ "gitHead": "2adb71de899522b4cae4208523cc13b2a8667ab6"
131
131
  }