terminator-mcp-agent 0.9.7 → 0.9.8
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/index.js +12 -1
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -101,6 +101,14 @@ if (argv.includes("--add-to-app")) {
|
|
|
101
101
|
}
|
|
102
102
|
} else {
|
|
103
103
|
// Default: run the agent and forward arguments
|
|
104
|
+
const packageInfo = require('./package.json');
|
|
105
|
+
|
|
106
|
+
// Display version banner
|
|
107
|
+
console.error(`🤖 Terminator MCP Agent v${packageInfo.version}`);
|
|
108
|
+
console.error(`📦 Platform: ${process.platform}-${process.arch}`);
|
|
109
|
+
console.error(`🚀 Starting MCP server...`);
|
|
110
|
+
console.error(''); // Empty line for readability
|
|
111
|
+
|
|
104
112
|
const { pkg, bin, npmDir } = getPlatformInfo();
|
|
105
113
|
let binary;
|
|
106
114
|
|
|
@@ -108,15 +116,18 @@ if (argv.includes("--add-to-app")) {
|
|
|
108
116
|
const localPath = path.join(__dirname, "npm", npmDir, bin);
|
|
109
117
|
if (fs.existsSync(localPath)) {
|
|
110
118
|
binary = localPath;
|
|
119
|
+
console.error(`🔧 Using local binary: ${path.relative(process.cwd(), binary)}`);
|
|
111
120
|
} else {
|
|
112
121
|
// 2. Try installed npm package
|
|
113
122
|
try {
|
|
114
123
|
binary = require.resolve(pkg);
|
|
124
|
+
console.error(`📦 Using npm package: ${pkg}`);
|
|
115
125
|
} catch (e) {
|
|
116
|
-
console.error(
|
|
126
|
+
console.error(`❌ Failed to find platform binary: ${pkg}`);
|
|
117
127
|
process.exit(1);
|
|
118
128
|
}
|
|
119
129
|
}
|
|
130
|
+
console.error(''); // Empty line before starting
|
|
120
131
|
|
|
121
132
|
// Filter out --start if it exists, as it's for the wrapper script
|
|
122
133
|
const agentArgs = argv.filter((arg) => arg !== "--start");
|
package/package.json
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"name": "terminator-mcp-agent",
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"terminator-mcp-darwin-arm64": "0.9.
|
|
16
|
-
"terminator-mcp-darwin-x64": "0.9.
|
|
17
|
-
"terminator-mcp-linux-x64-gnu": "0.9.
|
|
18
|
-
"terminator-mcp-win32-x64-msvc": "0.9.
|
|
15
|
+
"terminator-mcp-darwin-arm64": "0.9.8",
|
|
16
|
+
"terminator-mcp-darwin-x64": "0.9.8",
|
|
17
|
+
"terminator-mcp-linux-x64-gnu": "0.9.8",
|
|
18
|
+
"terminator-mcp-win32-x64-msvc": "0.9.8"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"sync-version": "node ./utils/sync-version.js",
|
|
28
28
|
"update-badges": "node ./utils/update-badges.js"
|
|
29
29
|
},
|
|
30
|
-
"version": "0.9.
|
|
30
|
+
"version": "0.9.8"
|
|
31
31
|
}
|