@mantiq/heartbeat 0.1.1 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantiq/heartbeat",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Observability, APM & queue monitoring for MantiqJS",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -45,16 +45,16 @@
45
45
  "typecheck": "tsc --noEmit",
46
46
  "clean": "rm -rf dist"
47
47
  },
48
- "dependencies": {
48
+ "devDependencies": {
49
+ "bun-types": "latest",
50
+ "typescript": "^5.7.0"
51
+ },
52
+ "peerDependencies": {
49
53
  "@mantiq/core": "^0.1.0",
50
54
  "@mantiq/cli": "^0.1.0",
51
55
  "@mantiq/queue": "^0.1.0",
52
56
  "@mantiq/events": "^0.1.0",
53
57
  "@mantiq/database": "^0.1.0",
54
58
  "@mantiq/logging": "^0.1.0"
55
- },
56
- "devDependencies": {
57
- "bun-types": "latest",
58
- "typescript": "^5.7.0"
59
59
  }
60
60
  }
@@ -46,7 +46,7 @@ export function renderLayout(options: {
46
46
  </div>
47
47
  <nav>${nav}</nav>
48
48
  <div class="sidebar-footer">
49
- <span class="sidebar-brand-footer">mantiq</span>
49
+ <span class="sidebar-brand-footer"><span style="color:var(--accent)">●</span> mantiq</span>
50
50
  </div>
51
51
  </aside>
52
52
  <main>
@@ -93,8 +93,8 @@ const CSS = `
93
93
  :root,[data-theme="light"]{
94
94
  --bg-0:#fff;--bg-1:#f9fafb;--bg-2:#f3f4f6;--bg-3:#e5e7eb;
95
95
  --fg-0:#111827;--fg-1:#374151;--fg-2:#6b7280;--fg-3:#9ca3af;
96
- --border:#e5e7eb;--ring:rgba(99,102,241,.25);
97
- --accent:#6366f1;--accent-soft:rgba(99,102,241,.1);
96
+ --border:#e5e7eb;--ring:rgba(16,185,129,.25);
97
+ --accent:#10b981;--accent-soft:rgba(16,185,129,.1);
98
98
  --green:#16a34a;--green-soft:rgba(22,163,74,.1);
99
99
  --amber:#d97706;--amber-soft:rgba(217,119,6,.1);
100
100
  --red:#dc2626;--red-soft:rgba(220,38,38,.1);
@@ -103,8 +103,8 @@ const CSS = `
103
103
  [data-theme="dark"]{
104
104
  --bg-0:#0a0a0b;--bg-1:#111113;--bg-2:#1a1a1d;--bg-3:#27272a;
105
105
  --fg-0:#fafafa;--fg-1:#d4d4d8;--fg-2:#71717a;--fg-3:#52525b;
106
- --border:#27272a;--ring:rgba(99,102,241,.3);
107
- --accent:#818cf8;--accent-soft:rgba(129,140,248,.1);
106
+ --border:#27272a;--ring:rgba(52,211,153,.3);
107
+ --accent:#34d399;--accent-soft:rgba(52,211,153,.1);
108
108
  --green:#4ade80;--green-soft:rgba(74,222,128,.08);
109
109
  --amber:#fbbf24;--amber-soft:rgba(251,191,36,.08);
110
110
  --red:#f87171;--red-soft:rgba(248,113,113,.08);
@@ -195,7 +195,7 @@ tbody tr:hover td{background:var(--bg-2)}
195
195
  .b-green{background:var(--green-soft);color:var(--green)}
196
196
  .b-amber{background:var(--amber-soft);color:var(--amber)}
197
197
  .b-red{background:var(--red-soft);color:var(--red)}
198
- .b-blue{background:var(--blue-soft);color:var(--accent)}
198
+ .b-blue{background:var(--blue-soft);color:var(--blue)}
199
199
  .b-mute{background:var(--bg-3);color:var(--fg-2)}
200
200
 
201
201
  /* Tabs */