@stan-chen/simple-cli 0.2.3 → 0.2.4

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.
Files changed (136) hide show
  1. package/README.md +62 -63
  2. package/dist/anyllm.py +62 -0
  3. package/dist/builtins.d.ts +726 -0
  4. package/dist/builtins.js +481 -0
  5. package/dist/cli.d.ts +0 -4
  6. package/dist/cli.js +34 -493
  7. package/dist/engine.d.ts +33 -0
  8. package/dist/engine.js +138 -0
  9. package/dist/learnings.d.ts +15 -0
  10. package/dist/learnings.js +54 -0
  11. package/dist/llm.d.ts +18 -0
  12. package/dist/llm.js +66 -0
  13. package/dist/mcp.d.ts +132 -0
  14. package/dist/mcp.js +43 -0
  15. package/dist/skills.d.ts +5 -16
  16. package/dist/skills.js +91 -253
  17. package/dist/tui.d.ts +1 -0
  18. package/dist/tui.js +10 -0
  19. package/package.json +10 -6
  20. package/dist/claw/jit.d.ts +0 -5
  21. package/dist/claw/jit.js +0 -138
  22. package/dist/claw/management.d.ts +0 -3
  23. package/dist/claw/management.js +0 -107
  24. package/dist/commands/add.d.ts +0 -9
  25. package/dist/commands/add.js +0 -50
  26. package/dist/commands/git/commit.d.ts +0 -12
  27. package/dist/commands/git/commit.js +0 -98
  28. package/dist/commands/git/status.d.ts +0 -6
  29. package/dist/commands/git/status.js +0 -42
  30. package/dist/commands/index.d.ts +0 -16
  31. package/dist/commands/index.js +0 -377
  32. package/dist/commands/mcp/status.d.ts +0 -6
  33. package/dist/commands/mcp/status.js +0 -31
  34. package/dist/commands/swarm.d.ts +0 -36
  35. package/dist/commands/swarm.js +0 -236
  36. package/dist/commands.d.ts +0 -32
  37. package/dist/commands.js +0 -427
  38. package/dist/context.d.ts +0 -116
  39. package/dist/context.js +0 -337
  40. package/dist/index.d.ts +0 -6
  41. package/dist/index.js +0 -109
  42. package/dist/lib/agent.d.ts +0 -99
  43. package/dist/lib/agent.js +0 -313
  44. package/dist/lib/editor.d.ts +0 -74
  45. package/dist/lib/editor.js +0 -441
  46. package/dist/lib/git.d.ts +0 -164
  47. package/dist/lib/git.js +0 -356
  48. package/dist/lib/shim.d.ts +0 -4
  49. package/dist/lib/shim.js +0 -30
  50. package/dist/lib/ui.d.ts +0 -159
  51. package/dist/lib/ui.js +0 -277
  52. package/dist/mcp/client.d.ts +0 -22
  53. package/dist/mcp/client.js +0 -81
  54. package/dist/mcp/manager.d.ts +0 -186
  55. package/dist/mcp/manager.js +0 -446
  56. package/dist/prompts/provider.d.ts +0 -22
  57. package/dist/prompts/provider.js +0 -79
  58. package/dist/providers/index.d.ts +0 -31
  59. package/dist/providers/index.js +0 -93
  60. package/dist/providers/multi.d.ts +0 -12
  61. package/dist/providers/multi.js +0 -28
  62. package/dist/registry.d.ts +0 -29
  63. package/dist/registry.js +0 -443
  64. package/dist/repoMap.d.ts +0 -5
  65. package/dist/repoMap.js +0 -79
  66. package/dist/router.d.ts +0 -41
  67. package/dist/router.js +0 -118
  68. package/dist/swarm/coordinator.d.ts +0 -86
  69. package/dist/swarm/coordinator.js +0 -257
  70. package/dist/swarm/index.d.ts +0 -28
  71. package/dist/swarm/index.js +0 -29
  72. package/dist/swarm/task.d.ts +0 -104
  73. package/dist/swarm/task.js +0 -221
  74. package/dist/swarm/types.d.ts +0 -132
  75. package/dist/swarm/types.js +0 -37
  76. package/dist/swarm/worker.d.ts +0 -109
  77. package/dist/swarm/worker.js +0 -369
  78. package/dist/tools/analyzeFile.d.ts +0 -16
  79. package/dist/tools/analyzeFile.js +0 -43
  80. package/dist/tools/analyze_file.d.ts +0 -16
  81. package/dist/tools/analyze_file.js +0 -43
  82. package/dist/tools/clawBrain.d.ts +0 -23
  83. package/dist/tools/clawBrain.js +0 -136
  84. package/dist/tools/claw_brain.d.ts +0 -23
  85. package/dist/tools/claw_brain.js +0 -139
  86. package/dist/tools/deleteFile.d.ts +0 -19
  87. package/dist/tools/deleteFile.js +0 -36
  88. package/dist/tools/delete_file.d.ts +0 -19
  89. package/dist/tools/delete_file.js +0 -36
  90. package/dist/tools/fileOps.d.ts +0 -22
  91. package/dist/tools/fileOps.js +0 -43
  92. package/dist/tools/file_ops.d.ts +0 -22
  93. package/dist/tools/file_ops.js +0 -43
  94. package/dist/tools/git.d.ts +0 -40
  95. package/dist/tools/git.js +0 -236
  96. package/dist/tools/glob.d.ts +0 -34
  97. package/dist/tools/glob.js +0 -165
  98. package/dist/tools/grep.d.ts +0 -53
  99. package/dist/tools/grep.js +0 -296
  100. package/dist/tools/linter.d.ts +0 -35
  101. package/dist/tools/linter.js +0 -407
  102. package/dist/tools/listDir.d.ts +0 -29
  103. package/dist/tools/listDir.js +0 -50
  104. package/dist/tools/list_dir.d.ts +0 -29
  105. package/dist/tools/list_dir.js +0 -50
  106. package/dist/tools/memory.d.ts +0 -34
  107. package/dist/tools/memory.js +0 -215
  108. package/dist/tools/organizer.d.ts +0 -1
  109. package/dist/tools/organizer.js +0 -65
  110. package/dist/tools/readFiles.d.ts +0 -25
  111. package/dist/tools/readFiles.js +0 -31
  112. package/dist/tools/read_files.d.ts +0 -25
  113. package/dist/tools/read_files.js +0 -31
  114. package/dist/tools/reloadTools.d.ts +0 -11
  115. package/dist/tools/reloadTools.js +0 -22
  116. package/dist/tools/reload_tools.d.ts +0 -11
  117. package/dist/tools/reload_tools.js +0 -22
  118. package/dist/tools/runCommand.d.ts +0 -32
  119. package/dist/tools/runCommand.js +0 -79
  120. package/dist/tools/run_command.d.ts +0 -32
  121. package/dist/tools/run_command.js +0 -103
  122. package/dist/tools/scheduler.d.ts +0 -25
  123. package/dist/tools/scheduler.js +0 -65
  124. package/dist/tools/scraper.d.ts +0 -31
  125. package/dist/tools/scraper.js +0 -211
  126. package/dist/tools/writeFiles.d.ts +0 -63
  127. package/dist/tools/writeFiles.js +0 -87
  128. package/dist/tools/write_files.d.ts +0 -84
  129. package/dist/tools/write_files.js +0 -91
  130. package/dist/tools/write_to_file.d.ts +0 -15
  131. package/dist/tools/write_to_file.js +0 -21
  132. package/dist/ui/server.d.ts +0 -5
  133. package/dist/ui/server.js +0 -74
  134. package/dist/watcher.d.ts +0 -35
  135. package/dist/watcher.js +0 -164
  136. /package/{docs/assets → assets}/logo.jpeg +0 -0
package/dist/lib/ui.js DELETED
@@ -1,277 +0,0 @@
1
- /**
2
- * Terminal UI using Clack
3
- * Modern, clean terminal prompts and spinners
4
- */
5
- import * as p from '@clack/prompts';
6
- import pc from 'picocolors';
7
- export { p as prompts };
8
- const NON_INTERACTIVE = process.env.VITEST === 'true' || process.env.TEST === 'true' || !process.stdin.isTTY;
9
- /**
10
- * UI Theme colors
11
- */
12
- export const theme = {
13
- primary: pc.cyan,
14
- success: pc.green,
15
- warning: pc.yellow,
16
- error: pc.red,
17
- muted: pc.dim,
18
- highlight: pc.bold,
19
- code: pc.bgBlack,
20
- };
21
- /**
22
- * Display intro banner
23
- */
24
- export function intro(message) {
25
- p.intro(theme.primary(message));
26
- }
27
- /**
28
- * Display outro message
29
- */
30
- export function outro(message) {
31
- p.outro(theme.success(message));
32
- }
33
- /**
34
- * Display a note
35
- */
36
- export function note(message, title) {
37
- p.note(message, title);
38
- }
39
- /**
40
- * Display a log message
41
- */
42
- export function log(message) {
43
- p.log.message(message);
44
- }
45
- /**
46
- * Display an info message
47
- */
48
- export function info(message) {
49
- p.log.info(theme.primary(message));
50
- }
51
- /**
52
- * Display a success message
53
- */
54
- export function success(message) {
55
- p.log.success(theme.success(message));
56
- }
57
- /**
58
- * Display a warning message
59
- */
60
- export function warning(message) {
61
- p.log.warn(theme.warning(message));
62
- }
63
- /**
64
- * Display an error message
65
- */
66
- export function error(message) {
67
- p.log.error(theme.error(message));
68
- }
69
- /**
70
- * Display a step message
71
- */
72
- export function step(message) {
73
- p.log.step(message);
74
- }
75
- /**
76
- * Show a spinner while executing an async operation
77
- */
78
- export async function spin(message, fn) {
79
- const s = p.spinner();
80
- s.start(message);
81
- try {
82
- const result = await fn();
83
- s.stop(theme.success('✓ ' + message));
84
- return result;
85
- }
86
- catch (err) {
87
- s.stop(theme.error('✗ ' + message));
88
- throw err;
89
- }
90
- }
91
- /**
92
- * Prompt for text input
93
- */
94
- export async function text(options) {
95
- if (NON_INTERACTIVE)
96
- return options.defaultValue ?? options.placeholder ?? '';
97
- return p.text(options);
98
- }
99
- /**
100
- * Prompt for password input
101
- */
102
- export async function password(options) {
103
- if (NON_INTERACTIVE)
104
- return '';
105
- return p.password(options);
106
- }
107
- /**
108
- * Prompt for confirmation
109
- */
110
- export async function confirm(options) {
111
- if (NON_INTERACTIVE)
112
- return options.initialValue ?? true;
113
- return p.confirm(options);
114
- }
115
- /**
116
- * Prompt for single selection
117
- */
118
- export async function select(options) {
119
- if (NON_INTERACTIVE)
120
- return options.initialValue ?? options.options[0].value;
121
- return p.select(options);
122
- }
123
- /**
124
- * Prompt for multi-selection
125
- */
126
- export async function multiselect(options) {
127
- if (NON_INTERACTIVE)
128
- return options.initialValues ?? [];
129
- return p.multiselect(options);
130
- }
131
- /**
132
- * Group related prompts together
133
- */
134
- export async function group(prompts, options) {
135
- if (NON_INTERACTIVE) {
136
- const result = {};
137
- for (const k of Object.keys(prompts)) {
138
- // Attempt to call each prompt function but if it would prompt, we expect those to return defaults because of NON_INTERACTIVE
139
- try {
140
- // eslint-disable-next-line @typescript-eslint/await-thenable
141
- result[k] = await prompts[k]();
142
- }
143
- catch {
144
- result[k] = undefined;
145
- }
146
- }
147
- return result;
148
- }
149
- return p.group(prompts, options);
150
- }
151
- /**
152
- * Check if user cancelled
153
- */
154
- export function isCancel(value) {
155
- return p.isCancel(value);
156
- }
157
- /**
158
- * Cancel and exit
159
- */
160
- export function cancel(message) {
161
- p.cancel(message || 'Operation cancelled.');
162
- process.exit(0);
163
- }
164
- /**
165
- * Display a diff with syntax highlighting
166
- */
167
- export function showDiff(diffText) {
168
- const lines = diffText.split('\n');
169
- for (const line of lines) {
170
- if (line.startsWith('+') && !line.startsWith('+++')) {
171
- console.log(theme.success(line));
172
- }
173
- else if (line.startsWith('-') && !line.startsWith('---')) {
174
- console.log(theme.error(line));
175
- }
176
- else if (line.startsWith('@@')) {
177
- console.log(theme.primary(line));
178
- }
179
- else if (line.startsWith('diff') || line.startsWith('index')) {
180
- console.log(theme.muted(line));
181
- }
182
- else {
183
- console.log(line);
184
- }
185
- }
186
- }
187
- /**
188
- * Display a code block
189
- */
190
- export function showCode(code, language) {
191
- const header = language ? theme.muted(`\`\`\`${language}`) : theme.muted('```');
192
- const footer = theme.muted('```');
193
- console.log(header);
194
- console.log(code);
195
- console.log(footer);
196
- }
197
- /**
198
- * Display a thinking/reasoning block
199
- */
200
- export function showThought(thought) {
201
- const lines = thought.split('\n');
202
- const boxed = lines.map(line => theme.muted('│ ') + line).join('\n');
203
- console.log(theme.muted('┌─ Thinking'));
204
- console.log(boxed);
205
- console.log(theme.muted('└─'));
206
- }
207
- /**
208
- * Display a tool invocation
209
- */
210
- export function showToolCall(name, args) {
211
- const argsStr = Object.entries(args)
212
- .map(([k, v]) => `${theme.muted(k)}=${theme.highlight(JSON.stringify(v))}`)
213
- .join(' ');
214
- console.log(`${theme.primary('▶')} ${theme.highlight(name)} ${argsStr}`);
215
- }
216
- /**
217
- * Display a tool result
218
- */
219
- export function showToolResult(result, truncate = 500) {
220
- const display = result.length > truncate
221
- ? result.slice(0, truncate) + theme.muted(`\n... (${result.length - truncate} more chars)`)
222
- : result;
223
- console.log(theme.muted('◀ ') + display);
224
- }
225
- /**
226
- * Display file status indicators
227
- */
228
- export function showFileStatus(files) {
229
- const icons = {
230
- added: theme.success('+'),
231
- modified: theme.warning('~'),
232
- deleted: theme.error('-'),
233
- readonly: theme.muted('○'),
234
- };
235
- for (const file of files) {
236
- console.log(` ${icons[file.status]} ${file.path}`);
237
- }
238
- }
239
- /**
240
- * Display token count
241
- */
242
- export function showTokens(count, max) {
243
- const formatted = count.toLocaleString();
244
- if (max) {
245
- const percent = ((count / max) * 100).toFixed(1);
246
- const color = count / max > 0.8 ? theme.warning : theme.muted;
247
- console.log(color(`Tokens: ${formatted} / ${max.toLocaleString()} (${percent}%)`));
248
- }
249
- else {
250
- console.log(theme.muted(`Tokens: ~${formatted}`));
251
- }
252
- }
253
- /**
254
- * Create a task list for progress tracking
255
- */
256
- export function tasks() {
257
- const taskList = new Map();
258
- const icons = {
259
- pending: theme.muted('○'),
260
- running: theme.primary('●'),
261
- done: theme.success('✓'),
262
- error: theme.error('✗'),
263
- };
264
- return {
265
- add(name, status = 'pending') {
266
- taskList.set(name, status);
267
- },
268
- update(name, status) {
269
- taskList.set(name, status);
270
- },
271
- render() {
272
- for (const [name, status] of taskList) {
273
- console.log(` ${icons[status]} ${name}`);
274
- }
275
- },
276
- };
277
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * MCP Client: External tool integration via Model Context Protocol
3
- */
4
- import { Client } from '@modelcontextprotocol/sdk/client/index.js';
5
- import { z } from 'zod';
6
- export interface MCPServer {
7
- name: string;
8
- command: string;
9
- args?: string[];
10
- env?: Record<string, string>;
11
- }
12
- export interface MCPTool {
13
- name: string;
14
- description: string;
15
- inputSchema: z.ZodObject<z.ZodRawShape>;
16
- }
17
- export declare const connectMCPServer: (server: MCPServer) => Promise<Client>;
18
- export declare const listMCPTools: (serverName: string) => Promise<MCPTool[]>;
19
- export declare const callMCPTool: (serverName: string, toolName: string, args: Record<string, unknown>) => Promise<unknown>;
20
- export declare const disconnectMCPServer: (serverName: string) => Promise<void>;
21
- export declare const disconnectAllMCPServers: () => Promise<void>;
22
- export declare const loadMCPConfig: (configPath?: string) => Promise<MCPServer[]>;
@@ -1,81 +0,0 @@
1
- /**
2
- * MCP Client: External tool integration via Model Context Protocol
3
- */
4
- import { Client } from '@modelcontextprotocol/sdk/client/index.js';
5
- import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
6
- import { z } from 'zod';
7
- // Active MCP connections
8
- const connections = new Map();
9
- // Connect to an MCP server
10
- export const connectMCPServer = async (server) => {
11
- if (connections.has(server.name)) {
12
- return connections.get(server.name).client;
13
- }
14
- const transport = new StdioClientTransport({
15
- command: server.command,
16
- args: server.args || [],
17
- env: { ...process.env, ...server.env }
18
- });
19
- const client = new Client({
20
- name: 'simplecli',
21
- version: '0.1.0'
22
- }, {
23
- capabilities: {}
24
- });
25
- await client.connect(transport);
26
- connections.set(server.name, { client, transport });
27
- console.log(` ✓ Connected to MCP server: ${server.name}`);
28
- return client;
29
- };
30
- // List tools from an MCP server
31
- export const listMCPTools = async (serverName) => {
32
- const connection = connections.get(serverName);
33
- if (!connection) {
34
- throw new Error(`MCP server "${serverName}" not connected`);
35
- }
36
- const result = await connection.client.listTools();
37
- return result.tools.map(tool => ({
38
- name: tool.name,
39
- description: tool.description || '',
40
- inputSchema: z.object({}) // Simplified - would parse JSON schema in production
41
- }));
42
- };
43
- // Call an MCP tool
44
- export const callMCPTool = async (serverName, toolName, args) => {
45
- const connection = connections.get(serverName);
46
- if (!connection) {
47
- throw new Error(`MCP server "${serverName}" not connected`);
48
- }
49
- const result = await connection.client.callTool({
50
- name: toolName,
51
- arguments: args
52
- });
53
- return result.content;
54
- };
55
- // Disconnect from an MCP server
56
- export const disconnectMCPServer = async (serverName) => {
57
- const connection = connections.get(serverName);
58
- if (connection) {
59
- await connection.client.close();
60
- connections.delete(serverName);
61
- console.log(` ✓ Disconnected from MCP server: ${serverName}`);
62
- }
63
- };
64
- // Disconnect from all MCP servers
65
- export const disconnectAllMCPServers = async () => {
66
- for (const [name] of connections) {
67
- await disconnectMCPServer(name);
68
- }
69
- };
70
- // Load MCP servers from configuration
71
- export const loadMCPConfig = async (configPath = './mcp.json') => {
72
- try {
73
- const { readFile } = await import('fs/promises');
74
- const content = await readFile(configPath, 'utf-8');
75
- const config = JSON.parse(content);
76
- return config.servers || [];
77
- }
78
- catch {
79
- return [];
80
- }
81
- };
@@ -1,186 +0,0 @@
1
- /**
2
- * MCP Client Manager - Manages multiple MCP server connections
3
- * Supports Composio, custom MCP servers, and dynamic tool discovery
4
- * Based on GeminiCLI's mcp-client.ts patterns
5
- */
6
- import { z } from 'zod';
7
- export declare const MCPServerConfigSchema: z.ZodObject<{
8
- name: z.ZodString;
9
- command: z.ZodOptional<z.ZodString>;
10
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12
- url: z.ZodOptional<z.ZodString>;
13
- type: z.ZodOptional<z.ZodEnum<["stdio", "sse", "http"]>>;
14
- timeout: z.ZodOptional<z.ZodNumber>;
15
- trust: z.ZodOptional<z.ZodEnum<["full", "partial", "none"]>>;
16
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17
- }, "strip", z.ZodTypeAny, {
18
- name: string;
19
- enabled: boolean;
20
- command?: string | undefined;
21
- type?: "stdio" | "sse" | "http" | undefined;
22
- args?: string[] | undefined;
23
- env?: Record<string, string> | undefined;
24
- url?: string | undefined;
25
- timeout?: number | undefined;
26
- trust?: "full" | "partial" | "none" | undefined;
27
- }, {
28
- name: string;
29
- command?: string | undefined;
30
- type?: "stdio" | "sse" | "http" | undefined;
31
- args?: string[] | undefined;
32
- env?: Record<string, string> | undefined;
33
- url?: string | undefined;
34
- timeout?: number | undefined;
35
- trust?: "full" | "partial" | "none" | undefined;
36
- enabled?: boolean | undefined;
37
- }>;
38
- export type MCPServerConfig = z.infer<typeof MCPServerConfigSchema>;
39
- export interface MCPTool {
40
- name: string;
41
- description: string;
42
- serverName: string;
43
- inputSchema: Record<string, unknown>;
44
- execute: (args: Record<string, unknown>) => Promise<unknown>;
45
- }
46
- export interface MCPResource {
47
- uri: string;
48
- name: string;
49
- description?: string;
50
- mimeType?: string;
51
- serverName: string;
52
- }
53
- export interface MCPPrompt {
54
- name: string;
55
- description?: string;
56
- serverName: string;
57
- arguments?: Array<{
58
- name: string;
59
- description?: string;
60
- required?: boolean;
61
- }>;
62
- invoke: (params: Record<string, unknown>) => Promise<{
63
- messages: Array<{
64
- role: string;
65
- content: string;
66
- }>;
67
- }>;
68
- }
69
- export declare enum MCPServerStatus {
70
- DISCONNECTED = "disconnected",
71
- CONNECTING = "connecting",
72
- CONNECTED = "connected",
73
- ERROR = "error"
74
- }
75
- /**
76
- * MCP Client Manager
77
- * Manages connections to multiple MCP servers and aggregates their tools
78
- */
79
- export declare class MCPManager {
80
- private servers;
81
- private onStatusChange?;
82
- constructor(options?: {
83
- onStatusChange?: (serverName: string, status: MCPServerStatus) => void;
84
- });
85
- /**
86
- * Load MCP configuration from all available sources
87
- */
88
- loadConfig(configPath?: string): Promise<MCPServerConfig[]>;
89
- /**
90
- * Parse MCP config content which can be in multiple formats
91
- */
92
- private parseConfigContent;
93
- /**
94
- * Connect to an MCP server
95
- */
96
- connect(config: MCPServerConfig): Promise<void>;
97
- /**
98
- * Connect to all configured servers
99
- */
100
- connectAll(configs?: MCPServerConfig[]): Promise<void>;
101
- /**
102
- * Disconnect from an MCP server
103
- */
104
- disconnect(serverName: string): Promise<void>;
105
- /**
106
- * Disconnect from all servers
107
- */
108
- disconnectAll(): Promise<void>;
109
- /**
110
- * Discover tools, resources, and prompts from a server
111
- */
112
- private discover;
113
- /**
114
- * Get all discovered tools from all connected servers
115
- */
116
- getAllTools(): MCPTool[];
117
- /**
118
- * Get all discovered resources from all connected servers
119
- */
120
- getAllResources(): MCPResource[];
121
- /**
122
- * Get all discovered prompts from all connected servers
123
- */
124
- getAllPrompts(): MCPPrompt[];
125
- /**
126
- * Get a specific tool by name
127
- */
128
- getTool(name: string): MCPTool | undefined;
129
- /**
130
- * Execute an MCP tool
131
- */
132
- executeTool(name: string, args: Record<string, unknown>): Promise<unknown>;
133
- /**
134
- * Read an MCP resource
135
- */
136
- readResource(uri: string): Promise<{
137
- contents: Array<{
138
- uri: string;
139
- text?: string;
140
- blob?: string;
141
- }>;
142
- }>;
143
- /**
144
- * Invoke an MCP prompt
145
- */
146
- invokePrompt(name: string, params: Record<string, unknown>): Promise<{
147
- messages: Array<{
148
- role: string;
149
- content: string;
150
- }>;
151
- }>;
152
- /**
153
- * Get server status
154
- */
155
- getServerStatus(serverName: string): MCPServerStatus;
156
- /**
157
- * Get all server statuses
158
- */
159
- getAllServerStatuses(): Map<string, MCPServerStatus>;
160
- private updateStatus;
161
- }
162
- /**
163
- * Create Composio MCP configuration
164
- * Composio provides pre-built integrations for 250+ tools
165
- */
166
- export declare function createComposioConfig(apiKey?: string): MCPServerConfig;
167
- /**
168
- * Create filesystem MCP configuration
169
- */
170
- export declare function createFilesystemConfig(allowedPaths: string[]): MCPServerConfig;
171
- /**
172
- * Create GitHub MCP configuration
173
- */
174
- export declare function createGitHubConfig(token?: string): MCPServerConfig;
175
- /**
176
- * Create memory/context MCP configuration
177
- */
178
- export declare function createMemoryConfig(): MCPServerConfig;
179
- /**
180
- * Create Brave Search MCP configuration
181
- */
182
- export declare function createBraveSearchConfig(apiKey?: string): MCPServerConfig;
183
- /**
184
- * Get or create the global MCP manager instance
185
- */
186
- export declare function getMCPManager(): MCPManager;