@juspay/neurolink 4.1.0 → 4.1.1
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 +8 -2
- package/README.md +104 -104
- package/dist/mcp/plugins/core/neurolink-mcp.json +15 -15
- package/package.json +245 -245
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
## [4.1.1](https://github.com/juspay/neurolink/compare/v4.1.0...v4.1.1) (2025-07-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **format:** fix formatting for all follow ([a49a94b](https://github.com/juspay/neurolink/commit/a49a94bf4d2e02cf1b1f7d4b555c3c71e25a0ea5))
|
|
2
7
|
|
|
8
|
+
# [4.1.0](https://github.com/juspay/neurolink/compare/v4.0.0...v4.1.0) (2025-07-09)
|
|
3
9
|
|
|
4
10
|
### Features
|
|
5
11
|
|
|
6
|
-
|
|
12
|
+
- **mcp:** comprehensive MCP system overhaul with GitHub PR fixes ([c0d8114](https://github.com/juspay/neurolink/commit/c0d8114ef1ab2d5dd3162c369f234d0de17397f7))
|
|
7
13
|
|
|
8
14
|
# [4.0.0](https://github.com/juspay/neurolink/compare/v3.0.1...v4.0.0) (2025-07-06)
|
|
9
15
|
|
package/README.md
CHANGED
|
@@ -48,28 +48,28 @@ npm run config:validate
|
|
|
48
48
|
```typescript
|
|
49
49
|
// Modern camelCase interfaces with rich context
|
|
50
50
|
interface ExecutionContext {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
sessionId?: string;
|
|
52
|
+
userId?: string;
|
|
53
|
+
aiProvider?: string;
|
|
54
|
+
permissions?: string[];
|
|
55
|
+
cacheOptions?: CacheOptions;
|
|
56
|
+
fallbackOptions?: FallbackOptions;
|
|
57
|
+
metadata?: Record<string, unknown>;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Optional methods for maximum flexibility
|
|
61
61
|
interface McpRegistry {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
registerServer?(
|
|
63
|
+
serverId: string,
|
|
64
|
+
config?: unknown,
|
|
65
|
+
context?: ExecutionContext,
|
|
66
|
+
): Promise<void>;
|
|
67
|
+
executeTool?<T>(
|
|
68
|
+
toolName: string,
|
|
69
|
+
args?: unknown,
|
|
70
|
+
context?: ExecutionContext,
|
|
71
|
+
): Promise<T>;
|
|
72
|
+
listTools?(context?: ExecutionContext): Promise<ToolInfo[]>;
|
|
73
73
|
}
|
|
74
74
|
```
|
|
75
75
|
|
|
@@ -115,8 +115,8 @@ import { createBestAIProvider } from "@juspay/neurolink";
|
|
|
115
115
|
// Auto-selects best available provider
|
|
116
116
|
const provider = createBestAIProvider();
|
|
117
117
|
const result = await provider.generateText({
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
prompt: "Write a haiku about programming",
|
|
119
|
+
timeout: "30s", // Optional: Set custom timeout (default: 30s)
|
|
120
120
|
});
|
|
121
121
|
|
|
122
122
|
console.log(result.text);
|
|
@@ -138,8 +138,8 @@ const provider = createBestAIProvider();
|
|
|
138
138
|
|
|
139
139
|
// Detailed method name
|
|
140
140
|
const story = await provider.generateText({
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
prompt: "Write a short story about AI",
|
|
142
|
+
maxTokens: 200,
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
// CLI-style method names
|
|
@@ -177,10 +177,10 @@ const result = await neurolink.generateText("Write a story");
|
|
|
177
177
|
|
|
178
178
|
// With enhancements (NEW!)
|
|
179
179
|
const enhancedResult = await neurolink.generateText({
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
prompt: "Write a business proposal",
|
|
181
|
+
enableAnalytics: true, // Get usage & cost data
|
|
182
|
+
enableEvaluation: true, // Get AI quality scores
|
|
183
|
+
context: { project: "Q1-sales" }, // Custom context
|
|
184
184
|
});
|
|
185
185
|
|
|
186
186
|
// Access enhancement data
|
|
@@ -190,25 +190,25 @@ console.log("Response:", enhancedResult.content);
|
|
|
190
190
|
|
|
191
191
|
// 🆕 NEW: Enhanced Evaluation with Domain Awareness
|
|
192
192
|
import {
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
performEnhancedEvaluation,
|
|
194
|
+
createEnhancedContext,
|
|
195
195
|
} from "@juspay/neurolink";
|
|
196
196
|
|
|
197
197
|
const enhancedContext = createEnhancedContext(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
198
|
+
"Write a business proposal for Q1 expansion",
|
|
199
|
+
enhancedResult.text,
|
|
200
|
+
{
|
|
201
|
+
domain: "Business development",
|
|
202
|
+
role: "Business proposal assistant",
|
|
203
|
+
toolsUsed: ["generate-text", "analytics-helper"],
|
|
204
|
+
conversationHistory: [
|
|
205
|
+
{ role: "user", content: "I need help with our Q1 business plan" },
|
|
206
|
+
{
|
|
207
|
+
role: "assistant",
|
|
208
|
+
content: "I can help you create a comprehensive plan",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
212
|
);
|
|
213
213
|
|
|
214
214
|
const domainEvaluation = await performEnhancedEvaluation(enhancedContext);
|
|
@@ -226,39 +226,39 @@ console.log("🎯 Enhanced Evaluation:", domainEvaluation);
|
|
|
226
226
|
|
|
227
227
|
```typescript
|
|
228
228
|
import {
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
createEnhancedChatService,
|
|
230
|
+
NeuroLinkWebSocketServer,
|
|
231
231
|
} from "@juspay/neurolink";
|
|
232
232
|
|
|
233
233
|
// Enhanced chat with WebSocket support
|
|
234
234
|
const chatService = createEnhancedChatService({
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
235
|
+
provider: await createBestAIProvider(),
|
|
236
|
+
enableWebSocket: true,
|
|
237
|
+
enableSSE: true,
|
|
238
|
+
streamingConfig: {
|
|
239
|
+
bufferSize: 8192,
|
|
240
|
+
compressionEnabled: true,
|
|
241
|
+
},
|
|
242
242
|
});
|
|
243
243
|
|
|
244
244
|
// WebSocket server for real-time applications
|
|
245
245
|
const wsServer = new NeuroLinkWebSocketServer({
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
port: 8080,
|
|
247
|
+
maxConnections: 1000,
|
|
248
|
+
enableCompression: true,
|
|
249
249
|
});
|
|
250
250
|
|
|
251
251
|
// Handle real-time chat
|
|
252
252
|
wsServer.on("chat-message", async ({ connectionId, message }) => {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
253
|
+
await chatService.streamChat({
|
|
254
|
+
prompt: message.data.prompt,
|
|
255
|
+
onChunk: (chunk) => {
|
|
256
|
+
wsServer.sendMessage(connectionId, {
|
|
257
|
+
type: "ai-chunk",
|
|
258
|
+
data: { chunk },
|
|
259
|
+
});
|
|
260
|
+
},
|
|
261
|
+
});
|
|
262
262
|
});
|
|
263
263
|
```
|
|
264
264
|
|
|
@@ -269,11 +269,11 @@ import { initializeTelemetry, getTelemetryStatus } from "@juspay/neurolink";
|
|
|
269
269
|
|
|
270
270
|
// Optional enterprise monitoring (zero overhead when disabled)
|
|
271
271
|
const telemetry = initializeTelemetry({
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
serviceName: "my-ai-app",
|
|
273
|
+
endpoint: "http://localhost:4318",
|
|
274
|
+
enableTracing: true,
|
|
275
|
+
enableMetrics: true,
|
|
276
|
+
enableLogs: true,
|
|
277
277
|
});
|
|
278
278
|
|
|
279
279
|
// Check telemetry status
|
|
@@ -285,7 +285,7 @@ console.log("Version:", status.version);
|
|
|
285
285
|
// All AI operations are now automatically monitored
|
|
286
286
|
const provider = await createBestAIProvider();
|
|
287
287
|
const result = await provider.generateText({
|
|
288
|
-
|
|
288
|
+
prompt: "Generate business report",
|
|
289
289
|
});
|
|
290
290
|
// Telemetry automatically tracks: response time, token usage, cost, errors
|
|
291
291
|
```
|
|
@@ -433,34 +433,34 @@ npx @juspay/neurolink batch prompts.txt --timeout 45s --output results.json
|
|
|
433
433
|
```typescript
|
|
434
434
|
// SvelteKit API route with timeout handling
|
|
435
435
|
export const POST: RequestHandler = async ({ request }) => {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
436
|
+
const { message } = await request.json();
|
|
437
|
+
const provider = createBestAIProvider();
|
|
438
|
+
|
|
439
|
+
try {
|
|
440
|
+
const result = await provider.streamText({
|
|
441
|
+
prompt: message,
|
|
442
|
+
timeout: "2m", // 2 minutes for streaming
|
|
443
|
+
});
|
|
444
|
+
return new Response(result.toReadableStream());
|
|
445
|
+
} catch (error) {
|
|
446
|
+
if (error.name === "TimeoutError") {
|
|
447
|
+
return new Response("Request timed out", { status: 408 });
|
|
448
|
+
}
|
|
449
|
+
throw error;
|
|
450
|
+
}
|
|
451
451
|
};
|
|
452
452
|
|
|
453
453
|
// Next.js API route with timeout
|
|
454
454
|
export async function POST(request: NextRequest) {
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
const { prompt } = await request.json();
|
|
456
|
+
const provider = createBestAIProvider();
|
|
457
457
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
458
|
+
const result = await provider.generateText({
|
|
459
|
+
prompt,
|
|
460
|
+
timeout: process.env.AI_TIMEOUT || "30s", // Configurable timeout
|
|
461
|
+
});
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
return NextResponse.json({ text: result.text });
|
|
464
464
|
}
|
|
465
465
|
```
|
|
466
466
|
|
|
@@ -559,27 +559,27 @@ const neurolink = new NeuroLink();
|
|
|
559
559
|
|
|
560
560
|
// Add Bitbucket integration
|
|
561
561
|
await neurolink.addMCPServer("bitbucket", {
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
562
|
+
command: "npx",
|
|
563
|
+
args: ["-y", "@nexus2520/bitbucket-mcp-server"],
|
|
564
|
+
env: {
|
|
565
|
+
BITBUCKET_USERNAME: "your-username",
|
|
566
|
+
BITBUCKET_APP_PASSWORD: "your-app-password",
|
|
567
|
+
},
|
|
568
568
|
});
|
|
569
569
|
|
|
570
570
|
// Add custom database connector
|
|
571
571
|
await neurolink.addMCPServer("database", {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
572
|
+
command: "node",
|
|
573
|
+
args: ["./custom-db-mcp-server.js"],
|
|
574
|
+
env: { DB_CONNECTION_STRING: "postgresql://..." },
|
|
575
575
|
});
|
|
576
576
|
|
|
577
577
|
// Add any MCP-compatible server
|
|
578
578
|
await neurolink.addMCPServer("slack-integration", {
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
579
|
+
command: "npx",
|
|
580
|
+
args: ["-y", "@slack/mcp-server"],
|
|
581
|
+
env: { SLACK_BOT_TOKEN: "xoxb-..." },
|
|
582
|
+
cwd: "/tmp",
|
|
583
583
|
});
|
|
584
584
|
|
|
585
585
|
// Verify servers are registered
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"name": "@neurolink-mcp/filesystem",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "./filesystem-mcp.js",
|
|
5
|
+
"description": "Provides secure file system operations for NeuroLink agents",
|
|
6
|
+
"author": "NeuroLink Team",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"engine": {
|
|
9
|
+
"neurolink": ">=1.9.0 <2.0.0"
|
|
10
|
+
},
|
|
11
|
+
"permissions": [
|
|
12
|
+
"fs:read:./**/*",
|
|
13
|
+
"fs:write:./output/**/*",
|
|
14
|
+
"fs:write:./temp/**/*"
|
|
15
|
+
],
|
|
16
|
+
"keywords": ["filesystem", "file", "mcp", "plugin"]
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,247 +1,247 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
2
|
+
"name": "@juspay/neurolink",
|
|
3
|
+
"version": "4.1.1",
|
|
4
|
+
"description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Juspay Technologies",
|
|
7
|
+
"email": "support@juspay.in",
|
|
8
|
+
"url": "https://juspay.io"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"homepage": "https://github.com/juspay/neurolink#readme",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/juspay/neurolink.git"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/juspay/neurolink/issues"
|
|
18
|
+
},
|
|
19
|
+
"funding": {
|
|
20
|
+
"type": "individual",
|
|
21
|
+
"url": "https://github.com/sponsors/juspay"
|
|
22
|
+
},
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18.0.0",
|
|
25
|
+
"npm": ">=8.0.0",
|
|
26
|
+
"pnpm": ">=8.0.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"dev": "vite dev",
|
|
30
|
+
"build": "vite build && pnpm run prepack",
|
|
31
|
+
"build:cli": "echo 'Building CLI...' && tsc --project tsconfig.cli.json",
|
|
32
|
+
"cli": "node dist/cli/index.js",
|
|
33
|
+
"preview": "vite preview",
|
|
34
|
+
"prepare": "svelte-kit sync || echo ''",
|
|
35
|
+
"prepack": "svelte-kit sync && svelte-package && pnpm run build:cli && publint",
|
|
36
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
37
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
38
|
+
"test": "vitest",
|
|
39
|
+
"test:run": "vitest run",
|
|
40
|
+
"test:dynamic-models": "node test-dynamic-models.js",
|
|
41
|
+
"model-server": "node scripts/model-server.js",
|
|
42
|
+
"lint": "prettier --check . && eslint .",
|
|
43
|
+
"format": "prettier --write .",
|
|
44
|
+
"changeset": "changeset",
|
|
45
|
+
"changeset:version": "changeset version && git add --all",
|
|
46
|
+
"// ===== NEUROLINK DEVELOPER EXPERIENCE ENHANCEMENT 2.0 =====": "",
|
|
47
|
+
"// Environment & Setup (pnpm-first)": "",
|
|
48
|
+
"setup": "pnpm install && node tools/automation/environment-manager.js",
|
|
49
|
+
"setup:complete": "pnpm run setup && pnpm run project:organize && pnpm run env:validate",
|
|
50
|
+
"env:setup": "node tools/automation/environment-manager.js",
|
|
51
|
+
"env:validate": "node tools/automation/environment-manager.js --validate",
|
|
52
|
+
"env:backup": "node tools/automation/environment-manager.js --backup",
|
|
53
|
+
"env:list-backups": "node tools/automation/environment-manager.js --list-backups",
|
|
54
|
+
"// Project Management & Analysis": "",
|
|
55
|
+
"project:analyze": "node tools/automation/script-analyzer.js",
|
|
56
|
+
"project:cleanup": "node tools/automation/script-analyzer.js --execute",
|
|
57
|
+
"project:organize": "node tools/automation/project-organizer.js",
|
|
58
|
+
"project:health": "node tools/development/health-monitor.js",
|
|
59
|
+
"// Shell Script Conversion": "",
|
|
60
|
+
"convert:shell-scripts": "node tools/automation/shell-converter.js",
|
|
61
|
+
"convert:specific": "node tools/automation/shell-converter.js --specific",
|
|
62
|
+
"// Testing (Enhanced & Adaptive)": "",
|
|
63
|
+
"test:smart": "node tools/testing/adaptive-test-runner.js",
|
|
64
|
+
"test:providers": "node tools/testing/provider-validator.js",
|
|
65
|
+
"test:performance": "node tools/testing/performance-monitor.js",
|
|
66
|
+
"test:coverage": "vitest run --coverage",
|
|
67
|
+
"test:ci": "pnpm run test:smart && pnpm run test:coverage",
|
|
68
|
+
"// Content Generation (Cross-platform JS)": "",
|
|
69
|
+
"content:screenshots": "node tools/content/screenshot-automation.js",
|
|
70
|
+
"content:videos": "node tools/converted-scripts/generate-all-videos.js",
|
|
71
|
+
"content:cleanup": "node tools/converted-scripts/cleanup-hash-named-videos.js",
|
|
72
|
+
"content:all": "pnpm run content:screenshots && pnpm run content:videos",
|
|
73
|
+
"// Documentation Automation": "",
|
|
74
|
+
"docs:sync": "node tools/content/documentation-sync.js",
|
|
75
|
+
"docs:validate": "node tools/content/documentation-sync.js --validate",
|
|
76
|
+
"docs:generate": "pnpm run docs:sync && pnpm run content:screenshots",
|
|
77
|
+
"// Development & Monitoring": "",
|
|
78
|
+
"dev:full": "node tools/development/dev-server.js",
|
|
79
|
+
"dev:health": "node tools/development/health-monitor.js",
|
|
80
|
+
"dev:demo": "concurrently \"pnpm run dev\" \"node neurolink-demo/complete-enhanced-server.js\"",
|
|
81
|
+
"// Build & Deploy (Complete Pipeline)": "",
|
|
82
|
+
"build:complete": "node tools/automation/build-system.js",
|
|
83
|
+
"build:analyze": "node tools/development/dependency-analyzer.js",
|
|
84
|
+
"// Quality & Maintenance": "",
|
|
85
|
+
"quality:all": "pnpm run lint && pnpm run format && pnpm run test:ci",
|
|
86
|
+
"clean": "pnpm run content:cleanup && rm -rf dist .svelte-kit node_modules/.cache",
|
|
87
|
+
"reset": "pnpm run clean && pnpm install",
|
|
88
|
+
"audit": "pnpm audit && pnpm run build:analyze",
|
|
89
|
+
"// Release & Publishing": "",
|
|
90
|
+
"release": "pnpm run build:complete && pnpm run test:ci && changeset publish"
|
|
91
|
+
},
|
|
92
|
+
"files": [
|
|
93
|
+
"dist",
|
|
94
|
+
"!dist/**/*.test.*",
|
|
95
|
+
"!dist/**/*.spec.*",
|
|
96
|
+
"!dist/**/*.map",
|
|
97
|
+
"README.md",
|
|
98
|
+
"CHANGELOG.md",
|
|
99
|
+
"LICENSE"
|
|
100
|
+
],
|
|
101
|
+
"sideEffects": [
|
|
102
|
+
"**/*.css"
|
|
103
|
+
],
|
|
104
|
+
"svelte": "./dist/index.js",
|
|
105
|
+
"types": "./dist/index.d.ts",
|
|
106
|
+
"type": "module",
|
|
107
|
+
"main": "./dist/index.js",
|
|
108
|
+
"bin": {
|
|
109
|
+
"neurolink": "./dist/cli/index.js"
|
|
110
|
+
},
|
|
111
|
+
"exports": {
|
|
112
|
+
".": {
|
|
113
|
+
"types": "./dist/index.d.ts",
|
|
114
|
+
"svelte": "./dist/index.js",
|
|
115
|
+
"import": "./dist/index.js",
|
|
116
|
+
"default": "./dist/index.js"
|
|
117
|
+
},
|
|
118
|
+
"./package.json": "./package.json",
|
|
119
|
+
"./cli": {
|
|
120
|
+
"types": "./dist/cli/index.d.ts",
|
|
121
|
+
"import": "./dist/cli/index.js",
|
|
122
|
+
"default": "./dist/cli/index.js"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"dependencies": {
|
|
126
|
+
"@ai-sdk/amazon-bedrock": "^1.0.0",
|
|
127
|
+
"@ai-sdk/anthropic": "^1.2.12",
|
|
128
|
+
"@ai-sdk/google": "^1.2.19",
|
|
129
|
+
"@ai-sdk/google-vertex": "^2.2.0",
|
|
130
|
+
"@ai-sdk/mistral": "^1.0.0",
|
|
131
|
+
"@ai-sdk/openai": "^1.0.0",
|
|
132
|
+
"@google/generative-ai": "^0.24.1",
|
|
133
|
+
"@huggingface/inference": "^2.8.0",
|
|
134
|
+
"@modelcontextprotocol/sdk": "^1.13.0",
|
|
135
|
+
"@opentelemetry/api": "^1.9.0",
|
|
136
|
+
"@opentelemetry/auto-instrumentations-node": "^0.52.1",
|
|
137
|
+
"@opentelemetry/exporter-logs-otlp-http": "^0.54.2",
|
|
138
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.54.2",
|
|
139
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.54.2",
|
|
140
|
+
"@opentelemetry/instrumentation-fetch": "^0.54.2",
|
|
141
|
+
"@opentelemetry/instrumentation-http": "^0.54.2",
|
|
142
|
+
"@opentelemetry/propagator-b3": "^1.30.1",
|
|
143
|
+
"@opentelemetry/resource-detector-aws": "^1.12.0",
|
|
144
|
+
"@opentelemetry/resources": "^1.30.1",
|
|
145
|
+
"@opentelemetry/sdk-logs": "^0.54.2",
|
|
146
|
+
"@opentelemetry/sdk-metrics": "^1.30.1",
|
|
147
|
+
"@opentelemetry/sdk-node": "^0.54.2",
|
|
148
|
+
"@opentelemetry/semantic-conventions": "^1.34.0",
|
|
149
|
+
"@types/ws": "^8.18.1",
|
|
150
|
+
"ai": "^4.0.0",
|
|
151
|
+
"chalk": "^5.3.0",
|
|
152
|
+
"cors": "^2.8.5",
|
|
153
|
+
"dotenv": "^16.5.0",
|
|
154
|
+
"express": "^5.1.0",
|
|
155
|
+
"inquirer": "^9.2.15",
|
|
156
|
+
"ora": "^7.0.1",
|
|
157
|
+
"playwright": "^1.52.0",
|
|
158
|
+
"reconnecting-eventsource": "^1.6.4",
|
|
159
|
+
"undici": "^6.6.2",
|
|
160
|
+
"uuid": "^11.1.0",
|
|
161
|
+
"ws": "^8.18.3",
|
|
162
|
+
"yargs": "^17.7.2",
|
|
163
|
+
"zod": "^3.22.0",
|
|
164
|
+
"zod-to-json-schema": "^3.24.5"
|
|
165
|
+
},
|
|
166
|
+
"devDependencies": {
|
|
167
|
+
"@changesets/cli": "^2.26.2",
|
|
168
|
+
"@eslint/js": "^9.0.0",
|
|
169
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
170
|
+
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
171
|
+
"@semantic-release/git": "^10.0.1",
|
|
172
|
+
"@semantic-release/github": "^11.0.0",
|
|
173
|
+
"@semantic-release/npm": "^12.0.1",
|
|
174
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
175
|
+
"@sveltejs/adapter-auto": "^6.0.0",
|
|
176
|
+
"@sveltejs/kit": "^2.16.0",
|
|
177
|
+
"@sveltejs/package": "^2.0.0",
|
|
178
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
179
|
+
"@types/cors": "^2.8.19",
|
|
180
|
+
"@types/express": "^5.0.3",
|
|
181
|
+
"@types/inquirer": "^9.0.7",
|
|
182
|
+
"@types/node": "^20.0.0",
|
|
183
|
+
"@types/yargs": "^17.0.33",
|
|
184
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
185
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
186
|
+
"eslint": "^9.0.0",
|
|
187
|
+
"prettier": "^3.0.0",
|
|
188
|
+
"publint": "^0.3.2",
|
|
189
|
+
"puppeteer": "^24.10.0",
|
|
190
|
+
"semantic-release": "^24.0.0",
|
|
191
|
+
"svelte": "^5.0.0",
|
|
192
|
+
"svelte-check": "^4.0.0",
|
|
193
|
+
"tslib": "^2.4.1",
|
|
194
|
+
"typescript": "^5.0.0",
|
|
195
|
+
"vite": "^6.2.6",
|
|
196
|
+
"vitest": "^2.0.0",
|
|
197
|
+
"why-is-node-running": "^3.2.2"
|
|
198
|
+
},
|
|
199
|
+
"keywords": [
|
|
200
|
+
"ai",
|
|
201
|
+
"llm",
|
|
202
|
+
"mcp",
|
|
203
|
+
"model-context-protocol",
|
|
204
|
+
"lighthouse",
|
|
205
|
+
"tool-orchestration",
|
|
206
|
+
"ai-platform",
|
|
207
|
+
"openai",
|
|
208
|
+
"anthropic",
|
|
209
|
+
"google",
|
|
210
|
+
"bedrock",
|
|
211
|
+
"vertex",
|
|
212
|
+
"streaming",
|
|
213
|
+
"tools",
|
|
214
|
+
"neurolink",
|
|
215
|
+
"juspay",
|
|
216
|
+
"svelte",
|
|
217
|
+
"chatgpt",
|
|
218
|
+
"gpt-4",
|
|
219
|
+
"claude",
|
|
220
|
+
"gemini",
|
|
221
|
+
"ai-sdk",
|
|
222
|
+
"typescript",
|
|
223
|
+
"cli-tool",
|
|
224
|
+
"developer-tools",
|
|
225
|
+
"automation",
|
|
226
|
+
"machine-learning",
|
|
227
|
+
"artificial-intelligence",
|
|
228
|
+
"multi-provider",
|
|
229
|
+
"ai-agents",
|
|
230
|
+
"prompt-engineering",
|
|
231
|
+
"ai-workflow",
|
|
232
|
+
"universal-ai",
|
|
233
|
+
"ai-development",
|
|
234
|
+
"llm-integration"
|
|
235
|
+
],
|
|
236
|
+
"pnpm": {
|
|
237
|
+
"onlyBuiltDependencies": [
|
|
238
|
+
"esbuild",
|
|
239
|
+
"puppeteer"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"os": [
|
|
243
|
+
"darwin",
|
|
244
|
+
"linux",
|
|
245
|
+
"win32"
|
|
246
|
+
]
|
|
247
247
|
}
|