@juspay/neurolink 1.2.3 โ 1.3.0
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/CHANGELOG.md +108 -0
- package/README.md +213 -1138
- package/dist/cli/commands/config.d.ts +373 -0
- package/dist/cli/commands/config.js +532 -0
- package/dist/cli/commands/mcp.d.ts +7 -0
- package/dist/cli/commands/mcp.js +434 -0
- package/dist/cli/index.d.ts +9 -0
- package/dist/cli/index.js +451 -169
- package/dist/core/factory.js +10 -2
- package/dist/core/types.d.ts +3 -1
- package/dist/core/types.js +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/context-manager.d.ts +164 -0
- package/dist/mcp/context-manager.js +273 -0
- package/dist/mcp/factory.d.ts +144 -0
- package/dist/mcp/factory.js +141 -0
- package/dist/mcp/orchestrator.d.ts +170 -0
- package/dist/mcp/orchestrator.js +372 -0
- package/dist/mcp/registry.d.ts +188 -0
- package/dist/mcp/registry.js +373 -0
- package/dist/mcp/servers/ai-providers/ai-core-server.d.ts +10 -0
- package/dist/mcp/servers/ai-providers/ai-core-server.js +280 -0
- package/dist/neurolink.d.ts +2 -2
- package/dist/neurolink.js +1 -1
- package/dist/providers/anthropic.d.ts +34 -0
- package/dist/providers/anthropic.js +307 -0
- package/dist/providers/azureOpenAI.d.ts +37 -0
- package/dist/providers/azureOpenAI.js +338 -0
- package/dist/providers/index.d.ts +4 -0
- package/dist/providers/index.js +5 -1
- package/dist/utils/providerUtils.js +8 -2
- package/package.json +163 -97
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# @juspay/neurolink
|
|
2
|
+
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- **๐ MCP Documentation Master Plan**: Complete external server connectivity documentation
|
|
8
|
+
- **๐ง MCP Integration Guide**: 400+ line comprehensive setup and usage guide
|
|
9
|
+
- **๐ CLI Documentation**: Complete MCP commands section with workflows
|
|
10
|
+
- **๐งช Demo Integration**: 5 MCP API endpoints for testing and demonstration
|
|
11
|
+
- **โ๏ธ Configuration Templates**: .env.example and .mcp-servers.example.json
|
|
12
|
+
- **๐ API Reference**: Complete MCP API documentation with examples
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **External Server Connectivity**: Full MCP (Model Context Protocol) support
|
|
17
|
+
- **65+ Compatible Servers**: Filesystem, GitHub, databases, web browsing, search
|
|
18
|
+
- **Professional CLI**: Complete server lifecycle management
|
|
19
|
+
- **Demo Server Integration**: Live MCP API endpoints
|
|
20
|
+
- **Configuration Management**: Templates and examples for all deployment scenarios
|
|
21
|
+
|
|
22
|
+
### MCP Server Support
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Install and manage external servers
|
|
26
|
+
neurolink mcp install filesystem
|
|
27
|
+
neurolink mcp install github
|
|
28
|
+
neurolink mcp test filesystem
|
|
29
|
+
neurolink mcp list --status
|
|
30
|
+
neurolink mcp execute filesystem read_file --path="/path/to/file"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### MCP API Endpoints
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
// Demo server includes 5 MCP endpoints
|
|
37
|
+
GET /api/mcp/servers # List configured servers
|
|
38
|
+
POST /api/mcp/test/:server # Test server connectivity
|
|
39
|
+
GET /api/mcp/tools/:server # Get available tools
|
|
40
|
+
POST /api/mcp/execute # Execute MCP tools
|
|
41
|
+
POST /api/mcp/install/:server # Install new servers
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Documentation Updates
|
|
45
|
+
|
|
46
|
+
- **README.md**: Complete MCP section with real-world examples
|
|
47
|
+
- **docs/MCP-INTEGRATION.md**: 400+ line comprehensive MCP guide
|
|
48
|
+
- **docs/CLI-GUIDE.md**: MCP commands section with workflow examples
|
|
49
|
+
- **docs/API-REFERENCE.md**: Complete MCP API documentation
|
|
50
|
+
- **docs/README.md**: Updated documentation index with MCP references
|
|
51
|
+
|
|
52
|
+
### Configuration
|
|
53
|
+
|
|
54
|
+
- **.env.example**: MCP environment variables section
|
|
55
|
+
- **.mcp-servers.example.json**: Complete server configuration template
|
|
56
|
+
- **package.json**: Updated description highlighting MCP capabilities
|
|
57
|
+
|
|
58
|
+
### Breaking Changes
|
|
59
|
+
|
|
60
|
+
- None - 100% backward compatibility maintained
|
|
61
|
+
|
|
62
|
+
## 1.3.0
|
|
63
|
+
|
|
64
|
+
### Major Changes
|
|
65
|
+
|
|
66
|
+
- **๐ MCP Foundation (Model Context Protocol)**: NeuroLink transforms from AI SDK to Universal AI Development Platform
|
|
67
|
+
- **๐ญ MCP Server Factory**: Lighthouse-compatible server creation with `createMCPServer()`
|
|
68
|
+
- **๐ง Context Management**: Rich context with 15+ fields + tool chain tracking
|
|
69
|
+
- **๐ Tool Registry**: Discovery, registration, execution + statistics
|
|
70
|
+
- **๐ผ Tool Orchestration**: Single tools + sequential pipelines + error handling
|
|
71
|
+
- **๐ค AI Provider Integration**: Core AI tools with schema validation
|
|
72
|
+
- **๐ Integration Tests**: 27/27 tests passing (100% success rate)
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
76
|
+
- **Factory-First Architecture**: MCP tools work internally, users see simple factory methods
|
|
77
|
+
- **Lighthouse Compatible**: 99% compatible with existing Lighthouse MCP patterns
|
|
78
|
+
- **Enterprise Ready**: Rich context, permissions, tool orchestration, analytics
|
|
79
|
+
- **Production Tested**: <1ms tool execution, comprehensive error handling
|
|
80
|
+
|
|
81
|
+
### Performance
|
|
82
|
+
|
|
83
|
+
- **Test Execution**: 1.23s for 27 comprehensive tests
|
|
84
|
+
- **Tool Execution**: 0-11ms per tool (well under 100ms target)
|
|
85
|
+
- **Pipeline Performance**: 22ms for 2-step sequential pipeline
|
|
86
|
+
- **Memory Efficiency**: Clean context management with automatic cleanup
|
|
87
|
+
|
|
88
|
+
### Technical Implementation
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
src/lib/mcp/
|
|
92
|
+
โโโ factory.ts # createMCPServer() - Lighthouse compatible
|
|
93
|
+
โโโ context-manager.ts # Rich context (15+ fields) + tool chain tracking
|
|
94
|
+
โโโ registry.ts # Tool discovery, registration, execution + statistics
|
|
95
|
+
โโโ orchestrator.ts # Single tools + sequential pipelines + error handling
|
|
96
|
+
โโโ servers/ai-providers/ # AI Core Server with 3 tools integrated
|
|
97
|
+
โโโ ai-core-server.ts # generate-text, select-provider, check-provider-status
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Breaking Changes
|
|
101
|
+
|
|
102
|
+
- None - 100% backward compatibility maintained
|
|
103
|
+
|
|
104
|
+
## 1.2.4
|
|
105
|
+
|
|
106
|
+
### Patch Changes
|
|
107
|
+
|
|
108
|
+
- 95d8ee6: Set up automated version bumping and publishing workflow with changesets integration
|