bunqueue 2.8.44 → 2.8.45
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/cli/help.js
CHANGED
|
@@ -16,8 +16,8 @@ export function renderHelp(color = true) {
|
|
|
16
16
|
const bold = color ? '\x1b[1m' : '';
|
|
17
17
|
return `
|
|
18
18
|
${magenta} (\\(\\ ${reset}
|
|
19
|
-
${magenta} ( -.-) ${bold}bunqueue${reset}
|
|
20
|
-
${magenta} o_(")(") ${reset}
|
|
19
|
+
${magenta} ( -.-) ${bold}bunqueue${reset}
|
|
20
|
+
${magenta} o_(")(") ${reset}${dim}One queue. Any language.${reset}
|
|
21
21
|
|
|
22
22
|
USAGE:
|
|
23
23
|
bunqueue [command] [options]
|
|
@@ -29,7 +29,10 @@ function printBanner(config, cloudUrl) {
|
|
|
29
29
|
const bold = '\x1b[1m';
|
|
30
30
|
const magenta = '\x1b[35m';
|
|
31
31
|
const green = '\x1b[32m';
|
|
32
|
-
const
|
|
32
|
+
const active = `${green}●${reset}`;
|
|
33
|
+
const inactive = `${dim}○${reset}`;
|
|
34
|
+
const info = `${dim}•${reset}`;
|
|
35
|
+
const row = (marker, label, value) => ` ${marker} ${label.padEnd(12)}${value}`;
|
|
33
36
|
// Format TCP endpoint display
|
|
34
37
|
const tcpDisplay = config.tcpSocketPath
|
|
35
38
|
? `${bold}${config.tcpSocketPath}${reset} ${dim}(unix)${reset}`
|
|
@@ -43,24 +46,27 @@ function printBanner(config, cloudUrl) {
|
|
|
43
46
|
const socketDisplay = hasUnixSockets
|
|
44
47
|
? `${green}enabled${reset} ${dim}(${config.tcpSocketPath ? 'TCP' : ''}${config.tcpSocketPath && config.httpSocketPath ? '+' : ''}${config.httpSocketPath ? 'HTTP' : ''})${reset}`
|
|
45
48
|
: `${dim}disabled${reset}`;
|
|
49
|
+
const storageDisplay = config.dataPath
|
|
50
|
+
? `${bold}SQLite${reset} ${dim}·${reset} ${config.dataPath}`
|
|
51
|
+
: `in-memory ${dim}· ephemeral${reset}`;
|
|
46
52
|
console.log(`
|
|
47
53
|
${magenta} (\\(\\ ${reset}
|
|
48
54
|
${magenta} ( -.-) ${bold}bunqueue${reset} ${dim}v${VERSION}${reset}
|
|
49
|
-
${magenta} o_(")(") ${reset}${dim}
|
|
55
|
+
${magenta} o_(")(") ${reset}${dim}One queue. Any language.${reset}
|
|
50
56
|
|
|
51
|
-
${dim}
|
|
57
|
+
${dim}──────────────────────────────────────────────────────${reset}
|
|
52
58
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
${row(active, 'TCP', tcpDisplay)}
|
|
60
|
+
${row(active, 'HTTP', httpDisplay)}
|
|
61
|
+
${row(hasUnixSockets ? active : inactive, 'Unix socket', socketDisplay)}
|
|
62
|
+
${row(info, 'Storage', storageDisplay)}
|
|
63
|
+
${row(config.s3BackupEnabled ? active : inactive, 'S3 Backup', config.s3BackupEnabled ? `${green}enabled${reset}` : `${dim}disabled${reset}`)}
|
|
64
|
+
${row(config.tlsCertFile ? active : inactive, 'TLS', config.tlsCertFile ? `${green}enabled${reset}` : `${dim}disabled${reset}`)}
|
|
65
|
+
${row(config.authTokens.length > 0 ? active : inactive, 'Auth', config.authTokens.length > 0 ? `${green}enabled${reset}` : `${dim}disabled${reset}`)}
|
|
66
|
+
${row(cloudUrl ? active : inactive, 'Cloud', cloudUrl ? `${green}enabled${reset} ${dim}→ ${cloudUrl}${reset}` : `${dim}disabled${reset}`)}
|
|
67
|
+
${row(info, 'Shards', `${bold}${SHARD_COUNT}${reset} ${dim}· ${navigator.hardwareConcurrency} logical CPUs${reset}`)}
|
|
62
68
|
|
|
63
|
-
${dim}
|
|
69
|
+
${dim}──────────────────────────────────────────────────────${reset}
|
|
64
70
|
|
|
65
71
|
`);
|
|
66
72
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunqueue",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.45",
|
|
4
4
|
"description": "High-performance job queue for Bun & AI agents. SQLite persistence, cron scheduling, priorities, retries, DLQ, webhooks, native MCP server. Zero external infrastructure.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|