bunqueue-dashboard 1.0.1 → 1.0.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/README.md +13 -10
- package/agent/backup/routes.ts +20 -12
- package/agent/manager/config.ts +2 -1
- package/agent/server/handler.ts +2 -1
- package/agent/server/router.ts +6 -1
- package/agent/server/types.ts +1 -1
- package/agent/workflow/runtime.ts +25 -7
- package/agent/workflow/runtimeRoutes.ts +4 -1
- package/dist/.vite/manifest.json +500 -489
- package/dist/assets/{AddJob-CiwWycYG.js → AddJob-jq-VZ_YE.js} +1 -1
- package/dist/assets/{Alerts-DzKKoA9U.js → Alerts-Bi8zLKXV.js} +1 -1
- package/dist/assets/{AreaChart-Db2UVnaK.js → AreaChart-BMYp7z5y.js} +1 -1
- package/dist/assets/{Benchmark-CHYDL31K.js → Benchmark-CWYdqm55.js} +1 -1
- package/dist/assets/{BulkAddJobs-GRMVnf0j.js → BulkAddJobs-0cdWqkEF.js} +1 -1
- package/dist/assets/{Button-_aSJvRoW.js → Button-BCjgbAhY.js} +1 -1
- package/dist/assets/{Card-egIDLwVk.js → Card-DptfvL2O.js} +1 -1
- package/dist/assets/{Cron-XL0PdUEc.js → Cron-dPGwJXqY.js} +1 -1
- package/dist/assets/{CronManager-Cqtg9Zr8.js → CronManager-C0-Y2QDg.js} +1 -1
- package/dist/assets/{Database-BoxVpjts.js → Database-CseJOrvD.js} +1 -1
- package/dist/assets/{Diagnostics-B3QSQuFF.js → Diagnostics-cZTy4Y2t.js} +1 -1
- package/dist/assets/{Dlq-DHOfgORa.js → Dlq-W2xOJiZM.js} +1 -1
- package/dist/assets/{DlqControl-BY1e55-x.js → DlqControl-CIV5278D.js} +1 -1
- package/dist/assets/DlqPro-BuRxGtGt.js +1 -0
- package/dist/assets/{Fleet-Bkbq0dFB.js → Fleet-0zKJSjCw.js} +1 -1
- package/dist/assets/{Flows-CDCQrPit.js → Flows-CEfm102Y.js} +1 -1
- package/dist/assets/{JobInspector-Bw3Gs1Iy.js → JobInspector-BlMj5-Vr.js} +1 -1
- package/dist/assets/{Jobs-IrlneOy6.js → Jobs-D_TId_Oa.js} +1 -1
- package/dist/assets/JobsPro-A06ZG5Xi.js +1 -0
- package/dist/assets/{Logs-DG7cK-tF.js → Logs-hbh7XhQU.js} +1 -1
- package/dist/assets/{LogsPro-ClSqFKys.js → LogsPro-BgEIjgfj.js} +1 -1
- package/dist/assets/McpServer-ffXr4nFW.js +22 -0
- package/dist/assets/{Metrics-BkePZiCZ.js → Metrics-CIKZGgf0.js} +1 -1
- package/dist/assets/{MetricsPro-ooSvpQ3H.js → MetricsPro-CK3WfLCl.js} +1 -1
- package/dist/assets/{Overview-CuWmPRra.js → Overview-BBgwyUn4.js} +1 -1
- package/dist/assets/{PageHeader-CQzNsw8r.js → PageHeader-DD4vnVog.js} +1 -1
- package/dist/assets/{Pagination-CSkzhNW6.js → Pagination-Cj7GzYNX.js} +1 -1
- package/dist/assets/{QueueActions-BBxRt-t0.js → QueueActions-BgdW95rN.js} +1 -1
- package/dist/assets/{QueueControl-C01l6bBJ.js → QueueControl-g-9kwrpt.js} +1 -1
- package/dist/assets/{QueueDetail-gSf9Tb7G.js → QueueDetail-Cv3MLDoE.js} +1 -1
- package/dist/assets/{QueueDetailPro-BKszqI0M.js → QueueDetailPro-AhdOAzEF.js} +1 -1
- package/dist/assets/{Queues-BAg2nSz0.js → Queues-Bbvh_OCE.js} +1 -1
- package/dist/assets/{QueuesOverview-BLSjiYsA.js → QueuesOverview-sPQILfMU.js} +1 -1
- package/dist/assets/{S3Backup-Ci4dJPP_.js → S3Backup-Cg6sc2JG.js} +1 -1
- package/dist/assets/{S3BackupPro-DcjlrzC5.js → S3BackupPro-BWV_R_Vj.js} +1 -1
- package/dist/assets/ServerControl-Dr2gXbaU.js +3 -0
- package/dist/assets/{Settings-DR_iqW0T.js → Settings-BsDDlu-h.js} +1 -1
- package/dist/assets/{StatusBadge-DereLzOj.js → StatusBadge-cYUkK-4P.js} +1 -1
- package/dist/assets/{Usage-ZWfB7PcR.js → Usage-Cxx6pZfb.js} +1 -1
- package/dist/assets/{UsagePro-BjdeS2zb.js → UsagePro-CkC8WYcS.js} +1 -1
- package/dist/assets/{Webhooks-BonYUgMo.js → Webhooks-BKWnALGC.js} +1 -1
- package/dist/assets/{Workers-C1h6hCPp.js → Workers-SJ9MApx3.js} +1 -1
- package/dist/assets/WorkersPro-BDgHBTpY.js +1 -0
- package/dist/assets/Workflows-Cp6jqKeM.js +1 -0
- package/dist/assets/{api-D9aT0ND7.js → api-Bbo86MB6.js} +1 -1
- package/dist/assets/{bq-DR2BTISO.js → bq-CSX8DSME.js} +1 -1
- package/dist/assets/{classicJobsData-Csj4iihY.js → classicJobsData-BimIyQky.js} +1 -1
- package/dist/assets/{connectionStore-CVjQyIZv.js → connectionStore-DdLzJyut.js} +1 -1
- package/dist/assets/{controlConnectionEpoch-ChAeMMLk.js → controlConnectionEpoch-D4HtriLM.js} +1 -1
- package/dist/assets/{feedback-CtGN_kqB.js → feedback-Dxfj-Fy1.js} +1 -1
- package/dist/assets/{form-DG3X6cLL.js → form-Dy-an7ew.js} +1 -1
- package/dist/assets/{icons-DH9SS1DA.js → icons-C1HVBnFn.js} +1 -1
- package/dist/assets/{index-Bat1DN5U.js → index-CxzFSZj3.js} +3 -3
- package/dist/assets/index-DZXf58c2.css +1 -0
- package/dist/assets/install-DUkXE5kb.js +3 -0
- package/dist/assets/package-C7CtgBEy.js +1 -0
- package/dist/assets/react-vendor-DfC0iyIS.js +11 -0
- package/dist/assets/{toastStore-XmMX7A5W.js → toastStore-DnqA_aL-.js} +1 -1
- package/dist/assets/{useControlActionGuard-1i7aFA7E.js → useControlActionGuard-DImMgJtj.js} +1 -1
- package/dist/assets/{usePolledData-CEyyLRYa.js → usePolledData-Dp_ynL9f.js} +1 -1
- package/dist/assets/{useServerActionGuard-CUx8TOAC.js → useServerActionGuard-Cr4KUOeZ.js} +1 -1
- package/dist/assets/{useThroughputSeries-CeFx-Mwq.js → useThroughputSeries-CrTeR9s3.js} +1 -1
- package/dist/index.html +14 -14
- package/package.json +40 -33
- package/scripts/bunVersion.ts +1 -1
- package/scripts/embedded.gen.ts +146 -144
- package/dist/assets/DlqPro-CfwKDcpc.js +0 -1
- package/dist/assets/JobsPro-vlPd6Ows.js +0 -1
- package/dist/assets/McpServer-DoNFY0Pj.js +0 -24
- package/dist/assets/ServerControl-SiZBNo9P.js +0 -3
- package/dist/assets/WorkersPro-B0f_Nfdz.js +0 -1
- package/dist/assets/Workflows-CqZZ96EK.js +0 -1
- package/dist/assets/index-C9yGKhQ8.css +0 -1
- package/dist/assets/install-oydLpc1T.js +0 -3
- package/dist/assets/react-vendor-CFL9l8LK.js +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e}from"./connectionStore-
|
|
1
|
+
import{m as e}from"./connectionStore-DdLzJyut.js";var t=1,n=e(e=>({toasts:[],push:({level:n,title:r,detail:i,ttlMs:a})=>{let o=t++,s=a??(n===`error`?8e3:4e3);return e(e=>({toasts:[...e.toasts,{id:o,level:n,title:r,detail:i,ttlMs:s}].slice(-5)})),o},dismiss:t=>e(e=>({toasts:e.toasts.filter(e=>e.id!==t)}))})),r={success:(e,t)=>n.getState().push({level:`success`,title:e,detail:t}),error:(e,t)=>n.getState().push({level:`error`,title:e,detail:t}),info:(e,t)=>n.getState().push({level:`info`,title:e,detail:t})};export{n,r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-DfC0iyIS.js";import{n,t as r}from"./controlConnectionEpoch-D4HtriLM.js";var i=e(t(),1),a=new Map;function o(e){let t=n(),o=`${t}\u0000${e}`,s=(0,i.useRef)(!1),c=(0,i.useRef)(0),l=(0,i.useRef)(o);return l.current!==o&&(l.current=o,c.current+=1),(0,i.useEffect)(()=>(s.current=!0,()=>{s.current=!1,c.current+=1}),[]),{scopeKey:o,begin:(e=`action`)=>{let n=[...new Set(typeof e==`string`?[e]:e)],i=n.map(e=>`${t}\u0000${e}`);if(!s.current||n.length===0||l.current!==o||r()!==t||i.some(e=>a.has(e)))return null;let u=Symbol(`control-action`);for(let e of i)a.set(e,u);let d=c.current,f=()=>s.current&&c.current===d&&l.current===o&&r()===t;return{isCurrent:f,finish:()=>{let e=f();for(let e of i)a.get(e)===u&&a.delete(e);return e}}}}}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-DfC0iyIS.js";import{o as n}from"./connectionStore-DdLzJyut.js";var r=e(t(),1);function i(e){let t=!0;return()=>t?(t=!1,!0):!e()}function a(e,t=[],a={}){let o=n(e=>e.refreshMs),s=n(e=>JSON.stringify([e.activeProfileId,e.baseUrl,e.agentBaseUrl,e.token,e.agentToken])),c=a.intervalMs??o,l=(0,r.useRef)(null),u=(0,r.useRef)(0),d=[s,...t];(l.current===null||l.current.length!==d.length||l.current.some((e,t)=>!Object.is(e,d[t])))&&(l.current=d,u.current+=1);let f=u.current,[p,m]=(0,r.useState)(null),[h,g]=(0,r.useState)(null),[_,v]=(0,r.useState)(!0),y=(0,r.useRef)(e);y.current=e;let b=(0,r.useRef)(!0),x=(0,r.useRef)(0),S=(0,r.useRef)(void 0),C=(0,r.useRef)(!0),w=(0,r.useRef)(!1),T=(0,r.useRef)(0),E=(0,r.useRef)(0),D=(0,r.useRef)(()=>Promise.resolve()),O=(0,r.useCallback)(async(e,t,n)=>{try{let r=await y.current(n);if(!b.current||e!==x.current)return;let i;try{i=JSON.stringify(r)}catch{i=String(Math.random())}i===S.current?T.current=t:(S.current=i,T.current=t,m(r)),w.current&&(w.current=!1,E.current=0,g(null))}catch(n){if(!b.current||e!==x.current)return;w.current=!0,E.current=t,g(n)}finally{b.current&&e===x.current&&C.current&&(C.current=!1,v(!1))}},[]),k=(0,r.useCallback)(()=>D.current(),[]);(0,r.useEffect)(()=>{b.current=!0;let e=++x.current,t=new AbortController;S.current=void 0,C.current=!0,m(null),v(!0),w.current&&(w.current=!1,g(null));let n=null,r=!1,a=!1,o=!1,s=[],l=()=>globalThis.document?.hidden??!1,u=i(l),d=()=>{n!==null&&clearTimeout(n),n=null},p=()=>{r||(d(),n=setTimeout(()=>{n=null,_(!1)},c))},h=async()=>{a=!0;try{await O(e,f,t.signal)}finally{if(a=!1,!r)if(o){o=!1;let e=s;s=[],_(!0).finally(()=>{for(let t of e)t()})}else p()}};function _(e){return r?Promise.resolve():a?e?(o=!0,new Promise(e=>s.push(e))):Promise.resolve():(d(),!e&&!u()?(p(),Promise.resolve()):h())}let y=()=>_(!0);D.current=y,_(!1);let T=()=>{l()||r||a||_(!0)};return typeof document<`u`&&document.addEventListener(`visibilitychange`,T),()=>{r=!0,b.current=!1,t.abort(),d();for(let e of s)e();s=[],D.current===y&&(D.current=()=>Promise.resolve()),x.current===e&&(x.current+=1),typeof document<`u`&&document.removeEventListener(`visibilitychange`,T)}},[c,f,O]);let A=T.current===f,j=E.current===f;return{data:A?p:null,error:j?h:null,loading:A||j?_:!0,refetch:k}}export{a as n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-DfC0iyIS.js";import{a as n,o as r}from"./connectionStore-DdLzJyut.js";var i=e(t(),1),a=new Map;function o(){let e=r.getState().token.trim();return JSON.stringify([n(),e])}var s=0,c=o();r.subscribe(()=>{let e=o();e!==c&&(c=e,s+=1)});function l(e,t=`Operation`){if(typeof e!=`object`||!e||e.ok!==!0)throw Error(`${t} returned a malformed success response`)}function u(e){r(e=>`${e.baseUrl}\u0000${e.token}`);let t=o(),n=s,c=JSON.stringify([n,e]),l=(0,i.useRef)(!1),u=(0,i.useRef)(0),d=(0,i.useRef)(c);return d.current!==c&&(d.current=c,u.current+=1),(0,i.useEffect)(()=>{l.current=!0;let e=o(),t=r.subscribe(()=>{let t=o();t!==e&&(e=t,u.current+=1)});return()=>{l.current=!1,u.current+=1,t()}},[]),{scopeKey:c,begin:(r=`action`)=>{let i=[...new Set(typeof r==`string`?[r]:r)],f=i.map(t=>JSON.stringify([n,e,t]));if(!l.current||i.length===0||d.current!==c||s!==n||o()!==t||f.some(e=>a.has(e)))return null;let p=Symbol(`server-action`);for(let e of f)a.set(e,p);let m=u.current,h=()=>l.current&&u.current===m&&d.current===c&&s===n&&o()===t;return{isCurrent:h,finish:()=>{let e=h();for(let e of f)a.get(e)===p&&a.delete(e);return e}}}}}export{o as n,u as r,l as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{g as t}from"./react-vendor-DfC0iyIS.js";import{o as n}from"./connectionStore-DdLzJyut.js";import{t as r}from"./bq-CSX8DSME.js";import{t as i}from"./usePolledData-Dp_ynL9f.js";var a=e(t(),1),o=1e3,s={push:[],complete:[],fail:[],depth:[]},c=()=>typeof performance<`u`?performance.now():Date.now(),l=(e,t)=>`${e}\u0000${t}`;function u(e=60){let t=l(n(e=>e.baseUrl),n(e=>e.token)),[u,d]=(0,a.useState)(s),[f,p]=(0,a.useState)(null),[m,h]=(0,a.useState)(null),g=(0,a.useRef)(0),_=(0,a.useRef)(0),v=(0,a.useRef)(t),y=v.current===t;return(0,a.useEffect)(()=>{let n=++g.current,a=new AbortController,l=!1;v.current!==t&&(v.current=t,d(s),p(null),h(null),_.current=0);let u=i(()=>globalThis.document?.hidden??!1),f=async()=>{if(l||!u())return;l=!0;let t=c();try{let[i,c]=await Promise.all([r.overview({signal:a.signal}),r.stats({signal:a.signal})]);if(a.signal.aborted||g.current!==n)return;let l=i?.stats,u=i?.throughput,f=c?.stats;if(!l||!u||!f)throw Error(`malformed telemetry body`);if(![l.waiting,l.active,l.delayed,l.completed,l.dlq,l.totalPushed,l.totalPulled,l.totalCompleted,l.totalFailed,l.uptime,u.pushPerSec,u.completePerSec,u.failPerSec,f.waiting,f.prioritized,f.active,f.delayed,f[`waiting-children`]].every(e=>typeof e==`number`&&Number.isFinite(e)))throw Error(`malformed telemetry numeric metrics`);let m=u.pushPerSec,v=u.completePerSec,y=u.failPerSec,b=f.waiting+f.prioritized+f.active+f.delayed+f[`waiting-children`],x=_.current>0&&t-_.current>4*o;_.current=t,p(i),h(null),d(t=>{let n=x?s:t;return{push:[...n.push,m].slice(-e),complete:[...n.complete,v].slice(-e),fail:[...n.fail,y].slice(-e),depth:[...n.depth,b].slice(-e)}})}catch(e){!a.signal.aborted&&g.current===n&&h(e)}finally{l=!1}};f();let m=setInterval(f,o);return()=>{clearInterval(m),a.abort(),g.current===n&&(g.current+=1)}},[e,t]),y?{...u,latest:f,error:m}:{...s,latest:null,error:null}}function d(e,t=o){if(e.length<2)return{slope:0,label:`steady`,draining:!1};let n=e.length,r=(n-1)/2,i=e.reduce((e,t)=>e+t,0)/n,a=0,s=0;for(let t=0;t<n;t++)a+=(t-r)*(e[t]-i),s+=(t-r)**2;let c=s===0?0:a/s,l=t>0?o/t*c:c,u=l<-.05;return{slope:l,label:u?`draining`:l>.05?`accumulating`:`steady`,draining:u}}export{u as n,d as t};
|
package/dist/index.html
CHANGED
|
@@ -49,23 +49,23 @@
|
|
|
49
49
|
content="Fully drive a bunqueue server from one UI: queues, jobs, DLQ, cron, webhooks, workers, and start/stop/restart. Live demo, no signup."
|
|
50
50
|
/>
|
|
51
51
|
<meta name="twitter:image" content="https://egeominotti.github.io/bunqueue-dashboard/og.png" />
|
|
52
|
-
<script type="module" crossorigin src="./assets/index-
|
|
52
|
+
<script type="module" crossorigin src="./assets/index-CxzFSZj3.js"></script>
|
|
53
53
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-QTnfLwEv.js">
|
|
54
|
-
<link rel="modulepreload" crossorigin href="./assets/react-vendor-
|
|
55
|
-
<link rel="modulepreload" crossorigin href="./assets/connectionStore-
|
|
54
|
+
<link rel="modulepreload" crossorigin href="./assets/react-vendor-DfC0iyIS.js">
|
|
55
|
+
<link rel="modulepreload" crossorigin href="./assets/connectionStore-DdLzJyut.js">
|
|
56
56
|
<link rel="modulepreload" crossorigin href="./assets/upstreamPaths-DQeKSxGc.js">
|
|
57
|
-
<link rel="modulepreload" crossorigin href="./assets/bq-
|
|
58
|
-
<link rel="modulepreload" crossorigin href="./assets/toastStore-
|
|
59
|
-
<link rel="modulepreload" crossorigin href="./assets/icons-
|
|
60
|
-
<link rel="modulepreload" crossorigin href="./assets/StatusBadge-
|
|
61
|
-
<link rel="modulepreload" crossorigin href="./assets/api-
|
|
62
|
-
<link rel="modulepreload" crossorigin href="./assets/usePolledData-
|
|
63
|
-
<link rel="modulepreload" crossorigin href="./assets/Button-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="./assets/Card-
|
|
65
|
-
<link rel="modulepreload" crossorigin href="./assets/feedback-
|
|
66
|
-
<link rel="modulepreload" crossorigin href="./assets/PageHeader-
|
|
57
|
+
<link rel="modulepreload" crossorigin href="./assets/bq-CSX8DSME.js">
|
|
58
|
+
<link rel="modulepreload" crossorigin href="./assets/toastStore-DnqA_aL-.js">
|
|
59
|
+
<link rel="modulepreload" crossorigin href="./assets/icons-C1HVBnFn.js">
|
|
60
|
+
<link rel="modulepreload" crossorigin href="./assets/StatusBadge-cYUkK-4P.js">
|
|
61
|
+
<link rel="modulepreload" crossorigin href="./assets/api-Bbo86MB6.js">
|
|
62
|
+
<link rel="modulepreload" crossorigin href="./assets/usePolledData-Dp_ynL9f.js">
|
|
63
|
+
<link rel="modulepreload" crossorigin href="./assets/Button-BCjgbAhY.js">
|
|
64
|
+
<link rel="modulepreload" crossorigin href="./assets/Card-DptfvL2O.js">
|
|
65
|
+
<link rel="modulepreload" crossorigin href="./assets/feedback-Dxfj-Fy1.js">
|
|
66
|
+
<link rel="modulepreload" crossorigin href="./assets/PageHeader-DD4vnVog.js">
|
|
67
67
|
<link rel="modulepreload" crossorigin href="./assets/format-Cg7VCIZW.js">
|
|
68
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
68
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DZXf58c2.css">
|
|
69
69
|
</head>
|
|
70
70
|
<body>
|
|
71
71
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunqueue-dashboard",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Web dashboard for a bunqueue server (queues, jobs, DLQ, cron, metrics, workers, live activity). Run with `bunx bunqueue-dashboard` (requires Bun 1.4.
|
|
6
|
-
"packageManager": "bun@1.4.
|
|
5
|
+
"description": "Web dashboard for a bunqueue server (queues, jobs, DLQ, cron, metrics, workers, live activity). Run with `bunx bunqueue-dashboard` (requires Bun 1.4.4).",
|
|
6
|
+
"packageManager": "bun@1.4.4",
|
|
7
7
|
"bin": {
|
|
8
8
|
"bunqueue-dashboard": "scripts/serve.ts"
|
|
9
9
|
},
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react"
|
|
50
50
|
],
|
|
51
51
|
"engines": {
|
|
52
|
-
"bun": "1.4.
|
|
52
|
+
"bun": "1.4.4"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"prepack": "bun run version:check && bun run build && bun scripts/gen-embed.ts",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"dev": "vite",
|
|
58
58
|
"agent": "bun run agent/index.ts",
|
|
59
59
|
"build": "bun run typecheck && vite build",
|
|
60
|
-
"typecheck": "
|
|
61
|
-
"typecheck:agent": "
|
|
62
|
-
"typecheck:examples": "
|
|
60
|
+
"typecheck": "bun check --no-script && bun run typecheck:agent && bun run typecheck:examples && bun run typecheck:e2e",
|
|
61
|
+
"typecheck:agent": "bun check --no-script -p tsconfig.agent.json",
|
|
62
|
+
"typecheck:examples": "bun check --no-script -p tsconfig.examples.json",
|
|
63
63
|
"size": "bun run scripts/check-bundle.ts",
|
|
64
|
-
"version:check": "bun run scripts/check-bun-version.ts",
|
|
64
|
+
"version:check": "bun run scripts/check-bun-version.ts && bun run scripts/check-playwright-image.ts",
|
|
65
65
|
"architecture": "bun run scripts/check-file-size.ts",
|
|
66
66
|
"docs:dev": "vitepress dev docs",
|
|
67
67
|
"docs:build": "bun run scripts/build-docs.ts",
|
|
@@ -87,13 +87,19 @@
|
|
|
87
87
|
"test:coverage": "bun test --coverage --coverage-reporter=text --coverage-reporter=lcov --coverage-dir=coverage && bun scripts/check-coverage.ts && bun scripts/check-critical-coverage.ts && bun scripts/check-test-inventory.ts",
|
|
88
88
|
"lint": "oxlint . && bun run scripts/check-implicit-any-let.ts",
|
|
89
89
|
"lint:fix": "oxlint --fix . && bun run scripts/check-implicit-any-let.ts",
|
|
90
|
-
"format": "
|
|
91
|
-
"format:check": "
|
|
92
|
-
"check": "bun run lint && bun run format:check",
|
|
90
|
+
"format": "bun fmt",
|
|
91
|
+
"format:check": "bun fmt --check",
|
|
92
|
+
"check": "bun run typecheck && bun run lint && bun run format:check",
|
|
93
93
|
"check:fix": "bun run lint:fix && bun run format",
|
|
94
94
|
"audit:high": "bun audit --audit-level=high",
|
|
95
|
-
"quality": "bun run
|
|
96
|
-
"
|
|
95
|
+
"quality": "bun run quality:static && bun run quality:unit && bun run quality:runtime-a && bun run quality:runtime-b && bun run quality:runtime-c && bun run quality:runtime-d",
|
|
96
|
+
"quality:static": "bun run version:check && bun run architecture && bun run check && bun run build && bun run size && bun run docs:build && bun run audit:high",
|
|
97
|
+
"quality:unit": "bun run test:coverage",
|
|
98
|
+
"quality:runtime-a": "bun run test:e2e:tls && bun run test:e2e:upgrade && bun run test:e2e:flow && bun run test:e2e:workflow",
|
|
99
|
+
"quality:runtime-b": "bun run test:e2e:queue-operations && bun run test:e2e:postgres-fleet",
|
|
100
|
+
"quality:runtime-c": "bun run test:package && bun run test:runtime",
|
|
101
|
+
"quality:runtime-d": "bun run test:soak",
|
|
102
|
+
"typecheck:e2e": "bun check --no-script -p tsconfig.e2e.json",
|
|
97
103
|
"test:e2e:browser:managed": "bun run build && bun scripts/gen-embed.ts && playwright test -c playwright.managed.config.ts",
|
|
98
104
|
"test:e2e:docs": "bun run docs:build && playwright test -c playwright.docs.config.ts"
|
|
99
105
|
},
|
|
@@ -105,46 +111,47 @@
|
|
|
105
111
|
"@axe-core/playwright": "4.13.0",
|
|
106
112
|
"@fontsource-variable/inter": "^5.2.8",
|
|
107
113
|
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
|
108
|
-
"@modelcontextprotocol/sdk": "1.
|
|
114
|
+
"@modelcontextprotocol/sdk": "1.32.1",
|
|
109
115
|
"@playwright/test": "1.62.1",
|
|
110
|
-
"@shikijs/vitepress-twoslash": "
|
|
116
|
+
"@shikijs/vitepress-twoslash": "4.4.3",
|
|
111
117
|
"@tailwindcss/vite": "^4.3.2",
|
|
112
118
|
"@types/node": "^26.0.1",
|
|
113
|
-
"@types/react": "^19.
|
|
114
|
-
"@types/react-dom": "^19.
|
|
119
|
+
"@types/react": "^19.3.0",
|
|
120
|
+
"@types/react-dom": "^19.3.0",
|
|
115
121
|
"@vitejs/plugin-react": "^6.0.3",
|
|
116
122
|
"ai": "7.0.14",
|
|
117
|
-
"bun-types": "1.4.
|
|
123
|
+
"bun-types": "1.4.4",
|
|
118
124
|
"bunqueue-v2-9-2": "npm:bunqueue@2.9.2",
|
|
119
|
-
"happy-dom": "^
|
|
120
|
-
"mermaid": "^
|
|
121
|
-
"oxfmt": "^0.63.0",
|
|
125
|
+
"happy-dom": "^21.0.4",
|
|
126
|
+
"mermaid": "^12.2.0",
|
|
122
127
|
"oxlint": "^1.78.0",
|
|
123
128
|
"oxlint-tsgolint": "^7.0.2001",
|
|
124
|
-
"react": "^19.
|
|
125
|
-
"react-dom": "^19.
|
|
129
|
+
"react": "^19.3.1",
|
|
130
|
+
"react-dom": "^19.3.1",
|
|
126
131
|
"react-router-dom": "^7.18.4",
|
|
127
132
|
"tailwindcss": "^4.3.2",
|
|
128
133
|
"typescript": "^6.0.3",
|
|
129
|
-
"vite": "^8.1.
|
|
130
|
-
"vitepress": "2.0.0-alpha.
|
|
134
|
+
"vite": "^8.1.6",
|
|
135
|
+
"vitepress": "2.0.0-alpha.20",
|
|
131
136
|
"vitepress-plugin-llms": "^1.13.2",
|
|
132
|
-
"
|
|
133
|
-
"zod": "^4.4.3",
|
|
137
|
+
"zod": "^4.6.7",
|
|
134
138
|
"zustand": "^5.0.14"
|
|
135
139
|
},
|
|
136
140
|
"overrides": {
|
|
137
141
|
"brace-expansion": "^5.0.12",
|
|
138
|
-
"dompurify": "^3.4.
|
|
139
|
-
"fast-uri": "^3.1.
|
|
140
|
-
"ip-address": "^10.7.
|
|
142
|
+
"dompurify": "^3.4.17",
|
|
143
|
+
"fast-uri": "^3.1.9",
|
|
144
|
+
"ip-address": "^10.7.4",
|
|
141
145
|
"js-yaml": "^3.15.2",
|
|
142
|
-
"markdown-it": "^14.3.
|
|
146
|
+
"markdown-it": "^14.3.3",
|
|
143
147
|
"nanoid": "^3.3.18",
|
|
144
|
-
"postcss": "^8.5.25"
|
|
148
|
+
"postcss": "^8.5.25",
|
|
149
|
+
"proxy-addr": "^2.0.8",
|
|
150
|
+
"source-map-js": "^1.2.2",
|
|
151
|
+
"vue": "^3.5.42"
|
|
145
152
|
},
|
|
146
153
|
"dependencies": {
|
|
147
|
-
"bunqueue": "2.9.
|
|
154
|
+
"bunqueue": "2.9.20",
|
|
148
155
|
"msgpackr": "^1.11.8"
|
|
149
156
|
},
|
|
150
157
|
"patchedDependencies": {
|
package/scripts/bunVersion.ts
CHANGED
package/scripts/embedded.gen.ts
CHANGED
|
@@ -3,157 +3,159 @@
|
|
|
3
3
|
import f0 from "../dist/favicon.svg" with { type: 'file' };
|
|
4
4
|
import f1 from "../dist/og.png" with { type: 'file' };
|
|
5
5
|
import f2 from "../dist/.vite/manifest.json" 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/
|
|
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/
|
|
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/Button-
|
|
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/
|
|
6
|
+
import f3 from "../dist/assets/DlqControl-CIV5278D.js" with { type: 'file' };
|
|
7
|
+
import f4 from "../dist/assets/index-CxzFSZj3.js" with { type: 'file' };
|
|
8
|
+
import f5 from "../dist/assets/QueueActions-BgdW95rN.js" with { type: 'file' };
|
|
9
|
+
import f6 from "../dist/assets/AddJob-jq-VZ_YE.js" with { type: 'file' };
|
|
10
|
+
import f7 from "../dist/assets/package-C7CtgBEy.js" with { type: 'file' };
|
|
11
|
+
import f8 from "../dist/assets/QueueDetail-Cv3MLDoE.js" with { type: 'file' };
|
|
12
|
+
import f9 from "../dist/assets/useServerActionGuard-Cr4KUOeZ.js" with { type: 'file' };
|
|
13
|
+
import f10 from "../dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2" with { type: 'file' };
|
|
14
|
+
import f11 from "../dist/assets/icons-C1HVBnFn.js" with { type: 'file' };
|
|
15
|
+
import f12 from "../dist/assets/BulkAddJobs-0cdWqkEF.js" with { type: 'file' };
|
|
16
|
+
import f13 from "../dist/assets/Flows-CEfm102Y.js" with { type: 'file' };
|
|
17
|
+
import f14 from "../dist/assets/CronManager-C0-Y2QDg.js" with { type: 'file' };
|
|
18
|
+
import f15 from "../dist/assets/Dlq-W2xOJiZM.js" with { type: 'file' };
|
|
19
|
+
import f16 from "../dist/assets/UsagePro-CkC8WYcS.js" with { type: 'file' };
|
|
20
|
+
import f17 from "../dist/assets/promisePool-BVfQ9n9Q.js" with { type: 'file' };
|
|
21
|
+
import f18 from "../dist/assets/Card-DptfvL2O.js" with { type: 'file' };
|
|
22
|
+
import f19 from "../dist/assets/feedback-Dxfj-Fy1.js" with { type: 'file' };
|
|
23
|
+
import f20 from "../dist/assets/AreaChart-BMYp7z5y.js" with { type: 'file' };
|
|
24
|
+
import f21 from "../dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2" with { type: 'file' };
|
|
25
|
+
import f22 from "../dist/assets/usePolledData-Dp_ynL9f.js" with { type: 'file' };
|
|
26
|
+
import f23 from "../dist/assets/DlqPro-BuRxGtGt.js" with { type: 'file' };
|
|
27
|
+
import f24 from "../dist/assets/Cron-dPGwJXqY.js" with { type: 'file' };
|
|
28
|
+
import f25 from "../dist/assets/JobInspector-BlMj5-Vr.js" with { type: 'file' };
|
|
29
|
+
import f26 from "../dist/assets/Queues-Bbvh_OCE.js" with { type: 'file' };
|
|
30
|
+
import f27 from "../dist/assets/LogsPro-BgEIjgfj.js" with { type: 'file' };
|
|
31
|
+
import f28 from "../dist/assets/MetricsPro-CK3WfLCl.js" with { type: 'file' };
|
|
32
|
+
import f29 from "../dist/assets/index-DZXf58c2.css" with { type: 'file' };
|
|
33
|
+
import f30 from "../dist/assets/exportFile-C7xhE8Yh.js" with { type: 'file' };
|
|
34
|
+
import f31 from "../dist/assets/Button-BCjgbAhY.js" with { type: 'file' };
|
|
35
|
+
import f32 from "../dist/assets/Database-CseJOrvD.js" with { type: 'file' };
|
|
36
|
+
import f33 from "../dist/assets/StatusBadge-cYUkK-4P.js" with { type: 'file' };
|
|
37
|
+
import f34 from "../dist/assets/WorkersPro-BDgHBTpY.js" with { type: 'file' };
|
|
38
|
+
import f35 from "../dist/assets/controlConnectionEpoch-D4HtriLM.js" with { type: 'file' };
|
|
39
|
+
import f36 from "../dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2" with { type: 'file' };
|
|
40
|
+
import f37 from "../dist/assets/McpServer-ffXr4nFW.js" with { type: 'file' };
|
|
41
|
+
import f38 from "../dist/assets/upstreamPaths-DQeKSxGc.js" with { type: 'file' };
|
|
42
|
+
import f39 from "../dist/assets/ServerControl-Dr2gXbaU.js" with { type: 'file' };
|
|
43
|
+
import f40 from "../dist/assets/responses-BkR2JTH9.js" with { type: 'file' };
|
|
44
|
+
import f41 from "../dist/assets/toastStore-DnqA_aL-.js" with { type: 'file' };
|
|
45
|
+
import f42 from "../dist/assets/S3BackupPro-BWV_R_Vj.js" with { type: 'file' };
|
|
46
|
+
import f43 from "../dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2" with { type: 'file' };
|
|
47
|
+
import f44 from "../dist/assets/Pagination-Cj7GzYNX.js" with { type: 'file' };
|
|
48
|
+
import f45 from "../dist/assets/connectionStore-DdLzJyut.js" with { type: 'file' };
|
|
49
|
+
import f46 from "../dist/assets/useThroughputSeries-CrTeR9s3.js" with { type: 'file' };
|
|
50
|
+
import f47 from "../dist/assets/useControlActionGuard-DImMgJtj.js" with { type: 'file' };
|
|
51
|
+
import f48 from "../dist/assets/Webhooks-BKWnALGC.js" with { type: 'file' };
|
|
52
|
+
import f49 from "../dist/assets/Usage-Cxx6pZfb.js" with { type: 'file' };
|
|
53
|
+
import f50 from "../dist/assets/QueueDetailPro-AhdOAzEF.js" with { type: 'file' };
|
|
54
|
+
import f51 from "../dist/assets/install-DUkXE5kb.js" with { type: 'file' };
|
|
55
|
+
import f52 from "../dist/assets/Workflows-Cp6jqKeM.js" with { type: 'file' };
|
|
56
56
|
import f53 from "../dist/assets/flowOperationPolicy-B2Etcb3f.js" with { type: 'file' };
|
|
57
|
-
import f54 from "../dist/assets/
|
|
58
|
-
import f55 from "../dist/assets/
|
|
59
|
-
import f56 from "../dist/assets/
|
|
60
|
-
import f57 from "../dist/assets/
|
|
57
|
+
import f54 from "../dist/assets/classicJobsData-BimIyQky.js" with { type: 'file' };
|
|
58
|
+
import f55 from "../dist/assets/Metrics-CIKZGgf0.js" with { type: 'file' };
|
|
59
|
+
import f56 from "../dist/assets/flowMutationSafety-YKTHxqKv.js" with { type: 'file' };
|
|
60
|
+
import f57 from "../dist/assets/PageHeader-DD4vnVog.js" with { type: 'file' };
|
|
61
61
|
import f58 from "../dist/assets/rolldown-runtime-QTnfLwEv.js" with { type: 'file' };
|
|
62
|
-
import f59 from "../dist/assets/
|
|
63
|
-
import f60 from "../dist/assets/
|
|
64
|
-
import f61 from "../dist/assets/
|
|
65
|
-
import f62 from "../dist/assets/
|
|
66
|
-
import f63 from "../dist/assets/
|
|
67
|
-
import f64 from "../dist/assets/
|
|
68
|
-
import f65 from "../dist/assets/
|
|
69
|
-
import f66 from "../dist/assets/
|
|
70
|
-
import f67 from "../dist/assets/
|
|
71
|
-
import f68 from "../dist/assets/
|
|
72
|
-
import f69 from "../dist/assets/
|
|
73
|
-
import f70 from "../dist/assets/
|
|
74
|
-
import f71 from "../dist/assets/
|
|
75
|
-
import f72 from "../dist/assets/
|
|
76
|
-
import f73 from "../dist/assets/
|
|
77
|
-
import f74 from "../dist/assets/
|
|
78
|
-
import f75 from "../dist/assets/
|
|
79
|
-
import f76 from "../dist/
|
|
62
|
+
import f59 from "../dist/assets/QueueControl-g-9kwrpt.js" with { type: 'file' };
|
|
63
|
+
import f60 from "../dist/assets/Jobs-D_TId_Oa.js" with { type: 'file' };
|
|
64
|
+
import f61 from "../dist/assets/api-Bbo86MB6.js" with { type: 'file' };
|
|
65
|
+
import f62 from "../dist/assets/Benchmark-CWYdqm55.js" with { type: 'file' };
|
|
66
|
+
import f63 from "../dist/assets/S3Backup-Cg6sc2JG.js" with { type: 'file' };
|
|
67
|
+
import f64 from "../dist/assets/bq-CSX8DSME.js" with { type: 'file' };
|
|
68
|
+
import f65 from "../dist/assets/Fleet-0zKJSjCw.js" with { type: 'file' };
|
|
69
|
+
import f66 from "../dist/assets/JobsPro-A06ZG5Xi.js" with { type: 'file' };
|
|
70
|
+
import f67 from "../dist/assets/format-Cg7VCIZW.js" with { type: 'file' };
|
|
71
|
+
import f68 from "../dist/assets/Logs-hbh7XhQU.js" with { type: 'file' };
|
|
72
|
+
import f69 from "../dist/assets/form-Dy-an7ew.js" with { type: 'file' };
|
|
73
|
+
import f70 from "../dist/assets/QueuesOverview-sPQILfMU.js" with { type: 'file' };
|
|
74
|
+
import f71 from "../dist/assets/Diagnostics-cZTy4Y2t.js" with { type: 'file' };
|
|
75
|
+
import f72 from "../dist/assets/Settings-BsDDlu-h.js" with { type: 'file' };
|
|
76
|
+
import f73 from "../dist/assets/Workers-SJ9MApx3.js" with { type: 'file' };
|
|
77
|
+
import f74 from "../dist/assets/react-vendor-DfC0iyIS.js" with { type: 'file' };
|
|
78
|
+
import f75 from "../dist/assets/Overview-BBgwyUn4.js" with { type: 'file' };
|
|
79
|
+
import f76 from "../dist/assets/Alerts-Bi8zLKXV.js" with { type: 'file' };
|
|
80
|
+
import f77 from "../dist/index.html" with { type: 'file' };
|
|
80
81
|
|
|
81
82
|
export const ASSETS: Record<string, string> = {
|
|
82
83
|
"/favicon.svg": f0,
|
|
83
84
|
"/og.png": f1,
|
|
84
85
|
"/.vite/manifest.json": f2,
|
|
85
|
-
"/assets/
|
|
86
|
-
"/assets/
|
|
87
|
-
"/assets/
|
|
88
|
-
"/assets/
|
|
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/Button-
|
|
114
|
-
"/assets/
|
|
115
|
-
"/assets/
|
|
116
|
-
"/assets/
|
|
117
|
-
"/assets/
|
|
118
|
-
"/assets/
|
|
119
|
-
"/assets/
|
|
120
|
-
"/assets/
|
|
121
|
-
"/assets/
|
|
122
|
-
"/assets/
|
|
123
|
-
"/assets/
|
|
124
|
-
"/assets/
|
|
125
|
-
"/assets/
|
|
126
|
-
"/assets/
|
|
127
|
-
"/assets/
|
|
128
|
-
"/assets/
|
|
129
|
-
"/assets/
|
|
130
|
-
"/assets/
|
|
131
|
-
"/assets/
|
|
132
|
-
"/assets/
|
|
133
|
-
"/assets/
|
|
134
|
-
"/assets/
|
|
86
|
+
"/assets/DlqControl-CIV5278D.js": f3,
|
|
87
|
+
"/assets/index-CxzFSZj3.js": f4,
|
|
88
|
+
"/assets/QueueActions-BgdW95rN.js": f5,
|
|
89
|
+
"/assets/AddJob-jq-VZ_YE.js": f6,
|
|
90
|
+
"/assets/package-C7CtgBEy.js": f7,
|
|
91
|
+
"/assets/QueueDetail-Cv3MLDoE.js": f8,
|
|
92
|
+
"/assets/useServerActionGuard-Cr4KUOeZ.js": f9,
|
|
93
|
+
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": f10,
|
|
94
|
+
"/assets/icons-C1HVBnFn.js": f11,
|
|
95
|
+
"/assets/BulkAddJobs-0cdWqkEF.js": f12,
|
|
96
|
+
"/assets/Flows-CEfm102Y.js": f13,
|
|
97
|
+
"/assets/CronManager-C0-Y2QDg.js": f14,
|
|
98
|
+
"/assets/Dlq-W2xOJiZM.js": f15,
|
|
99
|
+
"/assets/UsagePro-CkC8WYcS.js": f16,
|
|
100
|
+
"/assets/promisePool-BVfQ9n9Q.js": f17,
|
|
101
|
+
"/assets/Card-DptfvL2O.js": f18,
|
|
102
|
+
"/assets/feedback-Dxfj-Fy1.js": f19,
|
|
103
|
+
"/assets/AreaChart-BMYp7z5y.js": f20,
|
|
104
|
+
"/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": f21,
|
|
105
|
+
"/assets/usePolledData-Dp_ynL9f.js": f22,
|
|
106
|
+
"/assets/DlqPro-BuRxGtGt.js": f23,
|
|
107
|
+
"/assets/Cron-dPGwJXqY.js": f24,
|
|
108
|
+
"/assets/JobInspector-BlMj5-Vr.js": f25,
|
|
109
|
+
"/assets/Queues-Bbvh_OCE.js": f26,
|
|
110
|
+
"/assets/LogsPro-BgEIjgfj.js": f27,
|
|
111
|
+
"/assets/MetricsPro-CK3WfLCl.js": f28,
|
|
112
|
+
"/assets/index-DZXf58c2.css": f29,
|
|
113
|
+
"/assets/exportFile-C7xhE8Yh.js": f30,
|
|
114
|
+
"/assets/Button-BCjgbAhY.js": f31,
|
|
115
|
+
"/assets/Database-CseJOrvD.js": f32,
|
|
116
|
+
"/assets/StatusBadge-cYUkK-4P.js": f33,
|
|
117
|
+
"/assets/WorkersPro-BDgHBTpY.js": f34,
|
|
118
|
+
"/assets/controlConnectionEpoch-D4HtriLM.js": f35,
|
|
119
|
+
"/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2": f36,
|
|
120
|
+
"/assets/McpServer-ffXr4nFW.js": f37,
|
|
121
|
+
"/assets/upstreamPaths-DQeKSxGc.js": f38,
|
|
122
|
+
"/assets/ServerControl-Dr2gXbaU.js": f39,
|
|
123
|
+
"/assets/responses-BkR2JTH9.js": f40,
|
|
124
|
+
"/assets/toastStore-DnqA_aL-.js": f41,
|
|
125
|
+
"/assets/S3BackupPro-BWV_R_Vj.js": f42,
|
|
126
|
+
"/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2": f43,
|
|
127
|
+
"/assets/Pagination-Cj7GzYNX.js": f44,
|
|
128
|
+
"/assets/connectionStore-DdLzJyut.js": f45,
|
|
129
|
+
"/assets/useThroughputSeries-CrTeR9s3.js": f46,
|
|
130
|
+
"/assets/useControlActionGuard-DImMgJtj.js": f47,
|
|
131
|
+
"/assets/Webhooks-BKWnALGC.js": f48,
|
|
132
|
+
"/assets/Usage-Cxx6pZfb.js": f49,
|
|
133
|
+
"/assets/QueueDetailPro-AhdOAzEF.js": f50,
|
|
134
|
+
"/assets/install-DUkXE5kb.js": f51,
|
|
135
|
+
"/assets/Workflows-Cp6jqKeM.js": f52,
|
|
135
136
|
"/assets/flowOperationPolicy-B2Etcb3f.js": f53,
|
|
136
|
-
"/assets/
|
|
137
|
-
"/assets/
|
|
138
|
-
"/assets/
|
|
139
|
-
"/assets/
|
|
137
|
+
"/assets/classicJobsData-BimIyQky.js": f54,
|
|
138
|
+
"/assets/Metrics-CIKZGgf0.js": f55,
|
|
139
|
+
"/assets/flowMutationSafety-YKTHxqKv.js": f56,
|
|
140
|
+
"/assets/PageHeader-DD4vnVog.js": f57,
|
|
140
141
|
"/assets/rolldown-runtime-QTnfLwEv.js": f58,
|
|
141
|
-
"/assets/
|
|
142
|
-
"/assets/
|
|
143
|
-
"/assets/
|
|
144
|
-
"/assets/
|
|
145
|
-
"/assets/
|
|
146
|
-
"/assets/
|
|
147
|
-
"/assets/
|
|
148
|
-
"/assets/
|
|
149
|
-
"/assets/
|
|
150
|
-
"/assets/
|
|
151
|
-
"/assets/
|
|
152
|
-
"/assets/
|
|
153
|
-
"/assets/
|
|
154
|
-
"/assets/
|
|
155
|
-
"/assets/
|
|
156
|
-
"/assets/
|
|
157
|
-
"/assets/
|
|
158
|
-
"/
|
|
142
|
+
"/assets/QueueControl-g-9kwrpt.js": f59,
|
|
143
|
+
"/assets/Jobs-D_TId_Oa.js": f60,
|
|
144
|
+
"/assets/api-Bbo86MB6.js": f61,
|
|
145
|
+
"/assets/Benchmark-CWYdqm55.js": f62,
|
|
146
|
+
"/assets/S3Backup-Cg6sc2JG.js": f63,
|
|
147
|
+
"/assets/bq-CSX8DSME.js": f64,
|
|
148
|
+
"/assets/Fleet-0zKJSjCw.js": f65,
|
|
149
|
+
"/assets/JobsPro-A06ZG5Xi.js": f66,
|
|
150
|
+
"/assets/format-Cg7VCIZW.js": f67,
|
|
151
|
+
"/assets/Logs-hbh7XhQU.js": f68,
|
|
152
|
+
"/assets/form-Dy-an7ew.js": f69,
|
|
153
|
+
"/assets/QueuesOverview-sPQILfMU.js": f70,
|
|
154
|
+
"/assets/Diagnostics-cZTy4Y2t.js": f71,
|
|
155
|
+
"/assets/Settings-BsDDlu-h.js": f72,
|
|
156
|
+
"/assets/Workers-SJ9MApx3.js": f73,
|
|
157
|
+
"/assets/react-vendor-DfC0iyIS.js": f74,
|
|
158
|
+
"/assets/Overview-BBgwyUn4.js": f75,
|
|
159
|
+
"/assets/Alerts-Bi8zLKXV.js": f76,
|
|
160
|
+
"/index.html": f77,
|
|
159
161
|
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{f as t,g as n,r,t as i}from"./react-vendor-CFL9l8LK.js";import{t as a}from"./bq-DR2BTISO.js";import{t as o}from"./toastStore-XmMX7A5W.js";import{C as s,d as c,u as l}from"./icons-DH9SS1DA.js";import{r as u}from"./StatusBadge-DereLzOj.js";import{n as d}from"./usePolledData-CEyyLRYa.js";import{n as f,t as p}from"./Button-_aSJvRoW.js";import{t as m}from"./Card-egIDLwVk.js";import{i as h,n as ee,r as g,t as _}from"./feedback-CtGN_kqB.js";import{t as v}from"./PageHeader-CQzNsw8r.js";import{l as y,s as b}from"./format-Cg7VCIZW.js";import{a as x}from"./form-DG3X6cLL.js";import{t as S}from"./Pagination-CSkzhNW6.js";import{r as C,t as w}from"./flowMutationSafety-YKTHxqKv.js";import{t as te}from"./exportFile-C7xhE8Yh.js";import{t as T}from"./QueueControl-C01l6bBJ.js";var E=e(n(),1),D=i();function O({total:e,discoveryError:t,healthy:n,statsError:r,queue:i,topReason:a,pendingRetry:o,reasonCount:s}){return(0,D.jsxs)(`div`,{className:`mb-6 grid grid-cols-2 gap-4 md:grid-cols-4`,children:[(0,D.jsxs)(m,{children:[(0,D.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,D.jsx)(`span`,{className:`text-[11px] font-medium uppercase tracking-wider text-faint`,children:`Total in DLQ`}),(0,D.jsx)(`span`,{className:u(`rounded-full px-2 py-0.5 text-[11px] font-medium`,t?`bg-amber-500/10 text-warning`:e==null?`bg-surface-2 text-muted`:n?`bg-emerald-500/10 text-success`:`bg-red-500/10 text-danger`),children:t?`Unavailable`:e==null?`Loading`:n?`Healthy`:`Attention`})]}),(0,D.jsx)(`div`,{className:u(`mt-2 text-3xl font-bold tnum`,e==null||t?`text-muted`:n?`text-success`:`text-danger`),children:e==null?`—`:b(e)})]}),(0,D.jsxs)(m,{children:[(0,D.jsx)(`div`,{className:`text-[11px] font-medium uppercase tracking-wider text-faint`,children:`Top Reason`}),(0,D.jsx)(`div`,{className:`mt-2 text-lg font-semibold text-fg`,children:t||r?`Unavailable`:i?a??`No failures`:`Select a queue`})]}),(0,D.jsxs)(m,{children:[(0,D.jsx)(`div`,{className:`text-[11px] font-medium uppercase tracking-wider text-faint`,children:`Pending Retry`}),(0,D.jsx)(`div`,{className:`mt-2 text-3xl font-bold tnum text-fg`,children:o==null?`—`:b(o)}),(0,D.jsx)(`div`,{className:`mt-1 text-xs text-faint`,children:i?`in this queue`:`awaiting retry`})]}),(0,D.jsxs)(m,{children:[(0,D.jsx)(`div`,{className:`text-[11px] font-medium uppercase tracking-wider text-faint`,children:`Failure Types`}),(0,D.jsx)(`div`,{className:`mt-2 text-3xl font-bold tnum text-fg`,children:s==null?`—`:b(s)}),(0,D.jsx)(`div`,{className:`mt-1 text-xs text-faint`,children:`distinct reasons`})]})]})}function k({queues:e,queue:t,onSelect:n}){return e.length===0?null:(0,D.jsxs)(m,{className:`mb-6`,children:[(0,D.jsxs)(`div`,{className:`mb-3 flex flex-wrap items-center justify-between gap-2`,children:[(0,D.jsx)(`span`,{className:`text-[11px] font-medium uppercase tracking-wider text-faint`,children:`DLQ by queue`}),(0,D.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,D.jsxs)(p,{size:`sm`,disabled:!0,title:w,children:[(0,D.jsx)(s,{className:`size-3.5`}),` Retry all (`,e.length,` queues)`]}),(0,D.jsxs)(p,{variant:`danger`,size:`sm`,disabled:!0,title:C,children:[`Purge all (`,e.length,` queues)`]})]})]}),(0,D.jsx)(`div`,{className:`grid grid-cols-2 gap-3 md:grid-cols-4 xl:grid-cols-5`,children:e.map(e=>(0,D.jsxs)(`button`,{type:`button`,onClick:()=>n(e.name),className:u(`rounded-lg border p-3 text-left transition-colors`,t===e.name?`border-accent/50 bg-surface-2`:`border-line hover:border-line-strong`),children:[(0,D.jsx)(`div`,{className:`truncate font-mono text-xs text-muted`,children:e.name}),(0,D.jsx)(`div`,{className:`mt-1 text-xl font-bold tnum text-danger`,children:e.dlq})]},e.name))})]})}function A({queue:e,queues:t,reason:n,reasons:r,sort:i,search:a,pageScoped:o,onQueue:l,onReason:u,onSort:d,onSearch:m,onExport:h}){return(0,D.jsxs)(`div`,{className:`mb-4 flex flex-wrap items-center gap-3`,children:[(0,D.jsx)(`div`,{className:`w-48`,children:(0,D.jsxs)(x,{value:e,"aria-label":`Queue`,name:`dlq-queue`,autoComplete:`off`,onChange:e=>l(e.target.value),children:[(0,D.jsx)(`option`,{value:``,children:`Select a queue…`}),t.map(e=>(0,D.jsxs)(`option`,{value:e.name,children:[e.name,e.dlq?` (${e.dlq})`:``]},e.name))]})}),(0,D.jsx)(`div`,{className:`w-40`,children:(0,D.jsxs)(x,{value:n,onChange:e=>u(e.target.value),"aria-label":`Filter by reason`,name:`dlq-reason-filter`,autoComplete:`off`,children:[(0,D.jsx)(`option`,{value:`all`,children:`All Reasons`}),r.map(e=>(0,D.jsx)(`option`,{value:e,children:e},e))]})}),(0,D.jsx)(`div`,{className:`w-36`,children:(0,D.jsxs)(x,{value:i,onChange:e=>d(e.target.value),"aria-label":o?`Sort this page`:`Sort`,name:`dlq-sort`,autoComplete:`off`,children:[(0,D.jsxs)(`option`,{value:`newest`,children:[`Newest First`,o?` (this page)`:``]}),(0,D.jsxs)(`option`,{value:`oldest`,children:[`Oldest First`,o?` (this page)`:``]})]})}),(0,D.jsx)(`input`,{value:a,onChange:e=>m(e.target.value),placeholder:`Filter this page by job ID…`,"aria-label":`Filter this page by job ID`,name:`dlq-job-filter`,autoComplete:`off`,className:`h-9 min-w-40 flex-1 rounded-lg border border-line bg-surface px-3 text-sm text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none focus:ring-2 focus:ring-accent/30`}),(0,D.jsxs)(p,{size:`sm`,disabled:!0,title:w,children:[(0,D.jsx)(s,{className:`size-3.5`}),` Retry All`]}),(0,D.jsx)(p,{variant:`danger`,size:`sm`,disabled:!0,title:C,children:`Purge All`}),(0,D.jsx)(f,{"aria-label":`Export this page to CSV`,title:`Export this page to CSV`,disabled:!e,onClick:h,children:(0,D.jsx)(c,{className:`size-3.5`})})]})}function j({entries:e,expanded:t,onToggle:n}){return(0,D.jsx)(`div`,{className:`overflow-x-auto rounded-xl border border-line bg-surface`,children:(0,D.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,D.jsx)(`thead`,{children:(0,D.jsxs)(`tr`,{className:`border-b border-line text-left text-[11px] uppercase tracking-wider text-faint`,children:[(0,D.jsx)(`th`,{className:`px-5 py-3 font-medium`,children:`Job ID`}),(0,D.jsx)(`th`,{className:`px-5 py-3 font-medium`,children:`Name`}),(0,D.jsx)(`th`,{className:`px-5 py-3 font-medium`,children:`Reason`}),(0,D.jsx)(`th`,{className:`px-5 py-3 font-medium`,children:`Error`}),(0,D.jsx)(`th`,{className:`px-5 py-3 text-right font-medium`,children:`Entered`}),(0,D.jsx)(`th`,{className:`w-16 px-5 py-3`})]})}),(0,D.jsx)(`tbody`,{children:e.map(e=>{let i=`${e.job.id}-${e.enteredAt}`;return(0,D.jsxs)(`tr`,{className:`border-b border-line last:border-0 align-top hover:bg-surface-2/40`,children:[(0,D.jsx)(`td`,{className:`px-5 py-3`,children:(0,D.jsx)(r,{to:`/job?id=${encodeURIComponent(e.job.id)}`,className:`font-mono text-xs text-accent hover:underline`,children:e.job.id})}),(0,D.jsx)(`td`,{className:`px-5 py-3 font-mono text-xs text-muted`,children:e.job.name??`default`}),(0,D.jsx)(`td`,{className:`px-5 py-3`,children:(0,D.jsx)(`span`,{className:`rounded-md bg-red-500/10 px-2 py-0.5 text-xs text-danger`,children:e.reason})}),(0,D.jsx)(`td`,{className:`max-w-md px-5 py-3 text-xs text-danger/80`,children:e.error?(0,D.jsx)(`button`,{type:`button`,title:e.error,"aria-expanded":t.has(i),onClick:()=>n(i),className:u(`block w-full break-words text-left`,!t.has(i)&&`line-clamp-2`),children:e.error}):`—`}),(0,D.jsx)(`td`,{className:`px-5 py-3 text-right text-faint`,children:y(e.enteredAt)}),(0,D.jsx)(`td`,{className:`px-5 py-3 text-right`,children:(0,D.jsx)(f,{"aria-label":`Retry unavailable`,disabled:!0,title:w,children:(0,D.jsx)(s,{className:`size-3.5`})})})]},i)})})]})})}var M=25,ne=[];function N(){let[e,n]=t(),[r,i]=(0,E.useState)(``),[s,c]=(0,E.useState)(`all`),[u,f]=(0,E.useState)(`newest`),[p,m]=(0,E.useState)(``),[y,b]=(0,E.useState)(0),[x,C]=(0,E.useState)(new Set),{data:N,error:P,loading:F,refetch:I}=d(T,[],{intervalMs:1e4}),L=N?.queues??ne,R=N?L.reduce((e,t)=>e+t.dlq,0):null,{data:z,error:B,loading:V,refetch:H}=d((0,E.useCallback)(async()=>{if(!r)return{queue:r,page:y,entries:[],entriesTotal:0,stats:null,statsError:null};let[e,t]=await Promise.all([a.dlq(r,M,y*M),a.dlqStats(r).then(e=>({stats:e.stats,error:null})).catch(e=>({stats:null,error:e.message||`Unknown error`}))]);return{queue:r,page:y,entries:e.entries??[],entriesTotal:e.total??0,stats:t.stats,statsError:t.error}},[r,y]),[r,y]),U=z?.queue===r&&z.page===y?z:null;(0,E.useEffect)(()=>{if(!U)return;let e=U.entriesTotal??0;y>0&&y*M>=e&&b(Math.max(0,Math.ceil(e/M)-1))},[U,y]);let W=()=>{let e=(U?.entries??[]).map(e=>({jobId:e.job.id,reason:e.reason,error:e.error??``,enteredAt:new Date(e.enteredAt).toISOString(),attempts:e.attempts?.length??0}));if(e.length===0){o.info(`Nothing to export on this page`);return}te(`dlq-${r}`,e,[`jobId`,`reason`,`error`,`enteredAt`,`attempts`])},G=e=>{X.current=!0,i(e),b(0),c(`all`),n(e?{queue:e}:{},{replace:!0})};(0,E.useEffect)(()=>{s===`all`||!U||(U.stats?.byReason?.[s]??0)>0||c(`all`)},[U,s]);let K=U?.stats?.byReason??{},q=Object.keys(K).filter(e=>K[e]>0),J=[...q].sort((e,t)=>(K[t]??0)-(K[e]??0))[0],Y=(0,E.useMemo)(()=>L.filter(e=>e.dlq>0).sort((e,t)=>t.dlq-e.dlq),[L]),X=(0,E.useRef)(!1),Z=e.get(`queue`);(0,E.useEffect)(()=>{if(!(X.current||r)){if(Z){if(L.some(e=>e.name===Z)){X.current=!0,i(Z),b(0),c(`all`);return}if(L.length===0)return}Y.length!==0&&(X.current=!0,i(Y[0].name),b(0),c(`all`))}},[r,L,Y,Z]);let Q=(0,E.useMemo)(()=>{let e=U?.entries??[];s!==`all`&&(e=e.filter(e=>e.reason===s));let t=p.trim().toLowerCase();return t&&(e=e.filter(e=>e.job.id.toLowerCase().includes(t))),[...e].sort((e,t)=>u===`newest`?t.enteredAt-e.enteredAt:e.enteredAt-t.enteredAt)},[U,s,p,u]),re=R===0&&!P,$=s!==`all`||p.trim()!==``,ie=(U?.entriesTotal??0)>M;return(0,D.jsxs)(`div`,{children:[(0,D.jsx)(v,{title:`Dead Letter Queue`,description:`Jobs that failed after exhausting all retries. Inspect and export entries without mutating flow topology.`,live:!!r&&!!U&&!U.statsError&&!B&&!P}),B&&U&&(0,D.jsx)(h,{message:`DLQ refresh failed — showing the last successful page.`,onRetry:H}),P&&(0,D.jsx)(h,{onRetry:I,message:`Could not discover queue DLQ totals — ${P.message}. Health status is unavailable.`}),U?.statsError&&(0,D.jsx)(h,{message:`DLQ statistics are unavailable — ${U.statsError}. The entry list may still be current.`,onRetry:H}),(0,D.jsx)(O,{total:R,discoveryError:!!P,healthy:re,statsError:!!U?.statsError,queue:r,topReason:J,pendingRetry:U?.stats?.pendingRetry,reasonCount:U?.stats?q.length:void 0}),(0,D.jsx)(k,{queues:Y,queue:r,onSelect:G}),(0,D.jsx)(A,{queue:r,queues:L,reason:s,reasons:q,sort:u,search:p,pageScoped:ie,onQueue:G,onReason:c,onSort:f,onSearch:m,onExport:W}),(0,D.jsx)(`p`,{className:`mb-4 text-xs text-warning`,children:w}),B&&!U?(0,D.jsx)(ee,{error:B,onRetry:H}):F&&!N&&!r&&!P?(0,D.jsx)(g,{label:`Discovering queues…`}):V&&!U&&!B?(0,D.jsx)(g,{label:`Loading DLQ…`}):P&&!r?(0,D.jsx)(_,{icon:(0,D.jsx)(l,{}),title:`Could not discover queues`,hint:`${P.message}. Retry the queue discovery request above.`}):r?Q.length===0?(0,D.jsx)(_,{icon:(0,D.jsx)(l,{}),title:$?`No matches on this page`:`No dead letter entries`,hint:$?`No entries on this page match your filter — the filter is page-scoped. Use the pager below to check other pages.`:`This queue has no dead letter entries.`}):(0,D.jsx)(j,{entries:Q,expanded:x,onToggle:e=>C(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})}):(0,D.jsx)(_,{icon:(0,D.jsx)(l,{}),title:`Select a queue`,hint:`Choose a queue from the dropdown to view its dead letter queue entries.`}),r&&U&&(0,D.jsx)(S,{page:y,pageSize:M,total:U.entriesTotal,onPageChange:b,label:`entries`})]})}export{N as DlqPro};
|