@qodalis/cli-core 2.0.0-beta.11 → 2.0.0-beta.12

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.0.0-beta.11",
3
+ "version": "2.0.0-beta.12",
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
@@ -1214,6 +1214,26 @@ interface ICliExecutionContext {
1214
1214
  newLine?: boolean;
1215
1215
  keepCurrentLine?: boolean;
1216
1216
  }) => void;
1217
+ /**
1218
+ * Submit and execute a command — adds to history, runs the command,
1219
+ * and shows a new prompt afterwards. Used by both interactive input
1220
+ * and programmatic execution to ensure identical behaviour.
1221
+ */
1222
+ submitCommand(command: string): Promise<void>;
1223
+ /**
1224
+ * Set a custom status text displayed in the panel header bar.
1225
+ * Use to show progress or state (e.g. "Downloading 45%...", "Connected to server").
1226
+ * Cleared automatically when the command finishes.
1227
+ */
1228
+ setStatusText(text: string): void;
1229
+ /**
1230
+ * Clear the custom status text from the panel header bar.
1231
+ */
1232
+ clearStatusText(): void;
1233
+ /**
1234
+ * Get the current custom status text, if any.
1235
+ */
1236
+ getStatusText(): string | undefined;
1217
1237
  /**
1218
1238
  * Set the current processor as the context processor, i.e. the processor that will handle the command
1219
1239
  * @param processor The processor to set
@@ -2782,7 +2802,7 @@ interface CliThemeInfo {
2782
2802
 
2783
2803
  declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
2784
2804
 
2785
- declare const LIBRARY_VERSION = "2.0.0-beta.11";
2805
+ declare const LIBRARY_VERSION = "2.0.0-beta.12";
2786
2806
  declare const API_VERSION = 2;
2787
2807
 
2788
2808
  /**
package/public-api.d.ts CHANGED
@@ -1214,6 +1214,26 @@ interface ICliExecutionContext {
1214
1214
  newLine?: boolean;
1215
1215
  keepCurrentLine?: boolean;
1216
1216
  }) => void;
1217
+ /**
1218
+ * Submit and execute a command — adds to history, runs the command,
1219
+ * and shows a new prompt afterwards. Used by both interactive input
1220
+ * and programmatic execution to ensure identical behaviour.
1221
+ */
1222
+ submitCommand(command: string): Promise<void>;
1223
+ /**
1224
+ * Set a custom status text displayed in the panel header bar.
1225
+ * Use to show progress or state (e.g. "Downloading 45%...", "Connected to server").
1226
+ * Cleared automatically when the command finishes.
1227
+ */
1228
+ setStatusText(text: string): void;
1229
+ /**
1230
+ * Clear the custom status text from the panel header bar.
1231
+ */
1232
+ clearStatusText(): void;
1233
+ /**
1234
+ * Get the current custom status text, if any.
1235
+ */
1236
+ getStatusText(): string | undefined;
1217
1237
  /**
1218
1238
  * Set the current processor as the context processor, i.e. the processor that will handle the command
1219
1239
  * @param processor The processor to set
@@ -2782,7 +2802,7 @@ interface CliThemeInfo {
2782
2802
 
2783
2803
  declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
2784
2804
 
2785
- declare const LIBRARY_VERSION = "2.0.0-beta.11";
2805
+ declare const LIBRARY_VERSION = "2.0.0-beta.12";
2786
2806
  declare const API_VERSION = 2;
2787
2807
 
2788
2808
  /**
package/public-api.js CHANGED
@@ -2317,7 +2317,7 @@ function satisfiesVersionRange(installed, range) {
2317
2317
  }
2318
2318
 
2319
2319
  // src/lib/version.ts
2320
- var LIBRARY_VERSION = "2.0.0-beta.11";
2320
+ var LIBRARY_VERSION = "2.0.0-beta.12";
2321
2321
  var API_VERSION = 2;
2322
2322
 
2323
2323
  // src/lib/utils/server-version-negotiator.ts