langchain-mcp 1.0.2 → 1.0.3
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/bin/cli.js +10 -10
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -6,17 +6,17 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
|
|
|
6
6
|
import { loadConfig, saveConfig, deleteConfig, getConfigPath, DEFAULT_API_URL } from '../src/config.js';
|
|
7
7
|
import { APIClient } from '../src/api-client.js';
|
|
8
8
|
import { createServer } from '../src/server.js';
|
|
9
|
-
// ASCII Art Banner
|
|
10
|
-
const BANNER = `
|
|
11
|
-
_ _ _ __ __ ____ ____
|
|
12
|
-
| | __ _ _ __ __ _ ___| |__ __ _(_)_ __ | \\/ |/ ___| _ \\
|
|
13
|
-
| | / _\` | '_ \\ / _\` |/ __| '_ \\ / _\` | | '_ \\ _____| |\\/| | | | |_) |
|
|
14
|
-
| |__| (_| | | | | (_| | (__| | | | (_| | | | | |_____| | | | |___| __/
|
|
15
|
-
|_____\\__,_|_| |_|\\__, |\\___|_| |_|\\__,_|_|_| |_| |_| |_|\\____|_|
|
|
16
|
-
|___/
|
|
17
|
-
`;
|
|
9
|
+
// ASCII Art Banner - Generated with oh-my-logo (shade style)
|
|
18
10
|
function printBanner() {
|
|
19
|
-
|
|
11
|
+
const green = '\x1b[32m';
|
|
12
|
+
const reset = '\x1b[0m';
|
|
13
|
+
console.log(`
|
|
14
|
+
${green}░█░░░░░██░░█░░█░░███░████░█░░█░░██░░███░█░░█░░░░░░█░░█░████░███░
|
|
15
|
+
░█░░░░█ █░██░█░█ ░█ ░█░░█░█ █░ █ ░██░█░░░░░░████░█ ░█ █
|
|
16
|
+
░█░░░░████░█ ██░█░██░█░░░░████░████░░█░░█ ██░████░█ █░█░░░░███░
|
|
17
|
+
░█░░░░█ █░█░ █░█░ █░█░░░░█ █░█ █░░█░░█░ █░ ░█░░█░█░░░░█░░░
|
|
18
|
+
░████░█░░█░█░░█░███░░████░█░░█░█░░█░███░█░░█░░░░░░█░░█░████░█░░░${reset}
|
|
19
|
+
`);
|
|
20
20
|
}
|
|
21
21
|
function printDivider(char = '─', length = 70) {
|
|
22
22
|
console.log('\x1b[90m' + char.repeat(length) + '\x1b[0m');
|