@qodalis/cli 2.0.0-beta.14 → 2.0.0-beta.15
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 +14 -0
- package/package.json +2 -2
- package/public-api.d.mts +1 -1
- package/public-api.d.ts +1 -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/wasm/qodalis_cli_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -288,6 +288,7 @@ All three implement the same API surface:
|
|
|
288
288
|
| `/ws/v1/cli/events` | WS | Server-push event streaming |
|
|
289
289
|
| `/ws/v1/cli/shell` | WS | Interactive PTY shell session |
|
|
290
290
|
| `/api/cli/fs/*` | Various | Filesystem operations (ls, cat, upload, download, mkdir, rm) |
|
|
291
|
+
| `/api/qcli/mcp` | POST | MCP endpoint for AI clients (opt-in) |
|
|
291
292
|
|
|
292
293
|
### Connecting to a Server
|
|
293
294
|
|
|
@@ -320,6 +321,19 @@ The frontend includes built-in resilience features:
|
|
|
320
321
|
- **HTTP retry** on transient fetch failures (1 retry with 1s delay)
|
|
321
322
|
- **Configurable request timeout** per server (default 30s)
|
|
322
323
|
|
|
324
|
+
### MCP
|
|
325
|
+
|
|
326
|
+
Each server can expose the whole system to AI clients such as Claude Code over the [Model Context Protocol](https://modelcontextprotocol.io) at `POST /api/qcli/mcp` (opt-in): CLI commands, the filesystem API, the data explorer, jobs and plugin-contributed tools, each with the caller's permissions. It works with or without the users plugin, whose `token create` command issues the API tokens MCP clients sign in with:
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
# direct HTTP
|
|
330
|
+
claude mcp add --transport http qcli http://localhost:8047/api/qcli/mcp --header "Authorization: Bearer <token>"
|
|
331
|
+
# or the local stdio proxy @qodalis/mcp-cli (token or user/password, read-only mode, tool filters)
|
|
332
|
+
claude mcp add qcli -e QCLI_URL=http://localhost:8047 -e QCLI_TOKEN=<token> -- npx -y @qodalis/mcp-cli
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
See [MCP endpoint](https://cli.qodalis.com/docs/server-integration#mcp-endpoint) for enabling it, the tools and permissions, and client setup.
|
|
336
|
+
|
|
323
337
|
### Server Plugins
|
|
324
338
|
|
|
325
339
|
| Plugin | Servers | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qodalis/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.15",
|
|
4
4
|
"description": "Framework-agnostic CLI engine for @qodalis terminal applications.",
|
|
5
5
|
"author": "Nicolae Lupei, Qodalis Solutions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"./assets/*": "./assets/*"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@qodalis/cli-core": "2.0.0-beta.
|
|
33
|
+
"@qodalis/cli-core": "2.0.0-beta.15",
|
|
34
34
|
"@xterm/xterm": "^5.5.0",
|
|
35
35
|
"@xterm/addon-fit": "^0.10.0",
|
|
36
36
|
"@xterm/addon-web-links": "^0.11.0",
|
package/public-api.d.mts
CHANGED
|
@@ -153,7 +153,7 @@ declare const CliKeyValueStore_TOKEN = "cli-key-value-store";
|
|
|
153
153
|
*/
|
|
154
154
|
declare const SyntaxHighlighterRegistry_TOKEN = "syntax-highlighter-registry";
|
|
155
155
|
|
|
156
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
156
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.15";
|
|
157
157
|
declare const API_VERSION = 2;
|
|
158
158
|
|
|
159
159
|
declare class CliAliasCommandProcessor implements ICliCommandProcessor {
|
package/public-api.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ declare const CliKeyValueStore_TOKEN = "cli-key-value-store";
|
|
|
153
153
|
*/
|
|
154
154
|
declare const SyntaxHighlighterRegistry_TOKEN = "syntax-highlighter-registry";
|
|
155
155
|
|
|
156
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
156
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.15";
|
|
157
157
|
declare const API_VERSION = 2;
|
|
158
158
|
|
|
159
159
|
declare class CliAliasCommandProcessor implements ICliCommandProcessor {
|
package/public-api.js
CHANGED
|
@@ -413,7 +413,7 @@ var CliKeyValueStore_TOKEN = "cli-key-value-store";
|
|
|
413
413
|
var SyntaxHighlighterRegistry_TOKEN = "syntax-highlighter-registry";
|
|
414
414
|
|
|
415
415
|
// src/lib/version.ts
|
|
416
|
-
var LIBRARY_VERSION = "2.0.0-beta.
|
|
416
|
+
var LIBRARY_VERSION = "2.0.0-beta.15";
|
|
417
417
|
var API_VERSION = 2;
|
|
418
418
|
var ANONYMOUS = "\0anonymous";
|
|
419
419
|
function aliasOwner(context2) {
|