@volter-ai-dev/supercode-ui 0.1.40 → 0.1.41

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/components.mjs CHANGED
@@ -2459,14 +2459,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
2459
2459
  }
2460
2460
  function HarnessReadiness({ harnesses, adapter }) {
2461
2461
  const blocked = harnesses.filter((item) => !item.startable);
2462
- if (!blocked.length) return null;
2463
- return /* @__PURE__ */ jsxs8("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
2464
- /* @__PURE__ */ jsxs8("summary", { children: [
2465
- blocked.length,
2466
- " ",
2467
- blocked.length === 1 ? "harness needs" : "harnesses need",
2468
- " setup"
2469
- ] }),
2462
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
2463
+ return /* @__PURE__ */ jsxs8("details", { className: "scui-readiness", open: true, children: [
2464
+ /* @__PURE__ */ jsx9("summary", { children: "No coding harness is ready" }),
2470
2465
  /* @__PURE__ */ jsx9("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs8("section", { children: [
2471
2466
  /* @__PURE__ */ jsx9(HarnessLogo, { id: item.id, size: 25 }),
2472
2467
  /* @__PURE__ */ jsxs8("span", { children: [
package/embed.mjs CHANGED
@@ -2379,14 +2379,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
2379
2379
  }
2380
2380
  function HarnessReadiness({ harnesses, adapter }) {
2381
2381
  const blocked = harnesses.filter((item) => !item.startable);
2382
- if (!blocked.length) return null;
2383
- return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
2384
- /* @__PURE__ */ jsxs7("summary", { children: [
2385
- blocked.length,
2386
- " ",
2387
- blocked.length === 1 ? "harness needs" : "harnesses need",
2388
- " setup"
2389
- ] }),
2382
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
2383
+ return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: true, children: [
2384
+ /* @__PURE__ */ jsx8("summary", { children: "No coding harness is ready" }),
2390
2385
  /* @__PURE__ */ jsx8("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs7("section", { children: [
2391
2386
  /* @__PURE__ */ jsx8(HarnessLogo, { id: item.id, size: 25 }),
2392
2387
  /* @__PURE__ */ jsxs7("span", { children: [
package/messenger.mjs CHANGED
@@ -2376,14 +2376,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
2376
2376
  }
2377
2377
  function HarnessReadiness({ harnesses, adapter }) {
2378
2378
  const blocked = harnesses.filter((item) => !item.startable);
2379
- if (!blocked.length) return null;
2380
- return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
2381
- /* @__PURE__ */ jsxs7("summary", { children: [
2382
- blocked.length,
2383
- " ",
2384
- blocked.length === 1 ? "harness needs" : "harnesses need",
2385
- " setup"
2386
- ] }),
2379
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
2380
+ return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: true, children: [
2381
+ /* @__PURE__ */ jsx8("summary", { children: "No coding harness is ready" }),
2387
2382
  /* @__PURE__ */ jsx8("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs7("section", { children: [
2388
2383
  /* @__PURE__ */ jsx8(HarnessLogo, { id: item.id, size: 25 }),
2389
2384
  /* @__PURE__ */ jsxs7("span", { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter-ai-dev/supercode-ui",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "description": "Composable default UI kit for Supercode-powered coding-agent experiences",
6
6
  "exports": {
@@ -2459,14 +2459,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
2459
2459
  }
2460
2460
  function HarnessReadiness({ harnesses, adapter }) {
2461
2461
  const blocked = harnesses.filter((item) => !item.startable);
2462
- if (!blocked.length) return null;
2463
- return /* @__PURE__ */ jsxs8("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
2464
- /* @__PURE__ */ jsxs8("summary", { children: [
2465
- blocked.length,
2466
- " ",
2467
- blocked.length === 1 ? "harness needs" : "harnesses need",
2468
- " setup"
2469
- ] }),
2462
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
2463
+ return /* @__PURE__ */ jsxs8("details", { className: "scui-readiness", open: true, children: [
2464
+ /* @__PURE__ */ jsx9("summary", { children: "No coding harness is ready" }),
2470
2465
  /* @__PURE__ */ jsx9("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs8("section", { children: [
2471
2466
  /* @__PURE__ */ jsx9(HarnessLogo, { id: item.id, size: 25 }),
2472
2467
  /* @__PURE__ */ jsxs8("span", { children: [
@@ -2376,14 +2376,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
2376
2376
  }
2377
2377
  function HarnessReadiness({ harnesses, adapter }) {
2378
2378
  const blocked = harnesses.filter((item) => !item.startable);
2379
- if (!blocked.length) return null;
2380
- return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
2381
- /* @__PURE__ */ jsxs7("summary", { children: [
2382
- blocked.length,
2383
- " ",
2384
- blocked.length === 1 ? "harness needs" : "harnesses need",
2385
- " setup"
2386
- ] }),
2379
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
2380
+ return /* @__PURE__ */ jsxs7("details", { className: "scui-readiness", open: true, children: [
2381
+ /* @__PURE__ */ jsx8("summary", { children: "No coding harness is ready" }),
2387
2382
  /* @__PURE__ */ jsx8("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs7("section", { children: [
2388
2383
  /* @__PURE__ */ jsx8(HarnessLogo, { id: item.id, size: 25 }),
2389
2384
  /* @__PURE__ */ jsxs7("span", { children: [
@@ -289,14 +289,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
289
289
  }
290
290
  function HarnessReadiness({ harnesses, adapter }) {
291
291
  const blocked = harnesses.filter((item) => !item.startable);
292
- if (!blocked.length) return null;
293
- return /* @__PURE__ */ jsxs3("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
294
- /* @__PURE__ */ jsxs3("summary", { children: [
295
- blocked.length,
296
- " ",
297
- blocked.length === 1 ? "harness needs" : "harnesses need",
298
- " setup"
299
- ] }),
292
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
293
+ return /* @__PURE__ */ jsxs3("details", { className: "scui-readiness", open: true, children: [
294
+ /* @__PURE__ */ jsx3("summary", { children: "No coding harness is ready" }),
300
295
  /* @__PURE__ */ jsx3("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs3("section", { children: [
301
296
  /* @__PURE__ */ jsx3(HarnessLogo, { id: item.id, size: 25 }),
302
297
  /* @__PURE__ */ jsxs3("span", { children: [
package/settings.mjs CHANGED
@@ -289,14 +289,9 @@ function HarnessSettingsPanel({ state, adapter, onClose, recommendedChange = nul
289
289
  }
290
290
  function HarnessReadiness({ harnesses, adapter }) {
291
291
  const blocked = harnesses.filter((item) => !item.startable);
292
- if (!blocked.length) return null;
293
- return /* @__PURE__ */ jsxs3("details", { className: "scui-readiness", open: !harnesses.some((item) => item.startable), children: [
294
- /* @__PURE__ */ jsxs3("summary", { children: [
295
- blocked.length,
296
- " ",
297
- blocked.length === 1 ? "harness needs" : "harnesses need",
298
- " setup"
299
- ] }),
292
+ if (!blocked.length || harnesses.some((item) => item.startable)) return null;
293
+ return /* @__PURE__ */ jsxs3("details", { className: "scui-readiness", open: true, children: [
294
+ /* @__PURE__ */ jsx3("summary", { children: "No coding harness is ready" }),
300
295
  /* @__PURE__ */ jsx3("div", { children: blocked.map((item) => /* @__PURE__ */ jsxs3("section", { children: [
301
296
  /* @__PURE__ */ jsx3(HarnessLogo, { id: item.id, size: 25 }),
302
297
  /* @__PURE__ */ jsxs3("span", { children: [