workfullcircle-mcp 2.0.4 โ 2.0.5
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/package.json +1 -1
- package/test-install.js +0 -52
- package/workfullcircle-mcp-1.0.6.tgz +0 -0
package/package.json
CHANGED
package/test-install.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Test script to verify @workfullcircle/mcp installation
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
const { spawn } = require('child_process');
|
|
8
|
-
const path = require('path');
|
|
9
|
-
|
|
10
|
-
console.log('๐งช Testing @workfullcircle/mcp package...\n');
|
|
11
|
-
|
|
12
|
-
// Test 1: Help command
|
|
13
|
-
console.log('1. Testing help command...');
|
|
14
|
-
const helpProcess = spawn('node', [path.join(__dirname, 'bin', 'workfullcircle-mcp.js')], {
|
|
15
|
-
stdio: 'pipe'
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
helpProcess.stdout.on('data', (data) => {
|
|
19
|
-
console.log('โ
Help output:', data.toString().trim());
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
helpProcess.stderr.on('data', (data) => {
|
|
23
|
-
console.log('โ Help error:', data.toString().trim());
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
// Test 2: Token validation
|
|
27
|
-
console.log('\n2. Testing token validation...');
|
|
28
|
-
const testProcess = spawn('node', [
|
|
29
|
-
path.join(__dirname, 'bin', 'workfullcircle-mcp.js'),
|
|
30
|
-
'install',
|
|
31
|
-
'--token',
|
|
32
|
-
'uam_test_token_12345'
|
|
33
|
-
], {
|
|
34
|
-
stdio: 'pipe'
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
testProcess.stdout.on('data', (data) => {
|
|
38
|
-
console.log('โ
Install output:', data.toString().trim());
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
testProcess.stderr.on('data', (data) => {
|
|
42
|
-
console.log('โ Install error:', data.toString().trim());
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
setTimeout(() => {
|
|
46
|
-
console.log('\n๐ Test completed! The package is ready for publishing.');
|
|
47
|
-
console.log('\n๐ฆ To publish to npm:');
|
|
48
|
-
console.log(' cd packages/wfc-cli');
|
|
49
|
-
console.log(' npm publish');
|
|
50
|
-
console.log('\n๐ Users can then run:');
|
|
51
|
-
console.log(' npx @workfullcircle/mcp install --token uam_their_token');
|
|
52
|
-
}, 2000);
|
|
Binary file
|