hybard-agent 0.1.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/LICENSE +21 -0
- package/README.md +41 -0
- package/bin/.cmd +0 -0
- package/bin/agent.js +673 -0
- package/bin/cli.js +326 -0
- package/bin/hybard.cmd +2 -0
- package/knowledge/BENGALI_GUIDE.md +436 -0
- package/knowledge/CAPABILITIES.md +448 -0
- package/knowledge/INDEX.md +204 -0
- package/knowledge/KNOWLEDGE_BASE.md +1174 -0
- package/knowledge/README.md +97 -0
- package/knowledge/SYSTEM_PROMPT.md +310 -0
- package/lib/agent.js +730 -0
- package/lib/analyzer.js +330 -0
- package/lib/coding-agent.js +87 -0
- package/lib/coding-model.js +585 -0
- package/lib/engine.js +591 -0
- package/lib/hybard-agent.js +1063 -0
- package/lib/main.dart +32 -0
- package/lib/models.js +357 -0
- package/lib/online.js +654 -0
- package/lib/server.js +278 -0
- package/lib/ui.js +96 -0
- package/package.json +50 -0
package/lib/server.js
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hybard Agent — Auto-start Server with Network Detection.
|
|
3
|
+
*
|
|
4
|
+
* When installed globally via `npm install -g hybard-agent`:
|
|
5
|
+
* - Auto-detects the machine's network IP
|
|
6
|
+
* - Starts a WebSocket + HTTP server on the local network
|
|
7
|
+
* - Other devices on the same network can connect
|
|
8
|
+
* - Works with the user's own internet connection
|
|
9
|
+
*
|
|
10
|
+
* Usage:
|
|
11
|
+
* const { startHybardServer } = require('./lib/server');
|
|
12
|
+
* startHybardServer({ port: 7860 });
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
const http = require('http');
|
|
16
|
+
const { WebSocketServer } = require('ws');
|
|
17
|
+
const os = require('os');
|
|
18
|
+
const path = require('path');
|
|
19
|
+
const fs = require('fs');
|
|
20
|
+
const { CodingAgent } = require('./coding-agent');
|
|
21
|
+
|
|
22
|
+
const DEFAULT_PORT = 7860;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Get the local network IP address.
|
|
26
|
+
* Tries to find the IPv4 address of a non-internal network interface.
|
|
27
|
+
*/
|
|
28
|
+
function getLocalIP() {
|
|
29
|
+
const interfaces = os.networkInterfaces();
|
|
30
|
+
for (const name of Object.keys(interfaces)) {
|
|
31
|
+
for (const iface of interfaces[name]) {
|
|
32
|
+
// Skip internal (loopback) and non-IPv4
|
|
33
|
+
if (iface.family === 'IPv4' && !iface.internal) {
|
|
34
|
+
return iface.address;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return '127.0.0.1';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Get server info for display.
|
|
43
|
+
*/
|
|
44
|
+
function getServerInfo(port) {
|
|
45
|
+
const ip = getLocalIP();
|
|
46
|
+
const hostname = os.hostname();
|
|
47
|
+
return {
|
|
48
|
+
ip,
|
|
49
|
+
port,
|
|
50
|
+
hostname,
|
|
51
|
+
urls: {
|
|
52
|
+
local: `http://localhost:${port}`,
|
|
53
|
+
network: `http://${ip}:${port}`,
|
|
54
|
+
ws: `ws://${ip}:${port}`,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Start the Hybard auto-server.
|
|
61
|
+
* Detects network IP, starts HTTP + WebSocket server.
|
|
62
|
+
* Other devices on the same network can connect via the network IP.
|
|
63
|
+
*/
|
|
64
|
+
function startHybardServer(options = {}) {
|
|
65
|
+
const port = options.port || DEFAULT_PORT;
|
|
66
|
+
const info = getServerInfo(port);
|
|
67
|
+
|
|
68
|
+
console.log('');
|
|
69
|
+
console.log(' ╔═══════════════════════════════════════════════════════╗');
|
|
70
|
+
console.log(' ║ HYBARD AI CODING AGENT — SERVER ║');
|
|
71
|
+
console.log(' ╠═══════════════════════════════════════════════════════╣');
|
|
72
|
+
console.log(` ║ Local: ${info.urls.local.padEnd(40)}║`);
|
|
73
|
+
console.log(` ║ Network: ${info.urls.network.padEnd(40)}║`);
|
|
74
|
+
console.log(` ║ Machine: ${info.hostname.padEnd(40)}║`);
|
|
75
|
+
console.log(' ╠═══════════════════════════════════════════════════════╣');
|
|
76
|
+
console.log(' ║ Connect from any device on the same network: ║');
|
|
77
|
+
console.log(` ║ ${info.urls.network.padEnd(49)}║`);
|
|
78
|
+
console.log(' ╚═══════════════════════════════════════════════════════╝');
|
|
79
|
+
console.log('');
|
|
80
|
+
|
|
81
|
+
// ─── HTTP Server (REST API + static files) ────────────
|
|
82
|
+
const agent = new CodingAgent();
|
|
83
|
+
agent.init();
|
|
84
|
+
|
|
85
|
+
const httpServer = http.createServer((req, res) => {
|
|
86
|
+
// CORS headers — allow any device on the network
|
|
87
|
+
res.setHeader('Access-Control-Allow-Origin', '*');
|
|
88
|
+
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');
|
|
89
|
+
res.setHeader('Access-Control-Allow-Headers', 'Content-Type');
|
|
90
|
+
|
|
91
|
+
if (req.method === 'OPTIONS') {
|
|
92
|
+
res.writeHead(200);
|
|
93
|
+
res.end();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// API routes
|
|
98
|
+
if (req.url === '/api/health') {
|
|
99
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
100
|
+
res.end(JSON.stringify({
|
|
101
|
+
status: 'ok',
|
|
102
|
+
agent: 'hybard-agent',
|
|
103
|
+
version: '1.0.0',
|
|
104
|
+
ip: info.ip,
|
|
105
|
+
hostname: info.hostname,
|
|
106
|
+
models: agent.getModels().length,
|
|
107
|
+
}));
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (req.url === '/api/models') {
|
|
112
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
113
|
+
res.end(JSON.stringify(agent.getModels()));
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (req.url === '/api/project') {
|
|
118
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
119
|
+
res.end(JSON.stringify(agent.getModelInfo()));
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (req.url === '/api/chat' && req.method === 'POST') {
|
|
124
|
+
let body = '';
|
|
125
|
+
req.on('data', chunk => body += chunk);
|
|
126
|
+
req.on('end', async () => {
|
|
127
|
+
try {
|
|
128
|
+
const { message } = JSON.parse(body);
|
|
129
|
+
if (!message) {
|
|
130
|
+
res.writeHead(400, { 'Content-Type': 'application/json' });
|
|
131
|
+
res.end(JSON.stringify({ error: 'message is required' }));
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
const response = await agent.chat(message);
|
|
135
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
136
|
+
res.end(JSON.stringify({ response }));
|
|
137
|
+
} catch (err) {
|
|
138
|
+
res.writeHead(500, { 'Content-Type': 'application/json' });
|
|
139
|
+
res.end(JSON.stringify({ error: err.message }));
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (req.url === '/api/generate' && req.method === 'POST') {
|
|
146
|
+
let body = '';
|
|
147
|
+
req.on('data', chunk => body += chunk);
|
|
148
|
+
req.on('end', async () => {
|
|
149
|
+
try {
|
|
150
|
+
const { prompt, language } = JSON.parse(body);
|
|
151
|
+
const response = await agent.generateCode(prompt, language);
|
|
152
|
+
const blocks = agent.extractCodeBlocks(response);
|
|
153
|
+
if (blocks.length > 0) {
|
|
154
|
+
agent.writeCodeBlocks(blocks);
|
|
155
|
+
}
|
|
156
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
157
|
+
res.end(JSON.stringify({ response, files: blocks.map(b => b.filename) }));
|
|
158
|
+
} catch (err) {
|
|
159
|
+
res.writeHead(500, { 'Content-Type': 'application/json' });
|
|
160
|
+
res.end(JSON.stringify({ error: err.message }));
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Default: serve a simple status page
|
|
167
|
+
res.writeHead(200, { 'Content-Type': 'text/html' });
|
|
168
|
+
res.end(`<!DOCTYPE html>
|
|
169
|
+
<html><head><title>Hybard Agent</title>
|
|
170
|
+
<style>
|
|
171
|
+
body { font-family: system-ui; max-width: 600px; margin: 40px auto; padding: 20px; }
|
|
172
|
+
h1 { color: #2563eb; }
|
|
173
|
+
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; }
|
|
174
|
+
.status { color: #16a34a; font-weight: bold; }
|
|
175
|
+
</style></head>
|
|
176
|
+
<body>
|
|
177
|
+
<h1>Hybard AI Coding Agent</h1>
|
|
178
|
+
<p class="status">Server is running</p>
|
|
179
|
+
<p>Machine: <code>${info.hostname}</code></p>
|
|
180
|
+
<p>IP: <code>${info.ip}</code></p>
|
|
181
|
+
<h3>API Endpoints:</h3>
|
|
182
|
+
<ul>
|
|
183
|
+
<li><code>GET /api/health</code> — Health check</li>
|
|
184
|
+
<li><code>GET /api/models</code> — List available models</li>
|
|
185
|
+
<li><code>POST /api/chat</code> — Chat with AI</li>
|
|
186
|
+
<li><code>POST /api/generate</code> — Generate code</li>
|
|
187
|
+
<li><code>GET /api/project</code> — Project info</li>
|
|
188
|
+
</ul>
|
|
189
|
+
</body></html>`);
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
// ─── WebSocket Server (real-time chat) ────────────────
|
|
193
|
+
const wss = new WebSocketServer({ server: httpServer });
|
|
194
|
+
|
|
195
|
+
wss.on('connection', (ws) => {
|
|
196
|
+
console.log(` [Client connected] ${ws._socket.remoteAddress}`);
|
|
197
|
+
|
|
198
|
+
ws.send(JSON.stringify({
|
|
199
|
+
type: 'welcome',
|
|
200
|
+
message: 'Connected to Hybard Agent',
|
|
201
|
+
ip: info.ip,
|
|
202
|
+
hostname: info.hostname,
|
|
203
|
+
models: agent.getModels().map(m => `${m.provider}/${m.modelId}`),
|
|
204
|
+
}));
|
|
205
|
+
|
|
206
|
+
ws.on('message', async (data) => {
|
|
207
|
+
try {
|
|
208
|
+
const msg = JSON.parse(data.toString());
|
|
209
|
+
|
|
210
|
+
if (msg.type === 'chat') {
|
|
211
|
+
ws.send(JSON.stringify({ type: 'thinking', message: 'Thinking...' }));
|
|
212
|
+
const response = await agent.chat(msg.message);
|
|
213
|
+
ws.send(JSON.stringify({ type: 'response', response }));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
if (msg.type === 'generate') {
|
|
217
|
+
ws.send(JSON.stringify({ type: 'thinking', message: 'Generating code...' }));
|
|
218
|
+
const response = await agent.generateCode(msg.prompt, msg.language);
|
|
219
|
+
const blocks = agent.extractCodeBlocks(response);
|
|
220
|
+
if (blocks.length > 0) {
|
|
221
|
+
agent.writeCodeBlocks(blocks);
|
|
222
|
+
}
|
|
223
|
+
ws.send(JSON.stringify({
|
|
224
|
+
type: 'generated',
|
|
225
|
+
response,
|
|
226
|
+
files: blocks.map(b => b.filename),
|
|
227
|
+
}));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (msg.type === 'switch') {
|
|
231
|
+
agent.setModel(msg.provider, msg.model);
|
|
232
|
+
ws.send(JSON.stringify({
|
|
233
|
+
type: 'switched',
|
|
234
|
+
provider: msg.provider,
|
|
235
|
+
model: msg.model,
|
|
236
|
+
}));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (msg.type === 'models') {
|
|
240
|
+
ws.send(JSON.stringify({
|
|
241
|
+
type: 'models',
|
|
242
|
+
models: agent.getModels(),
|
|
243
|
+
}));
|
|
244
|
+
}
|
|
245
|
+
} catch (err) {
|
|
246
|
+
ws.send(JSON.stringify({ type: 'error', error: err.message }));
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
ws.on('close', () => {
|
|
251
|
+
console.log(` [Client disconnected] ${ws._socket.remoteAddress}`);
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
// ─── Start listening ──────────────────────────────────
|
|
256
|
+
httpServer.listen(port, '0.0.0.0', () => {
|
|
257
|
+
console.log(` Server started on port ${port}`);
|
|
258
|
+
console.log(` Listening on all interfaces (0.0.0.0)`);
|
|
259
|
+
console.log('');
|
|
260
|
+
console.log(` Other devices on your network can connect to:`);
|
|
261
|
+
console.log(` ${info.urls.network}`);
|
|
262
|
+
console.log('');
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
httpServer.on('error', (err) => {
|
|
266
|
+
if (err.code === 'EADDRINUSE') {
|
|
267
|
+
console.error(` Port ${port} is already in use. Try a different port:`);
|
|
268
|
+
console.error(` hybard-agent server --port ${port + 1}`);
|
|
269
|
+
} else {
|
|
270
|
+
console.error(` Server error: ${err.message}`);
|
|
271
|
+
}
|
|
272
|
+
process.exit(1);
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
return { httpServer, wss, info };
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
module.exports = { startHybardServer, getLocalIP, getServerInfo };
|
package/lib/ui.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hybard Agent — Clean CLI UI
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const C = {
|
|
6
|
+
reset: '\x1b[0m', red: '\x1b[31m', green: '\x1b[32m', yellow: '\x1b[33m',
|
|
7
|
+
blue: '\x1b[34m', magenta: '\x1b[35m', cyan: '\x1b[36m', white: '\x1b[37m',
|
|
8
|
+
brightRed: '\x1b[91m', brightGreen: '\x1b[92m', brightYellow: '\x1b[93m',
|
|
9
|
+
brightBlue: '\x1b[94m', brightMagenta: '\x1b[95m', brightCyan: '\x1b[96m',
|
|
10
|
+
brightWhite: '\x1b[97m', bold: '\x1b[1m', dim: '\x1b[2m', underline: '\x1b[4m',
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
function c(text, ...codes) { return codes.join('') + text + C.reset; }
|
|
14
|
+
function repeat(ch, n) { return ch.repeat(Math.max(0, n)); }
|
|
15
|
+
|
|
16
|
+
function printBanner() {
|
|
17
|
+
console.log('');
|
|
18
|
+
console.log(c(' ╔═══════════════════════════════════════╗', C.cyan, C.bold));
|
|
19
|
+
console.log(c(' ║ HYBARD AI CODING AGENT ║', C.cyan, C.bold));
|
|
20
|
+
console.log(c(' ║ v1.0.0 ║', C.cyan, C.bold));
|
|
21
|
+
console.log(c(' ╚═══════════════════════════════════════╝', C.cyan, C.bold));
|
|
22
|
+
console.log('');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function printUser(text) {
|
|
26
|
+
console.log('');
|
|
27
|
+
console.log(c(' ┌─ You ──────────────────────────────┐', C.blue, C.bold));
|
|
28
|
+
console.log(c(' │', C.blue, C.bold) + ' ' + text);
|
|
29
|
+
console.log(c(' └────────────────────────────────────┘', C.blue, C.bold));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function printAI(text) {
|
|
33
|
+
console.log('');
|
|
34
|
+
console.log(c(' ┌─ Hybard ───────────────────────────┐', C.green, C.bold));
|
|
35
|
+
const lines = text.split('\n');
|
|
36
|
+
for (const line of lines) {
|
|
37
|
+
console.log(c(' │', C.green, C.bold) + ' ' + line);
|
|
38
|
+
}
|
|
39
|
+
console.log(c(' └────────────────────────────────────┘', C.green, C.bold));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function printError(text) {
|
|
43
|
+
console.log('');
|
|
44
|
+
console.log(c(' ┌─ Error ────────────────────────────┐', C.red, C.bold));
|
|
45
|
+
console.log(c(' │', C.red, C.bold) + ' ' + text);
|
|
46
|
+
console.log(c(' └────────────────────────────────────┘', C.red, C.bold));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function printSuccess(text) {
|
|
50
|
+
console.log('');
|
|
51
|
+
console.log(c(' ┌─ OK ───────────────────────────────┐', C.green, C.bold));
|
|
52
|
+
console.log(c(' │', C.green, C.bold) + ' ' + text);
|
|
53
|
+
console.log(c(' └────────────────────────────────────┘', C.green, C.bold));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function startThinking(msg = 'Thinking') {
|
|
57
|
+
const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
|
58
|
+
let i = 0;
|
|
59
|
+
process.stdout.write(c(' ' + frames[0] + ' ' + msg + '...', C.cyan));
|
|
60
|
+
const iv = setInterval(() => { process.stdout.write('\r' + c(' ' + frames[i++ % frames.length] + ' ' + msg + '...', C.cyan)); }, 100);
|
|
61
|
+
return () => { clearInterval(iv); process.stdout.write('\r' + repeat(' ', msg.length + 10) + '\r'); };
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function printStatus(provider, model, project) {
|
|
65
|
+
console.log('');
|
|
66
|
+
console.log(c(' ┌─ Status ───────────────────────────┐', C.yellow));
|
|
67
|
+
console.log(c(' │', C.yellow) + ' Model: ' + c(provider + '/' + model, C.cyan, C.bold));
|
|
68
|
+
console.log(c(' │', C.yellow) + ' Project: ' + (project || 'none'));
|
|
69
|
+
console.log(c(' └────────────────────────────────────┘', C.yellow));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function printTable(headers, rows) {
|
|
73
|
+
console.log('');
|
|
74
|
+
console.log(c(' ┌─ Data ─────────────────────────────┐', C.cyan));
|
|
75
|
+
console.log(c(' │', C.cyan) + ' ' + headers.join(' | '));
|
|
76
|
+
console.log(c(' │', C.cyan) + ' ' + headers.map(h => '-'.repeat(h.length)).join(' | '));
|
|
77
|
+
for (const row of rows) {
|
|
78
|
+
console.log(c(' │', C.cyan) + ' ' + row.join(' | '));
|
|
79
|
+
}
|
|
80
|
+
console.log(c(' └────────────────────────────────────┘', C.cyan));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function printHelp() {
|
|
84
|
+
console.log('');
|
|
85
|
+
console.log(c(' ┌─ Commands ─────────────────────────┐', C.cyan));
|
|
86
|
+
console.log(c(' │', C.cyan) + ' hybard Start chat');
|
|
87
|
+
console.log(c(' │', C.cyan) + ' hybard agent Coding agent');
|
|
88
|
+
console.log(c(' │', C.cyan) + ' hybard server Network server');
|
|
89
|
+
console.log(c(' │', C.cyan) + ' hybard models List models');
|
|
90
|
+
console.log(c(' │', C.cyan) + ' hybard config Show config');
|
|
91
|
+
console.log(c(' │', C.cyan) + ' hybard settings Network settings');
|
|
92
|
+
console.log(c(' │', C.cyan) + ' hybard help Show help');
|
|
93
|
+
console.log(c(' └────────────────────────────────────┘', C.cyan));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
module.exports = { C, c, repeat, printBanner, printUser, printAI, printError, printSuccess, startThinking, printStatus, printTable, printHelp };
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hybard-agent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Hybard AI Agent — full-stack AI engineering assistant for developers",
|
|
5
|
+
"main": "lib/hybard-agent.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"hybard-agent": "./bin/agent.js",
|
|
8
|
+
"hybard": "./bin/agent.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node bin/agent.js",
|
|
12
|
+
"dev": "node bin/agent.js",
|
|
13
|
+
"test": "node test.js",
|
|
14
|
+
"agent": "node bin/agent.js",
|
|
15
|
+
"chat": "node bin/agent.js",
|
|
16
|
+
"create": "node bin/agent.js create",
|
|
17
|
+
"fix": "node bin/agent.js fix",
|
|
18
|
+
"explain": "node bin/agent.js explain",
|
|
19
|
+
"run": "node bin/agent.js run",
|
|
20
|
+
"project": "node bin/agent.js project"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"ai",
|
|
24
|
+
"agent",
|
|
25
|
+
"coding",
|
|
26
|
+
"fullstack",
|
|
27
|
+
"llm",
|
|
28
|
+
"assistant",
|
|
29
|
+
"hybard"
|
|
30
|
+
],
|
|
31
|
+
"author": "Hybard AI Team",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"express": "^5.2.1",
|
|
38
|
+
"ws": "^8.21.1"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=16.0.0"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"lib/",
|
|
45
|
+
"bin/",
|
|
46
|
+
"knowledge/",
|
|
47
|
+
"README.md",
|
|
48
|
+
"LICENSE"
|
|
49
|
+
]
|
|
50
|
+
}
|