@qodalis/cli-core 2.4.1 → 2.4.2
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/README.md +4 -3
- package/package.json +1 -1
- package/public-api.d.mts +7 -1
- package/public-api.d.ts +7 -1
- package/public-api.js +1 -1
- package/public-api.js.map +1 -1
- package/public-api.mjs +1 -1
- package/public-api.mjs.map +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|

|
|
22
22
|
|
|
23
|
-
Qodalis CLI renders an [xterm.js](https://xtermjs.org/) terminal in your app with a shell-like command line, built-in commands, themes and a runtime package manager. You add commands as **modules** (`ICliModule`): the 40 official plugins, your own commands, or packages installed at runtime with `pkg add`. It can also connect to a Node.js, .NET or Python backend to run server-side commands.
|
|
23
|
+
Qodalis CLI renders an [xterm.js](https://xtermjs.org/) terminal in your app with a shell-like command line, built-in commands, themes and a runtime package manager. You add commands as **modules** (`ICliModule`): the 40 official plugins (34 here, 6 games in [cli-games](https://github.com/qodalis-solutions/cli-games)), your own commands, or packages installed at runtime with `pkg add`. It can also connect to a Node.js, .NET or Python backend to run server-side commands.
|
|
24
24
|
|
|
25
25
|
## Try it online
|
|
26
26
|
|
|
@@ -210,7 +210,7 @@ Install from npm and pass the module, or run `pkg add <name>` in the terminal.
|
|
|
210
210
|
| [`@qodalis/cli-wget`](https://www.npmjs.com/package/@qodalis/cli-wget) | `wgetModule` | `wget` |
|
|
211
211
|
| [`@qodalis/cli-yesno`](https://www.npmjs.com/package/@qodalis/cli-yesno) | `yesnoModule` | `yesno` |
|
|
212
212
|
|
|
213
|
-
**Games
|
|
213
|
+
**Games** ([cli-games](https://github.com/qodalis-solutions/cli-games), same `@qodalis/cli-<game>` names): [`@qodalis/cli-2048`](https://www.npmjs.com/package/@qodalis/cli-2048) (`game2048Module`), [`@qodalis/cli-minesweeper`](https://www.npmjs.com/package/@qodalis/cli-minesweeper), [`@qodalis/cli-snake`](https://www.npmjs.com/package/@qodalis/cli-snake), [`@qodalis/cli-sudoku`](https://www.npmjs.com/package/@qodalis/cli-sudoku), [`@qodalis/cli-tetris`](https://www.npmjs.com/package/@qodalis/cli-tetris), [`@qodalis/cli-wordle`](https://www.npmjs.com/package/@qodalis/cli-wordle).
|
|
214
214
|
|
|
215
215
|
**Language packs**: `@qodalis/cli-lang-<code>` for `de`, `es`, `fr`, `it`, `ja`, `ko`, `pt`, `ro`, `ru`, `zh` (`langDeModule`, ...).
|
|
216
216
|
|
|
@@ -220,6 +220,7 @@ Details and examples for each plugin: [Plugins](https://cli.qodalis.com/docs/plu
|
|
|
220
220
|
|
|
221
221
|
| Repository | What it is |
|
|
222
222
|
| --- | --- |
|
|
223
|
+
| [cli-games](https://github.com/qodalis-solutions/cli-games) | The six game plugins (`@qodalis/cli-2048`, `-minesweeper`, `-snake`, `-sudoku`, `-tetris`, `-wordle`) |
|
|
223
224
|
| [cli-server-node](https://github.com/qodalis-solutions/cli-server-node) | Node.js server (`@qodalis/cli-server-node`): server commands, shell, filesystem, data explorer, jobs, MCP |
|
|
224
225
|
| [cli-server-dotnet](https://github.com/qodalis-solutions/cli-server-dotnet) | The same server for ASP.NET Core (NuGet `Qodalis.Cli`) |
|
|
225
226
|
| [cli-server-python](https://github.com/qodalis-solutions/cli-server-python) | The same server for FastAPI (PyPI `qodalis-cli-server`) |
|
|
@@ -263,7 +264,7 @@ pnpm run create-plugin -- --name <name> --description "<desc>" --processor-name
|
|
|
263
264
|
| `packages/cli` | `@qodalis/cli`: the engine and built-in commands |
|
|
264
265
|
| `packages/angular-cli`, `react-cli`, `vue-cli`, `electron-cli` | Framework wrappers |
|
|
265
266
|
| `packages/create-cli-plugin` | Plugin scaffolder |
|
|
266
|
-
| `packages/plugins/*` | The
|
|
267
|
+
| `packages/plugins/*` | The 34 plugins (the 6 games live in [cli-games](https://github.com/qodalis-solutions/cli-games)) |
|
|
267
268
|
| `apps/` | Docs site and demo apps |
|
|
268
269
|
|
|
269
270
|
[CONTRIBUTING.md](https://github.com/qodalis-solutions/web-cli/blob/main/CONTRIBUTING.md) covers branches and pull requests, [DEVELOPER.md](https://github.com/qodalis-solutions/web-cli/blob/main/DEVELOPER.md) the architecture and build details.
|
package/package.json
CHANGED
package/public-api.d.mts
CHANGED
|
@@ -2623,6 +2623,12 @@ interface ICliExecutionContext {
|
|
|
2623
2623
|
* ready). Optional for backward compatibility; `undefined` means unknown.
|
|
2624
2624
|
*/
|
|
2625
2625
|
readonly isBooted?: boolean;
|
|
2626
|
+
/**
|
|
2627
|
+
* What pressing Ctrl+C does: the current input (a running command, a
|
|
2628
|
+
* prompt, a context) is interrupted. Hosts call it from a button where
|
|
2629
|
+
* there is no keyboard (a phone).
|
|
2630
|
+
*/
|
|
2631
|
+
interrupt?(): void;
|
|
2626
2632
|
/**
|
|
2627
2633
|
* A subject that emits when the command is aborted
|
|
2628
2634
|
*/
|
|
@@ -4260,7 +4266,7 @@ interface CliThemeInfo {
|
|
|
4260
4266
|
|
|
4261
4267
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
4262
4268
|
|
|
4263
|
-
declare const LIBRARY_VERSION = "2.4.
|
|
4269
|
+
declare const LIBRARY_VERSION = "2.4.2";
|
|
4264
4270
|
declare const API_VERSION = 2;
|
|
4265
4271
|
|
|
4266
4272
|
/**
|
package/public-api.d.ts
CHANGED
|
@@ -2623,6 +2623,12 @@ interface ICliExecutionContext {
|
|
|
2623
2623
|
* ready). Optional for backward compatibility; `undefined` means unknown.
|
|
2624
2624
|
*/
|
|
2625
2625
|
readonly isBooted?: boolean;
|
|
2626
|
+
/**
|
|
2627
|
+
* What pressing Ctrl+C does: the current input (a running command, a
|
|
2628
|
+
* prompt, a context) is interrupted. Hosts call it from a button where
|
|
2629
|
+
* there is no keyboard (a phone).
|
|
2630
|
+
*/
|
|
2631
|
+
interrupt?(): void;
|
|
2626
2632
|
/**
|
|
2627
2633
|
* A subject that emits when the command is aborted
|
|
2628
2634
|
*/
|
|
@@ -4260,7 +4266,7 @@ interface CliThemeInfo {
|
|
|
4260
4266
|
|
|
4261
4267
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
4262
4268
|
|
|
4263
|
-
declare const LIBRARY_VERSION = "2.4.
|
|
4269
|
+
declare const LIBRARY_VERSION = "2.4.2";
|
|
4264
4270
|
declare const API_VERSION = 2;
|
|
4265
4271
|
|
|
4266
4272
|
/**
|
package/public-api.js
CHANGED