@bike4mind/cli 0.2.17-feat-auto-context-customization.17673 → 0.2.17-feat-auto-context-customization.17674
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/index.js +15 -13
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -8789,9 +8789,9 @@ var knowledgeBaseSearchTool = {
|
|
|
8789
8789
|
toolFn: async (value) => {
|
|
8790
8790
|
const params = value;
|
|
8791
8791
|
const { query, tags, file_type, max_results = 5 } = params;
|
|
8792
|
-
|
|
8792
|
+
context.logger.log("\u{1F4DA} Knowledge Base Search: Starting search for query:", query);
|
|
8793
8793
|
if (!context.db.fabfiles) {
|
|
8794
|
-
|
|
8794
|
+
context.logger.error("\u274C Knowledge Base Search: fabfiles repository not available");
|
|
8795
8795
|
return "Knowledge base search is not available at this time.";
|
|
8796
8796
|
}
|
|
8797
8797
|
try {
|
|
@@ -8799,7 +8799,7 @@ var knowledgeBaseSearchTool = {
|
|
|
8799
8799
|
tags: tags || [],
|
|
8800
8800
|
type: file_type,
|
|
8801
8801
|
shared: false
|
|
8802
|
-
//
|
|
8802
|
+
// Not filtering to ONLY shared files
|
|
8803
8803
|
}, {
|
|
8804
8804
|
page: 1,
|
|
8805
8805
|
limit: Math.min(max_results, 10)
|
|
@@ -8808,13 +8808,15 @@ var knowledgeBaseSearchTool = {
|
|
|
8808
8808
|
by: "fileName",
|
|
8809
8809
|
direction: "asc"
|
|
8810
8810
|
}, {
|
|
8811
|
-
includeShared: true
|
|
8812
|
-
// Include
|
|
8811
|
+
includeShared: true,
|
|
8812
|
+
// Include owned + explicitly shared + org-shared files
|
|
8813
|
+
userGroups: context.user.groups || []
|
|
8814
|
+
// Pass user's groups for org-level sharing
|
|
8813
8815
|
});
|
|
8814
|
-
|
|
8816
|
+
context.logger.log("\u{1F4DA} Knowledge Base Search: Found", searchResults.data.length, "results");
|
|
8815
8817
|
return formatSearchResults(searchResults.data);
|
|
8816
8818
|
} catch (error) {
|
|
8817
|
-
|
|
8819
|
+
context.logger.error("\u274C Knowledge Base Search: Error during search:", error);
|
|
8818
8820
|
return "An error occurred while searching your knowledge base. Please try again.";
|
|
8819
8821
|
}
|
|
8820
8822
|
},
|
|
@@ -11520,7 +11522,7 @@ import { isAxiosError as isAxiosError2 } from "axios";
|
|
|
11520
11522
|
// package.json
|
|
11521
11523
|
var package_default = {
|
|
11522
11524
|
name: "@bike4mind/cli",
|
|
11523
|
-
version: "0.2.17-feat-auto-context-customization.
|
|
11525
|
+
version: "0.2.17-feat-auto-context-customization.17674+de27108a8",
|
|
11524
11526
|
type: "module",
|
|
11525
11527
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
11526
11528
|
license: "UNLICENSED",
|
|
@@ -11627,10 +11629,10 @@ var package_default = {
|
|
|
11627
11629
|
},
|
|
11628
11630
|
devDependencies: {
|
|
11629
11631
|
"@bike4mind/agents": "0.1.0",
|
|
11630
|
-
"@bike4mind/common": "2.43.1-feat-auto-context-customization.
|
|
11631
|
-
"@bike4mind/mcp": "1.22.3-feat-auto-context-customization.
|
|
11632
|
-
"@bike4mind/services": "2.40.1-feat-auto-context-customization.
|
|
11633
|
-
"@bike4mind/utils": "2.2.1-feat-auto-context-customization.
|
|
11632
|
+
"@bike4mind/common": "2.43.1-feat-auto-context-customization.17674+de27108a8",
|
|
11633
|
+
"@bike4mind/mcp": "1.22.3-feat-auto-context-customization.17674+de27108a8",
|
|
11634
|
+
"@bike4mind/services": "2.40.1-feat-auto-context-customization.17674+de27108a8",
|
|
11635
|
+
"@bike4mind/utils": "2.2.1-feat-auto-context-customization.17674+de27108a8",
|
|
11634
11636
|
"@types/better-sqlite3": "^7.6.13",
|
|
11635
11637
|
"@types/diff": "^5.0.9",
|
|
11636
11638
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -11644,7 +11646,7 @@ var package_default = {
|
|
|
11644
11646
|
typescript: "^5.9.3",
|
|
11645
11647
|
vitest: "^3.2.4"
|
|
11646
11648
|
},
|
|
11647
|
-
gitHead: "
|
|
11649
|
+
gitHead: "de27108a84fd8f6310728664242ea7179915090d"
|
|
11648
11650
|
};
|
|
11649
11651
|
|
|
11650
11652
|
// src/config/constants.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.17-feat-auto-context-customization.
|
|
3
|
+
"version": "0.2.17-feat-auto-context-customization.17674+de27108a8",
|
|
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-feat-auto-context-customization.
|
|
111
|
-
"@bike4mind/mcp": "1.22.3-feat-auto-context-customization.
|
|
112
|
-
"@bike4mind/services": "2.40.1-feat-auto-context-customization.
|
|
113
|
-
"@bike4mind/utils": "2.2.1-feat-auto-context-customization.
|
|
110
|
+
"@bike4mind/common": "2.43.1-feat-auto-context-customization.17674+de27108a8",
|
|
111
|
+
"@bike4mind/mcp": "1.22.3-feat-auto-context-customization.17674+de27108a8",
|
|
112
|
+
"@bike4mind/services": "2.40.1-feat-auto-context-customization.17674+de27108a8",
|
|
113
|
+
"@bike4mind/utils": "2.2.1-feat-auto-context-customization.17674+de27108a8",
|
|
114
114
|
"@types/better-sqlite3": "^7.6.13",
|
|
115
115
|
"@types/diff": "^5.0.9",
|
|
116
116
|
"@types/jsonwebtoken": "^9.0.4",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"typescript": "^5.9.3",
|
|
125
125
|
"vitest": "^3.2.4"
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "de27108a84fd8f6310728664242ea7179915090d"
|
|
128
128
|
}
|