@ai-matrx/coding-sessions 0.1.133 → 0.1.135
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/CHANGELOG.md +12 -0
- package/dist/react/index.cjs +11 -14
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +11 -14
- package/dist/react/index.js.map +1 -1
- package/dist/ui/assets/{index-TQJcipgr.css → index-CS9dgyXY.css} +1 -1
- package/dist/ui/assets/{index-DYbT3yIM.js → index-CYN1nkNV.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -2425,20 +2425,17 @@ function ProvidersFooter(props) {
|
|
|
2425
2425
|
const next = { system: "light", light: "dark", dark: "system" };
|
|
2426
2426
|
const themeLabel = { system: "Match system", light: "Light", dark: "Dark" };
|
|
2427
2427
|
return /* @__PURE__ */ jsx7("div", { className: "border-t border-border px-3 py-2.5", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-1.5", children: [
|
|
2428
|
-
/* @__PURE__ */ jsx7("div", { className: "flex min-w-0 flex-1 flex-wrap gap-1.5", children: state.providers.loading && state.providers.loadedAt === null ? /* @__PURE__ */ jsx7("span", { className: "text-[11.5px] text-muted-foreground", children: "Checking Claude Code and Codex\u2026" }) : state.providers.data.map((p) =>
|
|
2429
|
-
|
|
2430
|
-
{
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
},
|
|
2440
|
-
p.provider
|
|
2441
|
-
)) }),
|
|
2428
|
+
/* @__PURE__ */ jsx7("div", { className: "flex min-w-0 flex-1 flex-wrap gap-1.5", children: state.providers.loading && state.providers.loadedAt === null ? /* @__PURE__ */ jsx7("span", { className: "text-[11.5px] text-muted-foreground", children: "Checking Claude Code and Codex\u2026" }) : state.providers.data.map((p) => {
|
|
2429
|
+
const until = p.lastProblem ? formatUntil(p.lastProblem.until) : null;
|
|
2430
|
+
const note = !p.lastProblem ? null : p.lastProblem.kind === "signed-out" ? "\xB7 sign in again" : `\xB7 limit${until ? ` until ${until}` : ""}`;
|
|
2431
|
+
const about = p.problem ? `${p.problem} ${p.fix ?? ""}`.trim() : [binaryWords(p) ?? p.label, p.plan, newerWords(p)].filter(Boolean).join(" \xB7 ");
|
|
2432
|
+
return /* @__PURE__ */ jsxs7("span", { className: cn5("cs-provider-chip", p.ready ? "" : "cs-provider-chip--problem"), title: note && !p.problem ? `${about} ${note}` : about, children: [
|
|
2433
|
+
/* @__PURE__ */ jsx7(ProviderMark, { provider: p.provider, size: 13 }),
|
|
2434
|
+
p.label,
|
|
2435
|
+
note ? /* @__PURE__ */ jsx7("span", { className: "cs-provider-chip__note", children: note }) : null,
|
|
2436
|
+
p.ready ? /* @__PURE__ */ jsx7(CheckIcon, { size: 12 }) : /* @__PURE__ */ jsx7(AlertIcon, { size: 12 })
|
|
2437
|
+
] }, p.provider);
|
|
2438
|
+
}) }),
|
|
2442
2439
|
/* @__PURE__ */ jsx7(
|
|
2443
2440
|
"button",
|
|
2444
2441
|
{
|