bunqueue-dashboard 0.0.30 → 0.0.31
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/agent/db.ts +16 -19
- package/agent/server.ts +4 -4
- package/dist/.vite/manifest.json +194 -146
- package/dist/assets/{AddJob-Bsc2w6F0.js → AddJob-CAhdg38n.js} +1 -1
- package/dist/assets/{Alerts-GhRfE6uG.js → Alerts-70bxf-PT.js} +1 -1
- package/dist/assets/{AreaChart-Dl_9G6GH.js → AreaChart-2gM0YoZT.js} +1 -1
- package/dist/assets/{Benchmark-Bc_ZEM87.js → Benchmark-CFZ3WCvj.js} +1 -1
- package/dist/assets/{BulkAddJobs-B9q81JAq.js → BulkAddJobs-BzgzpGg_.js} +1 -1
- package/dist/assets/CopilotPanel-DZUGIf1q.js +44 -0
- package/dist/assets/{Cron-BqKxXt_G.js → Cron-ltjSoTjj.js} +1 -1
- package/dist/assets/{CronManager-DuWur13m.js → CronManager-BcFALDeT.js} +1 -1
- package/dist/assets/{Database-DSpCA3w7.js → Database-CV2yt5O2.js} +2 -2
- package/dist/assets/{Diagnostics-DsBFg_-t.js → Diagnostics-D-EK4GEi.js} +1 -1
- package/dist/assets/Dlq-fZAKwQoC.js +1 -0
- package/dist/assets/{DlqControl-B0VILOwI.js → DlqControl-eTrrQCrn.js} +1 -1
- package/dist/assets/{DlqPro-D8POex8v.js → DlqPro-CF79339e.js} +1 -1
- package/dist/assets/{Flows-BEafLVu_.js → Flows-Ba8G7mcC.js} +1 -1
- package/dist/assets/{JobInspector-Du4zhHVo.js → JobInspector--d_8ca9p.js} +2 -2
- package/dist/assets/Jobs-DEqAc1A5.js +1 -0
- package/dist/assets/JobsPro-BcaokZIf.js +1 -0
- package/dist/assets/Logs-DBTukPIX.js +1 -0
- package/dist/assets/LogsPro-Wl_e6hZM.js +1 -0
- package/dist/assets/{McpServer-CI9Z61Lm.js → McpServer-CnWJsKw7.js} +1 -1
- package/dist/assets/{Metrics-qsVJt17r.js → Metrics-DzeIhNL-.js} +1 -1
- package/dist/assets/{MetricsPro-BMNObO4L.js → MetricsPro-O9eVJSH0.js} +1 -1
- package/dist/assets/Overview-Bnu7rWqt.js +1 -0
- package/dist/assets/{Pagination-EJ2HGoqv.js → Pagination-D4ki-pGz.js} +1 -1
- package/dist/assets/{QueueActions-qd4d3da3.js → QueueActions-DHoSkWRz.js} +1 -1
- package/dist/assets/{QueueControl-2NXIrJqi.js → QueueControl-DKqEXnkM.js} +1 -1
- package/dist/assets/{QueueDetail-7EEYk51J.js → QueueDetail-DLRow04B.js} +1 -1
- package/dist/assets/{QueueDetailPro-DDB6mrh6.js → QueueDetailPro-BYmOVd4T.js} +1 -1
- package/dist/assets/Queues-CoyjRFN7.js +1 -0
- package/dist/assets/{QueuesOverview-CzbHoeuS.js → QueuesOverview-BeWdJpKi.js} +1 -1
- package/dist/assets/{S3Backup-ETwjL2TD.js → S3Backup-BaLFgl9d.js} +1 -1
- package/dist/assets/{S3BackupPro-DwX9b_1u.js → S3BackupPro-DJB4oWgz.js} +1 -1
- package/dist/assets/{ServerControl-BOh2ncLo.js → ServerControl-_0lVB33E.js} +1 -1
- package/dist/assets/{Settings-_aPq2yDv.js → Settings-zKFJTtnq.js} +1 -1
- package/dist/assets/Usage-CKGkvl0j.js +1 -0
- package/dist/assets/{UsagePro-Dv0izJVc.js → UsagePro-B-TJ6fp4.js} +1 -1
- package/dist/assets/{Webhooks-Cs-DqyhB.js → Webhooks-C3zmvY-_.js} +1 -1
- package/dist/assets/{Workers-CXwdSXup.js → Workers-jKhhXl3W.js} +1 -1
- package/dist/assets/{WorkersPro-BBnrgBbn.js → WorkersPro-mvY5VX8I.js} +1 -1
- package/dist/assets/{connectionStore-B-hNUqwK.js → connectionStore-Ci04lJmR.js} +1 -1
- package/dist/assets/dist-1f1fMHVO.js +11 -0
- package/dist/assets/dist-BlWBaCN6.js +11 -0
- package/dist/assets/dist-DZL8soAh.js +79 -0
- package/dist/assets/dist-DjvZiKhB.js +2 -0
- package/dist/assets/dist-DpZcbP9W.js +11 -0
- package/dist/assets/{form-C-zZyKfB.js → form-DGinTEEb.js} +1 -1
- package/dist/assets/{index-BFRKPhvf.js → index-BOcegTHa.js} +3 -3
- package/dist/assets/index-DWV3tgrk.css +1 -0
- package/dist/assets/{react-vendor-B68RYDeC.js → react-vendor-BcouBxpZ.js} +2 -2
- package/dist/assets/{useThroughputSeries-BzUriOcf.js → useThroughputSeries-Chp5OLx3.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +5 -5
- package/scripts/embedded.gen.ts +122 -112
- package/scripts/serve.ts +11 -0
- package/dist/assets/CopilotPanel-DL61f5jW.js +0 -152
- package/dist/assets/Dlq-BAQfqBgy.js +0 -1
- package/dist/assets/Jobs-9VzulNrm.js +0 -1
- package/dist/assets/JobsPro-YebB40C-.js +0 -1
- package/dist/assets/Logs-DtV3k05m.js +0 -1
- package/dist/assets/LogsPro-C9VmsZL-.js +0 -1
- package/dist/assets/Overview-DtVeV_uf.js +0 -1
- package/dist/assets/Queues-ClEE2_8g.js +0 -1
- package/dist/assets/Usage-B6ESpkgj.js +0 -1
- package/dist/assets/index-mF63w920.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./cn-CMFYpumL.js";import{h as t}from"./react-vendor-
|
|
1
|
+
import{r as e}from"./cn-CMFYpumL.js";import{h as t}from"./react-vendor-BcouBxpZ.js";import{k as n,nt as r}from"./index-BOcegTHa.js";var i=e(t(),1);function a(e=60){let[t,a]=(0,i.useState)({push:[],complete:[],fail:[],depth:[]}),[o,s]=(0,i.useState)(null),c=(0,i.useRef)(!0),l=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{c.current=!0;let t=n(()=>typeof document<`u`&&document.hidden),i=async()=>{if(!l.current&&t()){l.current=!0;try{let t=await r.overview();if(!c.current)return;s(t);let n=(t.stats.waiting??0)+(t.stats.active??0)+(t.stats.delayed??0);a(r=>({push:[...r.push,t.throughput.pushPerSec].slice(-e),complete:[...r.complete,t.throughput.completePerSec].slice(-e),fail:[...r.fail,t.throughput.failPerSec].slice(-e),depth:[...r.depth,n].slice(-e)}))}catch{}finally{l.current=!1}}};i();let o=setInterval(i,1e3);return()=>{c.current=!1,clearInterval(o)}},[e]),{...t,latest:o}}function o(e){if(e.length<2)return{slope:0,label:`steady`,draining:!1};let t=e.length,n=(t-1)/2,r=e.reduce((e,t)=>e+t,0)/t,i=0,a=0;for(let o=0;o<t;o++)i+=(o-n)*(e[o]-r),a+=(o-n)**2;let o=a===0?0:i/a,s=o<-.05;return{slope:o,label:s?`draining`:o>.05?`accumulating`:`steady`,draining:s}}export{a as n,o as t};
|
package/dist/index.html
CHANGED
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
content="Fully drive a bunqueue server from one UI: queues, jobs, DLQ, cron, webhooks, workers, and start/stop/restart. Live demo, no signup."
|
|
47
47
|
/>
|
|
48
48
|
<meta name="twitter:image" content="https://egeominotti.github.io/bunqueue-dashboard/og.png" />
|
|
49
|
-
<script type="module" crossorigin src="/assets/index-
|
|
49
|
+
<script type="module" crossorigin src="/assets/index-BOcegTHa.js"></script>
|
|
50
50
|
<link rel="modulepreload" crossorigin href="/assets/cn-CMFYpumL.js">
|
|
51
|
-
<link rel="modulepreload" crossorigin href="/assets/react-vendor-
|
|
52
|
-
<link rel="modulepreload" crossorigin href="/assets/connectionStore-
|
|
53
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
51
|
+
<link rel="modulepreload" crossorigin href="/assets/react-vendor-BcouBxpZ.js">
|
|
52
|
+
<link rel="modulepreload" crossorigin href="/assets/connectionStore-Ci04lJmR.js">
|
|
53
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DWV3tgrk.css">
|
|
54
54
|
</head>
|
|
55
55
|
<body>
|
|
56
56
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunqueue-dashboard",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Web dashboard for a bunqueue server (queues, jobs, DLQ, cron, metrics, workers, live activity). Run with `bunx bunqueue-dashboard` (requires Bun).",
|
|
6
6
|
"bin": {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"typecheck:agent": "tsc -p tsconfig.agent.json",
|
|
55
55
|
"size": "bun run scripts/check-bundle.ts",
|
|
56
56
|
"docs:dev": "vitepress dev docs",
|
|
57
|
-
"docs:build": "
|
|
57
|
+
"docs:build": "bun run scripts/build-docs.ts",
|
|
58
58
|
"docs:preview": "vitepress preview docs",
|
|
59
|
-
"build:bin": "bun run build && bun run scripts/gen-embed.ts && bun build scripts/serve.ts --compile --minify --outfile bunqueue-dashboard",
|
|
59
|
+
"build:bin": "bun run build && bun run scripts/gen-embed.ts && bun build scripts/serve.ts agent/dbQueryWorker.ts --compile --minify --outfile bunqueue-dashboard",
|
|
60
60
|
"preview": "vite preview",
|
|
61
61
|
"test": "bun test",
|
|
62
62
|
"test:coverage": "bun test --coverage --coverage-reporter=text --coverage-reporter=lcov --coverage-dir=coverage && bun scripts/check-coverage.ts",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"react-router-dom": "^7.18.1",
|
|
88
88
|
"tailwindcss": "^4.3.2",
|
|
89
89
|
"typescript": "^6.0.3",
|
|
90
|
-
"vite": "^8.1.
|
|
91
|
-
"vitepress": "
|
|
90
|
+
"vite": "^8.1.3",
|
|
91
|
+
"vitepress": "2.0.0-alpha.18",
|
|
92
92
|
"vitepress-plugin-llms": "^1.13.2",
|
|
93
93
|
"vitepress-plugin-mermaid": "^2.0.17",
|
|
94
94
|
"zod": "^4.4.3",
|
package/scripts/embedded.gen.ts
CHANGED
|
@@ -1,121 +1,131 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
// AUTO-GENERATED by scripts/gen-embed.ts — do not edit, not committed.
|
|
3
3
|
import f0 from "../dist/.vite/manifest.json" with { type: 'file' };
|
|
4
|
-
import f1 from "../dist/
|
|
4
|
+
import f1 from "../dist/index.html" with { type: 'file' };
|
|
5
5
|
import f2 from "../dist/favicon.svg" with { type: 'file' };
|
|
6
|
-
import f3 from "../dist/assets/
|
|
7
|
-
import f4 from "../dist/assets/
|
|
8
|
-
import f5 from "../dist/assets/
|
|
9
|
-
import f6 from "../dist/assets/Webhooks-
|
|
10
|
-
import f7 from "../dist/assets/
|
|
11
|
-
import f8 from "../dist/assets/
|
|
12
|
-
import f9 from "../dist/assets/
|
|
13
|
-
import f10 from "../dist/assets/
|
|
14
|
-
import f11 from "../dist/assets/
|
|
15
|
-
import f12 from "../dist/assets/
|
|
16
|
-
import f13 from "../dist/assets/
|
|
17
|
-
import f14 from "../dist/assets/
|
|
18
|
-
import f15 from "../dist/assets/
|
|
19
|
-
import f16 from "../dist/assets/
|
|
20
|
-
import f17 from "../dist/assets/
|
|
21
|
-
import f18 from "../dist/assets/
|
|
22
|
-
import f19 from "../dist/assets/
|
|
23
|
-
import f20 from "../dist/assets/
|
|
24
|
-
import f21 from "../dist/assets/
|
|
25
|
-
import f22 from "../dist/assets/
|
|
26
|
-
import f23 from "../dist/assets/
|
|
27
|
-
import f24 from "../dist/assets/
|
|
28
|
-
import f25 from "../dist/assets/Metrics-
|
|
29
|
-
import f26 from "../dist/assets/
|
|
30
|
-
import f27 from "../dist/assets/
|
|
31
|
-
import f28 from "../dist/assets/
|
|
32
|
-
import f29 from "../dist/assets/
|
|
33
|
-
import f30 from "../dist/assets/
|
|
34
|
-
import f31 from "../dist/assets/
|
|
35
|
-
import f32 from "../dist/assets/
|
|
36
|
-
import f33 from "../dist/assets/
|
|
37
|
-
import f34 from "../dist/assets/
|
|
38
|
-
import f35 from "../dist/assets/
|
|
39
|
-
import f36 from "../dist/assets/
|
|
40
|
-
import f37 from "../dist/assets/
|
|
41
|
-
import f38 from "../dist/assets/
|
|
42
|
-
import f39 from "../dist/assets/
|
|
43
|
-
import f40 from "../dist/assets/
|
|
44
|
-
import f41 from "../dist/assets/
|
|
45
|
-
import f42 from "../dist/assets/
|
|
46
|
-
import f43 from "../dist/assets/
|
|
47
|
-
import f44 from "../dist/assets/
|
|
48
|
-
import f45 from "../dist/assets/
|
|
49
|
-
import f46 from "../dist/assets/
|
|
50
|
-
import f47 from "../dist/assets/
|
|
51
|
-
import f48 from "../dist/assets/
|
|
52
|
-
import f49 from "../dist/assets/
|
|
53
|
-
import f50 from "../dist/assets/
|
|
54
|
-
import f51 from "../dist/assets/
|
|
55
|
-
import f52 from "../dist/assets/QueueDetail-
|
|
56
|
-
import f53 from "../dist/assets/
|
|
57
|
-
import f54 from "../dist/assets/
|
|
58
|
-
import f55 from "../dist/assets/
|
|
59
|
-
import f56 from "../dist/assets/
|
|
60
|
-
import f57 from "../dist/
|
|
6
|
+
import f3 from "../dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2" with { type: 'file' };
|
|
7
|
+
import f4 from "../dist/assets/exportFile-tdUeW5m5.js" with { type: 'file' };
|
|
8
|
+
import f5 from "../dist/assets/McpServer-CnWJsKw7.js" with { type: 'file' };
|
|
9
|
+
import f6 from "../dist/assets/Webhooks-C3zmvY-_.js" with { type: 'file' };
|
|
10
|
+
import f7 from "../dist/assets/WorkersPro-mvY5VX8I.js" with { type: 'file' };
|
|
11
|
+
import f8 from "../dist/assets/promisePool-Daxkc1OB.js" with { type: 'file' };
|
|
12
|
+
import f9 from "../dist/assets/AreaChart-2gM0YoZT.js" with { type: 'file' };
|
|
13
|
+
import f10 from "../dist/assets/QueueActions-DHoSkWRz.js" with { type: 'file' };
|
|
14
|
+
import f11 from "../dist/assets/index-BOcegTHa.js" with { type: 'file' };
|
|
15
|
+
import f12 from "../dist/assets/Logs-DBTukPIX.js" with { type: 'file' };
|
|
16
|
+
import f13 from "../dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2" with { type: 'file' };
|
|
17
|
+
import f14 from "../dist/assets/cn-CMFYpumL.js" with { type: 'file' };
|
|
18
|
+
import f15 from "../dist/assets/install-DhTYJCUC.js" with { type: 'file' };
|
|
19
|
+
import f16 from "../dist/assets/Settings-zKFJTtnq.js" with { type: 'file' };
|
|
20
|
+
import f17 from "../dist/assets/Usage-CKGkvl0j.js" with { type: 'file' };
|
|
21
|
+
import f18 from "../dist/assets/Pagination-D4ki-pGz.js" with { type: 'file' };
|
|
22
|
+
import f19 from "../dist/assets/Dlq-fZAKwQoC.js" with { type: 'file' };
|
|
23
|
+
import f20 from "../dist/assets/react-vendor-BcouBxpZ.js" with { type: 'file' };
|
|
24
|
+
import f21 from "../dist/assets/Flows-Ba8G7mcC.js" with { type: 'file' };
|
|
25
|
+
import f22 from "../dist/assets/dist-DZL8soAh.js" with { type: 'file' };
|
|
26
|
+
import f23 from "../dist/assets/index-DWV3tgrk.css" with { type: 'file' };
|
|
27
|
+
import f24 from "../dist/assets/Cron-ltjSoTjj.js" with { type: 'file' };
|
|
28
|
+
import f25 from "../dist/assets/Metrics-DzeIhNL-.js" with { type: 'file' };
|
|
29
|
+
import f26 from "../dist/assets/LogsPro-Wl_e6hZM.js" with { type: 'file' };
|
|
30
|
+
import f27 from "../dist/assets/DlqPro-CF79339e.js" with { type: 'file' };
|
|
31
|
+
import f28 from "../dist/assets/JobsPro-BcaokZIf.js" with { type: 'file' };
|
|
32
|
+
import f29 from "../dist/assets/DlqControl-eTrrQCrn.js" with { type: 'file' };
|
|
33
|
+
import f30 from "../dist/assets/CopilotPanel-DZUGIf1q.js" with { type: 'file' };
|
|
34
|
+
import f31 from "../dist/assets/jobActions-CuOdMglt.js" with { type: 'file' };
|
|
35
|
+
import f32 from "../dist/assets/dist-1f1fMHVO.js" with { type: 'file' };
|
|
36
|
+
import f33 from "../dist/assets/QueuesOverview-BeWdJpKi.js" with { type: 'file' };
|
|
37
|
+
import f34 from "../dist/assets/ServerControl-_0lVB33E.js" with { type: 'file' };
|
|
38
|
+
import f35 from "../dist/assets/Queues-CoyjRFN7.js" with { type: 'file' };
|
|
39
|
+
import f36 from "../dist/assets/Benchmark-CFZ3WCvj.js" with { type: 'file' };
|
|
40
|
+
import f37 from "../dist/assets/BulkAddJobs-BzgzpGg_.js" with { type: 'file' };
|
|
41
|
+
import f38 from "../dist/assets/UsagePro-B-TJ6fp4.js" with { type: 'file' };
|
|
42
|
+
import f39 from "../dist/assets/dist-DpZcbP9W.js" with { type: 'file' };
|
|
43
|
+
import f40 from "../dist/assets/Diagnostics-D-EK4GEi.js" with { type: 'file' };
|
|
44
|
+
import f41 from "../dist/assets/Jobs-DEqAc1A5.js" with { type: 'file' };
|
|
45
|
+
import f42 from "../dist/assets/Workers-jKhhXl3W.js" with { type: 'file' };
|
|
46
|
+
import f43 from "../dist/assets/CronManager-BcFALDeT.js" with { type: 'file' };
|
|
47
|
+
import f44 from "../dist/assets/MetricsPro-O9eVJSH0.js" with { type: 'file' };
|
|
48
|
+
import f45 from "../dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2" with { type: 'file' };
|
|
49
|
+
import f46 from "../dist/assets/Alerts-70bxf-PT.js" with { type: 'file' };
|
|
50
|
+
import f47 from "../dist/assets/connectionStore-Ci04lJmR.js" with { type: 'file' };
|
|
51
|
+
import f48 from "../dist/assets/Database-CV2yt5O2.js" with { type: 'file' };
|
|
52
|
+
import f49 from "../dist/assets/form-DGinTEEb.js" with { type: 'file' };
|
|
53
|
+
import f50 from "../dist/assets/S3Backup-BaLFgl9d.js" with { type: 'file' };
|
|
54
|
+
import f51 from "../dist/assets/dist-BlWBaCN6.js" with { type: 'file' };
|
|
55
|
+
import f52 from "../dist/assets/QueueDetail-DLRow04B.js" with { type: 'file' };
|
|
56
|
+
import f53 from "../dist/assets/S3BackupPro-DJB4oWgz.js" with { type: 'file' };
|
|
57
|
+
import f54 from "../dist/assets/QueueDetailPro-BYmOVd4T.js" with { type: 'file' };
|
|
58
|
+
import f55 from "../dist/assets/QueueControl-DKqEXnkM.js" with { type: 'file' };
|
|
59
|
+
import f56 from "../dist/assets/JobInspector--d_8ca9p.js" with { type: 'file' };
|
|
60
|
+
import f57 from "../dist/assets/AddJob-CAhdg38n.js" with { type: 'file' };
|
|
61
|
+
import f58 from "../dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2" with { type: 'file' };
|
|
62
|
+
import f59 from "../dist/assets/useThroughputSeries-Chp5OLx3.js" with { type: 'file' };
|
|
63
|
+
import f60 from "../dist/assets/Overview-Bnu7rWqt.js" with { type: 'file' };
|
|
64
|
+
import f61 from "../dist/assets/dist-DjvZiKhB.js" with { type: 'file' };
|
|
65
|
+
import f62 from "../dist/og.png" with { type: 'file' };
|
|
61
66
|
|
|
62
67
|
export const ASSETS: Record<string, string> = {
|
|
63
68
|
"/.vite/manifest.json": f0,
|
|
64
|
-
"/
|
|
69
|
+
"/index.html": f1,
|
|
65
70
|
"/favicon.svg": f2,
|
|
66
|
-
"/assets/
|
|
67
|
-
"/assets/
|
|
68
|
-
"/assets/
|
|
69
|
-
"/assets/Webhooks-
|
|
70
|
-
"/assets/
|
|
71
|
-
"/assets/
|
|
72
|
-
"/assets/
|
|
73
|
-
"/assets/
|
|
74
|
-
"/assets/
|
|
75
|
-
"/assets/
|
|
76
|
-
"/assets/
|
|
77
|
-
"/assets/
|
|
78
|
-
"/assets/
|
|
79
|
-
"/assets/
|
|
80
|
-
"/assets/
|
|
81
|
-
"/assets/
|
|
82
|
-
"/assets/
|
|
83
|
-
"/assets/
|
|
84
|
-
"/assets/
|
|
85
|
-
"/assets/
|
|
86
|
-
"/assets/
|
|
87
|
-
"/assets/
|
|
88
|
-
"/assets/Metrics-
|
|
89
|
-
"/assets/
|
|
90
|
-
"/assets/
|
|
91
|
-
"/assets/
|
|
92
|
-
"/assets/
|
|
93
|
-
"/assets/
|
|
94
|
-
"/assets/
|
|
95
|
-
"/assets/
|
|
96
|
-
"/assets/
|
|
97
|
-
"/assets/
|
|
98
|
-
"/assets/
|
|
99
|
-
"/assets/
|
|
100
|
-
"/assets/
|
|
101
|
-
"/assets/
|
|
102
|
-
"/assets/
|
|
103
|
-
"/assets/
|
|
104
|
-
"/assets/
|
|
105
|
-
"/assets/
|
|
106
|
-
"/assets/
|
|
107
|
-
"/assets/
|
|
108
|
-
"/assets/
|
|
109
|
-
"/assets/
|
|
110
|
-
"/assets/
|
|
111
|
-
"/assets/
|
|
112
|
-
"/assets/
|
|
113
|
-
"/assets/
|
|
114
|
-
"/assets/
|
|
115
|
-
"/assets/QueueDetail-
|
|
116
|
-
"/assets/
|
|
117
|
-
"/assets/
|
|
118
|
-
"/assets/
|
|
119
|
-
"/assets/
|
|
120
|
-
"/
|
|
71
|
+
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": f3,
|
|
72
|
+
"/assets/exportFile-tdUeW5m5.js": f4,
|
|
73
|
+
"/assets/McpServer-CnWJsKw7.js": f5,
|
|
74
|
+
"/assets/Webhooks-C3zmvY-_.js": f6,
|
|
75
|
+
"/assets/WorkersPro-mvY5VX8I.js": f7,
|
|
76
|
+
"/assets/promisePool-Daxkc1OB.js": f8,
|
|
77
|
+
"/assets/AreaChart-2gM0YoZT.js": f9,
|
|
78
|
+
"/assets/QueueActions-DHoSkWRz.js": f10,
|
|
79
|
+
"/assets/index-BOcegTHa.js": f11,
|
|
80
|
+
"/assets/Logs-DBTukPIX.js": f12,
|
|
81
|
+
"/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": f13,
|
|
82
|
+
"/assets/cn-CMFYpumL.js": f14,
|
|
83
|
+
"/assets/install-DhTYJCUC.js": f15,
|
|
84
|
+
"/assets/Settings-zKFJTtnq.js": f16,
|
|
85
|
+
"/assets/Usage-CKGkvl0j.js": f17,
|
|
86
|
+
"/assets/Pagination-D4ki-pGz.js": f18,
|
|
87
|
+
"/assets/Dlq-fZAKwQoC.js": f19,
|
|
88
|
+
"/assets/react-vendor-BcouBxpZ.js": f20,
|
|
89
|
+
"/assets/Flows-Ba8G7mcC.js": f21,
|
|
90
|
+
"/assets/dist-DZL8soAh.js": f22,
|
|
91
|
+
"/assets/index-DWV3tgrk.css": f23,
|
|
92
|
+
"/assets/Cron-ltjSoTjj.js": f24,
|
|
93
|
+
"/assets/Metrics-DzeIhNL-.js": f25,
|
|
94
|
+
"/assets/LogsPro-Wl_e6hZM.js": f26,
|
|
95
|
+
"/assets/DlqPro-CF79339e.js": f27,
|
|
96
|
+
"/assets/JobsPro-BcaokZIf.js": f28,
|
|
97
|
+
"/assets/DlqControl-eTrrQCrn.js": f29,
|
|
98
|
+
"/assets/CopilotPanel-DZUGIf1q.js": f30,
|
|
99
|
+
"/assets/jobActions-CuOdMglt.js": f31,
|
|
100
|
+
"/assets/dist-1f1fMHVO.js": f32,
|
|
101
|
+
"/assets/QueuesOverview-BeWdJpKi.js": f33,
|
|
102
|
+
"/assets/ServerControl-_0lVB33E.js": f34,
|
|
103
|
+
"/assets/Queues-CoyjRFN7.js": f35,
|
|
104
|
+
"/assets/Benchmark-CFZ3WCvj.js": f36,
|
|
105
|
+
"/assets/BulkAddJobs-BzgzpGg_.js": f37,
|
|
106
|
+
"/assets/UsagePro-B-TJ6fp4.js": f38,
|
|
107
|
+
"/assets/dist-DpZcbP9W.js": f39,
|
|
108
|
+
"/assets/Diagnostics-D-EK4GEi.js": f40,
|
|
109
|
+
"/assets/Jobs-DEqAc1A5.js": f41,
|
|
110
|
+
"/assets/Workers-jKhhXl3W.js": f42,
|
|
111
|
+
"/assets/CronManager-BcFALDeT.js": f43,
|
|
112
|
+
"/assets/MetricsPro-O9eVJSH0.js": f44,
|
|
113
|
+
"/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2": f45,
|
|
114
|
+
"/assets/Alerts-70bxf-PT.js": f46,
|
|
115
|
+
"/assets/connectionStore-Ci04lJmR.js": f47,
|
|
116
|
+
"/assets/Database-CV2yt5O2.js": f48,
|
|
117
|
+
"/assets/form-DGinTEEb.js": f49,
|
|
118
|
+
"/assets/S3Backup-BaLFgl9d.js": f50,
|
|
119
|
+
"/assets/dist-BlWBaCN6.js": f51,
|
|
120
|
+
"/assets/QueueDetail-DLRow04B.js": f52,
|
|
121
|
+
"/assets/S3BackupPro-DJB4oWgz.js": f53,
|
|
122
|
+
"/assets/QueueDetailPro-BYmOVd4T.js": f54,
|
|
123
|
+
"/assets/QueueControl-DKqEXnkM.js": f55,
|
|
124
|
+
"/assets/JobInspector--d_8ca9p.js": f56,
|
|
125
|
+
"/assets/AddJob-CAhdg38n.js": f57,
|
|
126
|
+
"/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2": f58,
|
|
127
|
+
"/assets/useThroughputSeries-Chp5OLx3.js": f59,
|
|
128
|
+
"/assets/Overview-Bnu7rWqt.js": f60,
|
|
129
|
+
"/assets/dist-DjvZiKhB.js": f61,
|
|
130
|
+
"/og.png": f62,
|
|
121
131
|
};
|
package/scripts/serve.ts
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { logger } from '../agent/logger';
|
|
22
22
|
import { ProcessManager } from '../agent/manager';
|
|
23
|
+
import { setQueryWorkerUrl } from '../agent/db';
|
|
23
24
|
import {
|
|
24
25
|
createFetchHandler,
|
|
25
26
|
isHostAllowed,
|
|
@@ -28,6 +29,16 @@ import {
|
|
|
28
29
|
} from '../agent/server';
|
|
29
30
|
import { ASSETS } from './embedded.gen';
|
|
30
31
|
|
|
32
|
+
// Bun emits secondary TypeScript entrypoints under /$bunfs/root as JavaScript.
|
|
33
|
+
// Point db.ts at that embedded path in a compiled executable; when this npm bin
|
|
34
|
+
// runs from source, use the real TypeScript module beside agent/db.ts.
|
|
35
|
+
const compiled = import.meta.url.includes('/$bunfs/');
|
|
36
|
+
setQueryWorkerUrl(
|
|
37
|
+
compiled
|
|
38
|
+
? new URL('/$bunfs/root/agent/dbQueryWorker.js', 'file:///').href
|
|
39
|
+
: new URL('../agent/dbQueryWorker.ts', import.meta.url).href
|
|
40
|
+
);
|
|
41
|
+
|
|
31
42
|
const PORT = Number(process.env.PORT) || 8080;
|
|
32
43
|
// Bind loopback by default: the /api proxy forwards to bunqueue's admin API, so
|
|
33
44
|
// listening on all interfaces would expose it to the whole network. Set
|