workfullcircle-mcp 1.0.6 → 1.0.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const { validateToken } = require('../src/auth');
|
|
4
4
|
const { getTargets, writeConfig } = require('../src/config-writer');
|
|
@@ -6,7 +6,7 @@ const { getTargets, writeConfig } = require('../src/config-writer');
|
|
|
6
6
|
const args = process.argv.slice(2);
|
|
7
7
|
|
|
8
8
|
function printUsage() {
|
|
9
|
-
console.
|
|
9
|
+
console.error('Usage: workfullcircle-mcp install --token uam_...');
|
|
10
10
|
process.exit(1);
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -41,7 +41,7 @@ function install(token, projectId) {
|
|
|
41
41
|
if (!target.path) return;
|
|
42
42
|
const result = writeConfig(target, token, projectId);
|
|
43
43
|
if (result.success) {
|
|
44
|
-
console.
|
|
44
|
+
console.error(`Updated ${target.name} config.`);
|
|
45
45
|
updated += 1;
|
|
46
46
|
} else {
|
|
47
47
|
console.warn(`Skipping ${target.name}: ${result.error}`);
|
|
@@ -49,9 +49,9 @@ function install(token, projectId) {
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
if (updated === 0) {
|
|
52
|
-
console.
|
|
52
|
+
console.error('No configs found. Please create a config file manually.');
|
|
53
53
|
} else {
|
|
54
|
-
console.
|
|
54
|
+
console.error('Setup complete. Restart your IDE to load WorkFullCircle.');
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|