@bike4mind/cli 0.2.7-ja-fix-confluence-table-data-5752.17142 → 0.2.8-bash-mode.17162
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/README.md +1 -0
- package/dist/{artifactExtractor-6IAPZV52.js → artifactExtractor-LF5DAVZL.js} +1 -1
- package/dist/{chunk-GPTQ7T7Y.js → chunk-6S7HV2GF.js} +2 -2
- package/dist/{chunk-6ATNPERY.js → chunk-F2K7OCDJ.js} +2 -2
- package/dist/{chunk-F2LBB4TN.js → chunk-HD4QQGS6.js} +33 -116
- package/dist/{chunk-OK3T7VKG.js → chunk-RJYG7BUV.js} +2 -2
- package/dist/{chunk-KPBWTYME.js → chunk-SE2T5GED.js} +1 -1
- package/dist/{create-OF43XXQD.js → create-S7N2FBWR.js} +3 -3
- package/dist/index.js +1359 -520
- package/dist/{llmMarkdownGenerator-FDUGMOSN.js → llmMarkdownGenerator-VY7FSNOI.js} +1 -1
- package/dist/{markdownGenerator-LX7EKZVE.js → markdownGenerator-KES2TDKF.js} +1 -1
- package/dist/{mementoService-IVQOF6B3.js → mementoService-S4OOMZIT.js} +3 -3
- package/dist/{src-5AUILBQJ.js → src-7PSZ4VA4.js} +2 -2
- package/dist/{src-AGEG6AP6.js → src-VFRCY2I4.js} +3 -7
- package/dist/{subtractCredits-647ODWTM.js → subtractCredits-DD7PBL22.js} +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -160,6 +160,7 @@ export SERPER_API_KEY="your-key-here"
|
|
|
160
160
|
- ✅ `math_evaluate` - No API key needed
|
|
161
161
|
- ✅ `current_datetime` - No API key needed
|
|
162
162
|
- ✅ `prompt_enhancement` - No API key needed
|
|
163
|
+
- ✅ `bash_execute` - No API key needed
|
|
163
164
|
- 🔑 `weather_info` - Requires `toolApiKeys.openweather`
|
|
164
165
|
- 🔑 `web_search` - Requires `toolApiKeys.serper`
|
|
165
166
|
- 🔑 `deep_research` - Requires `toolApiKeys.serper`
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SE2T5GED.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HD4QQGS6.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/apiKeyService/get.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-SE2T5GED.js";
|
|
6
6
|
import {
|
|
7
7
|
GenericCreditDeductTransaction,
|
|
8
8
|
ImageEditUsageTransaction,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
RealtimeVoiceUsageTransaction,
|
|
11
11
|
TextGenerationUsageTransaction,
|
|
12
12
|
TransferCreditTransaction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HD4QQGS6.js";
|
|
14
14
|
|
|
15
15
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
16
16
|
import { z } from "zod";
|
|
@@ -230,7 +230,9 @@ var b4mLLMTools = z3.enum([
|
|
|
230
230
|
"create_file",
|
|
231
231
|
"glob_files",
|
|
232
232
|
"grep_search",
|
|
233
|
-
"delete_file"
|
|
233
|
+
"delete_file",
|
|
234
|
+
// Shell execution
|
|
235
|
+
"bash_execute"
|
|
234
236
|
]);
|
|
235
237
|
var B4MLLMToolsList = b4mLLMTools.options.map((tool) => tool);
|
|
236
238
|
var RechartsChartTypeSchema = z3.enum([
|
|
@@ -5041,74 +5043,6 @@ function formatUserList(users) {
|
|
|
5041
5043
|
}
|
|
5042
5044
|
|
|
5043
5045
|
// ../../b4m-core/packages/common/dist/src/jira/api.js
|
|
5044
|
-
function wikiMarkupToAdf(text) {
|
|
5045
|
-
const lines = text.split("\n");
|
|
5046
|
-
const content = [];
|
|
5047
|
-
let currentTableRows = [];
|
|
5048
|
-
let inTable = false;
|
|
5049
|
-
for (const line of lines) {
|
|
5050
|
-
const trimmedLine = line.trim();
|
|
5051
|
-
if (trimmedLine.startsWith("||") && trimmedLine.endsWith("||")) {
|
|
5052
|
-
inTable = true;
|
|
5053
|
-
const cells = trimmedLine.slice(2, -2).split("||").map((cell) => cell.trim());
|
|
5054
|
-
const headerRow = {
|
|
5055
|
-
type: "tableRow",
|
|
5056
|
-
content: cells.map((cell) => ({
|
|
5057
|
-
type: "tableHeader",
|
|
5058
|
-
attrs: {},
|
|
5059
|
-
content: [{ type: "paragraph", content: [{ type: "text", text: cell || " " }] }]
|
|
5060
|
-
}))
|
|
5061
|
-
};
|
|
5062
|
-
currentTableRows.push(headerRow);
|
|
5063
|
-
continue;
|
|
5064
|
-
}
|
|
5065
|
-
if (trimmedLine.startsWith("|") && trimmedLine.endsWith("|") && !trimmedLine.startsWith("||")) {
|
|
5066
|
-
inTable = true;
|
|
5067
|
-
const cells = trimmedLine.slice(1, -1).split("|").map((cell) => cell.trim());
|
|
5068
|
-
const dataRow = {
|
|
5069
|
-
type: "tableRow",
|
|
5070
|
-
content: cells.map((cell) => ({
|
|
5071
|
-
type: "tableCell",
|
|
5072
|
-
attrs: {},
|
|
5073
|
-
content: [{ type: "paragraph", content: [{ type: "text", text: cell || " " }] }]
|
|
5074
|
-
}))
|
|
5075
|
-
};
|
|
5076
|
-
currentTableRows.push(dataRow);
|
|
5077
|
-
continue;
|
|
5078
|
-
}
|
|
5079
|
-
if (inTable && currentTableRows.length > 0) {
|
|
5080
|
-
const table = {
|
|
5081
|
-
type: "table",
|
|
5082
|
-
attrs: { isNumberColumnEnabled: false, layout: "default" },
|
|
5083
|
-
content: currentTableRows
|
|
5084
|
-
};
|
|
5085
|
-
content.push(table);
|
|
5086
|
-
currentTableRows = [];
|
|
5087
|
-
inTable = false;
|
|
5088
|
-
}
|
|
5089
|
-
if (trimmedLine) {
|
|
5090
|
-
content.push({
|
|
5091
|
-
type: "paragraph",
|
|
5092
|
-
content: [{ type: "text", text: trimmedLine }]
|
|
5093
|
-
});
|
|
5094
|
-
}
|
|
5095
|
-
}
|
|
5096
|
-
if (currentTableRows.length > 0) {
|
|
5097
|
-
const table = {
|
|
5098
|
-
type: "table",
|
|
5099
|
-
attrs: { isNumberColumnEnabled: false, layout: "default" },
|
|
5100
|
-
content: currentTableRows
|
|
5101
|
-
};
|
|
5102
|
-
content.push(table);
|
|
5103
|
-
}
|
|
5104
|
-
if (content.length === 0) {
|
|
5105
|
-
content.push({ type: "paragraph", content: [{ type: "text", text: " " }] });
|
|
5106
|
-
}
|
|
5107
|
-
return { type: "doc", version: 1, content };
|
|
5108
|
-
}
|
|
5109
|
-
function containsWikiTable(text) {
|
|
5110
|
-
return /^\|\|.+\|\|$/m.test(text) || /^\|(?!\|).+\|$/m.test(text);
|
|
5111
|
-
}
|
|
5112
5046
|
var JiraApi = class {
|
|
5113
5047
|
config;
|
|
5114
5048
|
constructor(config) {
|
|
@@ -5188,21 +5122,16 @@ var JiraApi = class {
|
|
|
5188
5122
|
...customFields
|
|
5189
5123
|
};
|
|
5190
5124
|
if (description) {
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
content: [{ type: "text", text: description }]
|
|
5202
|
-
}
|
|
5203
|
-
]
|
|
5204
|
-
};
|
|
5205
|
-
}
|
|
5125
|
+
fields.description = {
|
|
5126
|
+
type: "doc",
|
|
5127
|
+
version: 1,
|
|
5128
|
+
content: [
|
|
5129
|
+
{
|
|
5130
|
+
type: "paragraph",
|
|
5131
|
+
content: [{ type: "text", text: description }]
|
|
5132
|
+
}
|
|
5133
|
+
]
|
|
5134
|
+
};
|
|
5206
5135
|
}
|
|
5207
5136
|
if (assignee) {
|
|
5208
5137
|
fields.assignee = { id: assignee };
|
|
@@ -5228,21 +5157,16 @@ var JiraApi = class {
|
|
|
5228
5157
|
fields.summary = summary;
|
|
5229
5158
|
}
|
|
5230
5159
|
if (description) {
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
content: [{ type: "text", text: description }]
|
|
5242
|
-
}
|
|
5243
|
-
]
|
|
5244
|
-
};
|
|
5245
|
-
}
|
|
5160
|
+
fields.description = {
|
|
5161
|
+
type: "doc",
|
|
5162
|
+
version: 1,
|
|
5163
|
+
content: [
|
|
5164
|
+
{
|
|
5165
|
+
type: "paragraph",
|
|
5166
|
+
content: [{ type: "text", text: description }]
|
|
5167
|
+
}
|
|
5168
|
+
]
|
|
5169
|
+
};
|
|
5246
5170
|
}
|
|
5247
5171
|
if (labels) {
|
|
5248
5172
|
fields.labels = labels;
|
|
@@ -5402,21 +5326,16 @@ var JiraApi = class {
|
|
|
5402
5326
|
issuetype: { name: issueTypeName }
|
|
5403
5327
|
};
|
|
5404
5328
|
if (description) {
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
content: [{ type: "text", text: description }]
|
|
5416
|
-
}
|
|
5417
|
-
]
|
|
5418
|
-
};
|
|
5419
|
-
}
|
|
5329
|
+
fields.description = {
|
|
5330
|
+
type: "doc",
|
|
5331
|
+
version: 1,
|
|
5332
|
+
content: [
|
|
5333
|
+
{
|
|
5334
|
+
type: "paragraph",
|
|
5335
|
+
content: [{ type: "text", text: description }]
|
|
5336
|
+
}
|
|
5337
|
+
]
|
|
5338
|
+
};
|
|
5420
5339
|
}
|
|
5421
5340
|
if (assignee) {
|
|
5422
5341
|
fields.assignee = { id: assignee };
|
|
@@ -6232,8 +6151,6 @@ export {
|
|
|
6232
6151
|
formatUser,
|
|
6233
6152
|
formatTransitionResult,
|
|
6234
6153
|
formatUserList,
|
|
6235
|
-
wikiMarkupToAdf,
|
|
6236
|
-
containsWikiTable,
|
|
6237
6154
|
JiraApi,
|
|
6238
6155
|
getErrorMessage,
|
|
6239
6156
|
getAtlassianConfig,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SE2T5GED.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HD4QQGS6.js";
|
|
15
15
|
|
|
16
16
|
// ../../b4m-core/packages/services/dist/src/fabFileService/create.js
|
|
17
17
|
import { z } from "zod";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
dayjsConfig_default,
|
|
17
17
|
extractSnippetMeta,
|
|
18
18
|
settingsMap
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HD4QQGS6.js";
|
|
20
20
|
|
|
21
21
|
// ../../b4m-core/packages/utils/dist/src/storage/S3Storage.js
|
|
22
22
|
import { S3Client, PutObjectCommand, DeleteObjectCommand, GetObjectCommand, HeadObjectCommand } from "@aws-sdk/client-s3";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFabFile,
|
|
4
4
|
createFabFileSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RJYG7BUV.js";
|
|
6
|
+
import "./chunk-SE2T5GED.js";
|
|
7
7
|
import "./chunk-AMDXHL6S.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-HD4QQGS6.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
|
10
10
|
export {
|
|
11
11
|
createFabFile,
|