@wrongstack/webui 0.109.1 → 0.141.0
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/assets/index-DegAHH7h.css +2 -0
- package/dist/assets/index-uotGTlIy.js +90 -0
- package/dist/assets/rolldown-runtime-QTnfLwEv.js +1 -0
- package/dist/assets/vendor-CHXeWZ2s.js +81 -0
- package/dist/assets/vendor-XkZLp0g1.css +1 -0
- package/dist/index.html +5 -4
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/server/entry.js +44 -13
- package/dist/server/entry.js.map +1 -1
- package/dist/server/index.js +44 -13
- package/dist/server/index.js.map +1 -1
- package/package.json +14 -15
- package/dist/assets/index-BspuUDi_.js +0 -94
- package/dist/assets/index-wpKPNA1U.css +0 -1
- package/dist/assets/vendor-DW1jimNH.css +0 -1
- package/dist/assets/vendor-L8xhANrI.js +0 -81
- package/dist/index.css +0 -3145
- package/dist/index.css.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2)format("woff2"),url(/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2)format("woff2"),url(/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-mono-cyrillic-ext-600-normal-V-xxqcpd.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-ext-600-normal-9HEixskS.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-mono-cyrillic-600-normal-CTOM6hUh.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-600-normal-fLZuRloM.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-mono-vietnamese-600-normal-D2EvbN8M.woff2)format("woff2"),url(/assets/ibm-plex-mono-vietnamese-600-normal-iLQfcSjf.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
package/dist/index.html
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/wrongstack.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>WrongStack WebUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/assets/
|
|
10
|
-
<link rel="
|
|
11
|
-
<link rel="stylesheet" crossorigin href="/assets/
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-uotGTlIy.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-CHXeWZ2s.js">
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/assets/vendor-XkZLp0g1.css">
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DegAHH7h.css">
|
|
12
13
|
</head>
|
|
13
14
|
<body>
|
|
14
15
|
<div id="root"></div>
|
package/dist/index.js
CHANGED
|
@@ -220,7 +220,7 @@ var WrongStackWebSocketClient = class {
|
|
|
220
220
|
this.reconnectTimer = null;
|
|
221
221
|
}
|
|
222
222
|
this.reconnectAttempts = 0;
|
|
223
|
-
void this.connect().catch(() =>
|
|
223
|
+
void this.connect().catch((err) => console.warn(`[ws-client] reconnect failed: ${err}`));
|
|
224
224
|
}
|
|
225
225
|
flushMessageQueue() {
|
|
226
226
|
while (this.messageQueue.length > 0) {
|
|
@@ -907,12 +907,18 @@ function parseGoalState(raw) {
|
|
|
907
907
|
return {
|
|
908
908
|
goal: raw.goal,
|
|
909
909
|
refinedGoal: typeof raw.refinedGoal === "string" ? raw.refinedGoal : void 0,
|
|
910
|
-
goalState: ["active", "paused", "completed", "failed"].includes(raw.goalState) ? raw.goalState : "active",
|
|
910
|
+
goalState: ["active", "paused", "completed", "failed", "abandoned"].includes(raw.goalState) ? raw.goalState : "active",
|
|
911
911
|
iterations: typeof raw.iterations === "number" ? raw.iterations : 0,
|
|
912
912
|
progress: typeof raw.progress === "number" ? raw.progress : 0,
|
|
913
913
|
progressNote: typeof raw.progressNote === "string" ? raw.progressNote : void 0,
|
|
914
|
-
progressTrend:
|
|
915
|
-
deliverables: Array.isArray(raw.deliverables) ? raw.deliverables
|
|
914
|
+
progressTrend: raw.progressTrend === "accelerating" ? "up" : raw.progressTrend === "stalling" ? "down" : raw.progressTrend === "steady" ? "stable" : void 0,
|
|
915
|
+
deliverables: Array.isArray(raw.deliverables) ? raw.deliverables.map(
|
|
916
|
+
(d, i) => typeof d === "string" ? {
|
|
917
|
+
id: `d${i}`,
|
|
918
|
+
text: d,
|
|
919
|
+
status: /^\[[x✓]\]|✅|\(done\)/i.test(d) ? "done" : "pending"
|
|
920
|
+
} : d
|
|
921
|
+
) : void 0,
|
|
916
922
|
journal: Array.isArray(raw.journal) ? raw.journal : void 0,
|
|
917
923
|
lastTask: typeof raw.lastTask === "string" ? raw.lastTask : void 0,
|
|
918
924
|
lastStatus: typeof raw.lastStatus === "string" ? raw.lastStatus : void 0
|
|
@@ -7530,6 +7536,11 @@ var STATE_CONFIG = {
|
|
|
7530
7536
|
color: "text-red-600 dark:text-red-400",
|
|
7531
7537
|
bg: "bg-red-100 dark:bg-red-900/40",
|
|
7532
7538
|
label: "Failed"
|
|
7539
|
+
},
|
|
7540
|
+
abandoned: {
|
|
7541
|
+
color: "text-stone-600 dark:text-stone-400",
|
|
7542
|
+
bg: "bg-stone-100 dark:bg-stone-900/40",
|
|
7543
|
+
label: "Abandoned"
|
|
7533
7544
|
}
|
|
7534
7545
|
};
|
|
7535
7546
|
function GoalPanel({ goal, className }) {
|
|
@@ -7543,9 +7554,9 @@ function GoalPanel({ goal, className }) {
|
|
|
7543
7554
|
return () => clearInterval(timer);
|
|
7544
7555
|
}, []);
|
|
7545
7556
|
if (!goal) return null;
|
|
7546
|
-
if (goal.goalState === "completed" || goal.goalState === "failed") return null;
|
|
7557
|
+
if (goal.goalState === "completed" || goal.goalState === "failed" || goal.goalState === "abandoned") return null;
|
|
7547
7558
|
useEffect20(() => {
|
|
7548
|
-
if (!goal || goal.goalState === "completed" || goal.goalState === "failed") {
|
|
7559
|
+
if (!goal || goal.goalState === "completed" || goal.goalState === "failed" || goal.goalState === "abandoned") {
|
|
7549
7560
|
setCollapsed(true);
|
|
7550
7561
|
}
|
|
7551
7562
|
}, [goal]);
|
|
@@ -7626,7 +7637,7 @@ function GoalPanel({ goal, className }) {
|
|
|
7626
7637
|
totalDeliverables
|
|
7627
7638
|
] })
|
|
7628
7639
|
] }),
|
|
7629
|
-
/* @__PURE__ */ jsx39("ul", { className: "space-y-0.5", children: goal.deliverables
|
|
7640
|
+
/* @__PURE__ */ jsx39("ul", { className: "space-y-0.5", children: goal.deliverables?.map((d) => /* @__PURE__ */ jsxs36("li", { className: "flex items-start gap-1.5 text-[11px]", children: [
|
|
7630
7641
|
d.status === "done" ? /* @__PURE__ */ jsx39(CheckCircle27, { className: "h-3 w-3 text-emerald-500 mt-0.5 shrink-0" }) : /* @__PURE__ */ jsx39(Circle3, { className: "h-3 w-3 text-muted-foreground/50 mt-0.5 shrink-0" }),
|
|
7631
7642
|
/* @__PURE__ */ jsx39(
|
|
7632
7643
|
"span",
|
|
@@ -9897,6 +9908,7 @@ function App() {
|
|
|
9897
9908
|
}
|
|
9898
9909
|
|
|
9899
9910
|
// src/main.tsx
|
|
9911
|
+
import "./index.css";
|
|
9900
9912
|
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
9901
9913
|
ReactDOM.createRoot(expectDefined14(document.getElementById("root"))).render(
|
|
9902
9914
|
/* @__PURE__ */ jsx55(React6.StrictMode, { children: /* @__PURE__ */ jsx55(App, {}) })
|