@qodalis/cli-core 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 +1 -1
- 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/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
package/public-api.d.mts
CHANGED
|
@@ -3604,7 +3604,7 @@ interface CliThemeInfo {
|
|
|
3604
3604
|
|
|
3605
3605
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
3606
3606
|
|
|
3607
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
3607
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.15";
|
|
3608
3608
|
declare const API_VERSION = 2;
|
|
3609
3609
|
|
|
3610
3610
|
/**
|
package/public-api.d.ts
CHANGED
|
@@ -3604,7 +3604,7 @@ interface CliThemeInfo {
|
|
|
3604
3604
|
|
|
3605
3605
|
declare const DefaultThemeInfos: Record<string, CliThemeInfo>;
|
|
3606
3606
|
|
|
3607
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
3607
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.15";
|
|
3608
3608
|
declare const API_VERSION = 2;
|
|
3609
3609
|
|
|
3610
3610
|
/**
|
package/public-api.js
CHANGED
|
@@ -2453,7 +2453,7 @@ function satisfiesVersionRange(installed, range) {
|
|
|
2453
2453
|
}
|
|
2454
2454
|
|
|
2455
2455
|
// src/lib/version.ts
|
|
2456
|
-
var LIBRARY_VERSION = "2.0.0-beta.
|
|
2456
|
+
var LIBRARY_VERSION = "2.0.0-beta.15";
|
|
2457
2457
|
var API_VERSION = 2;
|
|
2458
2458
|
|
|
2459
2459
|
// src/lib/utils/server-version-negotiator.ts
|