@bike4mind/cli 0.2.61 → 0.2.62-fix-cli-verbose-logging.21749
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/bin/bike4mind-cli.mjs +5 -0
- package/dist/{chunk-UB2LL4RE.js → chunk-R72PQVQC.js} +7 -7
- package/dist/{chunk-6RJWHTIX.js → chunk-S2CFO6EG.js} +0 -1
- package/dist/commands/doctorCommand.js +1 -1
- package/dist/commands/headlessCommand.js +1 -1
- package/dist/commands/updateCommand.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +7 -7
package/bin/bike4mind-cli.mjs
CHANGED
|
@@ -121,6 +121,11 @@ const argv = await yargs(hideBin(process.argv))
|
|
|
121
121
|
.alias('version', 'V')
|
|
122
122
|
.parse();
|
|
123
123
|
|
|
124
|
+
// Suppress dotenv startup log unless verbose mode is enabled
|
|
125
|
+
if (!argv.verbose && !argv['debug-stream']) {
|
|
126
|
+
process.env.DOTENV_CONFIG_QUIET = 'true';
|
|
127
|
+
}
|
|
128
|
+
|
|
124
129
|
// Set environment variables from CLI flags
|
|
125
130
|
if (argv.verbose) {
|
|
126
131
|
process.env.B4M_VERBOSE = '1';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@bike4mind/cli",
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.62-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
7
7
|
type: "module",
|
|
8
8
|
description: "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
9
9
|
license: "UNLICENSED",
|
|
@@ -118,11 +118,11 @@ var package_default = {
|
|
|
118
118
|
zustand: "^4.5.4"
|
|
119
119
|
},
|
|
120
120
|
devDependencies: {
|
|
121
|
-
"@bike4mind/agents": "0.3.
|
|
122
|
-
"@bike4mind/common": "2.74.
|
|
123
|
-
"@bike4mind/mcp": "1.33.
|
|
124
|
-
"@bike4mind/services": "2.68.
|
|
125
|
-
"@bike4mind/utils": "2.16.
|
|
121
|
+
"@bike4mind/agents": "0.3.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
122
|
+
"@bike4mind/common": "2.74.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
123
|
+
"@bike4mind/mcp": "1.33.20-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
124
|
+
"@bike4mind/services": "2.68.2-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
125
|
+
"@bike4mind/utils": "2.16.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
126
126
|
"@types/better-sqlite3": "^7.6.13",
|
|
127
127
|
"@types/jsonwebtoken": "^9.0.4",
|
|
128
128
|
"@types/node": "^22.9.0",
|
|
@@ -139,7 +139,7 @@ var package_default = {
|
|
|
139
139
|
optionalDependencies: {
|
|
140
140
|
"@vscode/ripgrep": "^1.17.1"
|
|
141
141
|
},
|
|
142
|
-
gitHead: "
|
|
142
|
+
gitHead: "e226f0e6b61aed8ffe37cc06d7c542e458783d11"
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
// src/utils/updateChecker.ts
|
|
@@ -15669,7 +15669,6 @@ var MCPClient = class {
|
|
|
15669
15669
|
};
|
|
15670
15670
|
});
|
|
15671
15671
|
} catch (e) {
|
|
15672
|
-
console.error("Failed to connect to MCP server: ", e);
|
|
15673
15672
|
if (this.transport) {
|
|
15674
15673
|
try {
|
|
15675
15674
|
await this.transport.close();
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
setWebSocketToolExecutor,
|
|
49
49
|
substituteArguments,
|
|
50
50
|
warmFileCache
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-S2CFO6EG.js";
|
|
52
52
|
import "./chunk-BDQBOLYG.js";
|
|
53
53
|
import "./chunk-RFVINAUP.js";
|
|
54
54
|
import "./chunk-GQGOWACU.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
import {
|
|
68
68
|
checkForUpdate,
|
|
69
69
|
package_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-R72PQVQC.js";
|
|
71
71
|
import {
|
|
72
72
|
selectActiveBackgroundAgents,
|
|
73
73
|
useCliStore
|
|
@@ -4112,9 +4112,9 @@ function CliApp() {
|
|
|
4112
4112
|
const authTokens = await state.configStore.getAuthTokens();
|
|
4113
4113
|
let isAuthenticated = false;
|
|
4114
4114
|
if (!authTokens) {
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4115
|
+
logger.debug("\u26A0\uFE0F Not authenticated.");
|
|
4116
|
+
logger.debug("\u{1F4A1} Run /login to authenticate with your B4M account.");
|
|
4117
|
+
logger.debug("\u{1F4D6} You can still browse help and documentation without authentication.");
|
|
4118
4118
|
} else {
|
|
4119
4119
|
const expiresAt = new Date(authTokens.expiresAt);
|
|
4120
4120
|
const isExpired = expiresAt <= /* @__PURE__ */ new Date();
|
|
@@ -4276,7 +4276,7 @@ function CliApp() {
|
|
|
4276
4276
|
throw new Error("No websocketUrl or wsCompletionUrl in server config");
|
|
4277
4277
|
}
|
|
4278
4278
|
} catch (wsError) {
|
|
4279
|
-
logger.
|
|
4279
|
+
logger.debug("\u26A0\uFE0F WebSocket unavailable, using SSE fallback");
|
|
4280
4280
|
logger.debug(`[WebSocket] Fallback reason: ${wsError instanceof Error ? wsError.message : String(wsError)}`);
|
|
4281
4281
|
if (wsError instanceof Error && wsError.stack) {
|
|
4282
4282
|
logger.debug(`[WebSocket] Stack: ${wsError.stack}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bike4mind/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.62-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive CLI tool for Bike4Mind with ReAct agents",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"zustand": "^4.5.4"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@bike4mind/agents": "0.3.
|
|
119
|
-
"@bike4mind/common": "2.74.
|
|
120
|
-
"@bike4mind/mcp": "1.33.
|
|
121
|
-
"@bike4mind/services": "2.68.
|
|
122
|
-
"@bike4mind/utils": "2.16.
|
|
118
|
+
"@bike4mind/agents": "0.3.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
119
|
+
"@bike4mind/common": "2.74.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
120
|
+
"@bike4mind/mcp": "1.33.20-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
121
|
+
"@bike4mind/services": "2.68.2-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
122
|
+
"@bike4mind/utils": "2.16.1-fix-cli-verbose-logging.21749+e226f0e6b",
|
|
123
123
|
"@types/better-sqlite3": "^7.6.13",
|
|
124
124
|
"@types/jsonwebtoken": "^9.0.4",
|
|
125
125
|
"@types/node": "^22.9.0",
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"optionalDependencies": {
|
|
137
137
|
"@vscode/ripgrep": "^1.17.1"
|
|
138
138
|
},
|
|
139
|
-
"gitHead": "
|
|
139
|
+
"gitHead": "e226f0e6b61aed8ffe37cc06d7c542e458783d11"
|
|
140
140
|
}
|