@gravito/zenith 1.1.3 → 1.1.6

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 (70) hide show
  1. package/README.md +28 -10
  2. package/dist/bin.js +43235 -76691
  3. package/dist/client/index.html +13 -0
  4. package/dist/server/index.js +43235 -76691
  5. package/package.json +16 -7
  6. package/CHANGELOG.md +0 -62
  7. package/Dockerfile +0 -46
  8. package/Dockerfile.demo-worker +0 -29
  9. package/bin/flux-console.ts +0 -2
  10. package/doc/ECOSYSTEM_EXPANSION_RFC.md +0 -130
  11. package/docker-compose.yml +0 -40
  12. package/docs/ALERTING_GUIDE.md +0 -71
  13. package/docs/DEPLOYMENT.md +0 -157
  14. package/docs/DOCS_INTERNAL.md +0 -73
  15. package/docs/LARAVEL_ZENITH_ROADMAP.md +0 -109
  16. package/docs/QUASAR_MASTER_PLAN.md +0 -140
  17. package/docs/QUICK_TEST_GUIDE.md +0 -72
  18. package/docs/ROADMAP.md +0 -85
  19. package/docs/integrations/LARAVEL.md +0 -207
  20. package/postcss.config.js +0 -6
  21. package/scripts/debug_redis_keys.ts +0 -24
  22. package/scripts/flood-logs.ts +0 -21
  23. package/scripts/seed.ts +0 -213
  24. package/scripts/verify-throttle.ts +0 -49
  25. package/scripts/worker.ts +0 -124
  26. package/specs/PULSE_SPEC.md +0 -86
  27. package/src/bin.ts +0 -6
  28. package/src/client/App.tsx +0 -72
  29. package/src/client/Layout.tsx +0 -669
  30. package/src/client/Sidebar.tsx +0 -112
  31. package/src/client/ThroughputChart.tsx +0 -158
  32. package/src/client/WorkerStatus.tsx +0 -202
  33. package/src/client/components/BrandIcons.tsx +0 -168
  34. package/src/client/components/ConfirmDialog.tsx +0 -134
  35. package/src/client/components/JobInspector.tsx +0 -487
  36. package/src/client/components/LogArchiveModal.tsx +0 -432
  37. package/src/client/components/NotificationBell.tsx +0 -212
  38. package/src/client/components/PageHeader.tsx +0 -47
  39. package/src/client/components/Toaster.tsx +0 -90
  40. package/src/client/components/UserProfileDropdown.tsx +0 -186
  41. package/src/client/contexts/AuthContext.tsx +0 -105
  42. package/src/client/contexts/NotificationContext.tsx +0 -128
  43. package/src/client/index.css +0 -172
  44. package/src/client/main.tsx +0 -15
  45. package/src/client/pages/LoginPage.tsx +0 -164
  46. package/src/client/pages/MetricsPage.tsx +0 -445
  47. package/src/client/pages/OverviewPage.tsx +0 -519
  48. package/src/client/pages/PulsePage.tsx +0 -409
  49. package/src/client/pages/QueuesPage.tsx +0 -378
  50. package/src/client/pages/SchedulesPage.tsx +0 -535
  51. package/src/client/pages/SettingsPage.tsx +0 -1001
  52. package/src/client/pages/WorkersPage.tsx +0 -380
  53. package/src/client/pages/index.ts +0 -8
  54. package/src/client/utils.ts +0 -15
  55. package/src/server/config/ServerConfigManager.ts +0 -90
  56. package/src/server/index.ts +0 -860
  57. package/src/server/middleware/auth.ts +0 -127
  58. package/src/server/services/AlertService.ts +0 -321
  59. package/src/server/services/CommandService.ts +0 -136
  60. package/src/server/services/LogStreamProcessor.ts +0 -93
  61. package/src/server/services/MaintenanceScheduler.ts +0 -78
  62. package/src/server/services/PulseService.ts +0 -148
  63. package/src/server/services/QueueMetricsCollector.ts +0 -138
  64. package/src/server/services/QueueService.ts +0 -924
  65. package/src/shared/types.ts +0 -223
  66. package/tailwind.config.js +0 -80
  67. package/tests/placeholder.test.ts +0 -7
  68. package/tsconfig.json +0 -29
  69. package/tsconfig.node.json +0 -10
  70. package/vite.config.ts +0 -27
package/README.md CHANGED
@@ -4,16 +4,34 @@
4
4
 
5
5
  `@gravito/zenith` (also known as **Flux Console**) is the official management interface for Gravito's asynchronous ecosystem. It provides real-time visibility into your queues, workers, and background jobs, enabling powerful operational control with zero configuration.
6
6
 
7
- ## 🌟 Key Features
8
-
9
- - **📊 Real-time Monitoring**: Visualize throughput, error rates, and queue latencies with live-updating charts.
10
- - **👷 Worker Health**: Track CPU, RAM, and uptime for all active Gravito and Laravel workers in your cluster.
11
- - **🛠️ Queue Management**: Pause/Resume queues and inspect jobs in Waiting, Delayed, or Failed states.
12
- - **♻️ Dead Letter Queue (DLQ) Ops**: Batch retry or clear failed jobs directly from the UI with a single click.
13
- - **🔍 Job Auditing & Search**: Deep search through historical jobs stored in SQL (SQLite/MySQL) or Redis.
14
- - **📜 Operational Log Archiving**: Persistent storage and full-text search for worker activities and system events.
15
- - **🚨 Automated Alerting**: Native integration with Slack, Discord, and Email for failure spikes or backlog thresholds.
16
- - **📅 Schedule Management**: Full-featured UI to manage and trigger your `@gravito/stream` Cron jobs.
7
+ ## Key Features
8
+
9
+ - **🧭 Galaxy-Wide Monitoring**: Centralized dashboard for visualizing throughput, error rates, and latencies across all Satellites.
10
+ - **🎮 Operational Control**: Real-time management of queues, workers, and background jobs with zero configuration.
11
+ - **👷 Worker Health**: Cluster-wide tracking of CPU, RAM, and uptime for all active Gravito service instances.
12
+ - **♻️ Dead Letter Queue (DLQ) Ops**: Single-click batch retry or clearing of failed jobs across the system.
13
+ - **🔍 Distributed Auditing**: Deep search through historical jobs stored in SQL or Redis throughout the Galaxy.
14
+ - **🚨 Unified Alerting**: Integrated Slack and Discord notifications for critical system thresholds and failure spikes.
15
+
16
+ ## 🌌 Role in Galaxy Architecture
17
+
18
+ In the **Gravito Galaxy Architecture**, Zenith acts as the **Control Plane (Navigational Command)**.
19
+
20
+ - **Galaxy Insight**: Provides the "Cockpit" for developers and SREs to observe and manage the internal state of the asynchronous ecosystem.
21
+ - **Remote Orchestration**: Enables remote control of background processes without needing direct terminal access to the production nodes.
22
+ - **Telemetry Aggregator**: Works with `Quasar` agents to consolidate metrics and logs from isolated Satellites into a single operational view.
23
+
24
+ ```mermaid
25
+ graph TD
26
+ Zenith[Zenith Control Plane] <--> Q1[Quasar: Order Worker]
27
+ Zenith <--> Q2[Quasar: Stock Worker]
28
+ Zenith <--> Q3[Quasar: API Node]
29
+ subgraph Operational Control
30
+ Zenith --> Queues[Queue Management]
31
+ Zenith --> Metrics[Visual Monitoring]
32
+ Zenith --> Alerts[Smart Alerting]
33
+ end
34
+ ```
17
35
 
18
36
  ## 📦 Installation
19
37