@bike4mind/cli 0.2.22-fix-cli-missing-cloudwatch-dependency.18294 → 0.2.23-cj-GH6251.18333
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-GANN5ZGT.js → artifactExtractor-I6YAAC4L.js} +1 -1
- package/dist/{chunk-QZAVSLFW.js → chunk-3N5QCIKD.js} +304 -0
- package/dist/{chunk-3UCVSEGP.js → chunk-INJ4HJDV.js} +2 -2
- package/dist/{chunk-XLWF5LEL.js → chunk-L5RQ6RRL.js} +2 -2
- package/dist/{chunk-N57SVIGZ.js → chunk-UXYBHVOC.js} +1 -1
- package/dist/{chunk-BGZVNMBX.js → chunk-ZWFAWR2J.js} +2 -2
- package/dist/{create-XVC5PGGL.js → create-TPT5IYDL.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{llmMarkdownGenerator-L5I7ENTP.js → llmMarkdownGenerator-WKFLM374.js} +1 -1
- package/dist/{markdownGenerator-XVAVZGQA.js → markdownGenerator-LMYTBAWD.js} +1 -1
- package/dist/{mementoService-4DIRQJZV.js → mementoService-YKOXR5OX.js} +3 -3
- package/dist/{src-3WK3ALZZ.js → src-J4F5JPS4.js} +2 -2
- package/dist/{src-J7E4QLQO.js → src-X3XBEHP5.js} +13 -1
- package/dist/{subtractCredits-SFT6GEO3.js → subtractCredits-MTJSYIMN.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-3N5QCIKD.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;
|
|
@@ -5544,6 +5544,87 @@ var ConfluenceApi = class {
|
|
|
5544
5544
|
}
|
|
5545
5545
|
};
|
|
5546
5546
|
|
|
5547
|
+
// ../../b4m-core/packages/common/dist/src/jira/agile/format.js
|
|
5548
|
+
function formatBoard(board, siteUrl) {
|
|
5549
|
+
if (!board || typeof board !== "object" || "error" in board || "errors" in board || !board.id) {
|
|
5550
|
+
console.warn("[formatBoard] Received invalid or error response:", JSON.stringify(board));
|
|
5551
|
+
throw new Error(`Invalid board data received: ${JSON.stringify(board)}`);
|
|
5552
|
+
}
|
|
5553
|
+
const baseUrl = siteUrl.replace(/\/(wiki|jira)\/?$/, "");
|
|
5554
|
+
const projectKey = board.location?.projectKey;
|
|
5555
|
+
const link = projectKey ? `${baseUrl}/jira/software/projects/${projectKey}/boards/${board.id}` : `${baseUrl}/jira/software/c/projects?selectedProjectType=software`;
|
|
5556
|
+
return {
|
|
5557
|
+
id: board.id,
|
|
5558
|
+
name: board.name,
|
|
5559
|
+
type: board.type,
|
|
5560
|
+
link,
|
|
5561
|
+
project: board.location ? {
|
|
5562
|
+
key: board.location.projectKey ?? "",
|
|
5563
|
+
name: board.location.projectName ?? ""
|
|
5564
|
+
} : void 0
|
|
5565
|
+
};
|
|
5566
|
+
}
|
|
5567
|
+
function formatBoardList(response, siteUrl) {
|
|
5568
|
+
if (!response || typeof response !== "object" || "error" in response || "errors" in response) {
|
|
5569
|
+
console.warn("[formatBoardList] Received invalid or error response:", JSON.stringify(response));
|
|
5570
|
+
throw new Error(`Invalid board list response received: ${JSON.stringify(response)}`);
|
|
5571
|
+
}
|
|
5572
|
+
const boards = Array.isArray(response.values) ? response.values.map((board) => formatBoard(board, siteUrl)) : [];
|
|
5573
|
+
return {
|
|
5574
|
+
total: response.total,
|
|
5575
|
+
startAt: response.startAt || 0,
|
|
5576
|
+
maxResults: response.maxResults || 0,
|
|
5577
|
+
isLast: response.isLast,
|
|
5578
|
+
boards
|
|
5579
|
+
};
|
|
5580
|
+
}
|
|
5581
|
+
function formatSprint(sprint, siteUrl, boardId) {
|
|
5582
|
+
if (!sprint || typeof sprint !== "object" || "error" in sprint || "errors" in sprint || !sprint.id) {
|
|
5583
|
+
console.warn("[formatSprint] Received invalid or error response:", JSON.stringify(sprint));
|
|
5584
|
+
throw new Error(`Invalid sprint data received: ${JSON.stringify(sprint)}`);
|
|
5585
|
+
}
|
|
5586
|
+
const baseUrl = siteUrl.replace(/\/(wiki|jira)\/?$/, "");
|
|
5587
|
+
const effectiveBoardId = boardId || sprint.originBoardId;
|
|
5588
|
+
const link = effectiveBoardId ? `${baseUrl}/jira/software/c/projects?selectedProjectType=software&rapidView=${effectiveBoardId}` : void 0;
|
|
5589
|
+
return {
|
|
5590
|
+
id: sprint.id,
|
|
5591
|
+
name: sprint.name,
|
|
5592
|
+
state: sprint.state,
|
|
5593
|
+
goal: sprint.goal || void 0,
|
|
5594
|
+
startDate: sprint.startDate || void 0,
|
|
5595
|
+
endDate: sprint.endDate || void 0,
|
|
5596
|
+
completeDate: sprint.completeDate || void 0,
|
|
5597
|
+
originBoardId: sprint.originBoardId,
|
|
5598
|
+
link
|
|
5599
|
+
};
|
|
5600
|
+
}
|
|
5601
|
+
function formatSprintList(response, siteUrl, boardId) {
|
|
5602
|
+
if (!response || typeof response !== "object" || "error" in response || "errors" in response) {
|
|
5603
|
+
console.warn("[formatSprintList] Received invalid or error response:", JSON.stringify(response));
|
|
5604
|
+
throw new Error(`Invalid sprint list response received: ${JSON.stringify(response)}`);
|
|
5605
|
+
}
|
|
5606
|
+
const sprints = Array.isArray(response.values) ? response.values.map((sprint) => formatSprint(sprint, siteUrl, boardId)) : [];
|
|
5607
|
+
return {
|
|
5608
|
+
startAt: response.startAt || 0,
|
|
5609
|
+
maxResults: response.maxResults || 0,
|
|
5610
|
+
isLast: response.isLast,
|
|
5611
|
+
sprints
|
|
5612
|
+
};
|
|
5613
|
+
}
|
|
5614
|
+
function formatSprintIssues(response, siteUrl) {
|
|
5615
|
+
if (!response || typeof response !== "object" || "error" in response || "errors" in response) {
|
|
5616
|
+
console.warn("[formatSprintIssues] Received invalid or error response:", JSON.stringify(response));
|
|
5617
|
+
throw new Error(`Invalid sprint issues response received: ${JSON.stringify(response)}`);
|
|
5618
|
+
}
|
|
5619
|
+
const issues = Array.isArray(response.issues) ? response.issues.map((issue) => formatIssueDetails(issue, siteUrl)) : [];
|
|
5620
|
+
return {
|
|
5621
|
+
total: response.total || 0,
|
|
5622
|
+
startAt: response.startAt || 0,
|
|
5623
|
+
maxResults: response.maxResults || 0,
|
|
5624
|
+
issues
|
|
5625
|
+
};
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5547
5628
|
// ../../b4m-core/packages/common/dist/src/jira/format.js
|
|
5548
5629
|
function stripHtmlAndNormalizeWhitespace2(html) {
|
|
5549
5630
|
if (!html)
|
|
@@ -5792,6 +5873,207 @@ function formatIssueLinks(links, siteUrl) {
|
|
|
5792
5873
|
});
|
|
5793
5874
|
}
|
|
5794
5875
|
|
|
5876
|
+
// ../../b4m-core/packages/common/dist/src/jira/agile/api.js
|
|
5877
|
+
function isValidBoardOrSprintId(id) {
|
|
5878
|
+
return Number.isInteger(id) && id > 0;
|
|
5879
|
+
}
|
|
5880
|
+
var AgileApi = class {
|
|
5881
|
+
config;
|
|
5882
|
+
constructor(config) {
|
|
5883
|
+
this.config = config;
|
|
5884
|
+
}
|
|
5885
|
+
/**
|
|
5886
|
+
* Build URL for Agile API (uses different base URL than standard Jira API)
|
|
5887
|
+
*/
|
|
5888
|
+
buildAgileUrl(path, query = {}) {
|
|
5889
|
+
const base = `${this.config.agileApiBaseUrl}${path}`;
|
|
5890
|
+
const url = new URL(base);
|
|
5891
|
+
Object.entries(query).forEach(([key, value]) => {
|
|
5892
|
+
if (value === void 0 || value === "")
|
|
5893
|
+
return;
|
|
5894
|
+
url.searchParams.append(key, String(value));
|
|
5895
|
+
});
|
|
5896
|
+
return url.toString();
|
|
5897
|
+
}
|
|
5898
|
+
/**
|
|
5899
|
+
* Make authenticated HTTP request to Agile API
|
|
5900
|
+
*/
|
|
5901
|
+
async requestAgile(method, path, options = {}) {
|
|
5902
|
+
const url = this.buildAgileUrl(path, options.query);
|
|
5903
|
+
const headers = {
|
|
5904
|
+
Authorization: this.config.authHeader,
|
|
5905
|
+
Accept: "application/json",
|
|
5906
|
+
"Content-Type": "application/json"
|
|
5907
|
+
};
|
|
5908
|
+
const response = await fetch(url, {
|
|
5909
|
+
method,
|
|
5910
|
+
headers,
|
|
5911
|
+
body: options.body ? JSON.stringify(options.body) : void 0
|
|
5912
|
+
});
|
|
5913
|
+
if (!response.ok) {
|
|
5914
|
+
const errorBody = await response.text();
|
|
5915
|
+
if (response.status === 403 && errorBody.includes("Jira Software")) {
|
|
5916
|
+
throw new Error(`Jira Software is not available: ${errorBody}. Sprint and board operations require a Jira Software license.`);
|
|
5917
|
+
}
|
|
5918
|
+
throw new Error(`Jira Agile API error (${response.status}): ${errorBody}`);
|
|
5919
|
+
}
|
|
5920
|
+
if (response.status === 204) {
|
|
5921
|
+
return void 0;
|
|
5922
|
+
}
|
|
5923
|
+
const data = await response.json();
|
|
5924
|
+
return data;
|
|
5925
|
+
}
|
|
5926
|
+
// ============================================================================
|
|
5927
|
+
// Board Operations
|
|
5928
|
+
// ============================================================================
|
|
5929
|
+
/**
|
|
5930
|
+
* List all boards visible to the user
|
|
5931
|
+
*/
|
|
5932
|
+
async listBoards(params) {
|
|
5933
|
+
const { startAt = 0, maxResults = 50, type, name, projectKeyOrId } = params || {};
|
|
5934
|
+
const result = await this.requestAgile("GET", "/board", {
|
|
5935
|
+
query: {
|
|
5936
|
+
startAt,
|
|
5937
|
+
maxResults,
|
|
5938
|
+
type,
|
|
5939
|
+
name,
|
|
5940
|
+
projectKeyOrId
|
|
5941
|
+
}
|
|
5942
|
+
});
|
|
5943
|
+
return formatBoardList(result, this.config.siteUrl);
|
|
5944
|
+
}
|
|
5945
|
+
/**
|
|
5946
|
+
* Get a single board by ID
|
|
5947
|
+
*/
|
|
5948
|
+
async getBoard(params) {
|
|
5949
|
+
const { boardId } = params;
|
|
5950
|
+
if (!isValidBoardOrSprintId(boardId)) {
|
|
5951
|
+
throw new Error(`Invalid boardId: ${boardId}. Must be a positive integer.`);
|
|
5952
|
+
}
|
|
5953
|
+
const board = await this.requestAgile("GET", `/board/${boardId}`);
|
|
5954
|
+
return formatBoard(board, this.config.siteUrl);
|
|
5955
|
+
}
|
|
5956
|
+
// ============================================================================
|
|
5957
|
+
// Sprint Operations
|
|
5958
|
+
// ============================================================================
|
|
5959
|
+
/**
|
|
5960
|
+
* List sprints for a board
|
|
5961
|
+
*/
|
|
5962
|
+
async listSprints(params) {
|
|
5963
|
+
const { boardId, startAt = 0, maxResults = 50, state } = params;
|
|
5964
|
+
if (!isValidBoardOrSprintId(boardId)) {
|
|
5965
|
+
throw new Error(`Invalid boardId: ${boardId}. Must be a positive integer.`);
|
|
5966
|
+
}
|
|
5967
|
+
const result = await this.requestAgile("GET", `/board/${boardId}/sprint`, {
|
|
5968
|
+
query: {
|
|
5969
|
+
startAt,
|
|
5970
|
+
maxResults,
|
|
5971
|
+
state
|
|
5972
|
+
}
|
|
5973
|
+
});
|
|
5974
|
+
return formatSprintList(result, this.config.siteUrl, boardId);
|
|
5975
|
+
}
|
|
5976
|
+
/**
|
|
5977
|
+
* Get a single sprint by ID
|
|
5978
|
+
*/
|
|
5979
|
+
async getSprint(params) {
|
|
5980
|
+
const { sprintId } = params;
|
|
5981
|
+
if (!isValidBoardOrSprintId(sprintId)) {
|
|
5982
|
+
throw new Error(`Invalid sprintId: ${sprintId}. Must be a positive integer.`);
|
|
5983
|
+
}
|
|
5984
|
+
const sprint = await this.requestAgile("GET", `/sprint/${sprintId}`);
|
|
5985
|
+
return formatSprint(sprint, this.config.siteUrl);
|
|
5986
|
+
}
|
|
5987
|
+
/**
|
|
5988
|
+
* Create a new sprint
|
|
5989
|
+
*/
|
|
5990
|
+
async createSprint(params) {
|
|
5991
|
+
const { name, originBoardId, goal, startDate, endDate } = params;
|
|
5992
|
+
if (!isValidBoardOrSprintId(originBoardId)) {
|
|
5993
|
+
throw new Error(`Invalid originBoardId: ${originBoardId}. Must be a positive integer.`);
|
|
5994
|
+
}
|
|
5995
|
+
const sprint = await this.requestAgile("POST", "/sprint", {
|
|
5996
|
+
body: {
|
|
5997
|
+
name,
|
|
5998
|
+
originBoardId,
|
|
5999
|
+
goal,
|
|
6000
|
+
startDate,
|
|
6001
|
+
endDate
|
|
6002
|
+
}
|
|
6003
|
+
});
|
|
6004
|
+
return formatSprint(sprint, this.config.siteUrl, originBoardId);
|
|
6005
|
+
}
|
|
6006
|
+
/**
|
|
6007
|
+
* Update an existing sprint (partial update via POST)
|
|
6008
|
+
* Can be used to: rename, set dates, set goal, start sprint, or close sprint
|
|
6009
|
+
*/
|
|
6010
|
+
async updateSprint(params) {
|
|
6011
|
+
const { sprintId, name, goal, startDate, endDate, state } = params;
|
|
6012
|
+
if (!isValidBoardOrSprintId(sprintId)) {
|
|
6013
|
+
throw new Error(`Invalid sprintId: ${sprintId}. Must be a positive integer.`);
|
|
6014
|
+
}
|
|
6015
|
+
const body = {};
|
|
6016
|
+
if (name !== void 0)
|
|
6017
|
+
body.name = name;
|
|
6018
|
+
if (goal !== void 0)
|
|
6019
|
+
body.goal = goal;
|
|
6020
|
+
if (startDate !== void 0)
|
|
6021
|
+
body.startDate = startDate;
|
|
6022
|
+
if (endDate !== void 0)
|
|
6023
|
+
body.endDate = endDate;
|
|
6024
|
+
if (state !== void 0)
|
|
6025
|
+
body.state = state;
|
|
6026
|
+
const sprint = await this.requestAgile("POST", `/sprint/${sprintId}`, {
|
|
6027
|
+
body
|
|
6028
|
+
});
|
|
6029
|
+
return formatSprint(sprint, this.config.siteUrl);
|
|
6030
|
+
}
|
|
6031
|
+
// ============================================================================
|
|
6032
|
+
// Sprint Issue Operations
|
|
6033
|
+
// ============================================================================
|
|
6034
|
+
/**
|
|
6035
|
+
* Get issues in a sprint
|
|
6036
|
+
*/
|
|
6037
|
+
async getSprintIssues(params) {
|
|
6038
|
+
const { sprintId, startAt = 0, maxResults = 50, jql, fields } = params;
|
|
6039
|
+
if (!isValidBoardOrSprintId(sprintId)) {
|
|
6040
|
+
throw new Error(`Invalid sprintId: ${sprintId}. Must be a positive integer.`);
|
|
6041
|
+
}
|
|
6042
|
+
const result = await this.requestAgile("GET", `/sprint/${sprintId}/issue`, {
|
|
6043
|
+
query: {
|
|
6044
|
+
startAt,
|
|
6045
|
+
maxResults,
|
|
6046
|
+
jql,
|
|
6047
|
+
fields: fields?.join(",")
|
|
6048
|
+
}
|
|
6049
|
+
});
|
|
6050
|
+
return formatSprintIssues(result, this.config.siteUrl);
|
|
6051
|
+
}
|
|
6052
|
+
/**
|
|
6053
|
+
* Move issues to a sprint (max 50 issues per request)
|
|
6054
|
+
* Issues can only be moved to open or active sprints
|
|
6055
|
+
*/
|
|
6056
|
+
async moveIssuesToSprint(params) {
|
|
6057
|
+
const { sprintId, issues } = params;
|
|
6058
|
+
if (!isValidBoardOrSprintId(sprintId)) {
|
|
6059
|
+
throw new Error(`Invalid sprintId: ${sprintId}. Must be a positive integer.`);
|
|
6060
|
+
}
|
|
6061
|
+
if (issues.length === 0) {
|
|
6062
|
+
return;
|
|
6063
|
+
}
|
|
6064
|
+
const invalidKeys = issues.filter((key) => !isValidIssueKey(key));
|
|
6065
|
+
if (invalidKeys.length > 0) {
|
|
6066
|
+
throw new Error(`Invalid issue key format: ${invalidKeys.join(", ")}`);
|
|
6067
|
+
}
|
|
6068
|
+
if (issues.length > 50) {
|
|
6069
|
+
throw new Error("Maximum 50 issues can be moved to a sprint in one operation. Please split your request.");
|
|
6070
|
+
}
|
|
6071
|
+
await this.requestAgile("POST", `/sprint/${sprintId}/issue`, {
|
|
6072
|
+
body: { issues }
|
|
6073
|
+
});
|
|
6074
|
+
}
|
|
6075
|
+
};
|
|
6076
|
+
|
|
5795
6077
|
// ../../b4m-core/packages/common/dist/src/jira/api.js
|
|
5796
6078
|
function isValidIssueKey(key) {
|
|
5797
6079
|
return /^[A-Z][A-Z0-9]*-\d+$/.test(key);
|
|
@@ -6403,6 +6685,20 @@ var JiraApi = class {
|
|
|
6403
6685
|
}
|
|
6404
6686
|
return null;
|
|
6405
6687
|
}
|
|
6688
|
+
// ============================================================================
|
|
6689
|
+
// Agile API Access (Jira Software - Boards, Sprints)
|
|
6690
|
+
// ============================================================================
|
|
6691
|
+
_agileApi = null;
|
|
6692
|
+
/**
|
|
6693
|
+
* Get the Agile API client for board and sprint operations.
|
|
6694
|
+
* Lazily instantiated on first access.
|
|
6695
|
+
*/
|
|
6696
|
+
get agile() {
|
|
6697
|
+
if (!this._agileApi) {
|
|
6698
|
+
this._agileApi = new AgileApi(this.config);
|
|
6699
|
+
}
|
|
6700
|
+
return this._agileApi;
|
|
6701
|
+
}
|
|
6406
6702
|
};
|
|
6407
6703
|
|
|
6408
6704
|
// ../../b4m-core/packages/common/dist/src/atlassian/config.js
|
|
@@ -6444,6 +6740,7 @@ function getAtlassianConfig() {
|
|
|
6444
6740
|
const confluenceApiBaseUrlV2 = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/api/v2`;
|
|
6445
6741
|
const jiraWebBaseUrl = normalizedSiteUrl.endsWith("/wiki") ? normalizedSiteUrl.replace(/\/wiki$/, "/jira") : `${normalizedSiteUrl}/jira`;
|
|
6446
6742
|
const jiraApiBaseUrl = `https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3`;
|
|
6743
|
+
const jiraAgileApiBaseUrl = `https://api.atlassian.com/ex/jira/${cloudId}/rest/agile/1.0`;
|
|
6447
6744
|
const authHeader = `Bearer ${accessToken}`;
|
|
6448
6745
|
return {
|
|
6449
6746
|
jira: {
|
|
@@ -6452,6 +6749,7 @@ function getAtlassianConfig() {
|
|
|
6452
6749
|
siteUrl: jiraWebBaseUrl,
|
|
6453
6750
|
webBaseUrl: jiraWebBaseUrl,
|
|
6454
6751
|
apiBaseUrl: jiraApiBaseUrl,
|
|
6752
|
+
agileApiBaseUrl: jiraAgileApiBaseUrl,
|
|
6455
6753
|
authHeader
|
|
6456
6754
|
},
|
|
6457
6755
|
confluence: {
|
|
@@ -7218,6 +7516,11 @@ export {
|
|
|
7218
7516
|
RESTRICTION_OPERATIONS,
|
|
7219
7517
|
RESTRICTION_SUBJECT_TYPES,
|
|
7220
7518
|
ConfluenceApi,
|
|
7519
|
+
formatBoard,
|
|
7520
|
+
formatBoardList,
|
|
7521
|
+
formatSprint,
|
|
7522
|
+
formatSprintList,
|
|
7523
|
+
formatSprintIssues,
|
|
7221
7524
|
formatIssueResponse,
|
|
7222
7525
|
formatProjectResponse,
|
|
7223
7526
|
formatIssueDetails,
|
|
@@ -7231,6 +7534,7 @@ export {
|
|
|
7231
7534
|
formatWatchers,
|
|
7232
7535
|
formatIssueLinkTypes,
|
|
7233
7536
|
formatIssueLinks,
|
|
7537
|
+
AgileApi,
|
|
7234
7538
|
isValidIssueKey,
|
|
7235
7539
|
wikiMarkupToAdf,
|
|
7236
7540
|
containsWikiTable,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getSettingsMap,
|
|
8
8
|
getSettingsValue,
|
|
9
9
|
secureParameters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UXYBHVOC.js";
|
|
11
11
|
import {
|
|
12
12
|
KnowledgeType,
|
|
13
13
|
SupportedFabFileMimeTypes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3N5QCIKD.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-UXYBHVOC.js";
|
|
6
6
|
import {
|
|
7
7
|
CompletionApiUsageTransaction,
|
|
8
8
|
GenericCreditDeductTransaction,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TextGenerationUsageTransaction,
|
|
13
13
|
TransferCreditTransaction,
|
|
14
14
|
VideoGenerationUsageTransaction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3N5QCIKD.js";
|
|
16
16
|
|
|
17
17
|
// ../../b4m-core/packages/services/dist/src/creditService/subtractCredits.js
|
|
18
18
|
import { z } from "zod";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getSettingsByNames,
|
|
7
7
|
obfuscateApiKey,
|
|
8
8
|
secureParameters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UXYBHVOC.js";
|
|
10
10
|
import {
|
|
11
11
|
ApiKeyType,
|
|
12
12
|
MementoTier,
|
|
13
13
|
isSupportedEmbeddingModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3N5QCIKD.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-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-INJ4HJDV.js";
|
|
6
|
+
import "./chunk-UXYBHVOC.js";
|
|
7
|
+
import "./chunk-3N5QCIKD.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-ZWFAWR2J.js";
|
|
8
8
|
import {
|
|
9
9
|
ConfigStore
|
|
10
10
|
} from "./chunk-CC3VKAAL.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-L5RQ6RRL.js";
|
|
12
|
+
import "./chunk-INJ4HJDV.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-UXYBHVOC.js";
|
|
25
25
|
import {
|
|
26
26
|
AiEvents,
|
|
27
27
|
ApiKeyEvents,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
XAI_IMAGE_MODELS,
|
|
78
78
|
b4mLLMTools,
|
|
79
79
|
getMcpProviderMetadata
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-3N5QCIKD.js";
|
|
81
81
|
import {
|
|
82
82
|
Logger
|
|
83
83
|
} from "./chunk-OCYRD7D6.js";
|
|
@@ -12443,7 +12443,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
12443
12443
|
// package.json
|
|
12444
12444
|
var package_default = {
|
|
12445
12445
|
name: "@bike4mind/cli",
|
|
12446
|
-
version: "0.2.
|
|
12446
|
+
version: "0.2.23-cj-GH6251.18333+aea786b0d",
|
|
12447
12447
|
type: "module",
|
|
12448
12448
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
12449
12449
|
license: "UNLICENSED",
|
|
@@ -12551,10 +12551,10 @@ var package_default = {
|
|
|
12551
12551
|
},
|
|
12552
12552
|
devDependencies: {
|
|
12553
12553
|
"@bike4mind/agents": "0.1.0",
|
|
12554
|
-
"@bike4mind/common": "2.46.1-
|
|
12555
|
-
"@bike4mind/mcp": "1.26.1-
|
|
12556
|
-
"@bike4mind/services": "2.44.1-
|
|
12557
|
-
"@bike4mind/utils": "2.3.2-
|
|
12554
|
+
"@bike4mind/common": "2.46.1-cj-GH6251.18333+aea786b0d",
|
|
12555
|
+
"@bike4mind/mcp": "1.26.1-cj-GH6251.18333+aea786b0d",
|
|
12556
|
+
"@bike4mind/services": "2.44.1-cj-GH6251.18333+aea786b0d",
|
|
12557
|
+
"@bike4mind/utils": "2.3.2-cj-GH6251.18333+aea786b0d",
|
|
12558
12558
|
"@types/better-sqlite3": "^7.6.13",
|
|
12559
12559
|
"@types/diff": "^5.0.9",
|
|
12560
12560
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -12571,7 +12571,7 @@ var package_default = {
|
|
|
12571
12571
|
optionalDependencies: {
|
|
12572
12572
|
"@vscode/ripgrep": "^1.17.0"
|
|
12573
12573
|
},
|
|
12574
|
-
gitHead: "
|
|
12574
|
+
gitHead: "aea786b0de13da43527894c003989e3eff4331ca"
|
|
12575
12575
|
};
|
|
12576
12576
|
|
|
12577
12577
|
// 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-ZWFAWR2J.js";
|
|
6
|
+
import "./chunk-UXYBHVOC.js";
|
|
7
|
+
import "./chunk-3N5QCIKD.js";
|
|
8
8
|
import "./chunk-OCYRD7D6.js";
|
|
9
9
|
export {
|
|
10
10
|
findMostSimilarMemento,
|
|
@@ -132,8 +132,8 @@ import {
|
|
|
132
132
|
validateMermaidSyntax,
|
|
133
133
|
warmUpSettingsCache,
|
|
134
134
|
withRetry
|
|
135
|
-
} from "./chunk-
|
|
136
|
-
import "./chunk-
|
|
135
|
+
} from "./chunk-UXYBHVOC.js";
|
|
136
|
+
import "./chunk-3N5QCIKD.js";
|
|
137
137
|
import {
|
|
138
138
|
Logger,
|
|
139
139
|
NotificationDeduplicator,
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ALL_IMAGE_SIZES,
|
|
5
5
|
API_SERVICE_GROUPS,
|
|
6
6
|
APP_NAME,
|
|
7
|
+
AgileApi,
|
|
7
8
|
AiEvents,
|
|
8
9
|
ApiKeyEvents,
|
|
9
10
|
ApiKeyScope,
|
|
@@ -256,6 +257,8 @@ import {
|
|
|
256
257
|
determineMimeType,
|
|
257
258
|
extractSnippetMeta,
|
|
258
259
|
formatActivityMessage,
|
|
260
|
+
formatBoard,
|
|
261
|
+
formatBoardList,
|
|
259
262
|
formatComment,
|
|
260
263
|
formatIssueDetails,
|
|
261
264
|
formatIssueLinkTypes,
|
|
@@ -265,6 +268,9 @@ import {
|
|
|
265
268
|
formatProjectResponse,
|
|
266
269
|
formatSSEError,
|
|
267
270
|
formatSearchResults,
|
|
271
|
+
formatSprint,
|
|
272
|
+
formatSprintIssues,
|
|
273
|
+
formatSprintList,
|
|
268
274
|
formatTransitionResult,
|
|
269
275
|
formatTransitions,
|
|
270
276
|
formatUser,
|
|
@@ -322,12 +328,13 @@ import {
|
|
|
322
328
|
validateReactArtifactV2,
|
|
323
329
|
validateSvgArtifactV2,
|
|
324
330
|
wikiMarkupToAdf
|
|
325
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-3N5QCIKD.js";
|
|
326
332
|
export {
|
|
327
333
|
ALL_IMAGE_MODELS,
|
|
328
334
|
ALL_IMAGE_SIZES,
|
|
329
335
|
API_SERVICE_GROUPS,
|
|
330
336
|
APP_NAME,
|
|
337
|
+
AgileApi,
|
|
331
338
|
AiEvents,
|
|
332
339
|
ApiKeyEvents,
|
|
333
340
|
ApiKeyScope,
|
|
@@ -580,6 +587,8 @@ export {
|
|
|
580
587
|
determineMimeType,
|
|
581
588
|
extractSnippetMeta,
|
|
582
589
|
formatActivityMessage,
|
|
590
|
+
formatBoard,
|
|
591
|
+
formatBoardList,
|
|
583
592
|
formatComment,
|
|
584
593
|
formatIssueDetails,
|
|
585
594
|
formatIssueLinkTypes,
|
|
@@ -589,6 +598,9 @@ export {
|
|
|
589
598
|
formatProjectResponse,
|
|
590
599
|
formatSSEError,
|
|
591
600
|
formatSearchResults,
|
|
601
|
+
formatSprint,
|
|
602
|
+
formatSprintIssues,
|
|
603
|
+
formatSprintList,
|
|
592
604
|
formatTransitionResult,
|
|
593
605
|
formatTransitions,
|
|
594
606
|
formatUser,
|
|
@@ -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-L5RQ6RRL.js";
|
|
6
|
+
import "./chunk-UXYBHVOC.js";
|
|
7
|
+
import "./chunk-3N5QCIKD.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.
|
|
3
|
+
"version": "0.2.23-cj-GH6251.18333+aea786b0d",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@bike4mind/agents": "0.1.0",
|
|
111
|
-
"@bike4mind/common": "2.46.1-
|
|
112
|
-
"@bike4mind/mcp": "1.26.1-
|
|
113
|
-
"@bike4mind/services": "2.44.1-
|
|
114
|
-
"@bike4mind/utils": "2.3.2-
|
|
111
|
+
"@bike4mind/common": "2.46.1-cj-GH6251.18333+aea786b0d",
|
|
112
|
+
"@bike4mind/mcp": "1.26.1-cj-GH6251.18333+aea786b0d",
|
|
113
|
+
"@bike4mind/services": "2.44.1-cj-GH6251.18333+aea786b0d",
|
|
114
|
+
"@bike4mind/utils": "2.3.2-cj-GH6251.18333+aea786b0d",
|
|
115
115
|
"@types/better-sqlite3": "^7.6.13",
|
|
116
116
|
"@types/diff": "^5.0.9",
|
|
117
117
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"optionalDependencies": {
|
|
129
129
|
"@vscode/ripgrep": "^1.17.0"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "aea786b0de13da43527894c003989e3eff4331ca"
|
|
132
132
|
}
|