@qodalis/cli-core 2.2.0 → 2.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qodalis/cli-core",
3
- "version": "2.2.0",
3
+ "version": "2.4.0",
4
4
  "description": "Core interfaces, types, and utilities for the @qodalis CLI ecosystem.",
5
5
  "author": "Nicolae Lupei, Qodalis Solutions",
6
6
  "license": "MIT",
package/public-api.d.mts CHANGED
@@ -2153,9 +2153,9 @@ type CliOptions = Record<string, any> & {
2153
2153
  branding?: CliBranding;
2154
2154
  /**
2155
2155
  * Terminal colors set by the host: `'dark'`, `'light'`, `'auto'`, a terminal
2156
- * theme name or a {@link CliPanelTheme} (its `terminal`). When set, the theme
2157
- * saved with the `theme` command is not restored on start; the command still
2158
- * changes the theme for the session. In a panel, this is the panel's `theme`.
2156
+ * theme name or a {@link CliPanelTheme} (its `terminal`). It is the default:
2157
+ * a theme the user applies with the `theme` command wins over it until
2158
+ * `theme reset`. In a panel, this is the panel's `theme`.
2159
2159
  */
2160
2160
  theme?: CliPanelThemeInput;
2161
2161
  /**
@@ -2407,8 +2407,9 @@ interface CliPanelConfig {
2407
2407
  * - a {@link CliPanelTheme}: a base palette with your own colors, font and corners
2408
2408
  *
2409
2409
  * Changing it while the panel is open restyles the panel and its terminals, so a
2410
- * host can pass its own light/dark setting through. The host's theme wins over
2411
- * one chosen with the `theme` command on the next start.
2410
+ * host can pass its own light/dark setting through. It is the default: a theme
2411
+ * the user applies with the `theme` command wins over it (and restyles the
2412
+ * panel) until `theme reset`.
2412
2413
  * @default 'dark'
2413
2414
  */
2414
2415
  theme?: CliPanelThemeInput;
@@ -4259,7 +4260,7 @@ interface CliThemeInfo {
4259
4260
 
4260
4261
  declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
4261
4262
 
4262
- declare const LIBRARY_VERSION = "2.2.0";
4263
+ declare const LIBRARY_VERSION = "2.4.0";
4263
4264
  declare const API_VERSION = 2;
4264
4265
 
4265
4266
  /**
package/public-api.d.ts CHANGED
@@ -2153,9 +2153,9 @@ type CliOptions = Record<string, any> & {
2153
2153
  branding?: CliBranding;
2154
2154
  /**
2155
2155
  * Terminal colors set by the host: `'dark'`, `'light'`, `'auto'`, a terminal
2156
- * theme name or a {@link CliPanelTheme} (its `terminal`). When set, the theme
2157
- * saved with the `theme` command is not restored on start; the command still
2158
- * changes the theme for the session. In a panel, this is the panel's `theme`.
2156
+ * theme name or a {@link CliPanelTheme} (its `terminal`). It is the default:
2157
+ * a theme the user applies with the `theme` command wins over it until
2158
+ * `theme reset`. In a panel, this is the panel's `theme`.
2159
2159
  */
2160
2160
  theme?: CliPanelThemeInput;
2161
2161
  /**
@@ -2407,8 +2407,9 @@ interface CliPanelConfig {
2407
2407
  * - a {@link CliPanelTheme}: a base palette with your own colors, font and corners
2408
2408
  *
2409
2409
  * Changing it while the panel is open restyles the panel and its terminals, so a
2410
- * host can pass its own light/dark setting through. The host's theme wins over
2411
- * one chosen with the `theme` command on the next start.
2410
+ * host can pass its own light/dark setting through. It is the default: a theme
2411
+ * the user applies with the `theme` command wins over it (and restyles the
2412
+ * panel) until `theme reset`.
2412
2413
  * @default 'dark'
2413
2414
  */
2414
2415
  theme?: CliPanelThemeInput;
@@ -4259,7 +4260,7 @@ interface CliThemeInfo {
4259
4260
 
4260
4261
  declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
4261
4262
 
4262
- declare const LIBRARY_VERSION = "2.2.0";
4263
+ declare const LIBRARY_VERSION = "2.4.0";
4263
4264
  declare const API_VERSION = 2;
4264
4265
 
4265
4266
  /**
package/public-api.js CHANGED
@@ -2599,7 +2599,7 @@ function satisfiesVersionRange(installed, range) {
2599
2599
  }
2600
2600
 
2601
2601
  // src/lib/version.ts
2602
- var LIBRARY_VERSION = "2.2.0";
2602
+ var LIBRARY_VERSION = "2.4.0";
2603
2603
  var API_VERSION = 2;
2604
2604
 
2605
2605
  // src/lib/utils/server-version-negotiator.ts
@@ -2749,28 +2749,30 @@ var DefaultThemes = {
2749
2749
  brightCyan: "#a5f3fc",
2750
2750
  brightWhite: "#f1f5f9"
2751
2751
  },
2752
+ // Soft grey paper and slate text; every color reads at 4.5:1 or more on the background
2752
2753
  light: {
2753
- background: "#ffffff",
2754
- foreground: "#1f2937",
2754
+ background: "#f7f8fa",
2755
+ foreground: "#334155",
2755
2756
  cursor: "#4f46e5",
2756
- selectionBackground: "#c7d2fe",
2757
- selectionForeground: "#111827",
2758
- black: "#1f2937",
2759
- red: "#dc2626",
2760
- green: "#15803d",
2761
- yellow: "#a16207",
2762
- blue: "#4f46e5",
2763
- magenta: "#9333ea",
2764
- cyan: "#0e7490",
2765
- white: "#6b7280",
2766
- brightBlack: "#6b7280",
2767
- brightRed: "#b91c1c",
2768
- brightGreen: "#166534",
2769
- brightYellow: "#854d0e",
2770
- brightBlue: "#4338ca",
2771
- brightMagenta: "#7e22ce",
2772
- brightCyan: "#155e75",
2773
- brightWhite: "#374151"
2757
+ cursorAccent: "#f7f8fa",
2758
+ selectionBackground: "#d9def7",
2759
+ selectionForeground: "#1e293b",
2760
+ black: "#334155",
2761
+ red: "#c93c37",
2762
+ green: "#2c7a4b",
2763
+ yellow: "#946200",
2764
+ blue: "#3d5bd9",
2765
+ magenta: "#8b3fc7",
2766
+ cyan: "#0e7586",
2767
+ white: "#5b6577",
2768
+ brightBlack: "#667085",
2769
+ brightRed: "#b42a25",
2770
+ brightGreen: "#1f6a3d",
2771
+ brightYellow: "#7a5100",
2772
+ brightBlue: "#2f47bd",
2773
+ brightMagenta: "#7431ad",
2774
+ brightCyan: "#0a6170",
2775
+ brightWhite: "#1e293b"
2774
2776
  },
2775
2777
  classic: {
2776
2778
  background: "#0c0c0c",
@@ -3429,17 +3431,18 @@ var CliPanelPalettes = Object.freeze({
3429
3431
  danger: "#f87171",
3430
3432
  shadow: "rgba(0, 0, 0, 0.45)"
3431
3433
  }),
3434
+ // Soft grey paper instead of pure white, slate text rather than black: easier on the eyes
3432
3435
  light: Object.freeze({
3433
- background: "#ffffff",
3434
- headerBackground: "#f8fafc",
3435
- border: "#e2e8f0",
3436
- text: "#0f172a",
3437
- textSecondary: "#64748b",
3436
+ background: "#f7f8fa",
3437
+ headerBackground: "#eceff3",
3438
+ border: "#d9dee6",
3439
+ text: "#1e293b",
3440
+ textSecondary: "#5b6577",
3438
3441
  accent: "#4f46e5",
3439
- hoverBackground: "rgba(79, 70, 229, 0.08)",
3440
- activeBackground: "rgba(79, 70, 229, 0.14)",
3441
- danger: "#dc2626",
3442
- shadow: "rgba(15, 23, 42, 0.14)"
3442
+ hoverBackground: "rgba(30, 41, 59, 0.06)",
3443
+ activeBackground: "rgba(79, 70, 229, 0.12)",
3444
+ danger: "#c93c37",
3445
+ shadow: "rgba(15, 23, 42, 0.12)"
3443
3446
  })
3444
3447
  });
3445
3448
  var PALETTE_TERMINALS = {